List of usage examples for java.util Set interface-usage
From source file org.phenotips.vocabulary.internal.solr.LazySolrTermSet.java
/**
* A lazy-loading set that transforms a set of term identifiers into real terms only when actually accessing the terms.
*
* @version $Id: 6c34abb2885b1460f9122850372197980dbf883c $
* @since 1.2M4 (under a different package since 1.0M8)
*/
From source file ConcurrentHashSet.java
/**
* This class implements the <tt>Set</tt> interface, backed by a ConcurrentHashMap instance.
*
* @author Matt Tucker
* @param <E>
*/
From source file IdentitySet.java
/**
* Set implementation that use == instead of equals() as its comparison
* mechanism. This is achieved by internally using an IdentityHashMap.
*
* @author Emmanuel Bernard
*/
From source file de.dhke.projects.cutil.collections.aspect.AspectMapKeySet.java
/** * * @author Peter Wullinger <java@dhke.de> */ public class AspectMapKeySet<K, V, M extends Map<K, V>> implements Set<K> { private final AspectMap<K, V, M> _aspectMap;
From source file org.apache.fulcrum.security.util.SecuritySet.java
/**
* This class represents a set of Security Entities. It makes it easy to build a
* UI. It wraps a TreeSet object to enforce that only relevant methods are
* available. TreeSet's contain only unique Objects (no duplicates) based on the
* ID. They may or may not have a name, that depends on the implementation. Want
* to get away frm requiring an ID and a name... Nothing should force Name to be
From source file de.dhke.projects.cutil.collections.cow.CopyOnWriteMultiMapEntrySet.java
/** * * @author Peter Wullinger <java@dhke.de> */ class CopyOnWriteMultiMapEntrySet<K, V> implements Set<Map.Entry<K, Collection<V>>> {
From source file de.cosmocode.palava.cache.keysets.MemoryKeySet.java
/**
* KeySet that saves the keys in the memory, in CopyOnWriteArraySet.
* It also persists the list to the hard disk on palava shutdown and reads it from the disk on palava startup.
*
* @author Oliver Lorenz
* @since 1.0
From source file de.dhke.projects.cutil.collections.aspect.AspectMapEntrySet.java
/**
*
* @param <K>
* @param <V>
* @param <M>
* @author Peter Wullinger <java@dhke.de>
From source file de.dhke.projects.cutil.collections.frozen.FrozenSet.java
/** * * @author Peter Wullinger <java@dhke.de> */ public class FrozenSet<T> implements Set<T> { private final Set<T> _baseSet;
From source file de.dhke.projects.cutil.collections.cow.CopyOnWriteMapEntrySet.java
class CopyOnWriteMapEntrySet<K, V> implements Set<Entry<K, V>> { /// </editor-fold> private final CopyOnWriteMap<K, V> _cowMap; private Map<K, V> _lastBaseMap = null; private Set<Entry<K, V>> _cachedEntrySet = null;