| Package | Description |
|---|---|
| org.gridgain.grid.util.lang |
| Modifier and Type | Method and Description |
|---|---|
static GridCallable<AtomicBoolean> |
GridFunc.newAtomicBoolean()
Returns a factory closure that creates new
AtomicBoolean instance
initialized to false. |
static GridCallable<AtomicInteger> |
GridFunc.newAtomicInt()
Returns a factory closure that creates new
AtomicInteger instance
initialized to zero. |
static GridCallable<AtomicLong> |
GridFunc.newAtomicLong()
Returns a factory closure that creates new
AtomicLong instance
initialized to zero. |
static <T> GridCallable<AtomicReference<T>> |
GridFunc.newAtomicRef()
Returns a factory closure that creates new
AtomicReference instance
initialized to null. |
static <K,V> GridCallable<ConcurrentMap<K,V>> |
GridFunc.newCMap()
Returns a factory closure that creates new
ConcurrentMap instance. |
static <E> GridCallable<Set<E>> |
GridFunc.newCSet()
Returns a factory closure that creates new
GridConcurrentHashSet instance. |
static <T> GridCallable<org.jdk8.backport.ConcurrentLinkedDeque8<T>> |
GridFunc.newDeque()
Returns a factory closure that creates new
ConcurrentLinkedDeque8 instance. |
static <T> GridCallable<LinkedList<T>> |
GridFunc.newLinkedList()
Returns a factory closure that creates new
LinkedList instance. |
static <T> GridCallable<List<T>> |
GridFunc.newList()
Returns a factory closure that creates new
List instance. |
static <K,V> GridCallable<Map<K,V>> |
GridFunc.newMap()
Returns a factory closure that creates new
Map instance. |
static <T> GridCallable<Set<T>> |
GridFunc.newSet()
Returns a factory closure that creates new
Set instance. |
Copyright © 2014. All rights reserved.