org.abora.gold.x
Class PrimIntValue

java.lang.Object
  |
  +--org.abora.gold.java.AboraHeaper
        |
        +--org.abora.gold.xpp.basic.Heaper
              |
              +--org.abora.gold.x.PrimValue
                    |
                    +--org.abora.gold.x.PrimIntValue

public class PrimIntValue
extends PrimValue


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.xpp.basic.Heaper
abstractDeclarationFor, abstractTypeFor, addMethodAttributeToInOf, addPackage, addPackageCategory, allClientProtocolOn, argumentTypesFor, arrow, blast, blast, BLAST, cachePromiseNameTable, cachePromiseNameTableIn, canYouBecome, cast, cleanPromiseClasses, cleanupGarbage, clientClassesDo, clientFunctionsOn, clientMethodsOn, clientProtocol, clientProtocolDo, clientProtocolOn, clientProtocolOn, collectibleClasses, compare, compileClientSubclasses, compileConstantPromiseMethods, compileCreateFromRcvr, compileEQ, compileGeneratedClassMethod, compileGeneratedMethod, compileHook, compilePromise, compilePromiseDefaultMethods, compilePromiseFluidDeclarations, compilePromiseHandlers, compilePromiseMethods, compileRequestCreateMsgInArguments, compileRequestEvaluateMsgInReturningArguments, compileRPCSpecialistEvaluateMsgForReturningArguments, compileSendSelfTo, compileSendSelfToSendHook, compileStubbleMethods, compileSubclassStubbleMethods, computeMangle, computePreorder, constantTypeValue, convert, convertCopyDeclarations, convertDeferredDeclarations, convertProxyDeclarations, convertSubclassCopyDeclarations, convertSubclassDeferredDeclarations, convertSubclassProxyDeclarations, copyReferencesToType, create, create, create, create, create, create, create, create, create, create, createRequestClassArguments, definesProxyMethods, delete, deref, destroy, destruct, destructor, enum, enumFlags, equals, exportName, fetchAttribute, fetchPackage, fetchSuperCategory, fileOutClientProtocol, findCategory, findSenderAndReceiverMethods, findTailInto, flushPromiseNameTable, foo, freezeClientClasses, freezeClientProtocol, freezeStProtocol, frozenClasses, garbageCollect, garbageCollectFrom, gcOpportunity, gcOpportunity, generatedCategory, generatePromiseNames, getCategory, getOrMakePackage, getSuperCategory, handlerSignaturesFrom, hash, hashForEqual, hasProxyMethods, info_clientClasses, info_clientSideClasses, info_promiseClasses, info_stProtocol, inGC, initializedClasses, initializingClasses, initPackages, initStringHashSBoxes, inspectPieces, instanceSize, IntegerVar, isByProxy, isConstructed, isDestructed, isEqualOrSubclassOf, isGenerated, isIntType, isKindOf, isRawType, isUnlocked, linkTimeNonInherited, make, makeClassTable, makeFillTable, makeRequestTable, mangle, markChildren, markCount, markInstances, mayBecome, mayBecomeAnySubclassOf, new1, newX, nonCopyVariables, notWorking, pack, packageClasses, packagingCategory, parseExportName, passe, pointerToStaticMember, pointerToStaticMember, pointerToVirtualMember, preorderMax, preorderNumber, PROBLEM, problems, promiseClass, promiseDefaultValue, promiseName, promiseNameTable, promiseToAbstract, registerPackageCategory, removeGeneratedCode, removeStubbleMethods, removeSubclassGeneratedCode, removeSubclassStubbleMethods, requestProcedure, requestProceduresFrom, returnTypeFor, rootName, scheduleTermination, sendProxyTo, serverNameFor, setGC, signal, signals, smalltalkSelector, stClientProtocol, stubbleSelectorTokenReturnsArguments, subclassNonCopyVariables, takeOop, togglePromiseName, togglePromiseOfParse, unimplemented, unmangle, verifyFreeze, wipeStubble
 
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

myValue

protected IntegerVar myValue
Constructor Detail

PrimIntValue

public PrimIntValue(IntegerVar value)

PrimIntValue

public PrimIntValue(Rcvr receiver)
Method Detail

bitwiseAnd

public IntegerVar bitwiseAnd(PrimIntValue another)
Return the the first number bitwise and'd with the second.


bitwiseOr

public IntegerVar bitwiseOr(PrimIntValue another)
Return the the first number bitwise or'd with the second.


bitwiseXor

public IntegerVar bitwiseXor(PrimIntValue another)
Return the the first number bitwise xor'd with the second.


dividedBy

public IntegerVar dividedBy(PrimIntValue another)
Integer divide the two numbers and return the result. This truncates.


isGE

public boolean isGE(PrimIntValue another)
Return true if the first number is greater than or euqla to the second number.


leftShift

public IntegerVar leftShift(PrimIntValue another)
Return the the first number shifted to the left by the second amount.


maximum

public IntegerVar maximum(PrimIntValue another)
Return the largest of the two numbers.


minimum

public IntegerVar minimum(PrimIntValue another)
Return the smallest of the two numbers.


minus

public IntegerVar minus(PrimIntValue another)
Return the difference two numbers.


mod

public IntegerVar mod(PrimIntValue another)
Return the the first number modulo the second.


plus

public IntegerVar plus(PrimIntValue another)
Return the sum of two numbers.


times

public IntegerVar times(PrimIntValue another)
Multiply the two numbers and return the result.


asBooleanVar

public boolean asBooleanVar()
The value as a BooleanVar.


asInt32

public int asInt32()
The value as a 32 bit signed integer


asIntegerVar

public IntegerVar asIntegerVar()
The value as an indefinite precision integer


asUInt32

public int asUInt32()
The value as a 32 bit unsigned integer


asUInt8

public byte asUInt8()
The value as a 8 bit unsigned integer


bitCount

public int bitCount()
What precision is it, in terms of the number of bits used to represent it. In the
interests of efficiency, this may return a number larger than that *needed* to represent
it. However, the precision reported must be at least that needed to represent this
number.
The fact that this message is allowed to overestimate precision doesn't interfere with
equality: a->isEqual(b) exactly when they represent that same real number, even if one of
them happens to overestimate precision more that the other.


actualHashForEqual

public int actualHashForEqual()
Overrides:
actualHashForEqual in class Heaper

isEqual

public boolean isEqual(Heaper other)
Description copied from class: Heaper
Return true if the two objects are equal.

Overrides:
isEqual in class Heaper

printOn

public void printOn(java.io.PrintWriter oo)
Overrides:
printOn in class Heaper

precision

public int precision()

sendSelfTo

public void sendSelfTo(Xmtr xmtr)
Description copied from class: Heaper
do nothing

Overrides:
sendSelfTo in class Heaper

make

public static Heaper make(IntegerVar value)

info

public static void info()
{IntegerVar CLIENT} asIntegerVar



Translation - Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.