Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > ca236e080672a3aa5beda2fe21b8473d > files > 536

erlang-doc-21.2.5-1.mga7.noarch.rpm

<!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 (1.8.0_191) on Tue Feb 05 19:16:01 UTC 2019 -->
<title>OtpErlangLong (Java-Erlang Interface Library)</title>
<meta name="date" content="2019-02-05">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="OtpErlangLong (Java-Erlang Interface Library)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<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/OtpErlangList.SubList.html" title="class in com.ericsson.otp.erlang"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../com/ericsson/otp/erlang/OtpErlangMap.html" title="class in com.ericsson.otp.erlang"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/ericsson/otp/erlang/OtpErlangLong.html" target="_top">Frames</a></li>
<li><a href="OtpErlangLong.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.classes.inherited.from.class.com.ericsson.otp.erlang.OtpErlangObject">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.com.ericsson.otp.erlang.OtpErlangObject">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></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 OtpErlangLong" class="title">Class OtpErlangLong</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>com.ericsson.otp.erlang.OtpErlangLong</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>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../com/ericsson/otp/erlang/OtpErlangByte.html" title="class in com.ericsson.otp.erlang">OtpErlangByte</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangChar.html" title="class in com.ericsson.otp.erlang">OtpErlangChar</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangInt.html" title="class in com.ericsson.otp.erlang">OtpErlangInt</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangShort.html" title="class in com.ericsson.otp.erlang">OtpErlangShort</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangUInt.html" title="class in com.ericsson.otp.erlang">OtpErlangUInt</a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangUShort.html" title="class in com.ericsson.otp.erlang">OtpErlangUShort</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">OtpErlangLong</span>
extends <a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a></pre>
<div class="block">Provides a Java representation of Erlang integral types. Erlang does not
 distinguish between different integral types, however this class and its
 subclasses <a href="../../../../com/ericsson/otp/erlang/OtpErlangByte.html" title="class in com.ericsson.otp.erlang"><code>OtpErlangByte</code></a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangChar.html" title="class in com.ericsson.otp.erlang"><code>OtpErlangChar</code></a>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangInt.html" title="class in com.ericsson.otp.erlang"><code>OtpErlangInt</code></a>
 , and <a href="../../../../com/ericsson/otp/erlang/OtpErlangShort.html" title="class in com.ericsson.otp.erlang"><code>OtpErlangShort</code></a> attempt to map the Erlang types onto the various
 Java integral types. Two additional classes, <a href="../../../../com/ericsson/otp/erlang/OtpErlangUInt.html" title="class in com.ericsson.otp.erlang"><code>OtpErlangUInt</code></a> and
 <a href="../../../../com/ericsson/otp/erlang/OtpErlangUShort.html" title="class in com.ericsson.otp.erlang"><code>OtpErlangUShort</code></a> are provided for Corba compatibility. See the
 documentation for IC for more information.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../serialized-form.html#com.ericsson.otp.erlang.OtpErlangLong">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&nbsp;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&nbsp;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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#OtpErlangLong-java.math.BigInteger-">OtpErlangLong</a></span>(java.math.BigInteger&nbsp;v)</code>
<div class="block">Create an Erlang integer from the given value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#OtpErlangLong-long-">OtpErlangLong</a></span>(long&nbsp;l)</code>
<div class="block">Create an Erlang integer from the given value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#OtpErlangLong-com.ericsson.otp.erlang.OtpInputStream-">OtpErlangLong</a></span>(<a href="../../../../com/ericsson/otp/erlang/OtpInputStream.html" title="class in com.ericsson.otp.erlang">OtpInputStream</a>&nbsp;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>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.math.BigInteger</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#bigIntegerValue--">bigIntegerValue</a></span>()</code>
<div class="block">Get this number as a BigInteger.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#bitLength--">bitLength</a></span>()</code>
<div class="block">Returns the number of bits in the minimal two's-complement representation
 of this BigInteger, excluding a sign bit.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#byteValue--">byteValue</a></span>()</code>
