Package com.gs.collections.impl.lazy.primitive

Examples of com.gs.collections.impl.lazy.primitive.SelectIntIterable$IfIntProcedure


    /**
     * Creates a deferred filtering int iterable for the specified int iterable.
     */
    public static LazyIntIterable select(IntIterable iterable, IntPredicate predicate)
    {
        return new SelectIntIterable(iterable, predicate);
    }
View Full Code Here


        return this.indexOf(value);
    }

    public ImmutableIntList select(IntPredicate predicate)
    {
        return IntArrayList.newList(new SelectIntIterable(this, predicate)).toImmutable();
    }
View Full Code Here

        return IntArrayList.newList(new SelectIntIterable(this, predicate)).toImmutable();
    }

    public ImmutableIntList reject(IntPredicate predicate)
    {
        return IntArrayList.newList(new SelectIntIterable(this, IntPredicates.not(predicate))).toImmutable();
    }
View Full Code Here

        return IntArrayList.newList(new SelectIntIterable(this, IntPredicates.not(predicate))).toImmutable();
    }

    public int detectIfNone(IntPredicate predicate, int ifNone)
    {
        return new SelectIntIterable(this, predicate).detectIfNone(predicate, ifNone);
    }
View Full Code Here

            return !this.anySatisfy(predicate);
        }

        public LazyIntIterable select(IntPredicate predicate)
        {
            return new SelectIntIterable(this, predicate);
        }
View Full Code Here

            return new SelectIntIterable(this, predicate);
        }

        public LazyIntIterable reject(IntPredicate predicate)
        {
            return new SelectIntIterable(this, IntPredicates.not(predicate));
        }
View Full Code Here

TOP

Related Classes of com.gs.collections.impl.lazy.primitive.SelectIntIterable$IfIntProcedure

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.