public static enum OspfElement.TruthValue extends Enum<OspfElement.TruthValue>
| Enum Constant and Description | 
|---|
FALSE  | 
TRUE
TruthValue ::= TEXTUAL-CONVENTION
            STATUS       current
            DESCRIPTION
                    "Represents a boolean value."
            SYNTAX       INTEGER { true(1), false(2) } 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected static Map<Integer,String> | 
s_typeMap  | 
| Modifier and Type | Method and Description | 
|---|---|
static OspfElement.TruthValue | 
get(Integer code)  | 
static String | 
getTypeString(Integer code)  | 
Integer | 
getValue()  | 
static OspfElement.TruthValue | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static OspfElement.TruthValue[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final OspfElement.TruthValue TRUE
public static final OspfElement.TruthValue FALSE
public static OspfElement.TruthValue[] values()
for (OspfElement.TruthValue c : OspfElement.TruthValue.values()) System.out.println(c);
public static OspfElement.TruthValue valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Integer getValue()
public static OspfElement.TruthValue get(Integer code)
Copyright © 2021. All rights reserved.