<div class="block">Get this number as a byte.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>char</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#charValue--">charValue</a></span>()</code>
<div class="block">Get this number as a char.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#doHashCode--">doHashCode</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#encode-com.ericsson.otp.erlang.OtpOutputStream-">encode</a></span>(<a href="../../../../com/ericsson/otp/erlang/OtpOutputStream.html" title="class in com.ericsson.otp.erlang">OtpOutputStream</a>&nbsp;buf)</code>
<div class="block">Convert this number to the equivalent Erlang external representation.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;o)</code>
<div class="block">Determine if two numbers are equal.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#intValue--">intValue</a></span>()</code>
<div class="block">Get this number as an int.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#isLong--">isLong</a></span>()</code>
<div class="block">Determine if this value can be represented as a long without truncation.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#isULong--">isULong</a></span>()</code>
<div class="block">Determine if this value can be represented as an unsigned long without
 truncation, that is if the value is non-negative and its bit pattern
 completely fits in a long.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#longValue--">longValue</a></span>()</code>
<div class="block">Get this number as a long, or rather truncate all but the least
 significant 64 bits from the 2's complement representation of this number
 and return them as a long.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#shortValue--">shortValue</a></span>()</code>
<div class="block">Get this number as a short.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#signum--">signum</a></span>()</code>
<div class="block">Return the signum function of this object.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#toString--">toString</a></span>()</code>
<div class="block">Get the string representation of this number.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#uIntValue--">uIntValue</a></span>()</code>
<div class="block">Get this number as a non-negative int.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>short</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/ericsson/otp/erlang/OtpErlangLong.html#uShortValue--">uShortValue</a></span>()</code>
<div class="block">Get this number as a non-negative short.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.com.ericsson.otp.erlang.OtpErlangObject">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;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#bind-T-">bind</a>, <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>, <a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html#match-com.ericsson.otp.erlang.OtpErlangObject-T-">match</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&nbsp;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="OtpErlangLong-long-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OtpErlangLong</h4>
<pre>public&nbsp;OtpErlangLong(long&nbsp;l)</pre>
<div class="block">Create an Erlang integer from the given value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>l</code> - the long value to use.</dd>
</dl>
</li>
</ul>
<a name="OtpErlangLong-java.math.BigInteger-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>OtpErlangLong</h4>
<pre>public&nbsp;OtpErlangLong(java.math.BigInteger&nbsp;v)</pre>
<div class="block">Create an Erlang integer from the given value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>v</code> - the big integer value to use.</dd>
</dl>
</li>
</ul>
<a name="OtpErlangLong-com.ericsson.otp.erlang.OtpInputStream-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>OtpErlangLong</h4>
<pre>public&nbsp;OtpErlangLong(<a href="../../../../com/ericsson/otp/erlang/OtpInputStream.html" title="class in com.ericsson.otp.erlang">OtpInputStream</a>&nbsp;buf)
              throws <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="paramLabel">Parameters:</span></dt>
<dd><code>buf</code> - the stream containing the encoded value.</dd>
<dt><span class="throwsLabel">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>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="bigIntegerValue--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bigIntegerValue</h4>
<pre>public&nbsp;java.math.BigInteger&nbsp;bigIntegerValue()</pre>
<div class="block">Get this number as a BigInteger.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value of this number, as a BigInteger.</dd>
</dl>
</li>
</ul>
<a name="longValue--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>longValue</h4>
<pre>public&nbsp;long&nbsp;longValue()</pre>
<div class="block">Get this number as a long, or rather truncate all but the least
 significant 64 bits from the 2's complement representation of this number
 and return them as a long.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value of this number, as a long.</dd>
</dl>
</li>
</ul>
<a name="isLong--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLong</h4>
<pre>public&nbsp;boolean&nbsp;isLong()</pre>
<div class="block">Determine if this value can be represented as a long without truncation.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if this value fits in a long, false otherwise.</dd>
</dl>
</li>
</ul>
<a name="isULong--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isULong</h4>
<pre>public&nbsp;boolean&nbsp;isULong()</pre>
<div class="block">Determine if this value can be represented as an unsigned long without
 truncation, that is if the value is non-negative and its bit pattern
 completely fits in a long.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if this value is non-negative and fits in a long false
         otherwise.</dd>
</dl>
</li>
</ul>
<a name="bitLength--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>bitLength</h4>
<pre>public&nbsp;int&nbsp;bitLength()</pre>
<div class="block">Returns the number of bits in the minimal two's-complement representation
 of this BigInteger, excluding a sign bit.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of bits in the minimal two's-complement representation of
         this BigInteger, excluding a sign bit.</dd>
