Package org.cometd.oort
Class OortObjectFactories
- java.lang.Object
-
- org.cometd.oort.OortObjectFactories
-
public class OortObjectFactories extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OortObject.Factory<Boolean>
forBoolean(boolean defaultValue)
static <E> OortObject.Factory<List<E>>
forConcurrentList()
static <E> OortObject.Factory<List<E>>
forConcurrentList(List<E> defaultValue)
static <K,V>
OortObject.Factory<ConcurrentMap<K,V>>forConcurrentMap()
static <K,V>
OortObject.Factory<ConcurrentMap<K,V>>forConcurrentMap(Map<K,V> defaultValue)
static OortObject.Factory<Long>
forLong(long defaultValue)
static <K,V>
OortObject.Factory<Map<K,V>>forMap()
static <K,V>
OortObject.Factory<Map<K,V>>forMap(Map<K,V> defaultValue)
static OortObject.Factory<String>
forString(String defaultValue)
-
-
-
Method Detail
-
forBoolean
public static OortObject.Factory<Boolean> forBoolean(boolean defaultValue)
-
forLong
public static OortObject.Factory<Long> forLong(long defaultValue)
-
forString
public static OortObject.Factory<String> forString(String defaultValue)
-
forMap
public static <K,V> OortObject.Factory<Map<K,V>> forMap()
-
forMap
public static <K,V> OortObject.Factory<Map<K,V>> forMap(Map<K,V> defaultValue)
-
forConcurrentMap
public static <K,V> OortObject.Factory<ConcurrentMap<K,V>> forConcurrentMap()
-
forConcurrentMap
public static <K,V> OortObject.Factory<ConcurrentMap<K,V>> forConcurrentMap(Map<K,V> defaultValue)
-
forConcurrentList
public static <E> OortObject.Factory<List<E>> forConcurrentList()
-
forConcurrentList
public static <E> OortObject.Factory<List<E>> forConcurrentList(List<E> defaultValue)
-
-