/** * Create and set a Type Value Pair instance for a given type and value * * @param type the type to set * @param value the value to set * @return the Type Value Pair instance */ default TypeValuePairType getTypeValuePair(String type, Object value) { return getTypeValuePair(type, value, null); }
/** * Create and set a Type Value Pair instance for a given type and value * * @param type the type to set * @param value the value to set * @return the Type Value Pair instance */ default TypeValuePairType getTypeValuePair(String type, byte[] value) { return getTypeValuePair(type, value, (byte[])null); }