Package org.rcsb.cif.model.binary
Class BinaryColumn<T>
java.lang.Object
org.rcsb.cif.model.binary.BinaryColumn<T>
- All Implemented Interfaces:
Column<T>
- Direct Known Subclasses:
BinaryFloatColumn,BinaryIntColumn,BinaryStrColumn
public abstract class BinaryColumn<T> extends Object implements Column<T>
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description BinaryColumn(String name, int rowCount, int[] mask) -
Method Summary
Modifier and Type Method Description StringgetColumnName()The name of thisColumn.int[]getMask()intgetRowCount()The number of rows in thisColumn.ValueKindgetValueKind(int row)States theValueKindfor a particular row.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.rcsb.cif.model.Column
getArray, getStringData, isDefined, stringData, valueKinds
-
Constructor Details
-
Method Details
-
getColumnName
Description copied from interface:ColumnThe name of thisColumn.- Specified by:
getColumnNamein interfaceColumn<T>- Returns:
- the
Stringwhich is used to acquire this column from its parentCategory
-
getRowCount
public int getRowCount()Description copied from interface:Column- Specified by:
getRowCountin interfaceColumn<T>- Returns:
- the length of this
Column
-
getValueKind
Description copied from interface:ColumnStates theValueKindfor a particular row. Elements may either be 'present', 'not_specified' (.) or 'unknown' (?).- Specified by:
getValueKindin interfaceColumn<T>- Parameters:
row- index of the element for which theValueKindshould be retrieved- Returns:
- the corresponding
ValueKindenum entry
-
getMask
public int[] getMask()
-