src/main/java/org/tinyradius/dictionary/AttributeType.java
public void addEnumerationValue(int num, String name) {
        if (name == null || name.trim().isEmpty()) {
            throw new IllegalArgumentException("name is empty");
        }
        if (enumeration == null) {
            enumeration = new HashMap<>();
        }
        enumeration.put(num, name);
    }
/**
     * Adds a name for an integer value of this attribute.
     *
     * @param num  number that shall get a name
     * @param name the name for this number
     */
Adds a name for an integer value of this attribute.

@param num  number that shall get a name
@param name the name for this number
Adds a name for an integer value of this attribute . @param num number that shall get a name @param name the name for this number
public void addEnumerationValue(int num, String name) {
        if (name == null || name.trim().isEmpty()) {
            throw new IllegalArgumentException("name is empty");
        }
        if (enumeration == null) {
            enumeration = new HashMap<>();
        }
        enumeration.put(num, name);
    }
public void addEnumerationValue ( int num , String name ) { if ( name == null || name . trim ( ) . isEmpty ( ) ) { throw new IllegalArgumentException ( "name is empty" ) ; } if ( enumeration == null ) { enumeration = new HashMap < > ( ) ; } enumeration . put ( num , name ) ; }
Adds a name for an integer value of this attribute.
Adds a name for an integer value of this attribute .