A B C E F G H I K L N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractCaseInsensitiveMap<V> - Class in com.im.commons.util
-
This Map is a delegate that transforms all keys to lowercase (provided the key is not null).
- add(int, String) - Method in class com.im.commons.util.CaseInsensitiveList
-
Inserts the specified element at the specified position in this list.
- add(String) - Method in class com.im.commons.util.CaseInsensitiveList
-
Appends the specified element to the end of this list.
- addAll(int, Collection<? extends String>) - Method in class com.im.commons.util.CaseInsensitiveList
- addAll(Collection<? extends String>) - Method in class com.im.commons.util.CaseInsensitiveList
- apply(ACCU, VAL) - Method in interface com.im.commons.CombiningFunction
- apply(T) - Method in interface com.im.commons.Callback
-
Applies this callback to the given
input
. - areBothNull() - Method in class com.im.commons.Pair
B
- build() - Method in class com.im.commons.base.ExecutorServiceBuilder
C
- Callback<T> - Interface in com.im.commons
-
Receives and process input value.
- callInContext(Callable<V>, Map<?, ?>) - Static method in class com.im.commons.base.ThreadContext
-
Calls a
Callable
task with the suppliedcontext
. - CaseInsensitiveList - Class in com.im.commons.util
-
This class is a copy of ArrayList implementation, specialized for Strings.
- CaseInsensitiveList() - Constructor for class com.im.commons.util.CaseInsensitiveList
-
Constructs an empty list with an initial capacity of ten.
- CaseInsensitiveList(int) - Constructor for class com.im.commons.util.CaseInsensitiveList
-
Constructs an empty list with the specified initial capacity.
- CaseInsensitiveList(Collection<String>) - Constructor for class com.im.commons.util.CaseInsensitiveList
-
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
- CaseInsensitiveMap<V> - Class in com.im.commons.util
-
This Map is a delegate that transforms all keys to lowercase.
- CaseInsensitiveMap() - Constructor for class com.im.commons.util.CaseInsensitiveMap
- CaseInsensitiveMap(int) - Constructor for class com.im.commons.util.CaseInsensitiveMap
- CaseInsensitiveMap(int, float) - Constructor for class com.im.commons.util.CaseInsensitiveMap
- CaseInsensitiveMap(Map<String, V>) - Constructor for class com.im.commons.util.CaseInsensitiveMap
- CaseInsensitiveSet - Class in com.im.commons.util
-
The class extends from
TreeSet
with comparatorString.CASE_INSENSITIVE_ORDER
. - CaseInsensitiveSet() - Constructor for class com.im.commons.util.CaseInsensitiveSet
-
Constructs a new empty set.
- CaseInsensitiveSet(int) - Constructor for class com.im.commons.util.CaseInsensitiveSet
-
Deprecated.The backing map is any no more HashMap. The class extends
TreeSet
. - CaseInsensitiveSet(int, float) - Constructor for class com.im.commons.util.CaseInsensitiveSet
-
Deprecated.The backing map is any no more HashMap. The class extends
TreeSet
. - CaseInsensitiveSet(Collection) - Constructor for class com.im.commons.util.CaseInsensitiveSet
-
Constructs a new set with initial data.
- checkNonNullValues(Iterable<?>, Object) - Static method in class com.im.commons.base.IJCPreconditions
-
Ensures that no value in the given map is a
null
reference. - checkNonNullValues(Map<?, ?>, Object) - Static method in class com.im.commons.base.IJCPreconditions
-
Ensures that no value in the given map is a
null
reference. - checkNotInEDT() - Method in class com.im.commons.util.EDTChecker
-
Checks whether the current operation is performed in the Event Dispatch Thread and logs a warning if yes.
- clear() - Method in class com.im.commons.util.AbstractCaseInsensitiveMap
- clone() - Method in class com.im.commons.util.CaseInsensitiveList
- com.im.commons - package com.im.commons
- com.im.commons.base - package com.im.commons.base
- com.im.commons.util - package com.im.commons.util
- CombiningFunction<VAL,ACCU> - Interface in com.im.commons
-
Combining function to be used in folding functions.
- computeDiff(List<? extends T>, List<? extends T>) - Static method in class com.im.commons.base.IJCCollections
-
Gets a symmetric difference of two lists.
- constant(T) - Static method in class com.im.commons.Functional
-
Creates a constant function that returns
value
for any input. - containsIgnoreCase(String[], String) - Static method in class com.im.commons.util.Utils
-
Does this array of strings contain the specified item (case is ignored).
- containsIgnoreCase(Collection<String>, String) - Static method in class com.im.commons.util.Utils
-
Does this collection of strings contain the specified item (case is ignored).
- containsKey(Object) - Method in class com.im.commons.util.AbstractCaseInsensitiveMap
- containsValue(Object) - Method in class com.im.commons.util.AbstractCaseInsensitiveMap
- contextAware(Runnable) - Static method in class com.im.commons.base.ThreadContext
-
Creates a
Runnable
wrapper that preserves the currentThreadContext
. - contextAware(Callable<V>) - Static method in class com.im.commons.base.ThreadContext
-
Creates a
Callable
wrapper that preserves the currentThreadContext
. - contextAware(ExecutorService) - Static method in class com.im.commons.base.ThreadContext
-
Creates an
ExecutorService
wrapper that preservesThreadContext
. - copyOf(Map<?, V>) - Static method in class com.im.commons.util.ImmutableCaseInsensitiveMap
-
Wraps the original map to an immutable case insensitive map.
- createGuid() - Static method in class com.im.commons.util.Utils
E
- EDTChecker - Class in com.im.commons.util
-
Utility to check whether the current operation is outside EDT.
- EMPTY - Static variable in class com.im.commons.base.ThreadContext
-
An empty
ThreadContext
. - entrySet() - Method in class com.im.commons.util.AbstractCaseInsensitiveMap
- entryToPair() - Static method in class com.im.commons.util.TransformationFunctions
- equals(Object) - Method in class com.im.commons.Pair
-
Checks the two objects for equality by delegating to their respective equals() methods.
- equals(Object) - Method in class com.im.commons.Triplet
- ExecutorServiceBuilder - Class in com.im.commons.base
-
A builder for thread pools.
- ExecutorServiceBuilder() - Constructor for class com.im.commons.base.ExecutorServiceBuilder
-
Creates a new
ExecutorService
builder.
F
- findFreeName(String, Iterable<? extends String>, String, String, boolean) - Static method in class com.im.commons.util.Utils
-
Gets a unique name variant.
- first - Variable in class com.im.commons.Pair
- first() - Method in class com.im.commons.Triplet
- foldl(CombiningFunction<VAL, ACCU>, ACCU, Iterable<? extends VAL>) - Static method in class com.im.commons.Functional
-
Version of
foldl
as it is known in functional programming word. - foldlNull(CombiningFunction<VAL, ACCU>, ACCU, Iterable<VAL>) - Static method in class com.im.commons.Functional
-
Version of
foldl
as it is known in functional programming word handling thenull
values. - Functional - Class in com.im.commons
-
Provides set of generally useful higher-order functions.
G
- generateMD5String(String) - Static method in class com.im.commons.util.Utils
- get(Object) - Method in class com.im.commons.util.AbstractCaseInsensitiveMap
- getCurrent() - Static method in class com.im.commons.base.ThreadContext
-
Gets the
ThreadContext
for the current thread. - getDefault() - Static method in class com.im.commons.util.EDTChecker
- getProperty(Object) - Method in class com.im.commons.base.ThreadContext
-
Gets a property value for a key stored in this
ThreadContext
.
H
- hashCode() - Method in class com.im.commons.Pair
-
Compute a hash code using the hash codes of the underlying objects.
- hashCode() - Method in class com.im.commons.Triplet
I
- IJCCollections - Class in com.im.commons.base
-
Utility methods related to collections.
- IJCPreconditions - Class in com.im.commons.base
-
Additional preconditions used within IJC code-base.
- ImmutableCaseInsensitiveMap<V> - Class in com.im.commons.util
-
This Map is a delegate that transforms all keys to lowercase.
- indexOf(Object) - Method in class com.im.commons.util.CaseInsensitiveList
- isEitherNull() - Method in class com.im.commons.Pair
- isEmpty() - Method in class com.im.commons.util.AbstractCaseInsensitiveMap
- isNull() - Method in class com.im.commons.Triplet
K
- keySet() - Method in class com.im.commons.util.AbstractCaseInsensitiveMap
L
- lastIndexOf(Object) - Method in class com.im.commons.util.CaseInsensitiveList
- listFromNullable(T) - Static method in class com.im.commons.base.IJCCollections
-
If
nullableElement
is non-null, returns a singleton list containing that reference; otherwise returnsCollections.emptyList()
. - ListSplitters - Class in com.im.commons.util
-
Utility for creating ListSplittersByLength.
N
- newFixedThreadPool(int) - Static method in class com.im.commons.base.ExecutorServiceBuilder
-
Creates a thread pool that reuses a fixed number of threads.
- newFixedThreadPool(int, String) - Static method in class com.im.commons.base.ExecutorServiceBuilder
-
Creates a thread pool that reuses a fixed number of threads.
- newSingleThreadExecutor() - Static method in class com.im.commons.base.ExecutorServiceBuilder
-
Creates an
ExecutorService
that uses a single worker thread. - newSingleThreadExecutor(String) - Static method in class com.im.commons.base.ExecutorServiceBuilder
-
Creates an
ExecutorService
that uses a single worker thread. - normalize(String) - Static method in class com.im.commons.util.Utils
-
Gets the normalized version of a string.
O
P
- Pair<P,K> - Class in com.im.commons
-
2-tuple utility object.
- put(String, V) - Method in class com.im.commons.util.AbstractCaseInsensitiveMap
R
- remove(Object) - Method in class com.im.commons.util.AbstractCaseInsensitiveMap
- remove(Object) - Method in class com.im.commons.util.CaseInsensitiveList
- removeAll(Collection<?>) - Method in class com.im.commons.util.CaseInsensitiveList
- retainAll(Collection<?>) - Method in class com.im.commons.util.CaseInsensitiveList
- runInContext(Runnable, Map<?, ?>) - Static method in class com.im.commons.base.ThreadContext
-
Runs a
Runnable
task with the suppliedcontext
.
S
- second - Variable in class com.im.commons.Pair
- second() - Method in class com.im.commons.Triplet
- set(ThreadContext) - Static method in class com.im.commons.base.ThreadContext
- setAllowCoreThreadTimeOut(boolean) - Method in class com.im.commons.base.ExecutorServiceBuilder
- setAutoShutdown(boolean) - Method in class com.im.commons.base.ExecutorServiceBuilder
- setContextAware(boolean) - Method in class com.im.commons.base.ExecutorServiceBuilder
- setCoreThreads(int) - Method in class com.im.commons.base.ExecutorServiceBuilder
- setDaemon(boolean) - Method in class com.im.commons.base.ExecutorServiceBuilder
- setFirst(A) - Method in class com.im.commons.Triplet
- setFromNullable(T) - Static method in class com.im.commons.base.IJCCollections
-
If
nullableElement
is non-null, returns a singleton set containing that reference; otherwise returnsCollections.emptySet()
. - setKeepAliveTime(long) - Method in class com.im.commons.base.ExecutorServiceBuilder
- setNameFormat(String) - Method in class com.im.commons.base.ExecutorServiceBuilder
- setPriority(int) - Method in class com.im.commons.base.ExecutorServiceBuilder
- setQueueCapacity(int) - Method in class com.im.commons.base.ExecutorServiceBuilder
- setSecond(B) - Method in class com.im.commons.Triplet
- setShutdownGracefully(boolean) - Method in class com.im.commons.base.ExecutorServiceBuilder
- setThird(C) - Method in class com.im.commons.Triplet
- setThreadFactory(ThreadFactory) - Method in class com.im.commons.base.ExecutorServiceBuilder
- setThreads(int) - Method in class com.im.commons.base.ExecutorServiceBuilder
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class com.im.commons.base.ExecutorServiceBuilder
- size() - Method in class com.im.commons.util.AbstractCaseInsensitiveMap
- splitByLength(List<T>) - Static method in class com.im.commons.util.ListSplitters
-
Creates a list splitter that splits the long list into peaces with the maximal length for string representation
ListSplitterByLength.LENGTH_LIMIT
. - splitByLength(List<T>, int) - Static method in class com.im.commons.util.ListSplitters
-
Creates a list splitter that splits the long list into peaces with the maximal
length
for string representation.
T
- third() - Method in class com.im.commons.Triplet
- ThreadContext - Class in com.im.commons.base
-
The support for associating properties with threads.
- toImmutableList() - Static method in class com.im.commons.base.IJCCollections
-
Provides
Collector
which reduces stream into GuavaImmutableList
. - toImmutableMap(Function<? super T, ? extends K>, Function<? super T, ? extends V>) - Static method in class com.im.commons.base.IJCCollections
-
Provides
Collector
which reduces stream into GuavaImmutableMap
. - toString() - Method in class com.im.commons.base.ThreadContext
- toString() - Method in class com.im.commons.Pair
- toString() - Method in class com.im.commons.Triplet
- TransformationFunctions - Class in com.im.commons.util
- Triplet<A,B,C> - Class in com.im.commons
-
3-elements utility object.The elements of the triplet might be
null
. - Triplet(A, B, C) - Constructor for class com.im.commons.Triplet
U
- Utils - Class in com.im.commons.util
V
- values() - Method in class com.im.commons.util.AbstractCaseInsensitiveMap
All Classes All Packages