@GwtCompatible public class MinimalCollection<E> extends java.util.AbstractCollection<E>
Modifier and Type | Method and Description |
---|---|
boolean |
addAll(java.util.Collection<? extends E> elementsToAdd) |
void |
clear() |
boolean |
contains(java.lang.Object object) |
boolean |
containsAll(java.util.Collection<?> collection) |
java.util.Iterator<E> |
iterator() |
static <E> MinimalCollection<E> |
of(E... contents) |
static <E> MinimalCollection<E> |
ofClassAndContents(java.lang.Class<? super E> type,
E... contents) |
boolean |
removeAll(java.util.Collection<?> elementsToRemove) |
boolean |
retainAll(java.util.Collection<?> elementsToRetain) |
int |
size() |
java.lang.Object[] |
toArray() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static <E> MinimalCollection<E> of(E... contents)
public static <E> MinimalCollection<E> ofClassAndContents(java.lang.Class<? super E> type, E... contents)
public int size()
public boolean contains(java.lang.Object object)
public boolean containsAll(java.util.Collection<?> collection)
public java.lang.Object[] toArray()
public boolean removeAll(java.util.Collection<?> elementsToRemove)
public boolean retainAll(java.util.Collection<?> elementsToRetain)
Copyright © 2010-2018. All Rights Reserved.