net.named_data.jndn
public enum KeyLocatorType extends Enum<KeyLocatorType>
| Enum Constant and Description |
|---|
KEY_LOCATOR_DIGEST |
KEYNAME |
NONE |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumericType() |
static KeyLocatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyLocatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyLocatorType NONE
public static final KeyLocatorType KEYNAME
public static final KeyLocatorType KEY_LOCATOR_DIGEST
public static KeyLocatorType[] values()
for (KeyLocatorType c : KeyLocatorType.values()) System.out.println(c);
public static KeyLocatorType 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 final int getNumericType()
Copyright © 2016. All rights reserved.