| Modifier and Type | Method and Description |
|---|---|
EChange |
IMutableCache.clearCache()
Remove all cached elements.
|
EChange |
Cache.clearCache() |
EChange |
IMutableCache.removeFromCache(KEYTYPE aKey)
Remove the given key from the cache.
|
EChange |
Cache.removeFromCache(KEYTYPE aKey) |
| Modifier and Type | Method and Description |
|---|---|
EChange |
CallbackList.add(CALLBACKTYPE aCallback)
Add a callback.
|
EChange |
CallbackList.addAll(CALLBACKTYPE... aCallbacks) |
EChange |
CallbackList.removeAll()
Remove all callbacks
|
EChange |
CallbackList.removeObject(CALLBACKTYPE aCallback)
Remove the specified callback
|
EChange |
CallbackList.set(CallbackList<CALLBACKTYPE> rhs) |
EChange |
CallbackList.set(CALLBACKTYPE aCallback) |
| Modifier and Type | Method and Description |
|---|---|
static EChange |
CollectionHelper.removeAtIndex(List<?> aList,
int nIndex)
Remove the element at the specified index from the passed list.
|
| Modifier and Type | Method and Description |
|---|---|
default EChange |
IAttributeContainer.putAllIn(Map<? extends KEYTYPE,? extends VALUETYPE> aAttrs) |
default EChange |
IAttributeContainerAny.putIn(KEYTYPE aName,
boolean bValue)
Set/overwrite an attribute value.
|
default EChange |
IAttributeContainerAny.putIn(KEYTYPE aName,
double dValue)
Set/overwrite an attribute value.
|
default EChange |
IAttributeContainerAny.putIn(KEYTYPE aName,
float fValue)
Set/overwrite an attribute value.
|
default EChange |
IAttributeContainerAny.putIn(KEYTYPE aName,
int nValue)
Set/overwrite an attribute value.
|
default EChange |
IAttributeContainerAny.putIn(KEYTYPE aName,
long nValue)
Set/overwrite an attribute value.
|
default EChange |
IAttributeContainerAny.putIn(KEYTYPE aName,
short nValue)
Set/overwrite an attribute value.
|
default EChange |
IAttributeContainer.putIn(KEYTYPE aName,
VALUETYPE aNewValue)
Set/overwrite an attribute value including before and after callbacks.
|
default EChange |
IStringMap.putIn(String sName,
boolean bValue) |
default EChange |
IStringMap.putIn(String sName,
double dValue) |
default EChange |
IStringMap.putIn(String sName,
float fValue) |
default EChange |
IStringMap.putIn(String sName,
int nValue) |
default EChange |
IStringMap.putIn(String sName,
long nValue) |
default EChange |
IStringMap.putIn(String sName,
short nValue) |
| Modifier and Type | Method and Description |
|---|---|
default EChange |
ICommonsCollection.addAll(ELEMENTTYPE... aElements)
Add an array of elements to this collection.
|
default EChange |
ICommonsCollection.addAll(ELEMENTTYPE[] aElements,
Predicate<? super ELEMENTTYPE> aFilter)
Add all matching elements of an array this collection.
|
default EChange |
ICommonsCollection.addAll(Enumeration<? extends ELEMENTTYPE> aEnum)
Add all elements of the passed enumeration to this collection.
|
default EChange |
ICommonsCollection.addAll(Enumeration<? extends ELEMENTTYPE> aEnum,
Predicate<? super ELEMENTTYPE> aFilter)
Add all elements of the passed enumeration to this collection.
|
default EChange |
ICommonsCollection.addAll(Iterable<? extends ELEMENTTYPE> aElements)
Add all elements of the passed iterable to this collection.
|
default EChange |
ICommonsCollection.addAll(Iterable<? extends ELEMENTTYPE> aElements,
Predicate<? super ELEMENTTYPE> aFilter)
Add all elements of the passed iterable to this collection.
|
default EChange |
ICommonsCollection.addAll(Iterator<? extends ELEMENTTYPE> aIter)
Add all elements of the passed iterator to this collection.
|
default EChange |
ICommonsCollection.addAll(Iterator<? extends ELEMENTTYPE> aIter,
Predicate<? super ELEMENTTYPE> aFilter)
Add all elements of the passed iterator to this collection.
|
default <SRCTYPE> EChange |
ICommonsCollection.addAllMapped(Iterable<? extends SRCTYPE> aElements,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
Add all passed elements after performing a mapping using the provided
function.
|
default <SRCTYPE> EChange |
ICommonsCollection.addAllMapped(Iterable<? extends SRCTYPE> aElements,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper,
Predicate<? super ELEMENTTYPE> aFilter)
Add all passed elements matching the provided filter after performing a
mapping using the provided function.
|
default <SRCTYPE> EChange |
ICommonsCollection.addAllMapped(Iterable<? extends SRCTYPE> aElements,
Predicate<? super SRCTYPE> aFilter,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
Add all passed elements matching the provided filter after performing a
mapping using the provided function.
|
default <SRCTYPE> EChange |
ICommonsCollection.addAllMapped(SRCTYPE[] aElements,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
Add all passed elements after performing a mapping using the provided
function.
|
default <SRCTYPE> EChange |
ICommonsCollection.addAllMapped(SRCTYPE[] aElements,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper,
Predicate<? super ELEMENTTYPE> aFilter)
Add all passed elements matching the provided filter after performing a
mapping using the provided function.
|
default <SRCTYPE> EChange |
ICommonsCollection.addAllMapped(SRCTYPE[] aElements,
Predicate<? super SRCTYPE> aFilter,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
Add all passed elements matching the provided filter after performing a
mapping using the provided function.
|
default EChange |
ICommonsCollection.addIf(ELEMENTTYPE aElement,
Predicate<? super ELEMENTTYPE> aFilter)
Add the passed element to this collection if passed predicate is fulfilled
|
default EChange |
ICommonsCollection.addIfNotNull(ELEMENTTYPE aElement)
Add the passed element to this collection if it is non-
null. |
default EChange |
ICommonsCollection.addObject(ELEMENTTYPE aElement)
add the provided element to the collection using
Collection.add(Object) but
returning a more structured return value. |
default EChange |
ICommonsMap.removeAll()
Remove all elements from this collection.
|
default EChange |
ICommonsCollection.removeAll()
Remove all elements from this collection.
|
default EChange |
ICommonsList.removeAtIndex(int nIndex)
Remove the element at the specified index from the passed list.
|
default EChange |
ICommonsMap.removeIf(Predicate<? super Map.Entry<? extends KEYTYPE,? extends VALUETYPE>> aFilter) |
default EChange |
ICommonsMap.removeIfKey(Predicate<? super KEYTYPE> aFilter) |
default EChange |
ICommonsMap.removeIfValue(Predicate<? super VALUETYPE> aFilter) |
default EChange |
ICommonsCollection.removeObject(ELEMENTTYPE aElement)
Remove the provided element from the collection using
Collection.remove(Object) but returning a more structured return value. |
default EChange |
ICommonsMap.removeObject(KEYTYPE aKey)
Remove the object with the passed key from this map.
|
default EChange |
ICommonsCollection.set(ELEMENTTYPE aValue)
Clear all elements and add only the passed value.
|
default EChange |
ICommonsCollection.setAll(ELEMENTTYPE... aValues)
Clear all elements and add all provided values.
|
default EChange |
ICommonsCollection.setAll(Iterable<? extends ELEMENTTYPE> aValues)
Clear all elements and add all provided values.
|
default EChange |
ICommonsMap.setAll(Map<? extends KEYTYPE,? extends VALUETYPE> aValues)
Clear and add all provided values.
|
default <SRCTYPE> EChange |
ICommonsCollection.setAllMapped(Iterable<? extends SRCTYPE> aValues,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
Clear all elements and add all provided values.
|
default <SRCTYPE> EChange |
ICommonsCollection.setAllMapped(SRCTYPE[] aValues,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
Clear all elements and add all provided values.
|
| Modifier and Type | Method and Description |
|---|---|
static EChange |
CollatorHelper.clearCache()
Clear all cached collators.
|
| Modifier and Type | Method and Description |
|---|---|
EChange |
ThreadDeadlockDetectionTimer.stop()
Stop the deadlock detection task
|
| Modifier and Type | Method and Description |
|---|---|
EChange |
EqualsImplementationRegistry.unregisterEqualsImplementation(Class<?> aClass) |
| Modifier and Type | Method and Description |
|---|---|
EChange |
ImageDataManager.clearCache()
Remove all cached elements
|
EChange |
ImageDataManager.clearCachedSize(IReadableResource aRes)
Remove a single resource from the cache.
|
| Modifier and Type | Method and Description |
|---|---|
EChange |
HashCodeImplementationRegistry.unregisterHashCodeImplementation(Class<?> aClass) |
| Modifier and Type | Method and Description |
|---|---|
EChange |
HttpHeaderMap.removeAll()
Remove all contained headers.
|
EChange |
HttpHeaderMap.removeHeader(String sName,
String sValue) |
EChange |
HttpHeaderMap.removeHeaders(String sName)
Remove all header values with the provided name
|
EChange |
HttpHeaderMap.removeHeadersIf(Predicate<? super String> aNameFilter)
Remove all header values where the name matches the provided filter.
|
| Modifier and Type | Method and Description |
|---|---|
static EChange |
GlobalIDFactory.setIntIDFactory(IIntIDFactory aFactory) |
static EChange |
GlobalIDFactory.setLongIDFactory(ILongIDFactory aFactory) |
static EChange |
GlobalIDFactory.setPersistentIntIDFactory(IIntIDFactory aFactory) |
static EChange |
GlobalIDFactory.setPersistentLongIDFactory(ILongIDFactory aFactory) |
static EChange |
GlobalIDFactory.setPersistentStringIDFactory(IStringIDFactory aFactory) |
static EChange |
GlobalIDFactory.setStringIDFactory(IStringIDFactory aFactory) |
| Modifier and Type | Method and Description |
|---|---|
static EChange |
FileHelper.ensureParentDirectoryIsPresent(File aFile) |
static EChange |
PathHelper.ensureParentDirectoryIsPresent(Path aFile) |
| Modifier and Type | Method and Description |
|---|---|
static EChange |
EnumHelper.clearCache() |
static EChange |
ClassHierarchyCache.clearCache()
It's important to clear the cache upon application shutdown, because for
web applications, keeping a cache of classes may prevent the web
application from unloading
|
| Modifier and Type | Method and Description |
|---|---|
static EChange |
LocaleHelper.clearCache()
Clear all stored locale lists
|
| Modifier and Type | Method and Description |
|---|---|
EChange |
InMemoryLogger.removeAll() |
| Modifier and Type | Method and Description |
|---|---|
EChange |
MimeTypeDeterminator.registerMimeTypeContent(MimeTypeContent aMimeTypeContent)
Register a new MIME content type.
|
EChange |
MimeType.removeAllParameters()
Remove all existing parameters.
|
EChange |
MimeType.removeParameter(MimeTypeParameter aParameter)
Remove the specified parameter from this MIME type.
|
EChange |
MimeType.removeParameterAtIndex(int nIndex)
Remove the parameter at the specified index.
|
EChange |
MimeType.removeParameterWithName(String sParamName)
Remove the parameter with the specified name.
|
EChange |
MimeTypeDeterminator.unregisterMimeTypeContent(MimeTypeContent aMimeTypeContent)
Unregister an existing MIME content type.
|
| Modifier and Type | Method and Description |
|---|---|
EChange |
MutableBigDecimal.set(BigDecimal aValue) |
EChange |
MutableBigInteger.set(BigInteger aValue) |
EChange |
MutableBoolean.set(boolean bValue) |
EChange |
MutableBoolean.set(Boolean aValue) |
EChange |
MutableByte.set(byte nValue) |
EChange |
MutableChar.set(char cValue) |
EChange |
MutableDouble.set(double dValue) |
EChange |
MutableBigDecimal.set(double dDelta) |
EChange |
MutableFloat.set(float fValue) |
EChange |
MutableShort.set(int nValue) |
EChange |
MutableInt.set(int nValue) |
EChange |
MutableChar.set(int cValue) |
EChange |
MutableByte.set(int nValue) |
EChange |
MutableLong.set(long nValue) |
EChange |
MutableBigInteger.set(long nDelta) |
EChange |
MutableBigDecimal.set(long nDelta) |
EChange |
MutableBigDecimal.set(MutableBigDecimal aValue) |
EChange |
MutableBigInteger.set(MutableBigInteger aValue) |
EChange |
MutableBoolean.set(MutableBoolean aValue) |
EChange |
MutableChar.set(MutableChar aMC) |
EChange |
MutableShort.set(Number aValue) |
EChange |
MutableLong.set(Number aValue) |
EChange |
MutableInt.set(Number aValue) |
EChange |
MutableFloat.set(Number aValue) |
EChange |
MutableDouble.set(Number aValue) |
EChange |
MutableByte.set(Number aValue) |
EChange |
MutableShort.set(short nValue) |
| Modifier and Type | Method and Description |
|---|---|
default EChange |
IChangeIndicator.and(boolean bChange) |
default EChange |
IChangeIndicator.and(IChangeIndicator aChange) |
default EChange |
IChangeIndicator.or(boolean bChange) |
default EChange |
IChangeIndicator.or(IChangeIndicator aChange) |
EChange |
IClearable.removeAll()
Reset the contents of the element to the after-construction state.
|
EChange |
IStoppable.stop() |
static EChange |
EChange.valueOf(boolean bChanged) |
static EChange |
EChange.valueOf(IChangeIndicator aChangeIndicator) |
static EChange |
EChange.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EChange[] |
EChange.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static EChange |
SystemProperties.setPropertyValue(String sKey,
boolean bValue)
Set a system property value under consideration of an eventually present
SecurityManager. |
static EChange |
SystemProperties.setPropertyValue(String sKey,
int nValue)
Set a system property value under consideration of an eventually present
SecurityManager. |
static EChange |
SystemProperties.setPropertyValue(String sKey,
long nValue)
Set a system property value under consideration of an eventually present
SecurityManager. |
static EChange |
SystemProperties.setPropertyValue(String sKey,
String sValue)
Set a system property value under consideration of an eventually present
SecurityManager. |
| Modifier and Type | Method and Description |
|---|---|
EChange |
IMutableMultilingualText.addText(Locale aContentLocale,
String sText)
Add a text in the specified locale.
|
EChange |
AbstractMapBasedMultilingualText.addText(Locale aContentLocale,
String sText) |
EChange |
IMutableMultilingualText.assignFrom(IMultilingualText aMLT)
Assign all fields from the passed object.
|
EChange |
AbstractMapBasedMultilingualText.assignFrom(IMultilingualText aMLT) |
EChange |
AbstractMapBasedMultilingualText.removeAll() |
EChange |
IMutableMultilingualText.removeText(Locale aContentLocale)
Remove the text with the specified locale.
|
EChange |
AbstractMapBasedMultilingualText.removeText(Locale aContentLocale) |
EChange |
IMutableMultilingualText.setText(Locale aContentLocale,
String sText)
Set a text in the specified locale.
|
EChange |
AbstractMapBasedMultilingualText.setText(Locale aContentLocale,
String sText) |
| Modifier and Type | Method and Description |
|---|---|
EChange |
ThirdPartyModuleRegistry.registerThirdPartyModule(IThirdPartyModule aModule) |
| Modifier and Type | Method and Description |
|---|---|
EChange |
StopWatch.reset()
Reset all saved durations, in case this stop watch is to be used in a loop.
|
EChange |
StopWatch.start()
Start the stop watch.
|
EChange |
StopWatch.stop()
Stop the stop watch.
|
| Modifier and Type | Method and Description |
|---|---|
EChange |
Wrapper.set(DATATYPE aObj) |
EChange |
IMutableWrapper.set(DATATYPE aObj)
Change the wrapped object.
|
Copyright © 2014–2019 Philip Helger. All rights reserved.