/** * Constructs a new <code>UniqueFilterIterator</code>. * * @param iterator the iterator to use */ public UniqueFilterIterator( Iterator iterator ) { super(iterator, UniquePredicate.getInstance()); }
/** * Constructs a new <code>UniqueFilterIterator</code>. * * @param iterator the iterator to use */ public UniqueFilterIterator( Iterator iterator ) { super(iterator, UniquePredicate.getInstance()); }
/** * Creates a Predicate that returns true the first time an object is * encountered, and false if the same object is received * again. The comparison is by equals(). A <code>null</code> input object * is accepted and will return true the first time, and false subsequently * as well. * * @see org.apache.commons.collections.functors.UniquePredicate * * @return the predicate */ public static Predicate uniquePredicate() { // must return new instance each time return UniquePredicate.getInstance(); }
/** * Creates a Predicate that returns true the first time an object is * encountered, and false if the same object is received * again. The comparison is by equals(). A <code>null</code> input object * is accepted and will return true the first time, and false subsequently * as well. * * @see org.apache.commons.collections.functors.UniquePredicate * * @return the predicate */ public static Predicate uniquePredicate() { // must return new instance each time return UniquePredicate.getInstance(); }
/** * Constructs a new <code>UniqueFilterIterator</code>. * * @param iterator the iterator to use */ public UniqueFilterIterator( Iterator iterator ) { super(iterator, UniquePredicate.getInstance()); }
/** * Constructs a new <code>UniqueFilterIterator</code>. * * @param iterator the iterator to use */ public UniqueFilterIterator( Iterator iterator ) { super(iterator, UniquePredicate.getInstance()); }
/** * Constructs a new <code>UniqueFilterIterator</code>. * * @param iterator the iterator to use */ public UniqueFilterIterator( Iterator iterator ) { super(iterator, UniquePredicate.getInstance()); }
/** * Constructs a new <code>UniqueFilterIterator</code>. * * @param iterator the iterator to use */ public UniqueFilterIterator( Iterator iterator ) { super(iterator, UniquePredicate.getInstance()); }
/** * Constructs a new <code>UniqueFilterIterator</code>. * * @param iterator the iterator to use */ public UniqueFilterIterator( Iterator iterator ) { super(iterator, UniquePredicate.getInstance()); }
/** * Creates a Predicate that returns true the first time an object is * encountered, and false if the same object is received * again. The comparison is by equals(). A <code>null</code> input object * is accepted and will return true the first time, and false subsequently * as well. * * @see org.apache.commons.collections.functors.UniquePredicate * * @return the predicate */ public static Predicate uniquePredicate() { // must return new instance each time return UniquePredicate.getInstance(); }
/** * Creates a Predicate that returns true the first time an object is * encountered, and false if the same object is received * again. The comparison is by equals(). A <code>null</code> input object * is accepted and will return true the first time, and false subsequently * as well. * * @see org.apache.commons.collections.functors.UniquePredicate * * @return the predicate */ public static Predicate uniquePredicate() { // must return new instance each time return UniquePredicate.getInstance(); }
/** * Creates a Predicate that returns true the first time an object is * encountered, and false if the same object is received * again. The comparison is by equals(). A <code>null</code> input object * is accepted and will return true the first time, and false subsequently * as well. * * @see org.apache.commons.collections.functors.UniquePredicate * * @return the predicate */ public static Predicate uniquePredicate() { // must return new instance each time return UniquePredicate.getInstance(); }
/** * Creates a Predicate that returns true the first time an object is * encountered, and false if the same object is received * again. The comparison is by equals(). A <code>null</code> input object * is accepted and will return true the first time, and false subsequently * as well. * * @see org.apache.commons.collections.functors.UniquePredicate * * @return the predicate */ public static Predicate uniquePredicate() { // must return new instance each time return UniquePredicate.getInstance(); }
/** * Creates a Predicate that returns true the first time an object is * encountered, and false if the same object is received * again. The comparison is by equals(). A <code>null</code> input object * is accepted and will return true the first time, and false subsequently * as well. * * @see org.apache.commons.collections.functors.UniquePredicate * * @return the predicate */ public static Predicate uniquePredicate() { // must return new instance each time return UniquePredicate.getInstance(); }