List of usage examples for java.util AbstractSet subclass-usage
From source file ArraySet.java
public class ArraySet extends AbstractSet implements Cloneable, Serializable { private ArrayList list; public ArraySet() { list = new ArrayList();
From source file ArraySet.java
class ArraySet extends AbstractSet implements Cloneable, Serializable { private ArrayList list; public ArraySet() { list = new ArrayList(); }
From source file ArraySet.java
public class ArraySet extends AbstractSet implements Cloneable, Serializable { private ArrayList list; public ArraySet() { list = new ArrayList();
From source file WeakHashSet.java
public class WeakHashSet extends AbstractSet implements Set { private transient WeakHashMap map; public WeakHashSet() { map = new WeakHashMap(); }
From source file bz.tsung.jsonapi4j.models.SingleElementSet.java
/** * Single object treated as List. * * @param <T> the type parameter */ @JsonSerialize(using = SingletonSerializer.class)
From source file com.yahoo.elide.jsonapi.models.SingleElementSet.java
/** * Single object treated as a Set. * * @param <T> the type of element to treat as a set */ @JsonSerialize(using = SingletonSerializer.class)
From source file ListSet.java
/**
* A thin wrapper around a <code>List</code> transforming it into a modifiable
* <code>Set</code>.
*
* @version <tt>$Revision: 2800 $</tt>
* @author <a href="mailto:jason@planet57.com">Jason Dillon</a>
From source file ArraySet.java
public class ArraySet extends AbstractSet { private static final Object[] EMPTY_ARRAY = new Object[0]; private class ArrayIterator implements Iterator { int itVersion = version; int pos = 0; // position of next item to return
From source file MainClass.java
class ArraySet extends AbstractSet implements Cloneable, Serializable { private ArrayList list; public ArraySet() { list = new ArrayList();
From source file WeakHashSet.java
/**
* A <tt>Set</tt> implementation with <em>weak elements</em>.
* This class implements the <tt>Set</tt> interface, backed by a hash table with
* weak keys (actually a <tt>WeakHashMap</tt> instance).
* An element in a <tt>WeakHashSet</tt> will automatically be removed when it
* is no longer in ordinary use.