</dl>
</li>
</ul>
<a name="signum--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>signum</h4>
<pre>public&nbsp;int&nbsp;signum()</pre>
<div class="block">Return the signum function of this object.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>-1, 0 or 1 as the value is negative, zero or positive.</dd>
</dl>
</li>
</ul>
<a name="intValue--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>intValue</h4>
<pre>public&nbsp;int&nbsp;intValue()
             throws <a href="../../../../com/ericsson/otp/erlang/OtpErlangRangeException.html" title="class in com.ericsson.otp.erlang">OtpErlangRangeException</a></pre>
<div class="block">Get this number as an int.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value of this number, as an int.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<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>
<a name="uIntValue--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>uIntValue</h4>
<pre>public&nbsp;int&nbsp;uIntValue()
              throws <a href="../../../../com/ericsson/otp/erlang/OtpErlangRangeException.html" title="class in com.ericsson.otp.erlang">OtpErlangRangeException</a></pre>
<div class="block">Get this number as a non-negative int.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value of this number, as an int.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<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, or
                if the value is negative.</dd>
</dl>
</li>
</ul>
<a name="shortValue--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shortValue</h4>
<pre>public&nbsp;short&nbsp;shortValue()
                 throws <a href="../../../../com/ericsson/otp/erlang/OtpErlangRangeException.html" title="class in com.ericsson.otp.erlang">OtpErlangRangeException</a></pre>
<div class="block">Get this number as a short.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value of this number, as a short.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<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 a short.</dd>
</dl>
</li>
</ul>
<a name="uShortValue--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>uShortValue</h4>
<pre>public&nbsp;short&nbsp;uShortValue()
                  throws <a href="../../../../com/ericsson/otp/erlang/OtpErlangRangeException.html" title="class in com.ericsson.otp.erlang">OtpErlangRangeException</a></pre>
<div class="block">Get this number as a non-negative short.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value of this number, as a short.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<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 a short, or
                if the value is negative.</dd>
</dl>
</li>
</ul>
<a name="charValue--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>charValue</h4>
<pre>public&nbsp;char&nbsp;charValue()
               throws <a href="../../../../com/ericsson/otp/erlang/OtpErlangRangeException.html" title="class in com.ericsson.otp.erlang">OtpErlangRangeException</a></pre>
<div class="block">Get this number as a char.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the char value of this number.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<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 a char.</dd>
</dl>
</li>
</ul>
<a name="byteValue--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>byteValue</h4>
<pre>public&nbsp;byte&nbsp;byteValue()
               throws <a href="../../../../com/ericsson/otp/erlang/OtpErlangRangeException.html" title="class in com.ericsson.otp.erlang">OtpErlangRangeException</a></pre>
<div class="block">Get this number as a byte.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the byte value of this number.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<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 a byte.</dd>
</dl>
</li>
</ul>
<a name="toString--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<div class="block">Get the string representation of this number.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html#toString--">toString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the string representation of this number.</dd>
</dl>
</li>
</ul>
<a name="encode-com.ericsson.otp.erlang.OtpOutputStream-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>encode</h4>
<pre>public&nbsp;void&nbsp;encode(<a href="../../../../com/ericsson/otp/erlang/OtpOutputStream.html" title="class in com.ericsson.otp.erlang">OtpOutputStream</a>&nbsp;buf)</pre>
<div class="block">Convert this number to the equivalent Erlang external representation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html#encode-com.ericsson.otp.erlang.OtpOutputStream-">encode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>buf</code> - an output stream to which the encoded number should be
            written.</dd>
</dl>
</li>
</ul>
<a name="equals-java.lang.Object-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<div class="block">Determine if two numbers are equal. Numbers are equal if they contain the
 same value.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html#equals-java.lang.Object-">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>o</code> - the number to compare to.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the numbers have the same value.</dd>
</dl>
</li>
</ul>
<a name="doHashCode--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>doHashCode</h4>
<pre>protected&nbsp;int&nbsp;doHashCode()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html#doHashCode--">doHashCode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a></code></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>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<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/OtpErlangList.SubList.html" title="class in com.ericsson.otp.erlang"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../com/ericsson/otp/erlang/OtpErlangMap.html" title="class in com.ericsson.otp.erlang"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/ericsson/otp/erlang/OtpErlangLong.html" target="_top">Frames</a></li>
<li><a href="OtpErlangLong.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.classes.inherited.from.class.com.ericsson.otp.erlang.OtpErlangObject">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.com.ericsson.otp.erlang.OtpErlangObject">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>