|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.odata4j.core.NamedValues
public class NamedValues
A static factory to create immutable NamedValue
instances.
Method Summary | ||
---|---|---|
static
|
copy(NamedValue<T> value)
Create a copy of a named-value. |
|
static
|
create(String name,
T value)
Create an named-value from a name and a value. |
|
static Set<NamedValue<Object>> |
fromMap(Map<String,Object> values)
Create multiple named-values from a string->object map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> NamedValue<T> copy(NamedValue<T> value)
T
- the value's java-typevalue
- the named-value to copy
public static <T> NamedValue<T> create(String name, T value)
T
- the value's java-typename
- the namevalue
- the value
public static Set<NamedValue<Object>> fromMap(Map<String,Object> values)
values
- names and values
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |