| Modifier and Type | Method and Description |
|---|---|
static <T extends Map<?,?>> |
ValueEnforcer.noNullValue(T aValue,
String sName)
Check that the passed map is neither
null nor empty and that
no null key or value is contained. |
static <T extends Map<?,?>> |
ValueEnforcer.noNullValue(T aValue,
Supplier<? extends String> aName)
Check that the passed map is neither
null nor empty and that
no null key or value is contained. |
static <T extends Iterable<?>> |
ValueEnforcer.notEmpty(T aValue,
String sName)
Check that the passed
Iterable is neither null nor
empty. |
static <T extends Collection<?>> |
ValueEnforcer.notEmpty(T aValue,
String sName)
Check that the passed
Collection is neither null nor
empty. |
static <T extends Map<?,?>> |
ValueEnforcer.notEmpty(T aValue,
String sName)
Check that the passed Collection is neither
null nor empty. |
static <T extends Iterable<?>> |
ValueEnforcer.notEmpty(T aValue,
Supplier<? extends String> aName)
Check that the passed
Iterable is neither null nor
empty. |
static <T extends Collection<?>> |
ValueEnforcer.notEmpty(T aValue,
Supplier<? extends String> aName)
Check that the passed
Collection is neither null nor
empty. |
static <T extends Map<?,?>> |
ValueEnforcer.notEmpty(T aValue,
Supplier<? extends String> aName)
Check that the passed Collection is neither
null nor empty. |
static <T extends Map<?,?>> |
ValueEnforcer.notEmptyNoNullValue(T aValue,
String sName)
Check that the passed map is neither
null nor empty and that
no null value is contained. |
static <T extends Map<?,?>> |
ValueEnforcer.notEmptyNoNullValue(T aValue,
Supplier<? extends String> aName)
Check that the passed map is neither
null nor empty and that
no null value is contained. |
static <T extends Map<?,?>> |
ValueEnforcer.notNullNoNullValue(T aValue,
String sName)
Check that the passed map is not
null and that no
null value is contained. |
static <T extends Map<?,?>> |
ValueEnforcer.notNullNoNullValue(T aValue,
Supplier<? extends String> aName)
Check that the passed map is not
null and that no
null value is contained. |
| Modifier and Type | Method and Description |
|---|---|
protected ICommonsMap<KEYSTORETYPE,Wrapper<VALUETYPE>> |
MappedCache.createCache()
Create a new cache map.
|
| Modifier and Type | Method and Description |
|---|---|
static <ELEMENTTYPE,COLLTYPE extends Collection<? super ELEMENTTYPE>> |
CollectionHelper.getConcatenatedInline(COLLTYPE aCont,
Collection<? extends ELEMENTTYPE> aElementsToAdd) |
static <ELEMENTTYPE,COLLTYPE extends Collection<? super ELEMENTTYPE>> |
CollectionHelper.getConcatenatedInline(COLLTYPE aCont,
ELEMENTTYPE... aElementsToAdd) |
static <ELEMENTTYPE,LISTTYPE extends List<ELEMENTTYPE>> |
CollectionHelper.getReverseInlineList(LISTTYPE aList) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>,LISTTYPE extends List<ELEMENTTYPE>> |
CollectionHelper.getSortedInline(LISTTYPE aList) |
static <ELEMENTTYPE,LISTTYPE extends List<ELEMENTTYPE>> |
CollectionHelper.getSortedInline(LISTTYPE aList,
Comparator<? super ELEMENTTYPE> aComparator) |
static <ELEMENTTYPE> |
CollectionHelper.makeUnmodifiable(Collection<ELEMENTTYPE> aCollection) |
static <ELEMENTTYPE> |
CollectionHelper.makeUnmodifiable(ELEMENTTYPE... aArray) |
static <ELEMENTTYPE> |
CollectionHelper.makeUnmodifiable(List<ELEMENTTYPE> aList) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.makeUnmodifiable(Map<KEYTYPE,VALUETYPE> aMap) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.makeUnmodifiable(NavigableMap<KEYTYPE,VALUETYPE> aNavigableMap) |
static <ELEMENTTYPE> |
CollectionHelper.makeUnmodifiable(NavigableSet<ELEMENTTYPE> aNavigableSet) |
static <ELEMENTTYPE> |
CollectionHelper.makeUnmodifiable(Set<ELEMENTTYPE> aSet) |
static <ELEMENTTYPE> |
CollectionHelper.makeUnmodifiableNotNull(Collection<ELEMENTTYPE> aCollection) |
static <ELEMENTTYPE> |
CollectionHelper.makeUnmodifiableNotNull(List<ELEMENTTYPE> aList) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.makeUnmodifiableNotNull(Map<KEYTYPE,VALUETYPE> aMap) |
static <KEYTYPE extends Comparable<? super KEYTYPE>,VALUETYPE> |
CollectionHelper.makeUnmodifiableNotNull(NavigableMap<KEYTYPE,VALUETYPE> aNavigableMap) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.makeUnmodifiableNotNull(NavigableSet<ELEMENTTYPE> aNavigableSet) |
static <ELEMENTTYPE> |
CollectionHelper.makeUnmodifiableNotNull(Set<ELEMENTTYPE> aSet) |
| Modifier and Type | Method and Description |
|---|---|
default Collection<ELEMENTTYPE> |
ICommonsCollection.getAsUnmodifiable() |
default List<ELEMENTTYPE> |
ICommonsList.getAsUnmodifiable() |
default Map<KEYTYPE,VALUETYPE> |
ICommonsMap.getAsUnmodifiable() |
default NavigableMap<KEYTYPE,VALUETYPE> |
ICommonsNavigableMap.getAsUnmodifiable() |
default NavigableSet<ELEMENTTYPE> |
ICommonsNavigableSet.getAsUnmodifiable() |
default Set<ELEMENTTYPE> |
ICommonsSet.getAsUnmodifiable() |
default SortedMap<KEYTYPE,VALUETYPE> |
ICommonsSortedMap.getAsUnmodifiable() |
default SortedSet<ELEMENTTYPE> |
ICommonsSortedSet.getAsUnmodifiable() |
| Modifier and Type | Field and Description |
|---|---|
protected Map<K,AbstractSoftMap.SoftValue<K,V>> |
AbstractSoftMap.m_aSrcMap
The internal HashMap that will hold the SoftReference.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<K,V>> |
AbstractSoftMap.entrySet() |
| Modifier and Type | Method and Description |
|---|---|
static List<Locale> |
LocaleHelper.getCalculatedLocaleListForResolving(Locale aLocale)
Get a list with all valid locale permutations of the passed locale.
|
| Modifier and Type | Method and Description |
|---|---|
static <COLLTYPE extends Collection<String>> |
StringHelper.getExploded(char cSep,
String sElements,
int nMaxItems,
COLLTYPE aCollection)
Take a concatenated String and return the passed Collection of all elements
in the passed string, using specified separator string.
|
static <COLLTYPE extends Collection<String>> |
StringHelper.getExploded(String sSep,
String sElements,
int nMaxItems,
COLLTYPE aCollection)
Take a concatenated String and return the passed Collection of all elements
in the passed string, using specified separator string.
|
Copyright © 2014–2020 Philip Helger. All rights reserved.