public class ShrinkableCollection<T> extends AbstractCollection<T>
Constructor and Description |
---|
ShrinkableCollection(Collection<T> delegate) |
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
iterator() |
int |
size() |
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode
public ShrinkableCollection(Collection<T> delegate)
public Iterator<T> iterator()
iterator
in interface Iterable<T>
iterator
in interface Collection<T>
iterator
in class AbstractCollection<T>
public int size()
size
in interface Collection<T>
size
in class AbstractCollection<T>
Copyright © 2006-2015 The Apache Software Foundation. All Rights Reserved.