|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
helma.objectmodel.db.SubnodeList
public class SubnodeList
A subclass of ArrayList that adds an addSorted(Object) method to
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
SubnodeList(WrappedNodeManager nmgr,
Relation rel)
Creates a new subnode list |
Method Summary | |
---|---|
void |
add(int idx,
java.lang.Object obj)
Adds the specified object to the list at the given position |
boolean |
add(java.lang.Object obj)
Adds the specified object to this list performing custom ordering |
boolean |
addSorted(java.lang.Object obj)
Inserts the specified element at the specified position in this list without performing custom ordering |
protected void |
addToViews(java.lang.Object obj)
|
SubnodeList |
getOrderedView(java.lang.String order)
|
java.lang.Object |
remove(int idx)
remove the object specified by the given index-position |
boolean |
remove(java.lang.Object obj)
remove the given Object from this List |
protected void |
removeFromViews(java.lang.Object obj)
|
Methods inherited from class java.util.ArrayList |
---|
addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public SubnodeList(WrappedNodeManager nmgr, Relation rel)
nmgr
- Method Detail |
---|
public boolean addSorted(java.lang.Object obj)
obj
- element to be inserted.public boolean add(java.lang.Object obj)
add
in interface java.util.Collection
add
in interface java.util.List
add
in class java.util.ArrayList
obj
- element to be inserted.public void add(int idx, java.lang.Object obj)
add
in interface java.util.List
add
in class java.util.ArrayList
idx
- the index to insert the element atobj
- the object t addpublic java.lang.Object remove(int idx)
remove
in interface java.util.List
remove
in class java.util.ArrayList
idx
- the index-position of the NodeHandle to removepublic boolean remove(java.lang.Object obj)
remove
in interface java.util.Collection
remove
in interface java.util.List
remove
in class java.util.ArrayList
obj
- the NodeHandle to removeprotected void removeFromViews(java.lang.Object obj)
public SubnodeList getOrderedView(java.lang.String order)
protected void addToViews(java.lang.Object obj)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |