public static class Immutable.Collection<V> extends AbstractCollection<V>
Immutable.Collection
to provide read-only access to its contents.Constructor and Description |
---|
Immutable.Collection(Collection<V> delegate) |
Modifier and Type | Method and Description |
---|---|
Immutable.Iterator<V> |
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 Immutable.Collection(Collection<V> delegate)
public Immutable.Iterator<V> iterator()
iterator
in interface Iterable<V>
iterator
in interface Collection<V>
iterator
in class AbstractCollection<V>
public int size()
size
in interface Collection<V>
size
in class AbstractCollection<V>
Copyright © 2003-2008 Jive Software.