|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--theseus.api.RelationList
RelationList contains a list of tuples.
| Constructor Summary | |
RelationList()
Constructs new list. |
|
RelationList(java.util.Collection a_c)
Constructs new list from existing collection. |
|
| Method Summary | |
boolean |
addRelation(theseus.api.Relation a_rel)
Add relation to the list. |
theseus.api.Relation |
getRelation(int a_pos)
Get relation from the list. |
static theseus.api.RelationList |
load(java.io.Reader a_rdr)
|
theseus.api.Relation[] |
toRelationArray()
|
java.lang.String |
toString()
Returns string form of relation. |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, 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, remove, 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, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
| Constructor Detail |
public RelationList()
public RelationList(java.util.Collection a_c)
| Method Detail |
public boolean addRelation(theseus.api.Relation a_rel)
public theseus.api.Relation getRelation(int a_pos)
public java.lang.String toString()
toString in class java.util.AbstractCollection
public static theseus.api.RelationList load(java.io.Reader a_rdr)
throws theseus.api.DataImportException
theseus.api.DataImportExceptionpublic theseus.api.Relation[] toRelationArray()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||