|
|||||||||||
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.RefColumn
Field Summary | |
private Object[] |
myArray
|
Constructor Summary | |
(package private) |
RefColumn(Class memberType,
int capacity)
|
private |
RefColumn(Object[] 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) 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 |
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 Object[] myArray
Constructor Detail |
private RefColumn(Object[] array)
RefColumn(Class memberType, int capacity)
Method Detail |
protected Column diverge(Class membType)
Column
diverge
in class Column
Object get(int pos)
get
in class Column
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 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 |