|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aitools.programd.util.StringTripleMatrix
public class StringTripleMatrix
Manages a matrix of StringTriple s.
| Constructor Summary | |
|---|---|
StringTripleMatrix()
Creates a new StringTripleMatrix. |
|
| Method Summary | |
|---|---|
void |
add(StringTriple tuple)
Adds the given StringTuple to this StringTripleMatrix. |
void |
addAll(StringTripleMatrix matrix)
Adds the contents of the given StringTripleMatrix to this one. |
boolean |
contains(StringTriple tuple)
|
void |
ensureSize(int size)
Ensures that the StringTripleMatrix has the given size. |
LinkedList<StringTriple> |
getAll()
|
LinkedList<String> |
getFirsts()
|
LinkedList<String> |
getSeconds()
|
LinkedList<String> |
getThirds()
|
Iterator<StringTriple> |
iterator()
|
ListIterator<StringTriple> |
listIterator()
|
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringTripleMatrix()
| Method Detail |
|---|
public LinkedList<StringTriple> getAll()
public Iterator<StringTriple> iterator()
public ListIterator<StringTriple> listIterator()
public boolean contains(StringTriple tuple)
tuple - the tuple to look for in this StringTripleMatrix
public LinkedList<String> getFirsts()
public LinkedList<String> getSeconds()
public LinkedList<String> getThirds()
public void add(StringTriple tuple)
tuple - the tuple to addpublic void addAll(StringTripleMatrix matrix)
matrix - the matrix whose contents we want to addpublic int size()
public void ensureSize(int size)
size - the size to ensure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||