public class LiveSearchResults<TYPE> extends ArrayList<LiveSearchEntry<TYPE>>
modCount
Constructor and Description |
---|
LiveSearchResults() |
LiveSearchResults(Collection<String> keysCollection) |
LiveSearchResults(int maxEntries) |
LiveSearchResults(int maxEntries,
Collection<String> itemCollection) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(LiveSearchEntry entry) |
boolean |
add(String key) |
boolean |
add(String key,
String value) |
void |
addKeys(Collection<String> itemCollection) |
LiveSearchResults |
sortByKey() |
LiveSearchResults |
sortByValue() |
add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public LiveSearchResults()
public LiveSearchResults(int maxEntries)
public LiveSearchResults(Collection<String> keysCollection)
public LiveSearchResults(int maxEntries, Collection<String> itemCollection)
public boolean add(String key)
public boolean add(LiveSearchEntry entry)
add
in interface Collection<LiveSearchEntry<TYPE>>
add
in interface List<LiveSearchEntry<TYPE>>
add
in class ArrayList<LiveSearchEntry<TYPE>>
public void addKeys(Collection<String> itemCollection)
public LiveSearchResults sortByKey()
public LiveSearchResults sortByValue()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.