jxl.util
Class SoftBag<E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by jxl.util.SoftBag<E>
All Implemented Interfaces:
java.lang.Iterable<E>, java.util.Collection<E>
Direct Known Subclasses:
SoftSet

public class SoftBag<E>
extends java.util.AbstractCollection<E>

Author:
Alex Lynch

Constructor Summary
SoftBag()
           
 
Method Summary
 boolean add(E e)
           
 java.util.Iterator<E> iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

SoftBag

public SoftBag()
Method Detail

add

public boolean add(E e)
Specified by:
add in interface java.util.Collection<E>
Overrides:
add in class java.util.AbstractCollection<E>

iterator

public java.util.Iterator<E> iterator()
Specified by:
iterator in interface java.lang.Iterable<E>
Specified by:
iterator in interface java.util.Collection<E>
Specified by:
iterator in class java.util.AbstractCollection<E>

size

public int size()
Specified by:
size in interface java.util.Collection<E>
Specified by:
size in class java.util.AbstractCollection<E>