List of usage examples for java.util Collection interface-usage
From source file org.wso2.carbon.registry.core.CollectionImpl.java
/** * The default registry implementation of the Collection interface. */ public class CollectionImpl extends ResourceImpl implements Collection { private static final Log log = LogFactory.getLog(CollectionImpl.class);
From source file uniol.apt.util.EquivalenceRelation.java
/**
* Instances of this class represent an equivalence relation over an unknown set. Initially, all elements are only
* equivalent to themselves, but the equivalence classes of two elements can be joined.
* @param <E> The type of elements in the equivalence relation.
* @author Uli Schlachter
*/
From source file de.dhke.projects.cutil.collections.aspect.AspectMultiMapValueCollection.java
/** * * @author Peter Wullinger <java@dhke.de> */ public class AspectMultiMapValueCollection<K, V, M extends MultiMap<K, V>> implements Collection<V> { private final K _key;
From source file org.apache.hadoop.util.IntrusiveCollection.java
/**
* Implements an intrusive doubly-linked list.
*
* An intrusive linked list is one in which the elements themselves are
* responsible for storing the pointers to previous and next elements.
* This can save a lot of memory if there are many elements in the list or
From source file Tree.java
/** * TreeSet and TreeMap are both Balanced Trees that don't allow duplicate keys. * This class is designed to provide a generic tree that allows duplicates. */ public class Tree<T extends Tree<T>> implements Collection<T>, RandomAccess, Iterable<T> { protected CopyOnWriteArrayList<T> subtrees;
From source file com.livinglogic.ul4.Color.java
public class Color implements Collection, UL4Repr, UL4Attributes, UL4Len, UL4Type { private char r; private char g; private char b; private char a;
From source file org.terrier.indexing.MultiDocumentFileCollection.java
public abstract class MultiDocumentFileCollection implements Collection { /** logger for this class */ protected static final Logger logger = LoggerFactory.getLogger(MultiDocumentFileCollection.class); public abstract Document getDocument();
From source file org.diorite.utils.collections.WeakCollection.java
/**
* Collection with Weak elements.
*
* @param <T> type of elements.
*
* @see WeakReference
From source file ark.data.annotation.DataSet.java
/**
* DataSet represents a collection of labeled and/or unlabeled 'datums'
* to be used to train and evaluate models.
*
* @author Bill McDowell
*
From source file org.apache.hadoop.hdfs.util.LightWeightHashSet.java
/**
* A low memory linked hash set implementation, which uses an array for storing
* the elements and linked lists for collision resolution. This class does not
* support null element.
* <p/>
* This class is not thread safe.