|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.hk2.internal.IndexedListData
public class IndexedListData
This object contains a list of values. The list is not always sorted, but will always be returned sorted. All of the methods on here must be called with lock held.
| Constructor Summary | |
|---|---|
IndexedListData()
|
|
| Method Summary | |
|---|---|
void |
addDescriptor(SystemDescriptor<?> descriptor)
|
void |
clear()
|
java.util.Collection<SystemDescriptor<?>> |
getSortedList()
|
boolean |
isEmpty()
|
void |
removeDescriptor(SystemDescriptor<?> descriptor)
|
void |
unSort()
Called by a SystemDescriptor when its ranking has changed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexedListData()
| Method Detail |
|---|
public java.util.Collection<SystemDescriptor<?>> getSortedList()
public void addDescriptor(SystemDescriptor<?> descriptor)
public void removeDescriptor(SystemDescriptor<?> descriptor)
public boolean isEmpty()
public void unSort()
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||