<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_09-icedtea) on Sat Mar 02 06:46:25 UTC 2013 --> <title>OtpErlangInt (Java-Erlang Interface Library)</title> <meta name="date" content="2013-03-02"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="OtpErlangInt (Java-Erlang Interface Library)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../com/ericsson/otp/erlang/package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../com/ericsson/otp/erlang/OtpErlangFun.html" title="class in com.ericsson.otp.erlang"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../com/ericsson/otp/erlang/OtpErlangList.html" title="class in com.ericsson.otp.erlang"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?com/ericsson/otp/erlang/OtpErlangInt.html" target="_top">Frames</a></li> <li><a href="OtpErlangInt.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested_classes_inherited_from_class_com.ericsson.otp.erlang.OtpErlangObject">Nested</a> | </li> <li><a href="#fields_inherited_from_class_com.ericsson.otp.erlang.OtpErlangObject">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#methods_inherited_from_class_com.ericsson.otp.erlang.OtpErlangLong">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li>Method</li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">com.ericsson.otp.erlang</div> <h2 title="Class OtpErlangInt" class="title">Class OtpErlangInt</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li><a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">com.ericsson.otp.erlang.OtpErlangObject</a></li> <li> <ul class="inheritance"> <li><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html" title="class in com.ericsson.otp.erlang">com.ericsson.otp.erlang.OtpErlangLong</a></li> <li> <ul class="inheritance"> <li>com.ericsson.otp.erlang.OtpErlangInt</li> </ul> </li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <dd>java.io.Serializable, java.lang.Cloneable</dd> </dl> <hr> <br> <pre>public class <span class="strong">OtpErlangInt</span> extends <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html" title="class in com.ericsson.otp.erlang">OtpErlangLong</a> implements java.io.Serializable, java.lang.Cloneable</pre> <div class="block">Provides a Java representation of Erlang integral types.</div> <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#com.ericsson.otp.erlang.OtpErlangInt">Serialized Form</a></dd></dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ======== NESTED CLASS SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="nested_class_summary"> <!-- --> </a> <h3>Nested Class Summary</h3> <ul class="blockList"> <li class="blockList"><a name="nested_classes_inherited_from_class_com.ericsson.otp.erlang.OtpErlangObject"> <!-- --> </a> <h3>Nested classes/interfaces inherited from class com.ericsson.otp.erlang.<a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a></h3> <code><a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.Hash.html" title="class in com.ericsson.otp.erlang">OtpErlangObject.Hash</a></code></li> </ul> </li> </ul> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field_summary"> <!-- --> </a> <h3>Field Summary</h3> <ul class="blockList"> <li class="blockList"><a name="fields_inherited_from_class_com.ericsson.otp.erlang.OtpErlangObject"> <!-- --> </a> <h3>Fields inherited from class com.ericsson.otp.erlang.<a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a></h3> <code><a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html#hashCodeValue">hashCodeValue</a></code></li> </ul> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><strong><a href="../../../../com/ericsson/otp/erlang/OtpErlangInt.html#OtpErlangInt(int)">OtpErlangInt</a></strong>(int i)</code> <div class="block">Create an Erlang integer from the given value.</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><strong><a href="../../../../com/ericsson/otp/erlang/OtpErlangInt.html#OtpErlangInt(com.ericsson.otp.erlang.OtpInputStream)">OtpErlangInt</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpInputStream.html" title="class in com.ericsson.otp.erlang">OtpInputStream</a> buf)</code> <div class="block">Create an Erlang integer from a stream containing an integer encoded in Erlang external format.</div> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_com.ericsson.otp.erlang.OtpErlangLong"> <!-- --> </a> <h3>Methods inherited from class com.ericsson.otp.erlang.<a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html" title="class in com.ericsson.otp.erlang">OtpErlangLong</a></h3> <code><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#bigIntegerValue()">bigIntegerValue</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#bitLength()">bitLength</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#byteValue()">byteValue</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#charValue()">charValue</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#doHashCode()">doHashCode</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#encode(com.ericsson.otp.erlang.OtpOutputStream)">encode</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#equals(java.lang.Object)">equals</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#intValue()">intValue</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#isLong()">isLong</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#isULong()">isULong</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#longValue()">longValue</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#shortValue()">shortValue</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#signum()">signum</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#toString()">toString</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#uIntValue()">uIntValue</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#uShortValue()">uShortValue</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_com.ericsson.otp.erlang.OtpErlangObject"> <!-- --> </a> <h3>Methods inherited from class com.ericsson.otp.erlang.<a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a></h3> <code><a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html#clone()">clone</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html#decode(com.ericsson.otp.erlang.OtpInputStream)">decode</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html#hashCode()">hashCode</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.Object</h3> <code>finalize, getClass, notify, notifyAll, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="OtpErlangInt(int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>OtpErlangInt</h4> <pre>public OtpErlangInt(int i)</pre> <div class="block">Create an Erlang integer from the given value.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>i</code> - the int value to use.</dd></dl> </li> </ul> <a name="OtpErlangInt(com.ericsson.otp.erlang.OtpInputStream)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>OtpErlangInt</h4> <pre>public OtpErlangInt(<a href="../../../../com/ericsson/otp/erlang/OtpInputStream.html" title="class in com.ericsson.otp.erlang">OtpInputStream</a> buf) throws <a href="../../../../com/ericsson/otp/erlang/OtpErlangRangeException.html" title="class in com.ericsson.otp.erlang">OtpErlangRangeException</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangDecodeException.html" title="class in com.ericsson.otp.erlang">OtpErlangDecodeException</a></pre> <div class="block">Create an Erlang integer from a stream containing an integer encoded in Erlang external format.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>buf</code> - the stream containing the encoded value.</dd> <dt><span class="strong">Throws:</span></dt> <dd><code><a href="../../../../com/ericsson/otp/erlang/OtpErlangDecodeException.html" title="class in com.ericsson.otp.erlang">OtpErlangDecodeException</a></code> - if the buffer does not contain a valid external representation of an Erlang integer.</dd> <dd><code><a href="../../../../com/ericsson/otp/erlang/OtpErlangRangeException.html" title="class in com.ericsson.otp.erlang">OtpErlangRangeException</a></code> - if the value is too large to be represented as an int.</dd></dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../com/ericsson/otp/erlang/package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../com/ericsson/otp/erlang/OtpErlangFun.html" title="class in com.ericsson.otp.erlang"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../com/ericsson/otp/erlang/OtpErlangList.html" title="class in com.ericsson.otp.erlang"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?com/ericsson/otp/erlang/OtpErlangInt.html" target="_top">Frames</a></li> <li><a href="OtpErlangInt.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested_classes_inherited_from_class_com.ericsson.otp.erlang.OtpErlangObject">Nested</a> | </li> <li><a href="#fields_inherited_from_class_com.ericsson.otp.erlang.OtpErlangObject">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#methods_inherited_from_class_com.ericsson.otp.erlang.OtpErlangLong">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li>Method</li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>