/** * @return True if this field has a constant, fixed number of elements (such as 1 for an atomic integer) */ public boolean hasConstantNumElements() { return getCountType() == VCFHeaderLineCount.INTEGER; }
/** * @return True if this field has a constant, fixed number of elements (such as 1 for an atomic integer) */ public boolean hasConstantNumElements() { return getCountType() == VCFHeaderLineCount.INTEGER; }
/** * @return True if the only way to determine how many elements this field contains is by * inspecting the actual value directly, such as when the number of elements * is a variable length list per site or per genotype. */ public boolean hasValueDeterminedNumElements() { return getCountType() == VCFHeaderLineCount.UNBOUNDED; }
/** * @return True if the only way to determine how many elements this field contains is by * inspecting the actual value directly, such as when the number of elements * is a variable length list per site or per genotype. */ public boolean hasValueDeterminedNumElements() { return getCountType() == VCFHeaderLineCount.UNBOUNDED; }
/** * True if this field has a constant, fixed number of elements (such as 1 for an atomic integer) * * @return */ @Ensures("result != (hasValueDeterminedNumElements() || hasContextDeterminedNumElements())") public boolean hasConstantNumElements() { return getCountType() == VCFHeaderLineCount.INTEGER; }
/** * True if the only way to determine how many elements this field contains is by * inspecting the actual value directly, such as when the number of elements * is a variable length list per site or per genotype. * @return */ @Ensures("result != (hasConstantNumElements() || hasContextDeterminedNumElements())") public boolean hasValueDeterminedNumElements() { return getCountType() == VCFHeaderLineCount.UNBOUNDED; }
@Override public String toString() { return "BCF2FieldEncoder for " + getField() + " with count " + getCountType() + " encoded with " + getClass().getSimpleName(); }
@Override public String toString() { return "BCF2FieldEncoder for " + getField() + " with count " + getCountType() + " encoded with " + getClass().getSimpleName(); }
@Override public String toString() { return "BCF2FieldEncoder for " + getField() + " with count " + getCountType() + " encoded with " + getClass().getSimpleName(); }