|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elib.tables.Column | +--org.erights.e.elib.tables.IntColumn
Field Summary | |
private int[] |
myArray
|
Constructor Summary | |
(package private) |
IntColumn(int capacity)
|
private |
IntColumn(int[] array)
|
Method Summary | |
(package private) int |
capacity()
|
protected Object |
clone()
Argument defaults to memberType() |
protected Column |
diverge(Class membType)
A shallow copy of the column. |
(package private) Object |
get(int pos)
|
(package private) int |
getInt(int pos)
|
(package private) Class |
memberType()
All the members of the column must conform to this type |
(package private) Column |
newVacant(int capacity)
Makes a new column just like this one, except of the specified size and without any members. |
(package private) void |
put(int pos,
Object value)
|
(package private) void |
putInt(int pos,
int value)
|
(package private) void |
vacate(int pos)
Stop pointing at an object from this pos. |
static Column |
values(Class memberType,
int capacity)
Make a value-column that can only hold values that conform to 'memberType' and has 'capacity' positions. |
static Column |
values(int capacity)
memberType defaults to Object |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final int[] myArray
Constructor Detail |
private IntColumn(int[] array)
IntColumn(int capacity)
Method Detail |
protected Column diverge(Class membType)
Column
diverge
in class Column
Object get(int pos)
get
in class Column
int getInt(int pos)
Class memberType()
Column
memberType
in class Column
Column newVacant(int capacity)
Column
newVacant
in class Column
int capacity()
capacity
in class Column
void put(int pos, Object value)
put
in class Column
void putInt(int pos, int value)
void vacate(int pos)
Column
vacate
in class Column
protected Object clone()
clone
in class Object
java.lang.Cloneable
public static Column values(int capacity)
public static Column values(Class memberType, int capacity)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |