public class NotedKey extends Object
| Modifier and Type | Method and Description |
|---|---|
Integer |
asNumber()
Returns the internal key as an Integer, assuming it is
a Integer.
|
String |
asString()
Returns the internal key as a String, assuming it is
a String.
|
boolean |
isNumber()
Determines whether the internal key is a Number or not.
|
boolean |
isString()
Determines whether the internal key is a String or not.
|
static NotedKey |
of(Object o)
Static creation method accepting an Object.
|
String |
toString() |
public Integer asNumber()
public String asString()
public boolean isNumber()
public boolean isString()
public static NotedKey of(Object o)
o - the Object to create forCopyright © 2017. All rights reserved.