Package lu.kbra.pclib.pointer.prim
Class IntPointer
- Direct Known Subclasses:
CountTriggerLatch.InternalIntPointer,DeferredTriggerLatch.InternalIntPointer,ListTriggerLatch.InternalIntPointer,ObjectTriggerLatch.InternalIntPointer
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class lu.kbra.pclib.pointer.prim.PrimitivePointer
isSet, set, toSafeString, waitForIsset, waitForIsset, waitForIsset, waitForIsset, waitForUnset, waitForUnset, waitForUnset, waitForUnsetMethods inherited from class lu.kbra.pclib.pointer.JavaPointer
accept, getOrElse, getOrElse, getOrElseSet, getOrElseSet, ifSet, orElseSet, orElseSet, waitForChange, waitForChange, waitForChange, waitForChange, waitForSet, waitForSet, waitForSet, waitForSet
-
Constructor Details
-
IntPointer
public IntPointer() -
IntPointer
public IntPointer(int value)
-
-
Method Details
-
add
public int add(int other) -
decrement
public int decrement() -
div
public int div(int other) -
get
-
getValue
public int getValue() -
increment
public int increment() -
mod
public int mod(int other) -
mul
public int mul(int other) -
set
- Specified by:
setin classJavaPointer<Integer>
-
setValue
public void setValue(int value) -
sub
public int sub(int other) -
toObjectPointer
- Specified by:
toObjectPointerin classPrimitivePointer<Integer>
-