org.planx.util
Class WeakCollection<E>
java.lang.Object
java.util.AbstractCollection<E>
org.planx.util.WeakCollection<E>
- All Implemented Interfaces:
- Iterable<E>, Collection<E>
public class WeakCollection<E>
- extends AbstractCollection<E>
- Author:
- Thomas Ambus
| Methods inherited from class java.util.AbstractCollection |
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
WeakCollection
public WeakCollection()
WeakCollection
public WeakCollection(Collection<? extends E> c)
add
public boolean add(E elm)
- Specified by:
add in interface Collection<E>- Overrides:
add in class AbstractCollection<E>
size
public int size()
- Specified by:
size in interface Collection<E>- Specified by:
size in class AbstractCollection<E>
iterator
public Iterator<E> iterator()
- Specified by:
iterator in interface Iterable<E>- Specified by:
iterator in interface Collection<E>- Specified by:
iterator in class AbstractCollection<E>
Copyright © 2010. All Rights Reserved.