@Override public boolean test(/* raw */byte value) { return collection.contains(value); } });
@Override public boolean test(/* raw */byte value) { return collection.contains(value); } });
public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; byte free = freeValue; byte[] keys = set; for (int i = keys.length - 1; i >= 0; i--) { byte key; if ((key = keys[i]) != free) { if (!c.contains(key)) { containsAll = false; break; } } } return containsAll; }
@Override public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; long[] keys = set; byte[] vals = values; for (int i = keys.length - 1; i >= 0; i--) { if (keys[i] < FREE_BITS) { if (!c.contains(vals[i])) { containsAll = false; break; } } } return containsAll; }
@Override public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; long free = freeValue; long[] keys = set; byte[] vals = values; for (int i = keys.length - 1; i >= 0; i--) { if (keys[i] != free) { if (!c.contains(vals[i])) { containsAll = false; break; } } } return containsAll; }
public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; byte free = freeValue; char[] tab = table; long base = CHAR_BASE + BYTE_KEY_OFFSET; for (long off = ((long) tab.length) << CHAR_SCALE_SHIFT; (off -= CHAR_SCALE) >= 0L;) { byte key; if ((key = U.getByte(tab, base + off)) != free) { if (!c.contains(key)) { containsAll = false; break; } } } return containsAll; }
@Override public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; long free = freeValue; long[] keys = set; byte[] vals = values; for (int i = keys.length - 1; i >= 0; i--) { if (keys[i] != free) { if (!c.contains(vals[i])) { containsAll = false; break; } } } return containsAll; }
public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; byte free = freeValue; byte[] keys = set; for (int i = keys.length - 1; i >= 0; i--) { byte key; if ((key = keys[i]) != free) { if (!c.contains(key)) { containsAll = false; break; } } } return containsAll; }
@Override public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; long[] keys = set; byte[] vals = values; for (int i = keys.length - 1; i >= 0; i--) { if (keys[i] < FREE_BITS) { if (!c.contains(vals[i])) { containsAll = false; break; } } } return containsAll; }
@Override public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; int free = freeValue; int[] keys = set; byte[] vals = values; for (int i = keys.length - 1; i >= 0; i--) { if (keys[i] != free) { if (!c.contains(vals[i])) { containsAll = false; break; } } } return containsAll; }
@Override public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; short free = freeValue; short[] keys = set; byte[] vals = values; for (int i = keys.length - 1; i >= 0; i--) { if (keys[i] != free) { if (!c.contains(vals[i])) { containsAll = false; break; } } } return containsAll; }
@Override public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; byte free = freeValue; char[] tab = table; int entry; for (int i = tab.length - 1; i >= 0; i--) { if ((byte) (entry = tab[i]) != free) { if (!c.contains((byte) (entry >>> 8))) { containsAll = false; break; } } } return containsAll; }
@Override public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; char free = freeValue; char[] keys = set; byte[] vals = values; for (int i = keys.length - 1; i >= 0; i--) { if (keys[i] != free) { if (!c.contains(vals[i])) { containsAll = false; break; } } } return containsAll; }
public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; byte free = freeValue; char[] tab = table; long base = CHAR_BASE + BYTE_KEY_OFFSET; for (long off = ((long) tab.length) << CHAR_SCALE_SHIFT; (off -= CHAR_SCALE) >= 0L;) { byte key; if ((key = U.getByte(tab, base + off)) != free) { if (!c.contains(key)) { containsAll = false; break; } } } return containsAll; }
@Override public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; char free = freeValue; char[] keys = set; byte[] vals = values; for (int i = keys.length - 1; i >= 0; i--) { if (keys[i] != free) { if (!c.contains(vals[i])) { containsAll = false; break; } } } return containsAll; }
@Override public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; byte free = freeValue; char[] tab = table; int entry; for (int i = tab.length - 1; i >= 0; i--) { if ((byte) (entry = tab[i]) != free) { if (!c.contains((byte) (entry >>> 8))) { containsAll = false; break; } } } return containsAll; }
@Override public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; char free = freeValue; char[] keys = set; byte[] vals = values; for (int i = keys.length - 1; i >= 0; i--) { if (keys[i] != free) { if (!c.contains(vals[i])) { containsAll = false; break; } } } return containsAll; }
@Override public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; short free = freeValue; short[] keys = set; byte[] vals = values; for (int i = keys.length - 1; i >= 0; i--) { if (keys[i] != free) { if (!c.contains(vals[i])) { containsAll = false; break; } } } return containsAll; }
public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; byte free = freeValue; char[] tab = table; long base = CHAR_BASE + BYTE_KEY_OFFSET; for (long off = ((long) tab.length) << CHAR_SCALE_SHIFT; (off -= CHAR_SCALE) >= 0L;) { byte key; if ((key = U.getByte(tab, base + off)) != free) { if (!c.contains(key)) { containsAll = false; break; } } } return containsAll; }
public boolean allContainingIn(ByteCollection c) { if (this.isEmpty()) return true; boolean containsAll = true; byte free = freeValue; char[] tab = table; long base = CHAR_BASE + BYTE_KEY_OFFSET; for (long off = ((long) tab.length) << CHAR_SCALE_SHIFT; (off -= CHAR_SCALE) >= 0L;) { byte key; if ((key = U.getByte(tab, base + off)) != free) { if (!c.contains(key)) { containsAll = false; break; } } } return containsAll; }