use of tech.tablesaw.selection.BitmapBackedSelection in project symja_android_library by axkr.
the class ExprColumn method isNotIn.
public Selection isNotIn(IExpr... strings) {
Selection results = new BitmapBackedSelection();
results.addRange(0, size());
results.andNot(isIn(strings));
return results;
}
use of tech.tablesaw.selection.BitmapBackedSelection in project symja_android_library by axkr.
the class ExprColumn method isNotIn.
public Selection isNotIn(Collection<IExpr> strings) {
Selection results = new BitmapBackedSelection();
results.addRange(0, size());
results.andNot(isIn(strings));
return results;
}
use of tech.tablesaw.selection.BitmapBackedSelection in project symja_android_library by axkr.
the class BooleanColumn method isFalse.
@Override
public Selection isFalse() {
Selection results = new BitmapBackedSelection();
int i = 0;
for (byte next : data) {
if (next == BooleanColumnType.BYTE_FALSE) {
results.add(i);
}
i++;
}
return results;
}
use of tech.tablesaw.selection.BitmapBackedSelection in project symja_android_library by axkr.
the class BooleanColumn method isEqualTo.
@Override
public Selection isEqualTo(BooleanColumn other) {
Selection results = new BitmapBackedSelection();
int i = 0;
ByteIterator booleanIterator = other.byteIterator();
for (byte next : data) {
if (next == booleanIterator.nextByte()) {
results.add(i);
}
i++;
}
return results;
}
use of tech.tablesaw.selection.BitmapBackedSelection in project symja_android_library by axkr.
the class BooleanColumn method isTrue.
@Override
public Selection isTrue() {
Selection results = new BitmapBackedSelection();
int i = 0;
for (byte next : data) {
if (next == BooleanColumnType.BYTE_TRUE) {
results.add(i);
}
i++;
}
return results;
}
Aggregations