55565758596061
/** * Creates a deferred filtering int iterable for the specified int iterable. */ public static LazyIntIterable select(IntIterable iterable, IntPredicate predicate) { return new SelectIntIterable(iterable, predicate); }
675676677678679680681
return this.indexOf(value); } public ImmutableIntList select(IntPredicate predicate) { return IntArrayList.newList(new SelectIntIterable(this, predicate)).toImmutable(); }
680681682683684685686
return IntArrayList.newList(new SelectIntIterable(this, predicate)).toImmutable(); } public ImmutableIntList reject(IntPredicate predicate) { return IntArrayList.newList(new SelectIntIterable(this, IntPredicates.not(predicate))).toImmutable(); }
685686687688689690691
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); }
1792179317941795179617971798
return !this.anySatisfy(predicate); } public LazyIntIterable select(IntPredicate predicate) { return new SelectIntIterable(this, predicate); }
1797179817991800180118021803
return new SelectIntIterable(this, predicate); } public LazyIntIterable reject(IntPredicate predicate) { return new SelectIntIterable(this, IntPredicates.not(predicate)); }