|
|||||||||||
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
A column of a FlexMapImpl.
A FlexMapImpl has a KeyColumn for the keys that it maps from, and a Column for the values being mapped to. The indices into a column are called positions.
Constructor Summary | |
(package private) |
Column()
|
Method Summary | |
(package private) abstract int |
capacity()
|
protected Object |
clone()
Argument defaults to memberType() |
protected abstract Column |
diverge(Class membType)
A shallow copy of the column. |
(package private) abstract Object |
get(int pos)
|
(package private) abstract Class |
memberType()
All the members of the column must conform to this type |
(package private) abstract Column |
newVacant(int capacity)
Makes a new column just like this one, except of the specified size and without any members. |
(package private) abstract void |
put(int pos,
Object value)
|
(package private) abstract 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 |
Constructor Detail |
Column()
Method Detail |
protected abstract Column diverge(Class membType)
protected Object clone()
clone
in class Object
java.lang.Cloneable
abstract Object get(int pos)
abstract Class memberType()
abstract Column newVacant(int capacity)
abstract int capacity()
abstract void put(int pos, Object value)
abstract void vacate(int pos)
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 |