Constructor and Description |
---|
TupleMemory() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Tuple ps)
Adds a pattern occurence to the memory
|
boolean |
addAll(java.util.Collection<? extends Tuple> arg0) |
void |
clear()
Clear all partial matchings stored in memory
|
boolean |
contains(java.lang.Object arg0) |
boolean |
containsAll(java.util.Collection<?> arg0) |
boolean |
isEmpty() |
java.util.Iterator<Tuple> |
iterator() |
boolean |
remove(java.lang.Object arg0) |
boolean |
remove(Tuple ps)
Removes a pattern occurence from the memory
|
boolean |
removeAll(java.util.Collection<?> arg0) |
boolean |
retainAll(java.util.Collection<?> arg0) |
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] arg0) |
java.lang.String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public boolean add(Tuple ps)
add
in interface java.util.Collection<Tuple>
public boolean remove(Tuple ps)
public void clear()
Clearable
public java.util.Iterator<Tuple> iterator()
public boolean addAll(java.util.Collection<? extends Tuple> arg0)
addAll
in interface java.util.Collection<Tuple>
public boolean contains(java.lang.Object arg0)
contains
in interface java.util.Collection<Tuple>
public boolean containsAll(java.util.Collection<?> arg0)
containsAll
in interface java.util.Collection<Tuple>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<Tuple>
public boolean remove(java.lang.Object arg0)
remove
in interface java.util.Collection<Tuple>
public boolean removeAll(java.util.Collection<?> arg0)
removeAll
in interface java.util.Collection<Tuple>
public boolean retainAll(java.util.Collection<?> arg0)
retainAll
in interface java.util.Collection<Tuple>
public int size()
size
in interface java.util.Collection<Tuple>
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection<Tuple>
public <T> T[] toArray(T[] arg0)
toArray
in interface java.util.Collection<Tuple>
public java.lang.String toString()
toString
in class java.lang.Object