| Package | Description |
|---|---|
| org.dbrain.data | |
| org.dbrain.data.impl.value |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Value.List |
static interface |
Value.Map |
| Modifier and Type | Method and Description |
|---|---|
static Value |
Value.of(Boolean b) |
static Value |
Value.of(Double d) |
static Value |
Value.of(String s) |
static Value |
Value.ofJson(JsonParser parser) |
static Value |
Value.ofJson(JsonParser parser,
boolean validateEof) |
static Value |
Value.ofJson(Reader json) |
static Value |
Value.ofJson(String jsonString) |
| Modifier and Type | Class and Description |
|---|---|
class |
ListImpl
A list of simple values.
|
class |
MapImpl
Created by epoitras on 26/06/14.
|
class |
ValueImpl
Wrap a boolean value;
|
| Modifier and Type | Field and Description |
|---|---|
static Value |
ValueImpl.FALSE |
static Value |
ValueImpl.TRUE |
| Modifier and Type | Method and Description |
|---|---|
Value |
MapImpl.compute(String key,
BiFunction<? super String,? super Value,? extends Value> remappingFunction) |
Value |
MapImpl.computeIfAbsent(String key,
Function<? super String,? extends Value> mappingFunction) |
Value |
MapImpl.computeIfPresent(String key,
BiFunction<? super String,? super Value,? extends Value> remappingFunction) |
Value |
ListImpl.get(int index) |
Value |
MapImpl.get(Object key) |
Value |
MapImpl.getOrDefault(Object key,
Value defaultValue) |
Value |
MapImpl.merge(String key,
Value value,
BiFunction<? super Value,? super Value,? extends Value> remappingFunction) |
Value |
MapImpl.put(String key,
Value value) |
Value |
MapImpl.putIfAbsent(String key,
Value value) |
Value |
ListImpl.remove(int index) |
Value |
MapImpl.remove(Object key) |
Value |
MapImpl.replace(String key,
Value value) |
Value |
ListImpl.set(int index,
Value element) |
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<String,Value>> |
MapImpl.entrySet() |
Iterator<Value> |
ListImpl.iterator() |
ListIterator<Value> |
ListImpl.listIterator() |
ListIterator<Value> |
ListImpl.listIterator(int index) |
List<Value> |
ListImpl.subList(int fromIndex,
int toIndex) |
Collection<Value> |
MapImpl.values() |
| Modifier and Type | Method and Description |
|---|---|
void |
ListImpl.add(int index,
Value element) |
boolean |
ListImpl.add(Value jsonValue) |
Value |
MapImpl.getOrDefault(Object key,
Value defaultValue) |
Value |
MapImpl.merge(String key,
Value value,
BiFunction<? super Value,? super Value,? extends Value> remappingFunction) |
Value |
MapImpl.put(String key,
Value value) |
Value |
MapImpl.putIfAbsent(String key,
Value value) |
Value |
MapImpl.replace(String key,
Value value) |
boolean |
MapImpl.replace(String key,
Value oldValue,
Value newValue) |
Value |
ListImpl.set(int index,
Value element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ListImpl.addAll(Collection<? extends Value> c) |
boolean |
ListImpl.addAll(int index,
Collection<? extends Value> c) |
Value |
MapImpl.compute(String key,
BiFunction<? super String,? super Value,? extends Value> remappingFunction) |
Value |
MapImpl.compute(String key,
BiFunction<? super String,? super Value,? extends Value> remappingFunction) |
Value |
MapImpl.computeIfAbsent(String key,
Function<? super String,? extends Value> mappingFunction) |
Value |
MapImpl.computeIfPresent(String key,
BiFunction<? super String,? super Value,? extends Value> remappingFunction) |
Value |
MapImpl.computeIfPresent(String key,
BiFunction<? super String,? super Value,? extends Value> remappingFunction) |
void |
MapImpl.forEach(BiConsumer<? super String,? super Value> action) |
Value |
MapImpl.merge(String key,
Value value,
BiFunction<? super Value,? super Value,? extends Value> remappingFunction) |
Value |
MapImpl.merge(String key,
Value value,
BiFunction<? super Value,? super Value,? extends Value> remappingFunction) |
Value |
MapImpl.merge(String key,
Value value,
BiFunction<? super Value,? super Value,? extends Value> remappingFunction) |
void |
MapImpl.putAll(Map<? extends String,? extends Value> m) |
void |
MapImpl.replaceAll(BiFunction<? super String,? super Value,? extends Value> function) |
void |
MapImpl.replaceAll(BiFunction<? super String,? super Value,? extends Value> function) |
| Constructor and Description |
|---|
MapImpl(HashMap<String,Value> delegate) |
Copyright © 2014. All rights reserved.