public interface MapAccessorWithDefaultValue
| Modifier and Type | Method and Description |
|---|---|
boolean |
get(String key,
boolean defaultValue)
Retrieve the java boolean with the given key.
|
double |
get(String key,
double defaultValue)
Retrieve the java double number with the given key.
|
Entity |
get(String key,
Entity defaultValue)
Retrieve the entity with the given key.
|
float |
get(String key,
float defaultValue)
Retrieve the java float number with the given key.
|
int |
get(String key,
int defaultValue)
Retrieve the java integer with the given key.
|
List<Object> |
get(String key,
List<Object> defaultValue)
Retrieve the list of objects with the given key.
|
<T> List<T> |
get(String key,
List<T> defaultValue,
Function<Value,T> mapFunc)
Retrieve the list with the given key.
|
long |
get(String key,
long defaultValue)
Retrieve the java long number with the given key.
|
Map<String,Object> |
get(String key,
Map<String,Object> defaultValue)
Retrieve the map with the given key.
|
<T> Map<String,T> |
get(String key,
Map<String,T> defaultValue,
Function<Value,T> mapFunc)
Retrieve the map with the given key.
|
Node |
get(String key,
Node defaultValue)
Retrieve the node with the given key.
|
Number |
get(String key,
Number defaultValue)
Retrieve the number with the given key.
|
Object |
get(String key,
Object defaultValue)
Retrieve the object with the given key.
|
Path |
get(String key,
Path defaultValue)
Retrieve the path with the given key.
|
Relationship |
get(String key,
Relationship defaultValue)
Retrieve the value with the given key.
|
String |
get(String key,
String defaultValue)
Retrieve the java string with the given key.
|
Value |
get(String key,
Value defaultValue)
Retrieve the value with the given key.
|
Value get(String key, Value defaultValue)
key - the key of the valuedefaultValue - the default value that would be returned if no value found by the key in the mapObject get(String key, Object defaultValue)
key - the key of the objectdefaultValue - the default object that would be returned if no object found by the key in the mapNumber get(String key, Number defaultValue)
key - the key of the numberdefaultValue - the default number that would be returned if no number found by the key in the mapEntity get(String key, Entity defaultValue)
key - the key of the entitydefaultValue - the default entity that would be returned if no entity found by the key in the mapNode get(String key, Node defaultValue)
key - the key of the nodedefaultValue - the default node that would be returned if no node found by the key in the mapPath get(String key, Path defaultValue)
key - the key of the propertydefaultValue - the default path that would be returned if no path found by the key in the mapRelationship get(String key, Relationship defaultValue)
key - the key of the propertydefaultValue - the default value that would be returned if no value found by the key in the mapList<Object> get(String key, List<Object> defaultValue)
key - the key of the valuedefaultValue - the default value that would be returned if no value found by the key in the map<T> List<T> get(String key, List<T> defaultValue, Function<Value,T> mapFunc)
T - the type of the elements in the returned listkey - the key of the valuedefaultValue - the default value that would be returned if no value found by the key in the mapmapFunc - the map function that defines how to map each element of the list from Value to TMap<String,Object> get(String key, Map<String,Object> defaultValue)
key - the key of the propertydefaultValue - the default value that would be returned if no value found by the key in the map<T> Map<String,T> get(String key, Map<String,T> defaultValue, Function<Value,T> mapFunc)
T - the type of the values in the returned mapkey - the key of the valuedefaultValue - the default value that would be returned if no value found by the key in the mapmapFunc - the map function that defines how to map each value in map from Value to Tint get(String key, int defaultValue)
key - the key of the propertydefaultValue - the default integer that would be returned if no integer found by the key in the maplong get(String key, long defaultValue)
key - the key of the propertydefaultValue - the default value that would be returned if no value found by the key in the mapboolean get(String key, boolean defaultValue)
key - the key of the propertydefaultValue - the default value that would be returned if no value found by the key in the mapString get(String key, String defaultValue)
key - the key of the propertydefaultValue - the default string that would be returned if no string found by the key in the mapfloat get(String key, float defaultValue)
key - the key of the propertydefaultValue - the default value that would be returned if no value found by the key in the mapdouble get(String key, double defaultValue)
key - the key of the propertydefaultValue - the default value that would be returned if no value found by the key in the mapCopyright © 2017. All rights reserved.