public class Scoresheet<T> extends Object implements com.google.common.collect.Multiset<T>
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.Multiset<T> |
delegate |
Constructor and Description |
---|
Scoresheet() |
Scoresheet(List<T> list) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T element) |
int |
add(T element,
int occurrences) |
boolean |
addAll(Collection<? extends T> elementsToAdd) |
void |
clear() |
boolean |
contains(Object element) |
boolean |
containsAll(Collection<?> c) |
int |
count(Object element) |
Set<T> |
elementSet() |
Set<com.google.common.collect.Multiset.Entry<T>> |
entrySet() |
boolean |
equals(Object object) |
void |
forEach(Consumer<? super T> action) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
List<T> |
keysByTopCount() |
com.google.common.collect.Multiset.Entry<T> |
max() |
Stream<T> |
parallelStream() |
boolean |
remove(Object element) |
int |
remove(Object element,
int occurrences) |
boolean |
removeAll(Collection<?> elementsToRemove) |
boolean |
removeIf(Predicate<? super T> filter) |
boolean |
retainAll(Collection<?> elementsToRetain) |
int |
setCount(T element,
int count) |
boolean |
setCount(T element,
int oldCount,
int newCount) |
int |
size() |
Spliterator<T> |
spliterator() |
Stream<T> |
stream() |
Object[] |
toArray() |
<T1> T1[] |
toArray(T1[] a) |
String |
toString() |
private final com.google.common.collect.Multiset<T> delegate
public com.google.common.collect.Multiset.Entry<T> max()
public Set<com.google.common.collect.Multiset.Entry<T>> entrySet()
entrySet
in interface com.google.common.collect.Multiset<T>
public void clear()
clear
in interface Collection<T>
public int size()
size
in interface com.google.common.collect.Multiset<T>
size
in interface Collection<T>
public int count(@Nullable Object element)
count
in interface com.google.common.collect.Multiset<T>
public int add(@Nullable T element, int occurrences)
add
in interface com.google.common.collect.Multiset<T>
public int remove(@Nullable Object element, int occurrences)
remove
in interface com.google.common.collect.Multiset<T>
public int setCount(T element, int count)
setCount
in interface com.google.common.collect.Multiset<T>
public boolean isEmpty()
isEmpty
in interface Collection<T>
public boolean contains(@Nullable Object element)
contains
in interface com.google.common.collect.Multiset<T>
contains
in interface Collection<T>
public boolean add(@Nullable T element)
add
in interface com.google.common.collect.Multiset<T>
add
in interface Collection<T>
public boolean remove(Object element)
remove
in interface com.google.common.collect.Multiset<T>
remove
in interface Collection<T>
public boolean setCount(T element, int oldCount, int newCount)
setCount
in interface com.google.common.collect.Multiset<T>
public boolean addAll(Collection<? extends T> elementsToAdd)
addAll
in interface Collection<T>
public boolean removeAll(Collection<?> elementsToRemove)
removeAll
in interface com.google.common.collect.Multiset<T>
removeAll
in interface Collection<T>
public boolean retainAll(Collection<?> elementsToRetain)
retainAll
in interface com.google.common.collect.Multiset<T>
retainAll
in interface Collection<T>
public Set<T> elementSet()
elementSet
in interface com.google.common.collect.Multiset<T>
public int hashCode()
public String toString()
public Object[] toArray()
toArray
in interface Collection<T>
public <T1> T1[] toArray(T1[] a)
toArray
in interface Collection<T>
public boolean containsAll(Collection<?> c)
containsAll
in interface com.google.common.collect.Multiset<T>
containsAll
in interface Collection<T>
public boolean removeIf(Predicate<? super T> filter)
removeIf
in interface Collection<T>
public Spliterator<T> spliterator()
spliterator
in interface com.google.common.collect.Multiset<T>
spliterator
in interface Iterable<T>
spliterator
in interface Collection<T>
public Stream<T> stream()
stream
in interface Collection<T>
public Stream<T> parallelStream()
parallelStream
in interface Collection<T>
Copyright © 2021 Play SQL. All rights reserved.