Tabnine Logo
PredicatedSortedSet.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.commons.collections.set.PredicatedSortedSet
constructor

Best Java code snippets using org.apache.commons.collections.set.PredicatedSortedSet.<init> (Showing top 20 results out of 315)

origin: commons-collections/commons-collections

/**
 * Factory method to create a predicated (validating) sorted set.
 * <p>
 * If there are any elements already in the set being decorated, they
 * are validated.
 * 
 * @param set  the set to decorate, must not be null
 * @param predicate  the predicate to use for validation, must not be null
 * @throws IllegalArgumentException if set or predicate is null
 * @throws IllegalArgumentException if the set contains invalid elements
 */
public static SortedSet decorate(SortedSet set, Predicate predicate) {
  return new PredicatedSortedSet(set, predicate);
}
origin: wildfly/wildfly

/**
 * Factory method to create a predicated (validating) sorted set.
 * <p>
 * If there are any elements already in the set being decorated, they
 * are validated.
 * 
 * @param set  the set to decorate, must not be null
 * @param predicate  the predicate to use for validation, must not be null
 * @throws IllegalArgumentException if set or predicate is null
 * @throws IllegalArgumentException if the set contains invalid elements
 */
public static SortedSet decorate(SortedSet set, Predicate predicate) {
  return new PredicatedSortedSet(set, predicate);
}
origin: commons-collections/commons-collections

public SortedSet headSet(Object toElement) {
  SortedSet sub = getSortedSet().headSet(toElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: commons-collections/commons-collections

public SortedSet tailSet(Object fromElement) {
  SortedSet sub = getSortedSet().tailSet(fromElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: commons-collections/commons-collections

/**
 * Factory method to create a typed sorted set.
 * <p>
 * If there are any elements already in the set being decorated, they
 * are validated.
 * 
 * @param set  the set to decorate, must not be null
 * @param type  the type to allow into the collection, must not be null
 * @throws IllegalArgumentException if set or type is null
 * @throws IllegalArgumentException if the set contains invalid elements
 */
public static SortedSet decorate(SortedSet set, Class type) {
  return new PredicatedSortedSet(set, InstanceofPredicate.getInstance(type));
}

origin: wildfly/wildfly

public SortedSet headSet(Object toElement) {
  SortedSet sub = getSortedSet().headSet(toElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: wildfly/wildfly

public SortedSet tailSet(Object fromElement) {
  SortedSet sub = getSortedSet().tailSet(fromElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: wildfly/wildfly

/**
 * Factory method to create a typed sorted set.
 * <p>
 * If there are any elements already in the set being decorated, they
 * are validated.
 * 
 * @param set  the set to decorate, must not be null
 * @param type  the type to allow into the collection, must not be null
 * @throws IllegalArgumentException if set or type is null
 * @throws IllegalArgumentException if the set contains invalid elements
 */
public static SortedSet decorate(SortedSet set, Class type) {
  return new PredicatedSortedSet(set, InstanceofPredicate.getInstance(type));
}

origin: commons-collections/commons-collections

public SortedSet subSet(Object fromElement, Object toElement) {
  SortedSet sub = getSortedSet().subSet(fromElement, toElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: wildfly/wildfly

public SortedSet subSet(Object fromElement, Object toElement) {
  SortedSet sub = getSortedSet().subSet(fromElement, toElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: org.apache.directory.api/api-ldap-client-all

public SortedSet tailSet(Object fromElement) {
  SortedSet sub = getSortedSet().tailSet(fromElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: org.apache.openjpa/openjpa-all

public SortedSet headSet(Object toElement) {
  SortedSet sub = getSortedSet().headSet(toElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: org.apache.directory.api/api-ldap-client-all

public SortedSet headSet(Object toElement) {
  SortedSet sub = getSortedSet().headSet(toElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: com.alibaba.citrus.tool/antx-autoexpand

public SortedSet tailSet(Object fromElement) {
  SortedSet sub = getSortedSet().tailSet(fromElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: org.apache.openjpa/openjpa-all

public SortedSet tailSet(Object fromElement) {
  SortedSet sub = getSortedSet().tailSet(fromElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections

public SortedSet headSet(Object toElement) {
  SortedSet sub = getSortedSet().headSet(toElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: org.apache.openjpa/openjpa-all

public SortedSet subSet(Object fromElement, Object toElement) {
  SortedSet sub = getSortedSet().subSet(fromElement, toElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-collections

public SortedSet subSet(Object fromElement, Object toElement) {
  SortedSet sub = getSortedSet().subSet(fromElement, toElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: com.alibaba.citrus.tool/antx-autoexpand

public SortedSet subSet(Object fromElement, Object toElement) {
  SortedSet sub = getSortedSet().subSet(fromElement, toElement);
  return new PredicatedSortedSet(sub, predicate);
}
origin: org.apache.directory.api/api-ldap-client-all

public SortedSet subSet(Object fromElement, Object toElement) {
  SortedSet sub = getSortedSet().subSet(fromElement, toElement);
  return new PredicatedSortedSet(sub, predicate);
}
org.apache.commons.collections.setPredicatedSortedSet<init>

Javadoc

Constructor that wraps (not copies).

If there are any elements already in the set being decorated, they are validated.

Popular methods of PredicatedSortedSet

  • decorate
    Factory method to create a predicated (validating) sorted set. If there are any elements already in
  • getCollection
  • getSortedSet
    Gets the sorted set being decorated.
  • getSet

Popular in Java

  • Start an intent from android
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • setScale (BigDecimal)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now