Example usage for java.util Set interface-usage

List of usage examples for java.util Set interface-usage

Introduction

In this page you can find the example usage for java.util Set interface-usage.

Usage

From source file de.dhke.projects.cutil.collections.aspect.AspectMultiMapEntrySet.java

/**
 *
 * @param <K>
 * @param <V>
 * @param <M>
 * @author Peter Wullinger <java@dhke.de>

From source file de.dhke.projects.cutil.collections.cow.CopyOnWriteMultiMapKeySet.java

/**
 *
 * @author Peter Wullinger <java@dhke.de>
 */
class CopyOnWriteMultiMapKeySet<K, V> implements Set<K> {

From source file de.dhke.projects.cutil.collections.immutable.ImmutableEntrySet.java

/**
 *
 * @author Peter Wullinger <java@dhke.de>
 */
public class ImmutableEntrySet<K, V> implements Set<Map.Entry<K, V>>, IDecorator<Set<Map.Entry<K, V>>> {
    private final Set<Map.Entry<K, V>> _backEntrySet;

From source file de.dhke.projects.cutil.collections.aspect.AspectMultiMapKeySet.java

/**
 *
 * @param <K> 
 * @param <V> 
 * @param <M> 
 * @author Peter Wullinger <java@dhke.de>

From source file org.phenotips.ontology.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: eb318540328ad0a9f3a895a31b4801027c5fdd18 $
 * @since 1.0M8
 */

From source file net.sf.morph2.util.ListOrderedSet.java

/**
 * Decorates another <code>Set</code> to ensure that the order of addition
 * is retained and used by the iterator.
 * <p>
 * If an object is added to the set for a second time, it will remain in the
 * original position in the iteration.

From source file ArrayUnenforcedSet.java

/**
 * Helper for efficiently representing small sets whose elements are known to be
 * unique by construction, implying we don't need to enforce the uniqueness
 * property in the data structure itself. Use with caution.
 *
 * <p>Note that for equals/hashCode, the class implements the Set behavior

From source file de.dal33t.powerfolder.util.collection.CompositeSet.java

/**
 * Decorates a set of other sets to provide a single unified view.
 * <p>
 * Changes made to this set will actually be made on the decorated set. Add
 * operations require the use of a pluggable strategy. If no strategy is
 * provided then add is unsupported.

From source file net.sf.morph.util.ListOrderedSet.java

/**
 * Decorates another <code>Set</code> to ensure that the order of addition
 * is retained and used by the iterator.
 * <p>
 * If an object is added to the set for a second time, it will remain in the
 * original position in the iteration.

From source file CountedSet.java

/**
 * Set which counts the number of times a values are added to it.  
 * This value can be accessed with the #getCount method.
 */
public class CountedSet implements Set {