/** * Get the big integer value from the specified (single-valued) attribute. * * @param name Attribute from which to retrieve the big integer value. * @return null if the value is null otherwise the big integer value for the attribute. * @throws ClassCastException if the object in the attribute is not a big integer. * @throws IllegalArgumentException if the attribute is a multi-valued (rather than * single-valued). * @since 1.4 */ public BigInteger findBigInteger(final String name) { final Attribute attribute = find(name); return attribute == null ? null : AttributeUtil.getBigIntegerValue(attribute); }