|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.gee.spectacle.gee.SubList
public class SubList
SubList is a dedicated NavigationTree utility. It will not work for non-constant lists.
| Constructor Summary | |
|---|---|
SubList()
Used by Jazzz only .... |
|
| Method Summary | |
|---|---|
void |
add(int parentIndex)
Note: may be used for SubList's created by create(List) only! And: can not be used after trimToSize(); |
static SubList |
create(List parentList)
Construct a empty sublist of a list. |
static SubList |
create(List parentList,
List childList)
Construct a sublist of a list. |
static SubList |
create(List parentList,
Set childSet)
Construct a sublist of a list. |
static SubList |
create(SubList parentSubList,
List childList)
Construct a sublist of a sublist. |
static SubList |
create(SubList parentSubList,
Set childSet)
Construct a sublist of a sublist. |
boolean |
equals(Object other)
|
List |
getList()
Get the equivalent list. |
List |
getParentList()
Get the parent list. |
int |
hashCode()
|
int |
size()
Get the size. |
void |
trimToSize()
Obtain the most efficient memory estate. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubList()
| Method Detail |
|---|
public static SubList create(List parentList,
List childList)
parentList - the parent listchildList - the child list, sequence must be exactly as in parent
public static SubList create(SubList parentSubList,
List childList)
parentSubList - the parent sublistchildList - the child list, sequence must be exactly as in parent
public static SubList create(List parentList,
Set childSet)
parentList - the parent listchildSet - the child set
public static SubList create(SubList parentSubList,
Set childSet)
parentSubList - the parent sublistchildSet - the child setpublic static SubList create(List parentList)
public List getList()
public List getParentList()
public int size()
public void add(int parentIndex)
public void trimToSize()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||