| Modifier and Type | Method and Description |
|---|---|
ICommonsList<CALLBACKTYPE> |
ICallbackList.getAllCallbacks() |
ICommonsList<CALLBACKTYPE> |
CallbackList.getAllCallbacks() |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<EXTYPE> |
CollectingExceptionListCallback.getAllExceptions() |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<AbstractChangeLogEntry> |
ChangeLog.getAllBaseEntries() |
ICommonsList<ChangeLogEntry> |
ChangeLog.getAllEntries() |
ICommonsList<ChangeLogEntry> |
ChangeLog.getAllEntriesOfCategory(EChangeLogCategory eCategory)
Get all change log entries, that match the specified category.
|
ICommonsList<String> |
ChangeLogEntry.getAllIssues() |
ICommonsList<ChangeLogRelease> |
ChangeLog.getAllReleases() |
| Modifier and Type | Class and Description |
|---|---|
class |
CommonsArrayList<ELEMENTTYPE>
A special
ArrayList implementation based on ICommonsList. |
class |
CommonsCopyOnWriteArrayList<ELEMENTTYPE>
A special
CommonsCopyOnWriteArrayList implementation based on
ICommonsList. |
class |
CommonsLinkedList<ELEMENTTYPE>
A special
LinkedList implementation based on ICommonsList. |
class |
CommonsVector<ELEMENTTYPE>
A special
Vector implementation based on ICommonsList. |
| Modifier and Type | Method and Description |
|---|---|
default ICommonsList<VALUETYPE> |
ICommonsMap.copyOfValues() |
default ICommonsList<VALUETYPE> |
ICommonsMap.copyOfValues(Predicate<? super VALUETYPE> aFilter)
Create a copy of all values matching the passed filter.
|
default <DSTTYPE> ICommonsList<DSTTYPE> |
ICommonsMap.copyOfValuesMapped(Function<? super VALUETYPE,? extends DSTTYPE> aMapper)
Create a copy of all values after applying the passed mapping function.
|
default <DSTTYPE> ICommonsList<DSTTYPE> |
ICommonsMap.copyOfValuesMapped(Predicate<? super VALUETYPE> aFilter,
Function<? super VALUETYPE,? extends DSTTYPE> aMapper)
Create a copy of all values matching the passed filter which are then
converted using the provided function.
|
default <T> ICommonsList<T> |
ICommonsList.createInstance()
Create a new empty list.
|
default ICommonsList<ELEMENTTYPE> |
ICommonsList.getAll(Predicate<? super ELEMENTTYPE> aFilter)
Get all elements matching the provided filter.
|
default <DSTTYPE extends ELEMENTTYPE> |
ICommonsList.getAllInstanceOf(Class<DSTTYPE> aDstClass)
Get all instances of the provided class that are contained in this list.
|
default <DSTTYPE> ICommonsList<DSTTYPE> |
ICommonsList.getAllMapped(Function<? super ELEMENTTYPE,DSTTYPE> aMapper)
Create a new list where all existing elements are mapped with the provided
function.
|
default <DSTTYPE> ICommonsList<DSTTYPE> |
ICommonsList.getAllMapped(Predicate<? super ELEMENTTYPE> aFilter,
Function<? super ELEMENTTYPE,DSTTYPE> aMapper)
Create a new list where all elements matching the filter are mapped with
the provided function.
|
default ICommonsList<ELEMENTTYPE> |
ICommonsCollection.getCopyAsList() |
default ICommonsList<ELEMENTTYPE> |
ICommonsCollection.getSorted(Comparator<? super ELEMENTTYPE> aComparator)
Return a sorted version of this collection.
|
default ICommonsList<ELEMENTTYPE> |
ICommonsList.getSortedInline(Comparator<? super ELEMENTTYPE> aComparator)
Sort this line without creating a copy.
|
default ICommonsList<ELEMENTTYPE> |
ICommonsList.reverse()
Reverse the order of this list.
|
default ICommonsList<ELEMENTTYPE> |
ICommonsList.swapItems(int nFirstIndex,
int nSecondIndex)
Swap list items.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NonBlockingStack<ELEMENTTYPE>
A version of a stack that does not use
Vector but an
CommonsArrayList as the underlying data structure as opposed to
Stack. |
class |
SafeArrayList<ELEMENTTYPE>
This is a specialized
CommonsArrayList that can handle read accesses
on list items that are not yet in the container. |
class |
SafeVector<ELEMENTTYPE>
This is a specialized
CommonsVector that can handle read accesses on
list items that are not yet in the container. |
class |
SingleElementList<ELEMENTTYPE>
Implementation of the
ICommonsList interface handling exactly one
element and no more! |
class |
WrappedList<ELEMENTTYPE>
This is a facade for a
List. |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<ELEMENTTYPE> |
SingleElementList.subList(int nFromIndex,
int nToIndex) |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<DATATYPE> |
AbstractConcurrentCollector.drainQueue() |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<String> |
CSVIterator.next()
Returns the next element in the iterator.
|
ICommonsList<String> |
CSVParser.parseLine(String sNextLine)
Parses an incoming String and returns an array of elements.
|
ICommonsList<String> |
CSVParser.parseLineMulti(String sNextLine)
Parses an incoming String and returns an array of elements.
|
ICommonsList<ICommonsList<String>> |
CSVReader.readAll()
Reads the entire file into a list with each element being a list of
String of tokens. |
ICommonsList<String> |
CSVReader.readNext()
Reads the next line from the buffer and converts to a string array.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<ICommonsList<String>> |
CSVReader.iterator()
Creates an Iterator for processing the csv data.
|
ICommonsList<ICommonsList<String>> |
CSVReader.readAll()
Reads the entire file into a list with each element being a list of
String of tokens. |
| Modifier and Type | Method and Description |
|---|---|
void |
CSVReader.readAll(Consumer<? super ICommonsList<String>> aLineConsumer)
Reads the entire file line by line and invoke a callback for each line.
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<IThreadDeadlockCallback> |
ThreadDeadlockDetector.getAllCallbacks() |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<ErrorTextProvider.IFormattableItem> |
ErrorTextProvider.getAllItems() |
| Modifier and Type | Method and Description |
|---|---|
default <T> ICommonsList<T> |
IErrorList.getAllDataItems(Function<? super IError,T> aExtractor)
Get a list with only a single data element.
|
ICommonsList<IError> |
IErrorList.getAllItems() |
ICommonsList<IError> |
ErrorList.getAllItems() |
default ICommonsList<String> |
IErrorList.getAllTexts(Locale aContentLocale)
Get a list with all contained texts.
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<? extends CHILDTYPE> |
IHasChildrenSorted.getAllChildren() |
ICommonsList<? extends CHILDTYPE> |
IChildrenProviderSorted.getAllChildren(CHILDTYPE aCurrent)
Get the children of the passed object.
|
ICommonsList<? extends CHILDTYPE> |
ChildrenProviderSorting.getAllChildren(CHILDTYPE aCurrent) |
ICommonsList<? extends CHILDTYPE> |
ChildrenProviderHasChildrenSorting.getAllChildren(CHILDTYPE aCurrent) |
ICommonsList<? extends CHILDTYPE> |
ChildrenProviderHasChildrenSorted.getAllChildren(CHILDTYPE aCurrent) |
| Modifier and Type | Method and Description |
|---|---|
static ICommonsList<String> |
SimpleFileIO.getAllFileLines(File aFile,
Charset aCharset)
Get the content of the passed file as a list of lines, whereas each line
does not contain a separator.
|
static ICommonsList<File> |
FileHelper.getDirectoryContent(File aDirectory)
This is a replacement for
File.listFiles() doing some
additional checks on permissions. |
static ICommonsList<File> |
FileHelper.getDirectoryContent(File aDirectory,
FileFilter aFileFilter)
This is a replacement for
File.listFiles(FileFilter) doing
some additional checks on permissions. |
static ICommonsList<File> |
FileHelper.getDirectoryContent(File aDirectory,
FilenameFilter aFilenameFilter)
This is a replacement for
File.listFiles(FilenameFilter) doing
some additional checks on permissions. |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<FileMonitor> |
FileMonitorManager.getAllFileMonitors() |
| Modifier and Type | Field and Description |
|---|---|
protected ICommonsList<IReadableResourceProvider> |
ReadableResourceProviderChain.m_aReadingResourceProviders |
protected ICommonsList<IWritableResourceProvider> |
WritableResourceProviderChain.m_aWritableResourceProviders |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<IReadableResourceProvider> |
ReadableResourceProviderChain.getAllContainedReadingResourceProviders() |
ICommonsList<IWritableResourceProvider> |
WritableResourceProviderChain.getAllContainedWritingResourceProviders() |
| Modifier and Type | Method and Description |
|---|---|
static ICommonsList<String> |
StreamHelper.readStreamLines(IHasInputStream aISP,
Charset aCharset)
Get the content of the passed Spring resource as one big string in the
passed character set.
|
static ICommonsList<String> |
StreamHelper.readStreamLines(IHasInputStream aISP,
Charset aCharset,
int nLinesToSkip,
int nLinesToRead)
Get the content of the passed Spring resource as one big string in the
passed character set.
|
static ICommonsList<String> |
StreamHelper.readStreamLines(InputStream aIS,
Charset aCharset)
Get the content of the passed stream as a list of lines in the passed
character set.
|
static ICommonsList<String> |
StreamHelper.readStreamLines(InputStream aIS,
Charset aCharset,
int nLinesToSkip,
int nLinesToRead)
Get the content of the passed stream as a list of lines in the passed
character set.
|
| Modifier and Type | Method and Description |
|---|---|
static <ENUMTYPE extends Enum<ENUMTYPE>> |
EnumHelper.getAll(Class<ENUMTYPE> aClass,
Predicate<ENUMTYPE> aFilter) |
static ICommonsList<String> |
ClassPathHelper.getAllClassPathEntries() |
static <T> ICommonsList<T> |
ServiceLoaderHelper.getAllSPIImplementations(Class<T> aSPIClass)
Uses the
ServiceLoader to load all SPI implementations of the
passed class |
static <T> ICommonsList<T> |
ServiceLoaderHelper.getAllSPIImplementations(Class<T> aSPIClass,
ClassLoader aClassLoader)
Uses the
ServiceLoader to load all SPI implementations of the
passed class |
static <T> ICommonsList<T> |
ServiceLoaderHelper.getAllSPIImplementations(Class<T> aSPIClass,
ClassLoader aClassLoader,
org.slf4j.Logger aLogger)
Uses the
ServiceLoader to load all SPI implementations of the
passed class |
static <T> ICommonsList<T> |
ServiceLoaderHelper.getAllSPIImplementations(Class<T> aSPIClass,
org.slf4j.Logger aLogger)
Uses the
ServiceLoader to load all SPI implementations of the
passed class |
static ICommonsList<Class<?>> |
ClassHierarchyCache.getClassHierarchyList(Class<?> aClass)
Get the complete super class hierarchy of the passed class including all
super classes and all interfaces of the passed class and of all parent
classes.
|
static <DATATYPE extends ICloneable<DATATYPE>> |
CloneHelper.getClonedList(Iterable<DATATYPE> aList)
Get a list where each contained item is also cloned.
|
static <DATATYPE> ICommonsList<DATATYPE> |
CloneHelper.getGenericClonedList(Iterable<DATATYPE> aList)
Get a list where each contained item is also cloned.
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<Locale> |
LocaleCache.getAllLocales()
Get all contained locales except the locales "all" and "independent"
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<LogMessage> |
InMemoryLogger.getAllMessages() |
| Modifier and Type | Method and Description |
|---|---|
static <DATATYPE> ICommonsList<ICommonsList<DATATYPE>> |
CombinationGenerator.getAllPermutations(ICommonsList<DATATYPE> aInput,
int nSlotCount)
Get a list of all permutations of the input elements.
|
ICommonsList<DATATYPE> |
CombinationGenerator.next()
Generate next combination (algorithm from Rosen p. 286)
|
| Modifier and Type | Method and Description |
|---|---|
static <DATATYPE> ICommonsList<ICommonsList<DATATYPE>> |
CombinationGenerator.getAllPermutations(ICommonsList<DATATYPE> aInput,
int nSlotCount)
Get a list of all permutations of the input elements.
|
ICommonsSet<ICommonsList<DATATYPE>> |
CombinationGeneratorFlexible.getCombinations(ICommonsList<DATATYPE> aElements)
Generate all combinations without duplicates.
|
static <DATATYPE> ICommonsSet<ICommonsList<DATATYPE>> |
CombinationGeneratorFlexible.getCombinations(ICommonsList<DATATYPE> aElements,
boolean bAllowEmpty) |
| Modifier and Type | Method and Description |
|---|---|
static <DATATYPE> void |
CombinationGenerator.addAllPermutations(ICommonsList<DATATYPE> aInput,
int nSlotCount,
Collection<ICommonsList<DATATYPE>> aResultList)
Fill a list with all permutations of the input elements.
|
static <DATATYPE> ICommonsList<ICommonsList<DATATYPE>> |
CombinationGenerator.getAllPermutations(ICommonsList<DATATYPE> aInput,
int nSlotCount)
Get a list of all permutations of the input elements.
|
ICommonsSet<ICommonsList<DATATYPE>> |
CombinationGeneratorFlexible.getCombinations(ICommonsList<DATATYPE> aElements)
Generate all combinations without duplicates.
|
static <DATATYPE> ICommonsSet<ICommonsList<DATATYPE>> |
CombinationGeneratorFlexible.getCombinations(ICommonsList<DATATYPE> aElements,
boolean bAllowEmpty) |
static <DATATYPE> void |
CombinationGeneratorFlexible.iterateAllCombinations(ICommonsList<DATATYPE> aElements,
boolean bAllowEmpty,
Consumer<ICommonsList<DATATYPE>> aCallback) |
void |
CombinationGeneratorFlexible.iterateAllCombinations(ICommonsList<DATATYPE> aElements,
Consumer<ICommonsList<DATATYPE>> aCallback)
Iterate all combination, no matter they are unique or not.
|
| Modifier and Type | Method and Description |
|---|---|
static <DATATYPE> void |
CombinationGenerator.addAllPermutations(ICommonsList<DATATYPE> aInput,
int nSlotCount,
Collection<ICommonsList<DATATYPE>> aResultList)
Fill a list with all permutations of the input elements.
|
static <DATATYPE> void |
CombinationGeneratorFlexible.iterateAllCombinations(ICommonsList<DATATYPE> aElements,
boolean bAllowEmpty,
Consumer<ICommonsList<DATATYPE>> aCallback) |
void |
CombinationGeneratorFlexible.iterateAllCombinations(ICommonsList<DATATYPE> aElements,
Consumer<ICommonsList<DATATYPE>> aCallback)
Iterate all combination, no matter they are unique or not.
|
| Constructor and Description |
|---|
CombinationGenerator(ICommonsList<DATATYPE> aElements,
int nSlotCount)
Ctor
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<MimeTypeParameter> |
MimeType.getAllParameters() |
ICommonsList<MimeTypeParameter> |
IMimeType.getAllParameters() |
| Modifier and Type | Method and Description |
|---|---|
static ICommonsList<String> |
RegExHelper.getSplitToList(CharSequence sText,
String sRegEx)
Split the passed text with the given regular expression.
|
static ICommonsList<String> |
RegExHelper.getSplitToList(CharSequence sText,
String sRegEx,
int nLimit)
Split the passed text with the given regular expression.
|
| Modifier and Type | Method and Description |
|---|---|
default ICommonsList<String> |
IRequestScope.getAttributeAsList(String sName)
Get a list of all attribute values with the same name.
|
ICommonsList<String> |
RequestScope.getAttributeAsList(String sName,
ICommonsList<String> aDefault) |
ICommonsList<String> |
IRequestScope.getAttributeAsList(String sName,
ICommonsList<String> aDefault)
Get a list of all attribute values with the same name.
|
protected ICommonsList<String> |
RequestScope.getAttributeAsListCustom(String sName,
Object aValue,
ICommonsList<String> aDefault)
Try to convert the passed value into a
ICommonsList of
String. |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<String> |
RequestScope.getAttributeAsList(String sName,
ICommonsList<String> aDefault) |
ICommonsList<String> |
IRequestScope.getAttributeAsList(String sName,
ICommonsList<String> aDefault)
Get a list of all attribute values with the same name.
|
protected ICommonsList<String> |
RequestScope.getAttributeAsListCustom(String sName,
Object aValue,
ICommonsList<String> aDefault)
Try to convert the passed value into a
ICommonsList of
String. |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<ISessionScope> |
ScopeSessionManager.getAllSessionScopes() |
| Modifier and Type | Method and Description |
|---|---|
static ICommonsList<AbstractApplicationSingleton> |
AbstractApplicationSingleton.getAllApplicationSingletons()
Get all instantiated singleton objects registered in the current
application scope.
|
static ICommonsList<AbstractGlobalSingleton> |
AbstractGlobalSingleton.getAllGlobalSingletons()
Get all instantiated singleton objects registered in the current global
scope.
|
static ICommonsList<AbstractRequestSingleton> |
AbstractRequestSingleton.getAllRequestSingletons()
Get all instantiated singleton objects registered in the current request
scope.
|
static ICommonsList<AbstractSessionApplicationSingleton> |
AbstractSessionApplicationSingleton.getAllSessionApplicationSingletons()
Get all instantiated singleton objects registered in the current session
application scope.
|
static ICommonsList<AbstractSessionSingleton> |
AbstractSessionSingleton.getAllSessionSingletons()
Get all instantiated singleton objects registered in the current session
scope.
|
static <T extends AbstractSingleton> |
AbstractSingleton.getAllSingletons(IScope aScope,
Class<T> aDesiredClass)
Get all singleton objects registered in the respective sub-class of this
class.
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<IApplicationScopeSPI> |
ScopeSPIManager.getAllApplicationScopeSPIs() |
ICommonsList<IGlobalScopeSPI> |
ScopeSPIManager.getAllGlobalScopeSPIs() |
ICommonsList<IRequestScopeSPI> |
ScopeSPIManager.getAllRequestScopeSPIs() |
ICommonsList<ISessionApplicationScopeSPI> |
ScopeSPIManager.getAllSessionApplicationScopeSPIs() |
ICommonsList<ISessionScopeSPI> |
ScopeSPIManager.getAllSessionScopeSPIs() |
| Modifier and Type | Method and Description |
|---|---|
static ICommonsList<String> |
StringHelper.getExploded(char cSep,
String sElements)
Take a concatenated String and return a
ICommonsList of all
elements in the passed string, using specified separator string. |
static ICommonsList<String> |
StringHelper.getExploded(char cSep,
String sElements,
int nMaxItems)
Take a concatenated String and return a
ICommonsList of all
elements in the passed string, using specified separator string. |
static ICommonsList<String> |
StringHelper.getExploded(String sSep,
String sElements)
Take a concatenated String and return a
ICommonsList of all
elements in the passed string, using specified separator string. |
static ICommonsList<String> |
StringHelper.getExploded(String sSep,
String sElements,
int nMaxItems)
Take a concatenated String and return a
ICommonsList of all
elements in the passed string, using specified separator string. |
| Modifier and Type | Class and Description |
|---|---|
class |
URLParameterList
A list of URL parameters with a sanity API.
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<String> |
URLData.getAllParams(String sName) |
ICommonsList<String> |
SimpleURL.getAllParams(String sName) |
ICommonsList<String> |
IURLData.getAllParams(String sName)
Get all parameter values of the passed key.
|
ICommonsList<String> |
URLParameterList.getAllParamValues(String sName) |
| Modifier and Type | Method and Description |
|---|---|
static ICommonsList<String> |
VendorInfo.getFileHeaderLines() |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<Handler<? extends MessageContext>> |
WSClientConfig.getAllHandlers() |
ICommonsList<String> |
WSClientConfig.getAllHTTPHeaderValues(String sName) |
| Modifier and Type | Method and Description |
|---|---|
ICommonsOrderedMap<String,ICommonsList<String>> |
WSClientConfig.getAllHTTPHeaders() |
Copyright © 2014–2017 Philip Helger. All rights reserved.