Searched refs:hasAtLeast (Results 1 – 15 of 15) sorted by relevance
50 public boolean hasAtLeast(int n) { in hasAtLeast() method in IntegerArrayStream54 public <T> T hasAtLeast(int n, Function<IntegerArrayStream, T> ifTrue) { in hasAtLeast() method in IntegerArrayStream55 return hasAtLeast(n, ifTrue, null); in hasAtLeast()58 public <T> T hasAtLeast( in hasAtLeast() method in IntegerArrayStream62 if (hasAtLeast(n)) { in hasAtLeast()87 if (!hasAtLeast(values.length)) { in expect()
48 assertTrue(stream.hasAtLeast(1)); in testHasAtLeast()49 assertTrue(stream.hasAtLeast(DATA_SET.length)); in testHasAtLeast()50 assertFalse(stream.hasAtLeast(100)); in testHasAtLeast()51 assertTrue(stream.hasAtLeast(1, theStream -> true)); in testHasAtLeast()52 assertFalse(stream.hasAtLeast(100, theStream -> true, theStream -> false)); in testHasAtLeast()
36 if (mStream.hasAtLeast(1)) return mStream.consume(); in read()50 if (mStream.hasAtLeast(1)) { in write()
32 return data.hasAtLeast( in consume()
27 return data.hasAtLeast( in consume()