|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.AbstractSequentialList
java.util.LinkedList
COM.hugin.HAPI.ClassList
Lists of Classes are represented as ClassList's.
Constructor Summary | |
ClassList()
Constructs a new ClassList. |
Method Summary | |
boolean |
contains(Class cls)
Returns true if the given Class is contained in
this ClassList; otherwise, returns false . |
boolean |
contains(java.lang.String className)
Returns true if the Class named
className is contained in this ClassList;
otherwise, returns false . |
Class |
find(java.lang.String className)
Returns the Class named className (if any) in this
ClassList; otherwise, returns null . |
ClassList |
order()
Returns an ordering of this ClassList, which respects the constraint that the Class with index 'i' in the list does not contain instances of Classes with indices less than 'i'. |
java.lang.String |
toString()
Returns a String of names of the Classes in this ClassList. |
Methods inherited from class java.util.LinkedList |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
Methods inherited from class java.util.AbstractSequentialList |
iterator |
Methods inherited from class java.util.AbstractList |
equals, hashCode, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, isEmpty, removeAll, retainAll |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
public ClassList()
Method Detail |
public boolean contains(java.lang.String className) throws ExceptionHugin
true
if the Class named
className
is contained in this ClassList;
otherwise, returns false
.
className
- String.
ExceptionHugin
public boolean contains(Class cls) throws ExceptionUsage, ExceptionArgumentNotAlive, ExceptionObjectNotAlive
true
if the given Class is contained in
this ClassList; otherwise, returns false
.
cls
- a Class.
ExceptionUsage
ExceptionArgumentNotAlive
ExceptionObjectNotAlive
public Class find(java.lang.String className) throws ExceptionHugin
className
(if any) in this
ClassList; otherwise, returns null
.
ExceptionHugin
public ClassList order() throws ExceptionHugin
ExceptionHugin
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |