| Package | Description |
|---|---|
| eu.dnetlib.functionality.index.model | |
| eu.dnetlib.functionality.index.model.impl | |
| eu.dnetlib.functionality.index.model.util |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AnyMap
Interface for a map with Any objects.
|
interface |
AnySeq
Interface for a sequence of Any objects.
|
interface |
Value
Interface for a value object, used if the any object is of type string, double, boolean, long, date or date time.
|
| Modifier and Type | Method and Description |
|---|---|
Any |
DataFactory.cloneAny(Any source)
Clone Any object.
|
Any |
AnyMap.put(String key,
Any value) |
Any |
AnyMap.put(String key,
Boolean value) |
Any |
AnyMap.put(String key,
Number value)
Long, Integer, Short and Byte values will be converted to Value object of type LONG, all others to Value object
of type DOUBLE.
|
Any |
AnyMap.put(String key,
String value) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Any> |
Any.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
AnySeq.add(int index,
Any element) |
void |
AnyMap.add(String key,
Any value)
Adds the given value to the mapped entry of the given key.
|
Any |
DataFactory.cloneAny(Any source)
Clone Any object.
|
Any |
AnyMap.put(String key,
Any value) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAny
Basic abstract implementation class for Any.
|
class |
AnyMapImpl
Class implementing AnyMap.
|
class |
AnySeqImpl
Sequence of Any objects.
|
class |
ImmutableAnyMapImpl
immutable decorator for an AnyMap.
|
class |
ValueImpl
Any holding a value.
|
| Modifier and Type | Method and Description |
|---|---|
Any |
DefaultDataFactoryImpl.cloneAny(Any source)
Clone Any object.
|
Any |
AnySeqImpl.get(int index) |
Any |
ImmutableAnyMapImpl.get(Object key) |
Any |
AnyMapImpl.get(Object key) |
Any |
ImmutableAnyMapImpl.put(String key,
Any value) |
Any |
AnyMapImpl.put(String key,
Any value) |
Any |
ImmutableAnyMapImpl.put(String key,
Boolean value) |
Any |
AnyMapImpl.put(String key,
Boolean value) |
Any |
ImmutableAnyMapImpl.put(String key,
Number value) |
Any |
AnyMapImpl.put(String key,
Number value)
Long, Integer, Short and Byte values will be converted to Value object of type LONG, all others to Value object
of type DOUBLE.
|
Any |
ImmutableAnyMapImpl.put(String key,
String value) |
Any |
AnyMapImpl.put(String key,
String value) |
Any |
AnySeqImpl.remove(int index) |
Any |
ImmutableAnyMapImpl.remove(Object key) |
Any |
AnyMapImpl.remove(Object key) |
Any |
AnySeqImpl.set(int index,
Any element) |
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<String,Any>> |
ImmutableAnyMapImpl.entrySet() |
Set<Map.Entry<String,Any>> |
AnyMapImpl.entrySet() |
Iterator<Any> |
AnySeqImpl.iterator() |
Iterator<Any> |
ImmutableAnyMapImpl.iterator() |
Iterator<Any> |
ValueImpl.iterator() |
Iterator<Any> |
AnyMapImpl.iterator() |
ListIterator<Any> |
AnySeqImpl.listIterator() |
ListIterator<Any> |
AnySeqImpl.listIterator(int index) |
List<Any> |
AnySeqImpl.subList(int fromIndex,
int toIndex) |
Collection<Any> |
ImmutableAnyMapImpl.values() |
Collection<Any> |
AnyMapImpl.values() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AnySeqImpl.add(Any value) |
void |
AnySeqImpl.add(int index,
Any element) |
void |
ImmutableAnyMapImpl.add(String key,
Any value) |
void |
AnyMapImpl.add(String key,
Any value)
Adds the given value to the mapped entry of the given key.
|
Any |
DefaultDataFactoryImpl.cloneAny(Any source)
Clone Any object.
|
Any |
ImmutableAnyMapImpl.put(String key,
Any value) |
Any |
AnyMapImpl.put(String key,
Any value) |
Any |
AnySeqImpl.set(int index,
Any element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AnySeqImpl.addAll(Collection<? extends Any> c) |
boolean |
AnySeqImpl.addAll(int index,
Collection<? extends Any> c) |
void |
ImmutableAnyMapImpl.putAll(Map<? extends String,? extends Any> m) |
void |
AnyMapImpl.putAll(Map<? extends String,? extends Any> map) |
| Modifier and Type | Method and Description |
|---|---|
static Any |
AnyUtil.objectToAny(Object object)
Converts an object to an Any (recursively).
|
static Any |
AnyUtil.saveGet(Any any,
String[] path)
get value for given path(list of keys) from AnyMap object.
|
| Modifier and Type | Method and Description |
|---|---|
static Object |
AnyUtil.anyToNative(Any any)
Converts an Any object into a native java object.
|
static Boolean |
AnyUtil.asBoolean(Any any)
null save version.
|
static Date |
AnyUtil.asDate(Any any)
null save version.
|
static Date |
AnyUtil.asDateTime(Any any)
null save version.
|
static Double |
AnyUtil.asDouble(Any any)
null save version.
|
static Long |
AnyUtil.asLong(Any any)
null save version.
|
static AnyMap |
AnyUtil.asMap(Any any)
null save version.
|
static AnySeq |
AnyUtil.asSeq(Any any)
null save version.
|
static String |
AnyUtil.asString(Any any)
null save version.
|
static Any |
AnyUtil.saveGet(Any any,
String[] path)
get value for given path(list of keys) from AnyMap object.
|
Copyright © 2019. All rights reserved.