private ValueBitSet(ValueSchema schema) { this.schema = schema; bits = new long[Math.max(1,(schema.getFieldCount() - schema.getMinNullable() + BITS_PER_LONG -1) / BITS_PER_LONG)]; }
private boolean isVarLength() { return schema == null ? false : schema.getFieldCount() - schema.getMinNullable() > BITS_PER_SHORT; }
public static ValueBitSet newInstance(ValueSchema schema) { if (schema.getFieldCount() == schema.getMinNullable()) { return EMPTY_VALUE_BITSET; } return new ValueBitSet(schema); }
private ValueBitSet(ValueSchema schema) { this.schema = schema; bits = new long[Math.max(1,(schema.getFieldCount() - schema.getMinNullable() + BITS_PER_LONG -1) / BITS_PER_LONG)]; }
private ValueBitSet(ValueSchema schema) { this.schema = schema; bits = new long[Math.max(1,(schema.getFieldCount() - schema.getMinNullable() + BITS_PER_LONG -1) / BITS_PER_LONG)]; }
private boolean isVarLength() { return schema == null ? false : schema.getFieldCount() - schema.getMinNullable() > BITS_PER_SHORT; }
private boolean isVarLength() { return schema == null ? false : schema.getFieldCount() - schema.getMinNullable() > BITS_PER_SHORT; }
public static ValueBitSet newInstance(ValueSchema schema) { if (schema.getFieldCount() == schema.getMinNullable()) { return EMPTY_VALUE_BITSET; } return new ValueBitSet(schema); }
public static ValueBitSet newInstance(ValueSchema schema) { if (schema.getFieldCount() == schema.getMinNullable()) { return EMPTY_VALUE_BITSET; } return new ValueBitSet(schema); }