charite.christo
Class UniqueList<T>
java.lang.Object
charite.christo.UniqueList<T>
- All Implemented Interfaces:
- ChRunnable, HasModiCount, HasPropertyMap, HasRenderer, java.lang.Iterable<T>, java.util.Collection<T>, java.util.List<T>
public class UniqueList<T>
- extends java.lang.Object
- implements java.util.List<T>, HasRenderer, ChRunnable, HasPropertyMap, HasModiCount
Fields inherited from interface charite.christo.ChRunnable |
APPEND, COLUMN_TITLE, DOWNLOAD_FINISHED, GET_PANEL, ICON, INTERPRET_LINE, IS_DRAG4XY, ITEM_TEXT, MODIFY_RENDERER_COMPONENT, PROGRESS, REPAINT_CURSOR, SAY_DOWNLOADING, SET_ICON_IMAGE, SET_TREE_VALUE, SHOW_IN_FRAME, TAB_TEXT, TIP_TEXT |
Method Summary |
void |
add(int idx,
T s)
|
boolean |
add(T s)
|
boolean |
addAll(java.util.Collection<? extends T> c)
|
boolean |
addAll(int pos,
java.util.Collection<? extends T> c)
|
boolean |
addAllA(T... oo)
|
UniqueList |
addHook(int type,
ChRunnable r,
java.lang.String s)
|
UniqueList |
addOptions(long opt)
|
T[] |
asArray()
|
void |
clear()
|
boolean |
contains(java.lang.Object o)
|
boolean |
containsAll(java.util.Collection<?> c)
|
java.lang.Object[] |
elementData()
|
UniqueList |
ensureCapacity(int n)
|
boolean |
equals(java.lang.Object o)
|
T |
get(int i)
|
java.lang.Class |
getClazz()
|
java.util.Map |
getPropertyMap(boolean create)
|
java.lang.Object |
getRenderer(long options,
long[] rendOptions)
|
java.lang.String |
getText()
|
UniqueList<T> |
i(javax.swing.Icon icon)
|
UniqueList<T> |
i(java.lang.String icon)
|
int |
indexOf(java.lang.Object o)
|
int |
indexOf(java.lang.Object o,
int from0,
int to0)
|
boolean |
isEmpty()
|
java.util.Iterator<T> |
iterator()
|
int |
lastIndexOf(java.lang.Object o)
|
UniqueList |
like(java.lang.Object l)
|
java.util.ListIterator<T> |
listIterator()
|
java.util.ListIterator<T> |
listIterator(int i)
|
int |
modificationCount()
|
T |
remove(int i)
|
boolean |
remove(java.lang.Object o)
|
boolean |
removeAll(java.util.Collection<?> c)
|
boolean |
retainAll(java.util.Collection c)
|
UniqueList |
rmOptions(long opt)
|
java.lang.Object |
run(java.lang.String id,
java.lang.Object arg)
|
T |
set(int i,
T o)
|
int |
size()
|
java.util.List<T> |
subList(int from,
int to)
|
UniqueList<T> |
t(java.lang.String text)
|
java.lang.Object[] |
toArray()
|
|
toArray(T[] a)
|
java.lang.String |
toString()
|
java.util.List<T> |
v()
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
hashCode |
UNIQUE
public static final int UNIQUE
- See Also:
- Constant Field Values
USE_HASH_SET
public static final int USE_HASH_SET
- See Also:
- Constant Field Values
ASSERT_EDT
public static final int ASSERT_EDT
- See Also:
- Constant Field Values
TO_STRING_SUPER
public static final int TO_STRING_SUPER
- See Also:
- Constant Field Values
HOOK_ACCESS
public static final int HOOK_ACCESS
- See Also:
- Constant Field Values
HOOK_CHANGE
public static final int HOOK_CHANGE
- See Also:
- Constant Field Values
UniqueList
public UniqueList(java.lang.Class c)
v
public java.util.List<T> v()
getClazz
public java.lang.Class getClazz()
rmOptions
public UniqueList rmOptions(long opt)
addOptions
public UniqueList addOptions(long opt)
modificationCount
public int modificationCount()
- Specified by:
modificationCount
in interface HasModiCount
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interface java.util.Collection<T>
- Specified by:
equals
in interface java.util.List<T>
- Overrides:
equals
in class java.lang.Object
getPropertyMap
public java.util.Map getPropertyMap(boolean create)
- Specified by:
getPropertyMap
in interface HasPropertyMap
indexOf
public int indexOf(java.lang.Object o,
int from0,
int to0)
ensureCapacity
public UniqueList ensureCapacity(int n)
subList
public java.util.List<T> subList(int from,
int to)
- Specified by:
subList
in interface java.util.List<T>
size
public int size()
- Specified by:
size
in interface java.util.Collection<T>
- Specified by:
size
in interface java.util.List<T>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Collection<T>
- Specified by:
isEmpty
in interface java.util.List<T>
listIterator
public java.util.ListIterator<T> listIterator()
- Specified by:
listIterator
in interface java.util.List<T>
listIterator
public java.util.ListIterator<T> listIterator(int i)
- Specified by:
listIterator
in interface java.util.List<T>
iterator
public java.util.Iterator<T> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<T>
- Specified by:
iterator
in interface java.util.Collection<T>
- Specified by:
iterator
in interface java.util.List<T>
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interface java.util.Collection<T>
- Specified by:
toArray
in interface java.util.List<T>
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArray
in interface java.util.Collection<T>
- Specified by:
toArray
in interface java.util.List<T>
containsAll
public boolean containsAll(java.util.Collection<?> c)
- Specified by:
containsAll
in interface java.util.Collection<T>
- Specified by:
containsAll
in interface java.util.List<T>
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.Collection<T>
- Specified by:
contains
in interface java.util.List<T>
indexOf
public int indexOf(java.lang.Object o)
- Specified by:
indexOf
in interface java.util.List<T>
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interface java.util.List<T>
get
public T get(int i)
- Specified by:
get
in interface java.util.List<T>
remove
public T remove(int i)
- Specified by:
remove
in interface java.util.List<T>
retainAll
public boolean retainAll(java.util.Collection c)
- Specified by:
retainAll
in interface java.util.Collection<T>
- Specified by:
retainAll
in interface java.util.List<T>
removeAll
public boolean removeAll(java.util.Collection<?> c)
- Specified by:
removeAll
in interface java.util.Collection<T>
- Specified by:
removeAll
in interface java.util.List<T>
clear
public final void clear()
- Specified by:
clear
in interface java.util.Collection<T>
- Specified by:
clear
in interface java.util.List<T>
add
public boolean add(T s)
- Specified by:
add
in interface java.util.Collection<T>
- Specified by:
add
in interface java.util.List<T>
addAll
public boolean addAll(java.util.Collection<? extends T> c)
- Specified by:
addAll
in interface java.util.Collection<T>
- Specified by:
addAll
in interface java.util.List<T>
addAll
public boolean addAll(int pos,
java.util.Collection<? extends T> c)
- Specified by:
addAll
in interface java.util.List<T>
add
public final void add(int idx,
T s)
- Specified by:
add
in interface java.util.List<T>
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Collection<T>
- Specified by:
remove
in interface java.util.List<T>
set
public T set(int i,
T o)
- Specified by:
set
in interface java.util.List<T>
asArray
public T[] asArray()
elementData
public java.lang.Object[] elementData()
addAllA
public boolean addAllA(T... oo)
getText
public java.lang.String getText()
t
public UniqueList<T> t(java.lang.String text)
i
public UniqueList<T> i(javax.swing.Icon icon)
i
public UniqueList<T> i(java.lang.String icon)
like
public UniqueList like(java.lang.Object l)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getRenderer
public java.lang.Object getRenderer(long options,
long[] rendOptions)
- Specified by:
getRenderer
in interface HasRenderer
addHook
public UniqueList addHook(int type,
ChRunnable r,
java.lang.String s)
run
public java.lang.Object run(java.lang.String id,
java.lang.Object arg)
- Specified by:
run
in interface ChRunnable
'The most important classes are StrapAlign, Protein and StrapEvent.'