|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.gold.java.AboraHeaper
|
+--org.abora.gold.xpp.basic.Heaper
|
+--org.abora.gold.x.PrimValue
|
+--org.abora.gold.x.PrimIntValue
| Field Summary | |
protected IntegerVar |
myValue
|
| Fields inherited from class org.abora.gold.xpp.basic.Heaper |
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes |
| Fields inherited from class org.abora.gold.java.AboraHeaper |
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag |
| Constructor Summary | |
PrimIntValue(IntegerVar value)
|
|
PrimIntValue(Rcvr receiver)
|
|
| Method Summary | |
int |
actualHashForEqual()
|
boolean |
asBooleanVar()
The value as a BooleanVar. |
int |
asInt32()
The value as a 32 bit signed integer |
IntegerVar |
asIntegerVar()
The value as an indefinite precision integer |
int |
asUInt32()
The value as a 32 bit unsigned integer |
byte |
asUInt8()
The value as a 8 bit unsigned integer |
int |
bitCount()
What precision is it, in terms of the number of bits used to represent it. |
IntegerVar |
bitwiseAnd(PrimIntValue another)
Return the the first number bitwise and'd with the second. |
IntegerVar |
bitwiseOr(PrimIntValue another)
Return the the first number bitwise or'd with the second. |
IntegerVar |
bitwiseXor(PrimIntValue another)
Return the the first number bitwise xor'd with the second. |
IntegerVar |
dividedBy(PrimIntValue another)
Integer divide the two numbers and return the result. |
static void |
info()
{IntegerVar CLIENT} asIntegerVar |
boolean |
isEqual(Heaper other)
Return true if the two objects are equal. |
boolean |
isGE(PrimIntValue another)
Return true if the first number is greater than or euqla to the second number. |
IntegerVar |
leftShift(PrimIntValue another)
Return the the first number shifted to the left by the second amount. |
static Heaper |
make(IntegerVar value)
|
IntegerVar |
maximum(PrimIntValue another)
Return the largest of the two numbers. |
IntegerVar |
minimum(PrimIntValue another)
Return the smallest of the two numbers. |
IntegerVar |
minus(PrimIntValue another)
Return the difference two numbers. |
IntegerVar |
mod(PrimIntValue another)
Return the the first number modulo the second. |
IntegerVar |
plus(PrimIntValue another)
Return the sum of two numbers. |
int |
precision()
|
void |
printOn(java.io.PrintWriter oo)
|
void |
sendSelfTo(Xmtr xmtr)
do nothing |
IntegerVar |
times(PrimIntValue another)
Multiply the two numbers and return the result. |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected IntegerVar myValue
| Constructor Detail |
public PrimIntValue(IntegerVar value)
public PrimIntValue(Rcvr receiver)
| Method Detail |
public IntegerVar bitwiseAnd(PrimIntValue another)
public IntegerVar bitwiseOr(PrimIntValue another)
public IntegerVar bitwiseXor(PrimIntValue another)
public IntegerVar dividedBy(PrimIntValue another)
public boolean isGE(PrimIntValue another)
public IntegerVar leftShift(PrimIntValue another)
public IntegerVar maximum(PrimIntValue another)
public IntegerVar minimum(PrimIntValue another)
public IntegerVar minus(PrimIntValue another)
public IntegerVar mod(PrimIntValue another)
public IntegerVar plus(PrimIntValue another)
public IntegerVar times(PrimIntValue another)
public boolean asBooleanVar()
public int asInt32()
public IntegerVar asIntegerVar()
public int asUInt32()
public byte asUInt8()
public int bitCount()
public int actualHashForEqual()
actualHashForEqual in class Heaperpublic boolean isEqual(Heaper other)
Heaper
isEqual in class Heaperpublic void printOn(java.io.PrintWriter oo)
printOn in class Heaperpublic int precision()
public void sendSelfTo(Xmtr xmtr)
Heaper
sendSelfTo in class Heaperpublic static Heaper make(IntegerVar value)
public static void info()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||