OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:hasAtLeast
(Results
1 - 2
of
2
) sorted by null
/packages/services/Car/obd2-lib/src/com/android/car/obd2/
IntegerArrayStream.java
46
public boolean
hasAtLeast
(int n) {
50
public <T> T
hasAtLeast
(int n, Function<IntegerArrayStream, T> ifTrue) {
51
return
hasAtLeast
(n, ifTrue, null);
54
public <T> T
hasAtLeast
(
58
if (
hasAtLeast
(n)) {
83
if (!
hasAtLeast
(values.length)) {
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
IntegerArrayStreamTest.java
48
assertTrue(stream.
hasAtLeast
(1));
49
assertTrue(stream.
hasAtLeast
(DATA_SET.length));
50
assertFalse(stream.
hasAtLeast
(100));
51
assertTrue(stream.
hasAtLeast
(1, theStream -> true));
52
assertFalse(stream.
hasAtLeast
(100, theStream -> true, theStream -> false));
Completed in 248 milliseconds