Example usage for java.util TreeSet subclass-usage

List of usage examples for java.util TreeSet subclass-usage

Introduction

In this page you can find the example usage for java.util TreeSet subclass-usage.

Usage

From source file FixedSizeSortedSet.java

public class FixedSizeSortedSet<E> extends TreeSet<E> {
    private static final long serialVersionUID = 1L;

    private final Comparator<? super E> _comparator;
    private final int _maxSize;

From source file BoundedTreeSet.java

/**
 * A TreeSet that ensures it never grows beyond a max size.  
 * <code>last()</code> is removed if the <code>size()</code> 
 * get's bigger then <code>getMaxSize()</code>
 */
public class BoundedTreeSet<E> extends TreeSet<E> {

From source file io.github.jeddict.orm.generator.util.ImportSet.java

public class ImportSet extends TreeSet<String> {

    @Override
    public boolean add(String fqn) {
        if (valid(fqn)) {
            return super.add(fqn);

From source file info.novatec.testit.livingdoc.server.domain.ClasspathSet.java

@SuppressWarnings("serial")
public class ClasspathSet extends TreeSet<String> {

    public ClasspathSet() {
        super(new ClasspathComparator());
    }

From source file cooperativegametheory.Partition.java

/**
 *
 * @author Jonas Brekle <jonas.brekle@gmail.com>
 */
public class Partition extends TreeSet<Coalition> {
    PlayerSet players;

From source file cat.albirar.framework.sets.impl.SetDefaultImpl.java

/**
 * A default implementation for {@link ISet}.
 * @author Octavi Forns ofornes@albirar.cat
 * @since 2.1.0
 */
public class SetDefaultImpl<T> extends TreeSet<String> implements ISet<T> {

From source file net.sf.jabref.importer.CustomImportList.java

/**
 * Collection of user defined custom import formats.
 *
 * <p>The collection can be stored and retrieved from Preferences. It is sorted by the default
 * order of {@link ImportFormat}.</p>
 */

From source file com.projity.contrib.calendar.ContribIntervals.java

/**
 *
 */
public class ContribIntervals extends TreeSet {

    /**

From source file org.netbeans.orm.converter.util.ImportSet.java

public class ImportSet extends TreeSet<String> {

    @Override
    public boolean add(String fqn) {
        if (valid(fqn)) {
            return super.add(fqn);