use of suite.primitive.DblPrimitives.DblTest in project suite by stupidsing.
the class DblFunUtil method isAll.
public static boolean isAll(DblTest pred0, DblSource source) {
DblTest pred1 = pred0.rethrow();
double c;
while ((c = source.source()) != EMPTYVALUE) if (!pred1.test(c))
return false;
return true;
}
use of suite.primitive.DblPrimitives.DblTest in project suite by stupidsing.
the class DblFunUtil method isAny.
public static boolean isAny(DblTest pred0, DblSource source) {
DblTest pred1 = pred0.rethrow();
double c;
while ((c = source.source()) != EMPTYVALUE) if (pred1.test(c))
return true;
return false;
}
Aggregations