public static class PhraseTable.PhraseStringCollection extends Object implements Collection<String>
| Constructor and Description |
|---|
PhraseStringCollection(PhraseTable phraseTable,
boolean useNormalizedLookup) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String s) |
boolean |
addAll(Collection<? extends String> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
isEmpty() |
Iterator<String> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic PhraseStringCollection(PhraseTable phraseTable, boolean useNormalizedLookup)
public int size()
size in interface Collection<String>public boolean isEmpty()
isEmpty in interface Collection<String>public boolean contains(Object o)
contains in interface Collection<String>public Object[] toArray()
toArray in interface Collection<String>public <T> T[] toArray(T[] a)
toArray in interface Collection<String>public boolean add(String s)
add in interface Collection<String>public boolean remove(Object o)
remove in interface Collection<String>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<String>public boolean addAll(Collection<? extends String> c)
addAll in interface Collection<String>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<String>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<String>public void clear()
clear in interface Collection<String>