use of suite.primitive.LngPrimitives.LngTest in project suite by stupidsing.
the class LngFunUtil method isAny.
public static boolean isAny(LngTest pred0, LngSource source) {
LngTest pred1 = pred0.rethrow();
long c;
while ((c = source.source()) != EMPTYVALUE) if (pred1.test(c))
return true;
return false;
}
use of suite.primitive.LngPrimitives.LngTest in project suite by stupidsing.
the class LngFunUtil method isAll.
public static boolean isAll(LngTest pred0, LngSource source) {
LngTest pred1 = pred0.rethrow();
long c;
while ((c = source.source()) != EMPTYVALUE) if (!pred1.test(c))
return false;
return true;
}
Aggregations