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