Package org.apache.uima.cas.impl
Class LongSet
java.lang.Object
org.apache.uima.cas.impl.LongSet
Sets of long values, used to support ll_set/getIntValue that manipulate v2 style long data
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
get the code for a long, adding it to the long table if not already there.(package private) Long
getLongForCode
(int longCode) (package private) int
getSize()
(package private) void
reset()
-
Field Details
-
lastLongCode
private int lastLongCode -
longs
-
long2int
-
-
Constructor Details
-
LongSet
LongSet()
-
-
Method Details
-
reset
void reset() -
getLongForCode
-
getCodeForLong
get the code for a long, adding it to the long table if not already there.- Parameters:
s
- The long.- Returns:
- The code corresponding to the long, which can be used in the getLongForCode call above
-
getSize
int getSize()
-