Package org.rcsb.cif.model
Class IntColumn
- java.lang.Object
-
- org.rcsb.cif.model.BaseColumn
-
- org.rcsb.cif.model.IntColumn
-
- All Implemented Interfaces:
Column
public class IntColumn extends BaseColumn
Type-safeColumnwhich containsintvalues as entries.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intget(int row)Retrieve theintvalue at the given row index.int[]getBinaryData()For internal use.protected StringgetBinaryStringData(int row)IntStreamvalues()Type-safeStreamof all elements.-
Methods inherited from class org.rcsb.cif.model.BaseColumn
getColumnName, getRowCount, getStringData, getValueKind, isDefined, valueKinds
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.rcsb.cif.model.Column
stringData
-
-
-
-
Method Detail
-
get
public int get(int row)
Retrieve theintvalue at the given row index.- Parameters:
row- the index to retrieve- Returns:
- the value - 0 if not present according to
BaseColumn.getValueKind(int)
-
getBinaryStringData
protected String getBinaryStringData(int row)
- Specified by:
getBinaryStringDatain classBaseColumn
-
getBinaryData
public int[] getBinaryData()
For internal use. Returns the decoded binary data which this column wraps. Returnsnullfor text columns.- Returns:
- the
int[]data
-
-