public class COLLECTIONPOSITION extends BaseStruct
Modifier and Type | Field and Description |
---|---|
static int |
_Level |
static int |
_MaxLevel |
static int |
_MinLevel |
static int |
_Tumbler |
static int |
sizeOf |
data, owned
Constructor and Description |
---|
COLLECTIONPOSITION() |
COLLECTIONPOSITION(long data) |
COLLECTIONPOSITION(long data,
boolean owned) |
Modifier and Type | Method and Description |
---|---|
short |
getLevel() |
byte |
getMaxLevel() |
byte |
getMinLevel() |
int[] |
getTumbler()
This method returns a copy of the tumbler data from the struct.
|
int |
getTumbler(int index) |
int[] |
getTumblerTruncated()
Returns a copy of the tumbler data up to the level, so the size of the array may be less
than
DominoAPI.MAXTUMBLERLEVELS . |
void |
setLevel(short level) |
void |
setMaxLevel(byte maxLevel) |
void |
setMinLevel(byte minLevel) |
void |
setTumbler(int[] tumbler) |
void |
setTumbler(int index,
int value) |
static int |
size(COLLECTIONPOSITION p)
This is based on the similarly-named macro in nif.h
|
String |
toString() |
_checkRefValidity, _getBYTE, _getDHandle, _getDWORD, _getFONTID, _getHTMLAPI_REF_TYPE, _getInt, _getLong, _getNOTEID, _getPointer, _getUSHORT, _getWORD, _setBYTE, _setDHandle, _setDWORD, _setFONTID, _setInt, _setLong, _setNOTEID, _setUSHORT, _setWORD, finalize, free, free, getAllocatedStructCount, getDataPtr, getField, isRefValid, isTraceCreation, setDataPtr, setTraceCreation
public static final int sizeOf
public static final int _Level
public static final int _MinLevel
public static final int _MaxLevel
public static final int _Tumbler
public COLLECTIONPOSITION()
public COLLECTIONPOSITION(long data)
public COLLECTIONPOSITION(long data, boolean owned)
public static int size(COLLECTIONPOSITION p)
public short getLevel()
public void setLevel(short level)
public byte getMinLevel()
public void setMinLevel(byte minLevel)
public byte getMaxLevel()
public void setMaxLevel(byte maxLevel)
public int[] getTumbler()
setTumbler(int, int)
or by writing a new array back
using setTumbler(int[])
.public int getTumbler(int index)
index
- 0-based index into the internal Tumbler arraypublic int[] getTumblerTruncated()
DominoAPI.MAXTUMBLERLEVELS
.public void setTumbler(int[] tumbler)
public void setTumbler(int index, int value)
index
- 0-based index into the internal Tumbler arraypublic String toString()
toString
in class BaseStruct
Copyright © 2014–2018. All rights reserved.