| Modifier and Type | Method and Description |
|---|---|
static byte[] |
Base64.decode(byte[] source)
Low-level access to decoding ASCII characters in the form of a byte array.
|
static byte[] |
Base64.decode(byte[] source,
int options)
Low-level access to decoding ASCII characters in the form of a byte array.
|
static byte[] |
Base64.decode(byte[] aSource,
int nOfs,
int nLen,
int nOptions)
Low-level access to decoding ASCII characters in the form of a byte array.
|
static byte[] |
Base64.decode(String s)
Decodes data from Base64 notation, automatically detecting gzip-compressed
data and decompressing it.
|
static byte[] |
Base64.decode(String s,
int options)
Decodes data from Base64 notation, automatically detecting gzip-compressed
data and decompressing it.
|
static byte[] |
Base64.decodeFromFile(String filename)
Convenience method for reading a base64-encoded file and decoding it.
|
static byte[] |
Base64.encodeBytesToBytes(byte[] source)
Similar to
Base64.encodeBytes(byte[]) but returns a byte array instead of
instantiating a String. |
static byte[] |
Base64.encodeBytesToBytes(byte[] aSource,
int nOfs,
int nLen,
int nOptions)
Similar to
Base64.encodeBytes(byte[], int, int, int) but returns a byte
array instead of instantiating a String. |
static byte[] |
Base64.safeDecode(byte[] aEncodedBytes)
Decode the byte array.
|
static byte[] |
Base64.safeDecode(byte[] aEncodedBytes,
int nOptions)
Decode the byte array.
|
static byte[] |
Base64.safeDecode(byte[] aEncodedBytes,
int nOfs,
int nLen)
Decode the byte array.
|
static byte[] |
Base64.safeDecode(byte[] aEncodedBytes,
int nOfs,
int nLen,
int nOptions)
Decode the byte array.
|
static byte[] |
Base64.safeDecode(String sEncoded)
Decode the string with the default encoding (US-ASCII is the preferred
one).
|
static byte[] |
Base64.safeDecode(String sEncoded,
int nOptions)
Decode the string with the default encoding (US-ASCII is the preferred
one).
|
static String |
Base64.safeEncodeBytes(byte[] aDecoded) |
static String |
Base64.safeEncodeBytes(byte[] aDecoded,
int nOptions) |
static String |
Base64.safeEncodeBytes(byte[] aDecoded,
int nOfs,
int nLen) |
static String |
Base64.safeEncodeBytes(byte[] aDecoded,
int nOfs,
int nLen,
int nOptions) |
static byte[] |
Base64.safeEncodeBytesToBytes(byte[] aDecoded) |
static byte[] |
Base64.safeEncodeBytesToBytes(byte[] aDecoded,
int nOptions) |
static byte[] |
Base64.safeEncodeBytesToBytes(byte[] aDecoded,
int nOfs,
int nLen) |
static byte[] |
Base64.safeEncodeBytesToBytes(byte[] aDecoded,
int nOfs,
int nLen,
int nOptions) |
| Modifier and Type | Method and Description |
|---|---|
protected ICommonsMap<KEYSTORETYPE,Wrapper<VALUETYPE>> |
MappedCache.createCache()
Create a new cache map.
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<CALLBACKTYPE> |
CallbackList.getAllCallbacks() |
ICommonsList<CALLBACKTYPE> |
ICallbackList.getAllCallbacks() |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<EXTYPE> |
CollectingExceptionListCallback.getAllExceptions() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
EUnicodeBOM.getAllBytes() |
static ICommonsOrderedMap<String,Charset> |
CharsetHelper.getAllCharsets() |
| Modifier and Type | Method and Description |
|---|---|
static BitSet |
RFC1522QCodec.getAllPrintableChars() |
default byte[] |
IByteArrayDecoder.getDecoded(byte[] aEncodedBuffer)
Decode a byte array.
|
protected abstract byte[] |
AbstractRFC1522Codec.getDecoded(byte[] aEncodedBuffer,
int nOfs,
int nLen) |
byte[] |
Base64Codec.getDecoded(byte[] aEncodedBuffer,
int nOfs,
int nLen) |
byte[] |
DCTCodec.getDecoded(byte[] aEncodedBuffer,
int nOfs,
int nLen) |
byte[] |
IByteArrayDecoder.getDecoded(byte[] aEncodedBuffer,
int nOfs,
int nLen)
Decode a byte array.
|
default byte[] |
IByteArrayStreamDecoder.getDecoded(byte[] aEncodedBuffer,
int nOfs,
int nLen)
Decode a byte array.
|
protected byte[] |
RFC1522BCodec.getDecoded(byte[] aEncodedBuffer,
int nOfs,
int nLen) |
protected byte[] |
RFC1522QCodec.getDecoded(byte[] aEncodedBuffer,
int nOfs,
int nLen) |
default char[] |
ICharArrayDecoder.getDecoded(char[] aEncodedBuffer)
Decode a char array.
|
char[] |
ICharArrayDecoder.getDecoded(char[] aEncodedBuffer,
int nOfs,
int nLen)
Decode a char array.
|
default char[] |
ICharArrayStreamDecoder.getDecoded(char[] aEncodedBuffer,
int nOfs,
int nLen)
Decode a char array.
|
default char[] |
ICharArrayDecoder.getDecoded(String sEncoded)
Decode the passed string.
|
default byte[] |
IByteArrayDecoder.getDecoded(String sEncoded,
Charset aCharset)
Decode the passed string.
|
static byte[] |
DCTCodec.getDecodedDCT(byte[] aEncodedBuffer,
int nOfs,
int nLen) |
static BitSet |
QuotedPrintableCodec.getDefaultPrintableChars() |
static BitSet |
URLCodec.getDefaultPrintableChars() |
default byte[] |
IByteArrayEncoder.getEncoded(byte[] aDecodedBuffer)
Encode a byte array.
|
default byte[] |
IByteArrayStreamEncoder.getEncoded(byte[] aDecodedBuffer)
Encode a byte array.
|
protected abstract byte[] |
AbstractRFC1522Codec.getEncoded(byte[] aDecodedBuffer,
int nOfs,
int nLen) |
byte[] |
Base64Codec.getEncoded(byte[] aDecodedBuffer,
int nOfs,
int nLen) |
byte[] |
IByteArrayEncoder.getEncoded(byte[] aDecodedBuffer,
int nOfs,
int nLen)
Encode a byte array.
|
default byte[] |
IByteArrayStreamEncoder.getEncoded(byte[] aDecodedBuffer,
int nOfs,
int nLen)
Encode a byte array.
|
protected byte[] |
RFC1522BCodec.getEncoded(byte[] aDecodedBuffer,
int nOfs,
int nLen) |
protected byte[] |
RFC1522QCodec.getEncoded(byte[] aDecodedBuffer,
int nOfs,
int nLen) |
default char[] |
ICharArrayEncoder.getEncoded(char[] aDecodedBuffer)
Encode a char array.
|
default char[] |
ICharArrayStreamEncoder.getEncoded(char[] aDecodedBuffer)
Encode a char array.
|
char[] |
ICharArrayEncoder.getEncoded(char[] aDecodedBuffer,
int nOfs,
int nLen)
Encode a char array.
|
default char[] |
ICharArrayStreamEncoder.getEncoded(char[] aDecodedBuffer,
int nOfs,
int nLen)
Encode a char array.
|
default char[] |
ICharArrayEncoder.getEncoded(String sDecoded)
Encode the passed string.
|
default char[] |
ICharArrayStreamEncoder.getEncoded(String sDecoded)
Encode the passed string.
|
default byte[] |
IByteArrayEncoder.getEncoded(String sDecoded,
Charset aCharset)
Encode the passed string.
|
default byte[] |
IByteArrayStreamEncoder.getEncoded(String sDecoded,
Charset aCharset)
Encode the passed string.
|
BitSet |
QuotedPrintableCodec.getPrintableChars() |
BitSet |
URLCodec.getPrintableChars() |
| Modifier and Type | Method and Description |
|---|---|
static boolean[] |
ArrayHelper.getAllExcept(boolean[] aArray,
boolean... aElementsToRemove)
Get an array that contains all elements, except for the passed elements.
|
static byte[] |
ArrayHelper.getAllExcept(byte[] aArray,
byte... aElementsToRemove)
Get an array that contains all elements, except for the passed elements.
|
static char[] |
ArrayHelper.getAllExcept(char[] aArray,
char... aElementsToRemove)
Get an array that contains all elements, except for the passed elements.
|
static double[] |
ArrayHelper.getAllExcept(double[] aArray,
double... aElementsToRemove)
Get an array that contains all elements, except for the passed elements.
|
static <ELEMENTTYPE> |
ArrayHelper.getAllExcept(ELEMENTTYPE[] aArray,
ELEMENTTYPE... aElementsToRemove)
Get an array that contains all elements, except for the passed elements.
|
static float[] |
ArrayHelper.getAllExcept(float[] aArray,
float... aElementsToRemove)
Get an array that contains all elements, except for the passed elements.
|
static int[] |
ArrayHelper.getAllExcept(int[] aArray,
int... aElementsToRemove)
Get an array that contains all elements, except for the passed elements.
|
static long[] |
ArrayHelper.getAllExcept(long[] aArray,
long... aElementsToRemove)
Get an array that contains all elements, except for the passed elements.
|
static short[] |
ArrayHelper.getAllExcept(short[] aArray,
short... aElementsToRemove)
Get an array that contains all elements, except for the passed elements.
|
static boolean[] |
ArrayHelper.getAllExceptFirst(boolean... aArray)
Get an array that contains all elements, except for the first element.
|
static boolean[] |
ArrayHelper.getAllExceptFirst(boolean[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the first n
elements.
|
static byte[] |
ArrayHelper.getAllExceptFirst(byte... aArray)
Get an array that contains all elements, except for the first element.
|
static byte[] |
ArrayHelper.getAllExceptFirst(byte[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the first n
elements.
|
static char[] |
ArrayHelper.getAllExceptFirst(char... aArray)
Get an array that contains all elements, except for the first element.
|
static char[] |
ArrayHelper.getAllExceptFirst(char[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the first n
elements.
|
static double[] |
ArrayHelper.getAllExceptFirst(double... aArray)
Get an array that contains all elements, except for the first element.
|
static double[] |
ArrayHelper.getAllExceptFirst(double[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the first n
elements.
|
static <ELEMENTTYPE> |
ArrayHelper.getAllExceptFirst(ELEMENTTYPE... aArray)
Get an array that contains all elements, except for the first element.
|
static <ELEMENTTYPE> |
ArrayHelper.getAllExceptFirst(ELEMENTTYPE[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the first n
elements.
|
static float[] |
ArrayHelper.getAllExceptFirst(float... aArray)
Get an array that contains all elements, except for the first element.
|
static float[] |
ArrayHelper.getAllExceptFirst(float[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the first n
elements.
|
static int[] |
ArrayHelper.getAllExceptFirst(int... aArray)
Get an array that contains all elements, except for the first element.
|
static int[] |
ArrayHelper.getAllExceptFirst(int[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the first n
elements.
|
static long[] |
ArrayHelper.getAllExceptFirst(long... aArray)
Get an array that contains all elements, except for the first element.
|
static long[] |
ArrayHelper.getAllExceptFirst(long[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the first n
elements.
|
static short[] |
ArrayHelper.getAllExceptFirst(short... aArray)
Get an array that contains all elements, except for the first element.
|
static short[] |
ArrayHelper.getAllExceptFirst(short[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the first n
elements.
|
static boolean[] |
ArrayHelper.getAllExceptLast(boolean... aArray)
Get an array that contains all elements, except for the last element.
|
static boolean[] |
ArrayHelper.getAllExceptLast(boolean[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the last n
elements.
|
static byte[] |
ArrayHelper.getAllExceptLast(byte... aArray)
Get an array that contains all elements, except for the last element.
|
static byte[] |
ArrayHelper.getAllExceptLast(byte[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the last n
elements.
|
static char[] |
ArrayHelper.getAllExceptLast(char... aArray)
Get an array that contains all elements, except for the last element.
|
static char[] |
ArrayHelper.getAllExceptLast(char[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the last n
elements.
|
static double[] |
ArrayHelper.getAllExceptLast(double... aArray)
Get an array that contains all elements, except for the last element.
|
static double[] |
ArrayHelper.getAllExceptLast(double[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the last n
elements.
|
static <ELEMENTTYPE> |
ArrayHelper.getAllExceptLast(ELEMENTTYPE... aArray)
Get an array that contains all elements, except for the last element.
|
static <ELEMENTTYPE> |
ArrayHelper.getAllExceptLast(ELEMENTTYPE[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the last n
elements.
|
static float[] |
ArrayHelper.getAllExceptLast(float... aArray)
Get an array that contains all elements, except for the last element.
|
static float[] |
ArrayHelper.getAllExceptLast(float[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the last n
elements.
|
static int[] |
ArrayHelper.getAllExceptLast(int... aArray)
Get an array that contains all elements, except for the last element.
|
static int[] |
ArrayHelper.getAllExceptLast(int[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the last n
elements.
|
static long[] |
ArrayHelper.getAllExceptLast(long... aArray)
Get an array that contains all elements, except for the last element.
|
static long[] |
ArrayHelper.getAllExceptLast(long[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the last n
elements.
|
static short[] |
ArrayHelper.getAllExceptLast(short... aArray)
Get an array that contains all elements, except for the last element.
|
static short[] |
ArrayHelper.getAllExceptLast(short[] aArray,
int nElementsToSkip)
Get an array that contains all elements, except for the last n
elements.
|
static Object[] |
ArrayHelper.getAsObjectArray(Collection<?> aCollection)
Get the passed collection as an array of Object.
|
static <KEY,VALUE> |
CollectionHelper.getCombinedMap(Map<KEY,VALUE> aMap1,
Map<KEY,VALUE> aMap2)
Create a map that contains the combination of the other 2 maps.
|
static boolean[] |
ArrayHelper.getConcatenated(boolean[] aHeadArray,
boolean... aTailArray)
Get a new array that combines the passed two arrays, maintaining the order.
|
static boolean[] |
ArrayHelper.getConcatenated(boolean[] aHeadArray,
boolean aTail)
Get a new array that combines the passed array and the tail element.
|
static boolean[] |
ArrayHelper.getConcatenated(boolean aHead,
boolean... aTailArray)
Get a new array that combines the passed head element and the array.
|
static byte[] |
ArrayHelper.getConcatenated(byte[] aHeadArray,
byte... aTailArray)
Get a new array that combines the passed two arrays, maintaining the order.
|
static byte[] |
ArrayHelper.getConcatenated(byte[] aHeadArray,
byte aTail)
Get a new array that combines the passed array and the tail element.
|
static byte[] |
ArrayHelper.getConcatenated(byte aHead,
byte... aTailArray)
Get a new array that combines the passed head element and the array.
|
static char[][] |
ArrayHelper.getConcatenated(char[][] aHeadArray,
char[]... aTailArray)
Get a new array that combines the passed two arrays, maintaining the order.
|
static char[] |
ArrayHelper.getConcatenated(char[] aHeadArray,
char... aTailArray)
Get a new array that combines the passed two arrays, maintaining the order.
|
static char[] |
ArrayHelper.getConcatenated(char[] aHeadArray,
char aTail)
Get a new array that combines the passed array and the tail element.
|
static char[] |
ArrayHelper.getConcatenated(char aHead,
char... aTailArray)
Get a new array that combines the passed head element and the array.
|
static double[] |
ArrayHelper.getConcatenated(double[] aHeadArray,
double... aTailArray)
Get a new array that combines the passed two arrays, maintaining the order.
|
static double[] |
ArrayHelper.getConcatenated(double[] aHeadArray,
double aTail)
Get a new array that combines the passed array and the tail element.
|
static double[] |
ArrayHelper.getConcatenated(double aHead,
double... aTailArray)
Get a new array that combines the passed head element and the array.
|
static <ELEMENTTYPE> |
ArrayHelper.getConcatenated(ELEMENTTYPE[] aHeadArray,
ELEMENTTYPE[] aTailArray)
Get a new array that combines the passed two arrays, maintaining the order.
|
static <ELEMENTTYPE> |
ArrayHelper.getConcatenated(ELEMENTTYPE[] aHeadArray,
ELEMENTTYPE aTail,
Class<ELEMENTTYPE> aClass)
Get a new array that combines the passed array and the tail element.
|
static <ELEMENTTYPE> |
ArrayHelper.getConcatenated(ELEMENTTYPE aHead,
ELEMENTTYPE[] aTailArray,
Class<ELEMENTTYPE> aClass)
Get a new array that combines the passed head and the array.
|
static float[] |
ArrayHelper.getConcatenated(float[] aHeadArray,
float... aTailArray)
Get a new array that combines the passed two arrays, maintaining the order.
|
static float[] |
ArrayHelper.getConcatenated(float[] aHeadArray,
float aTail)
Get a new array that combines the passed array and the tail element.
|
static float[] |
ArrayHelper.getConcatenated(float aHead,
float... aTailArray)
Get a new array that combines the passed head element and the array.
|
static int[] |
ArrayHelper.getConcatenated(int[] aHeadArray,
int... aTailArray)
Get a new array that combines the passed two arrays, maintaining the order.
|
static int[] |
ArrayHelper.getConcatenated(int[] aHeadArray,
int aTail)
Get a new array that combines the passed array and the tail element.
|
static int[] |
ArrayHelper.getConcatenated(int aHead,
int... aTailArray)
Get a new array that combines the passed head element and the array.
|
static long[] |
ArrayHelper.getConcatenated(long[] aHeadArray,
long... aTailArray)
Get a new array that combines the passed two arrays, maintaining the order.
|
static long[] |
ArrayHelper.getConcatenated(long[] aHeadArray,
long aTail)
Get a new array that combines the passed array and the tail element.
|
static long[] |
ArrayHelper.getConcatenated(long aHead,
long... aTailArray)
Get a new array that combines the passed head element and the array.
|
static short[] |
ArrayHelper.getConcatenated(short[] aHeadArray,
short... aTailArray)
Get a new array that combines the passed two arrays, maintaining the order.
|
static short[] |
ArrayHelper.getConcatenated(short[] aHeadArray,
short aTail)
Get a new array that combines the passed array and the tail element.
|
static short[] |
ArrayHelper.getConcatenated(short aHead,
short... aTailArray)
Get a new array that combines the passed head element and the array.
|
static String[] |
ArrayHelper.getConcatenated(String[] aHeadArray,
String... aTailArray)
Get a new array that combines the passed two arrays, maintaining the order.
|
static String[] |
ArrayHelper.getConcatenated(String[] aHeadArray,
String aTail)
Get a new array that combines the passed array and the tail element.
|
static String[] |
ArrayHelper.getConcatenated(String aHead,
String... aTailArray)
Get a new array that combines the passed head element and the array.
|
static <ELEMENTTYPE> |
CollectionHelper.getConcatenatedList(Collection<? extends ELEMENTTYPE> aCollection1,
Collection<? extends ELEMENTTYPE> aCollection2) |
static <ELEMENTTYPE> |
CollectionHelper.getConcatenatedList(Collection<? extends ELEMENTTYPE> aCont1,
ELEMENTTYPE... aCont2) |
static <ELEMENTTYPE> |
CollectionHelper.getConcatenatedList(ELEMENTTYPE[] aCont1,
Collection<? extends ELEMENTTYPE> aCont2) |
static <ELEMENTTYPE> |
CollectionHelper.getConcatenatedSet(Collection<? extends ELEMENTTYPE> aCont1,
Collection<? extends ELEMENTTYPE> aCont2) |
static <ELEMENTTYPE> |
CollectionHelper.getConcatenatedSet(Collection<? extends ELEMENTTYPE> aCont1,
ELEMENTTYPE... aCont2) |
static <ELEMENTTYPE> |
CollectionHelper.getConcatenatedSet(ELEMENTTYPE[] aCont1,
Collection<? extends ELEMENTTYPE> aCont2) |
static boolean[] |
ArrayHelper.getCopy(boolean... aArray)
Get a 1:1 copy of the passed array.
|
static boolean[] |
ArrayHelper.getCopy(boolean[] aArray,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements.
|
static boolean[] |
ArrayHelper.getCopy(boolean[] aArray,
int nStartIndex,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements starting at the specified index.
|
static byte[] |
ArrayHelper.getCopy(byte... aArray)
Get a 1:1 copy of the passed array.
|
static byte[] |
ArrayHelper.getCopy(byte[] aArray,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements.
|
static byte[] |
ArrayHelper.getCopy(byte[] aArray,
int nStartIndex,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements starting at the specified index.
|
static char[] |
ArrayHelper.getCopy(char... aArray)
Get a 1:1 copy of the passed array.
|
static char[] |
ArrayHelper.getCopy(char[] aArray,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements.
|
static char[] |
ArrayHelper.getCopy(char[] aArray,
int nStartIndex,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements starting at the specified index.
|
static double[] |
ArrayHelper.getCopy(double... aArray)
Get a 1:1 copy of the passed array.
|
static double[] |
ArrayHelper.getCopy(double[] aArray,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements.
|
static double[] |
ArrayHelper.getCopy(double[] aArray,
int nStartIndex,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements starting at the specified index.
|
static <ELEMENTTYPE> |
ArrayHelper.getCopy(ELEMENTTYPE... aArray)
Get a 1:1 copy of the passed array.
|
static <ELEMENTTYPE> |
ArrayHelper.getCopy(ELEMENTTYPE[] aArray,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements.
|
static <ELEMENTTYPE> |
ArrayHelper.getCopy(ELEMENTTYPE[] aArray,
int nStartIndex,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements starting at the specified index.
|
static float[] |
ArrayHelper.getCopy(float... aArray)
Get a 1:1 copy of the passed array.
|
static float[] |
ArrayHelper.getCopy(float[] aArray,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements.
|
static float[] |
ArrayHelper.getCopy(float[] aArray,
int nStartIndex,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements starting at the specified index.
|
static int[] |
ArrayHelper.getCopy(int... aArray)
Get a 1:1 copy of the passed array.
|
static int[] |
ArrayHelper.getCopy(int[] aArray,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements.
|
static int[] |
ArrayHelper.getCopy(int[] aArray,
int nStartIndex,
int nLength)
Get a 1:1 copy of the passed array.
|
static long[] |
ArrayHelper.getCopy(long... aArray) |
static long[] |
ArrayHelper.getCopy(long[] aArray,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements.
|
static long[] |
ArrayHelper.getCopy(long[] aArray,
int nStartIndex,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements starting at the specified index.
|
static short[] |
ArrayHelper.getCopy(short... aArray)
Get a 1:1 copy of the passed array.
|
static short[] |
ArrayHelper.getCopy(short[] aArray,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements.
|
static short[] |
ArrayHelper.getCopy(short[] aArray,
int nStartIndex,
int nLength)
Get a 1:1 copy of the passed array using the passed number of array
elements starting at the specified index.
|
static <ELEMENTTYPE> |
CollectionHelper.getDifference(Collection<? extends ELEMENTTYPE> aCollection1,
Collection<? extends ELEMENTTYPE> aCollection2)
Get all elements that are only contained in the first contained, and not in
the second.
|
static <KEY,VALUE> |
CollectionHelper.getFilteredMap(ICommonsMap<KEY,VALUE> aValues,
Collection<? extends KEY> aKeys)
Get a map consisting only of a set of specified keys.
|
static <ELEMENTTYPE> |
CollectionHelper.getIntersected(Collection<? extends ELEMENTTYPE> aCollection1,
Collection<? extends ELEMENTTYPE> aCollection2)
Get all elements that are contained in the first AND in the second
container.
|
static <ELEMENTTYPE> |
CollectionHelper.getReverseList(Collection<? extends ELEMENTTYPE> aCollection) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.getSorted(Collection<? extends ELEMENTTYPE> aCont)
Convert the given collection object to a sorted list.
|
static <ELEMENTTYPE> |
CollectionHelper.getSorted(Collection<? extends ELEMENTTYPE> aCont,
Comparator<? super ELEMENTTYPE> aComparator)
Convert the given collection object to a sorted list.
|
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.getSorted(ELEMENTTYPE... aCont)
Convert the given iterable object to a sorted list.
|
static <ELEMENTTYPE> |
CollectionHelper.getSorted(ELEMENTTYPE[] aCont,
Comparator<? super ELEMENTTYPE> aComparator)
Convert the given iterable object to a sorted list.
|
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.getSorted(IIterableIterator<? extends ELEMENTTYPE> aIter)
Convert the given iterator to a sorted list.
|
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.getSorted(IIterableIterator<? extends ELEMENTTYPE> aIter,
Comparator<? super ELEMENTTYPE> aComparator)
Convert the given iterator to a sorted list.
|
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.getSorted(Iterable<? extends ELEMENTTYPE> aCont)
Convert the given iterable object to a sorted list.
|
static <ELEMENTTYPE> |
CollectionHelper.getSorted(Iterable<? extends ELEMENTTYPE> aCont,
Comparator<? super ELEMENTTYPE> aComparator)
Convert the given iterable object to a sorted list.
|
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.getSorted(Iterator<? extends ELEMENTTYPE> aIter)
Convert the given iterator to a sorted list.
|
static <ELEMENTTYPE> |
CollectionHelper.getSorted(Iterator<? extends ELEMENTTYPE> aIter,
Comparator<? super ELEMENTTYPE> aComparator)
Convert the given iterator to a sorted list.
|
static <KEYTYPE extends Comparable<? super KEYTYPE>,VALUETYPE> |
CollectionHelper.getSortedByKey(Map<KEYTYPE,VALUETYPE> aMap)
Get a map sorted by aIter's keys.
|
static <KEYTYPE,VALUETYPE> |
CollectionHelper.getSortedByKey(Map<KEYTYPE,VALUETYPE> aMap,
Comparator<? super KEYTYPE> aKeyComparator)
Get a map sorted by its keys.
|
static <KEYTYPE,VALUETYPE extends Comparable<? super VALUETYPE>> |
CollectionHelper.getSortedByValue(Map<KEYTYPE,VALUETYPE> aMap)
Get a map sorted by its values.
|
static <KEYTYPE,VALUETYPE> |
CollectionHelper.getSortedByValue(Map<KEYTYPE,VALUETYPE> aMap,
Comparator<? super VALUETYPE> aValueComparator)
Get a map sorted by aIter's values.
|
static <ELEMENTTYPE> |
StackHelper.getStackCopyWithoutTop(NonBlockingStack<ELEMENTTYPE> aStack) |
static <ELEMENTTYPE> |
CollectionHelper.getSubList(List<ELEMENTTYPE> aCont,
int nStartIndex,
int nSectionLength)
Gets a sublist excerpt of the passed list.
|
static <ELEMENTTYPE> |
ArrayHelper.newArray(Class<? extends ELEMENTTYPE> aClass,
int nSize) |
static <ELEMENTTYPE> |
ArrayHelper.newArray(Collection<? extends ELEMENTTYPE> aCollection,
Class<ELEMENTTYPE> aClass)
Create a new array with the elements in the passed collection..
|
static <ELEMENTTYPE> |
ArrayHelper.newArray(int nArraySize,
ELEMENTTYPE aValue,
Class<ELEMENTTYPE> aClass)
Create a new array with a predefined number of elements containing the
passed value.
|
static <SRCTYPE,DSTTYPE> |
ArrayHelper.newArrayMapped(Collection<? extends SRCTYPE> aCollection,
Function<? super SRCTYPE,? extends DSTTYPE> aMapper,
Class<DSTTYPE> aDstClass) |
static <SRCTYPE,DSTTYPE> |
ArrayHelper.newArrayMapped(SRCTYPE[] aArray,
Function<? super SRCTYPE,? extends DSTTYPE> aMapper,
Class<DSTTYPE> aDstClass) |
static <ELEMENTTYPE> |
ArrayHelper.newArraySameType(ELEMENTTYPE[] aArray,
int nSize)
Create a new empty array with the same type as the passed array.
|
static <ELEMENTTYPE> |
ArrayHelper.newArraySingleElement(ELEMENTTYPE aElement,
Class<ELEMENTTYPE> aClass)
Wrapper that allows a single argument to be treated as an array.
|
static <ELEMENTTYPE extends Enum<ELEMENTTYPE>> |
CollectionHelper.newEnumSet(Class<ELEMENTTYPE> aEnumClass,
Collection<ELEMENTTYPE> aValues) |
static <ELEMENTTYPE extends Enum<ELEMENTTYPE>> |
CollectionHelper.newEnumSet(Class<ELEMENTTYPE> aEnumClass,
ELEMENTTYPE... aValues) |
static <ELEMENTTYPE extends Enum<ELEMENTTYPE>> |
CollectionHelper.newEnumSet(Class<ELEMENTTYPE> aEnumClass,
EnumSet<ELEMENTTYPE> aValues) |
static <ELEMENTTYPE> |
CollectionHelper.newList() |
static <ELEMENTTYPE> |
CollectionHelper.newList(Collection<? extends ELEMENTTYPE> aCont) |
static <ELEMENTTYPE> |
CollectionHelper.newList(Collection<? extends ELEMENTTYPE> aCollection,
Predicate<? super ELEMENTTYPE> aFilter) |
static <ELEMENTTYPE> |
CollectionHelper.newList(ELEMENTTYPE... aValues) |
static <ELEMENTTYPE> |
CollectionHelper.newList(ELEMENTTYPE aValue) |
static <ELEMENTTYPE> |
CollectionHelper.newList(Enumeration<? extends ELEMENTTYPE> aEnum)
Compared to
Collections.list(Enumeration) this method is more
flexible in Generics parameter. |
static <ELEMENTTYPE> |
CollectionHelper.newList(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
CollectionHelper.newList(int nInitialCapacity) |
static <ELEMENTTYPE> |
CollectionHelper.newList(Iterable<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
CollectionHelper.newList(Iterator<? extends ELEMENTTYPE> aIter) |
static <SRCTYPE,DSTTYPE> |
CollectionHelper.newListMapped(Collection<? extends SRCTYPE> aCollection,
Function<? super SRCTYPE,? extends DSTTYPE> aMapper) |
static <ELEMENTTYPE,DSTTYPE> |
CollectionHelper.newListMapped(Iterable<? extends ELEMENTTYPE> aIter,
Function<? super ELEMENTTYPE,? extends DSTTYPE> aMapper) |
static <ELEMENTTYPE,DSTTYPE> |
CollectionHelper.newListMapped(Iterable<? extends ELEMENTTYPE> aCollection,
Predicate<? super ELEMENTTYPE> aFilter,
Function<? super ELEMENTTYPE,? extends DSTTYPE> aMapper) |
static <SRCTYPE,DSTTYPE> |
CollectionHelper.newListMapped(SRCTYPE[] aValues,
Function<? super SRCTYPE,? extends DSTTYPE> aMapper) |
static <ELEMENTTYPE> |
CollectionHelper.newListPrefilled(ELEMENTTYPE aValue,
int nElements) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newMap() |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newMap(Collection<? extends KEYTYPE> aKeys,
Collection<? extends VALUETYPE> aValues) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newMap(Collection<? extends Map.Entry<KEYTYPE,VALUETYPE>> aCollection) |
static <ELEMENTTYPE> |
CollectionHelper.newMap(ELEMENTTYPE... aValues) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newMap(int nInitialCapacity) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newMap(Iterable<? extends Map.Entry<KEYTYPE,VALUETYPE>> aCollection) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newMap(KEYTYPE[] aKeys,
VALUETYPE[] aValues) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newMap(KEYTYPE aKey,
VALUETYPE aValue) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newMap(Map<? extends KEYTYPE,? extends VALUETYPE> aMap) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newMap(Map<? extends KEYTYPE,? extends VALUETYPE>[] aMaps) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newMap(Map<KEYTYPE,VALUETYPE> aMap,
Predicate<? super Map.Entry<? extends KEYTYPE,? extends VALUETYPE>> aFilter) |
static <SRCTYPE,DSTKEYTYPE,DSTVALUETYPE> |
CollectionHelper.newMapMapped(Collection<? extends SRCTYPE> aCollection,
Function<? super SRCTYPE,? extends DSTKEYTYPE> aKeyMapper,
Function<? super SRCTYPE,? extends DSTVALUETYPE> aValueMapper) |
static <SRCKEYTYPE,SRCVALUETYPE,DSTKEYTYPE,DSTVALUETYPE> |
CollectionHelper.newMapMapped(Map<? extends SRCKEYTYPE,? extends SRCVALUETYPE> aMap,
Function<? super SRCKEYTYPE,? extends DSTKEYTYPE> aKeyMapper,
Function<? super SRCVALUETYPE,? extends DSTVALUETYPE> aValueMapper) |
static CommonsArrayList<?> |
CollectionHelper.newObjectListFromArray(Object aValue,
Class<?> aComponentType) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newOrderedMap() |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newOrderedMap(Collection<? extends KEYTYPE> aKeys,
Collection<? extends VALUETYPE> aValues) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newOrderedMap(Collection<? extends Map.Entry<KEYTYPE,VALUETYPE>> aCollection) |
static <ELEMENTTYPE> |
CollectionHelper.newOrderedMap(ELEMENTTYPE... aValues) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newOrderedMap(int nInitialCapacity) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newOrderedMap(Iterable<? extends Map.Entry<KEYTYPE,VALUETYPE>> aCollection) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newOrderedMap(KEYTYPE[] aKeys,
VALUETYPE[] aValues)
Retrieve a map that is ordered in the way the parameter arrays are passed
in.
|
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newOrderedMap(KEYTYPE aKey,
VALUETYPE aValue) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newOrderedMap(Map<? extends KEYTYPE,? extends VALUETYPE> aMap) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newOrderedMap(Map<? extends KEYTYPE,? extends VALUETYPE>[] aMaps) |
static <KEYTYPE,VALUETYPE> |
CollectionHelper.newOrderedMap(Map<KEYTYPE,VALUETYPE> aMap,
Predicate<? super Map.Entry<? extends KEYTYPE,? extends VALUETYPE>> aFilter) |
static <SRCTYPE,DSTKEYTYPE,DSTVALUETYPE> |
CollectionHelper.newOrderedMapMapped(Collection<? extends SRCTYPE> aCollection,
Function<? super SRCTYPE,? extends DSTKEYTYPE> aKeyMapper,
Function<? super SRCTYPE,? extends DSTVALUETYPE> aValueMapper) |
static <SRCKEYTYPE,SRCVALUETYPE,DSTKEYTYPE,DSTVALUETYPE> |
CollectionHelper.newOrderedMapMapped(Map<? extends SRCKEYTYPE,? extends SRCVALUETYPE> aMap,
Function<? super SRCKEYTYPE,? extends DSTKEYTYPE> aKeyMapper,
Function<? super SRCVALUETYPE,? extends DSTVALUETYPE> aValueMapper) |
static <ELEMENTTYPE> |
CollectionHelper.newOrderedSet() |
static <ELEMENTTYPE> |
CollectionHelper.newOrderedSet(Collection<? extends ELEMENTTYPE> aCont) |
static <ELEMENTTYPE> |
CollectionHelper.newOrderedSet(Collection<? extends ELEMENTTYPE> aCollection,
Predicate<? super ELEMENTTYPE> aFilter) |
static <ELEMENTTYPE> |
CollectionHelper.newOrderedSet(ELEMENTTYPE... aValues) |
static <ELEMENTTYPE> |
CollectionHelper.newOrderedSet(ELEMENTTYPE aValue) |
static <ELEMENTTYPE> |
CollectionHelper.newOrderedSet(Enumeration<? extends ELEMENTTYPE> aEnum) |
static <ELEMENTTYPE> |
CollectionHelper.newOrderedSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
CollectionHelper.newOrderedSet(int nInitialCapacity) |
static <ELEMENTTYPE> |
CollectionHelper.newOrderedSet(Iterable<? extends ELEMENTTYPE> aCont) |
static <ELEMENTTYPE> |
CollectionHelper.newOrderedSet(Iterator<? extends ELEMENTTYPE> aIter) |
static <SRCTYPE,DSTTYPE> |
CollectionHelper.newOrderedSetMapped(Collection<? extends SRCTYPE> aCollection,
Function<? super SRCTYPE,DSTTYPE> aMapper) |
static <SRCTYPE,DSTTYPE> |
CollectionHelper.newOrderedSetMapped(SRCTYPE[] aArray,
Function<? super SRCTYPE,DSTTYPE> aMapper) |
static CommonsArrayList<Boolean> |
PrimitiveCollectionHelper.newPrimitiveList(boolean... aValues) |
static CommonsArrayList<Byte> |
PrimitiveCollectionHelper.newPrimitiveList(byte... aValues) |
static CommonsArrayList<Character> |
PrimitiveCollectionHelper.newPrimitiveList(char... aValues) |
static CommonsArrayList<Double> |
PrimitiveCollectionHelper.newPrimitiveList(double... aValues) |
static CommonsArrayList<Float> |
PrimitiveCollectionHelper.newPrimitiveList(float... aValues) |
static CommonsArrayList<Integer> |
PrimitiveCollectionHelper.newPrimitiveList(int... aValues) |
static CommonsArrayList<Long> |
PrimitiveCollectionHelper.newPrimitiveList(long... aValues) |
static CommonsArrayList<Short> |
PrimitiveCollectionHelper.newPrimitiveList(short... aValues) |
static CommonsLinkedHashSet<Boolean> |
PrimitiveCollectionHelper.newPrimitiveOrderedSet(boolean... aValues) |
static CommonsLinkedHashSet<Byte> |
PrimitiveCollectionHelper.newPrimitiveOrderedSet(byte... aValues) |
static CommonsLinkedHashSet<Character> |
PrimitiveCollectionHelper.newPrimitiveOrderedSet(char... aValues) |
static CommonsLinkedHashSet<Double> |
PrimitiveCollectionHelper.newPrimitiveOrderedSet(double... aValues) |
static CommonsLinkedHashSet<Float> |
PrimitiveCollectionHelper.newPrimitiveOrderedSet(float... aValues) |
static CommonsLinkedHashSet<Integer> |
PrimitiveCollectionHelper.newPrimitiveOrderedSet(int... aValues) |
static CommonsLinkedHashSet<Long> |
PrimitiveCollectionHelper.newPrimitiveOrderedSet(long... aValues) |
static CommonsLinkedHashSet<Short> |
PrimitiveCollectionHelper.newPrimitiveOrderedSet(short... aValues) |
static CommonsHashSet<Boolean> |
PrimitiveCollectionHelper.newPrimitiveSet(boolean... aValues) |
static CommonsHashSet<Byte> |
PrimitiveCollectionHelper.newPrimitiveSet(byte... aValues) |
static CommonsHashSet<Character> |
PrimitiveCollectionHelper.newPrimitiveSet(char... aValues) |
static CommonsHashSet<Double> |
PrimitiveCollectionHelper.newPrimitiveSet(double... aValues) |
static CommonsHashSet<Float> |
PrimitiveCollectionHelper.newPrimitiveSet(float... aValues) |
static CommonsHashSet<Integer> |
PrimitiveCollectionHelper.newPrimitiveSet(int... aValues) |
static CommonsHashSet<Long> |
PrimitiveCollectionHelper.newPrimitiveSet(long... aValues) |
static CommonsHashSet<Short> |
PrimitiveCollectionHelper.newPrimitiveSet(short... aValues) |
static CommonsTreeSet<Boolean> |
PrimitiveCollectionHelper.newPrimitiveSortedSet(boolean... aValues) |
static CommonsTreeSet<Byte> |
PrimitiveCollectionHelper.newPrimitiveSortedSet(byte... aValues) |
static CommonsTreeSet<Character> |
PrimitiveCollectionHelper.newPrimitiveSortedSet(char... aValues) |
static CommonsTreeSet<Double> |
PrimitiveCollectionHelper.newPrimitiveSortedSet(double... aValues) |
static CommonsTreeSet<Float> |
PrimitiveCollectionHelper.newPrimitiveSortedSet(float... aValues) |
static CommonsTreeSet<Integer> |
PrimitiveCollectionHelper.newPrimitiveSortedSet(int... aValues) |
static CommonsTreeSet<Long> |
PrimitiveCollectionHelper.newPrimitiveSortedSet(long... aValues) |
static CommonsTreeSet<Short> |
PrimitiveCollectionHelper.newPrimitiveSortedSet(short... aValues) |
static NonBlockingStack<Boolean> |
PrimitiveCollectionHelper.newPrimitiveStack(boolean... aValues) |
static NonBlockingStack<Byte> |
PrimitiveCollectionHelper.newPrimitiveStack(byte... aValues) |
static NonBlockingStack<Character> |
PrimitiveCollectionHelper.newPrimitiveStack(char... aValues) |
static NonBlockingStack<Double> |
PrimitiveCollectionHelper.newPrimitiveStack(double... aValues) |
static NonBlockingStack<Float> |
PrimitiveCollectionHelper.newPrimitiveStack(float... aValues) |
static NonBlockingStack<Integer> |
PrimitiveCollectionHelper.newPrimitiveStack(int... aValues) |
static NonBlockingStack<Long> |
PrimitiveCollectionHelper.newPrimitiveStack(long... aValues) |
static NonBlockingStack<Short> |
PrimitiveCollectionHelper.newPrimitiveStack(short... aValues) |
static <ELEMENTTYPE> |
CollectionHelper.newSet() |
static <ELEMENTTYPE> |
CollectionHelper.newSet(Collection<? extends ELEMENTTYPE> aCont) |
static <ELEMENTTYPE> |
CollectionHelper.newSet(Collection<? extends ELEMENTTYPE> aCollection,
Predicate<? super ELEMENTTYPE> aFilter) |
static <ELEMENTTYPE> |
CollectionHelper.newSet(ELEMENTTYPE... aValues) |
static <ELEMENTTYPE> |
CollectionHelper.newSet(ELEMENTTYPE aValue) |
static <ELEMENTTYPE> |
CollectionHelper.newSet(Enumeration<? extends ELEMENTTYPE> aEnum) |
static <ELEMENTTYPE> |
CollectionHelper.newSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE> |
CollectionHelper.newSet(int nInitialCapacity) |
static <ELEMENTTYPE> |
CollectionHelper.newSet(Iterable<? extends ELEMENTTYPE> aCont) |
static <ELEMENTTYPE> |
CollectionHelper.newSet(Iterator<? extends ELEMENTTYPE> aIter) |
static <SRCTYPE,DSTTYPE> |
CollectionHelper.newSetMapped(Collection<? extends SRCTYPE> aCollection,
Function<? super SRCTYPE,DSTTYPE> aMapper) |
static <SRCTYPE,DSTTYPE> |
CollectionHelper.newSetMapped(SRCTYPE[] aArray,
Function<? super SRCTYPE,DSTTYPE> aMapper) |
static <KEYTYPE extends Comparable<? super KEYTYPE>,VALUETYPE> |
CollectionHelper.newSortedMap() |
static <KEYTYPE extends Comparable<? super KEYTYPE>,VALUETYPE> |
CollectionHelper.newSortedMap(Collection<? extends KEYTYPE> aKeys,
Collection<? extends VALUETYPE> aValues) |
static <KEYTYPE extends Comparable<? super KEYTYPE>,VALUETYPE> |
CollectionHelper.newSortedMap(Collection<? extends Map.Entry<KEYTYPE,VALUETYPE>> aCollection) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.newSortedMap(ELEMENTTYPE... aValues) |
static <KEYTYPE extends Comparable<? super KEYTYPE>,VALUETYPE> |
CollectionHelper.newSortedMap(Iterable<? extends Map.Entry<KEYTYPE,VALUETYPE>> aCollection) |
static <KEYTYPE extends Comparable<? super KEYTYPE>,VALUETYPE> |
CollectionHelper.newSortedMap(KEYTYPE[] aKeys,
VALUETYPE[] aValues) |
static <KEYTYPE extends Comparable<? super KEYTYPE>,VALUETYPE> |
CollectionHelper.newSortedMap(KEYTYPE aKey,
VALUETYPE aValue) |
static <KEYTYPE extends Comparable<? super KEYTYPE>,VALUETYPE> |
CollectionHelper.newSortedMap(Map<? extends KEYTYPE,? extends VALUETYPE> aMap) |
static <KEYTYPE extends Comparable<? super KEYTYPE>,VALUETYPE> |
CollectionHelper.newSortedMap(Map<? extends KEYTYPE,? extends VALUETYPE>[] aMaps) |
static <KEYTYPE extends Comparable<? super KEYTYPE>,VALUETYPE> |
CollectionHelper.newSortedMap(Map<KEYTYPE,VALUETYPE> aMap,
Predicate<? super Map.Entry<? extends KEYTYPE,? extends VALUETYPE>> aFilter) |
static <SRCKEYTYPE,SRCVALUETYPE,DSTKEYTYPE extends Comparable<? super DSTKEYTYPE>,DSTVALUETYPE> |
CollectionHelper.newSortedMapMapped(Map<? extends SRCKEYTYPE,? extends SRCVALUETYPE> aMap,
Function<? super SRCKEYTYPE,DSTKEYTYPE> aKeyMapper,
Function<? super SRCVALUETYPE,DSTVALUETYPE> aValueMapper) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.newSortedSet() |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.newSortedSet(Collection<? extends ELEMENTTYPE> aCont) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.newSortedSet(Collection<? extends ELEMENTTYPE> aCollection,
Predicate<? super ELEMENTTYPE> aFilter) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.newSortedSet(ELEMENTTYPE... aValues) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.newSortedSet(ELEMENTTYPE aValue) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.newSortedSet(Enumeration<? extends ELEMENTTYPE> aEnum) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.newSortedSet(IIterableIterator<? extends ELEMENTTYPE> aIter) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.newSortedSet(Iterable<? extends ELEMENTTYPE> aCont) |
static <ELEMENTTYPE extends Comparable<? super ELEMENTTYPE>> |
CollectionHelper.newSortedSet(Iterator<? extends ELEMENTTYPE> aIter) |
static <SRCTYPE,DSTTYPE extends Comparable<? super DSTTYPE>> |
CollectionHelper.newSortedSetMapped(Collection<? extends SRCTYPE> aCollection,
Function<? super SRCTYPE,DSTTYPE> aMapper) |
static <SRCTYPE,DSTTYPE extends Comparable<? super DSTTYPE>> |
CollectionHelper.newSortedSetMapped(SRCTYPE[] aArray,
Function<? super SRCTYPE,DSTTYPE> aMapper) |
static <ELEMENTTYPE> |
StackHelper.newStack() |
static <ELEMENTTYPE> |
StackHelper.newStack(Collection<? extends ELEMENTTYPE> aValues)
Create a new stack from the given collection.
|
static <ELEMENTTYPE> |
StackHelper.newStack(Collection<? extends ELEMENTTYPE> aCollection,
Predicate<? super ELEMENTTYPE> aFilter) |
static <ELEMENTTYPE> |
StackHelper.newStack(ELEMENTTYPE... aValues)
Create a new stack from the given array.
|
static <ELEMENTTYPE> |
StackHelper.newStack(ELEMENTTYPE aValue)
Create a new stack with a single element.
|
static <ELEMENTTYPE> |
StackHelper.newStack(int nInitialCapacity) |
static <SRCTYPE,DSTTYPE> |
StackHelper.newStackMapped(Collection<? extends SRCTYPE> aCollection,
Function<? super SRCTYPE,DSTTYPE> aMapper) |
static <SRCTYPE,DSTTYPE> |
StackHelper.newStackMapped(SRCTYPE[] aArray,
Function<? super SRCTYPE,DSTTYPE> aMapper) |
| Modifier and Type | Method and Description |
|---|---|
AttributeContainer<KEYTYPE,VALUETYPE> |
AttributeContainer.getClone() |
AttributeContainerAny<KEYTYPE> |
AttributeContainerAny.getClone() |
AttributeContainerAnyConcurrent<KEYTYPE> |
AttributeContainerAnyConcurrent.getClone() |
AttributeContainerConcurrent<KEYTYPE,VALUETYPE> |
AttributeContainerConcurrent.getClone() |
IAttributeContainer<KEYTYPE,VALUETYPE> |
IAttributeContainer.getClone() |
IAttributeContainerAny<KEYTYPE> |
IAttributeContainerAny.getClone() |
StringMap |
StringMap.getClone() |
| Modifier and Type | Method and Description |
|---|---|
default ICommonsSet<Map.Entry<KEYTYPE,VALUETYPE>> |
ICommonsMap.copyOfEntrySet() |
default ICommonsOrderedSet<Map.Entry<KEYTYPE,VALUETYPE>> |
ICommonsOrderedMap.copyOfEntrySet() |
default ICommonsSortedSet<Map.Entry<KEYTYPE,VALUETYPE>> |
ICommonsSortedMap.copyOfEntrySet() |
default ICommonsSet<KEYTYPE> |
ICommonsMap.copyOfKeySet() |
default ICommonsOrderedSet<KEYTYPE> |
ICommonsOrderedMap.copyOfKeySet() |
default ICommonsSortedSet<KEYTYPE> |
ICommonsSortedMap.copyOfKeySet() |
default ICommonsSet<KEYTYPE> |
ICommonsMap.copyOfKeySet(Predicate<? super KEYTYPE> aFilter)
Create a copy of all values matching the passed filter.
|
default ICommonsOrderedSet<KEYTYPE> |
ICommonsOrderedMap.copyOfKeySet(Predicate<? super KEYTYPE> aFilter) |
default ICommonsSortedSet<KEYTYPE> |
ICommonsSortedMap.copyOfKeySet(Predicate<? super KEYTYPE> aFilter) |
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.
|
static <ELEMENTTYPE> |
CommonsArrayList.createFiltered(ELEMENTTYPE[] aValues,
Predicate<? super ELEMENTTYPE> aFilter)
Create a new array list that contains a subset of the provided array.
|
static <ELEMENTTYPE> |
CommonsCopyOnWriteArrayList.createFiltered(ELEMENTTYPE[] aValues,
Predicate<? super ELEMENTTYPE> aFilter)
Create a new array list that contains a subset of the provided array.
|
static <ELEMENTTYPE> |
CommonsVector.createFiltered(ELEMENTTYPE[] aValues,
Predicate<? super ELEMENTTYPE> aFilter) |
static <ELEMENTTYPE> |
CommonsArrayList.createFiltered(Iterable<? extends ELEMENTTYPE> aValues,
Predicate<? super ELEMENTTYPE> aFilter)
Create a new array list that contains a subset of the provided
iterable.
|
static <ELEMENTTYPE> |
CommonsCopyOnWriteArrayList.createFiltered(Iterable<? extends ELEMENTTYPE> aValues,
Predicate<? super ELEMENTTYPE> aFilter)
Create a new array list that contains a subset of the provided
iterable.
|
static <ELEMENTTYPE> |
CommonsVector.createFiltered(Iterable<? extends ELEMENTTYPE> aValues,
Predicate<? super ELEMENTTYPE> aFilter) |
static <SRCTYPE,ELEMENTTYPE> |
CommonsArrayList.createFiltered(Iterable<? extends SRCTYPE> aValues,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper,
Predicate<? super ELEMENTTYPE> aFilter)
Create a new array list that contains a subset of the provided iterable.
|
static <SRCTYPE,ELEMENTTYPE> |
CommonsCopyOnWriteArrayList.createFiltered(Iterable<? extends SRCTYPE> aValues,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper,
Predicate<? super ELEMENTTYPE> aFilter)
Create a new array list that contains a subset of the provided iterable.
|
static <SRCTYPE,ELEMENTTYPE> |
CommonsArrayList.createFiltered(Iterable<? extends SRCTYPE> aValues,
Predicate<? super SRCTYPE> aFilter,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
Create a new array list that contains a subset of the provided iterable.
|
static <SRCTYPE,ELEMENTTYPE> |
CommonsCopyOnWriteArrayList.createFiltered(Iterable<? extends SRCTYPE> aValues,
Predicate<? super SRCTYPE> aFilter,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
Create a new array list that contains a subset of the provided iterable.
|
static <SRCTYPE,ELEMENTTYPE> |
CommonsVector.createFiltered(Iterable<? extends SRCTYPE> aValues,
Predicate<? super SRCTYPE> aFilter,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper) |
static <SRCTYPE,ELEMENTTYPE> |
CommonsArrayList.createFiltered(SRCTYPE[] aValues,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper,
Predicate<? super ELEMENTTYPE> aFilter)
Create a new array list that contains a subset of the provided array.
|
static <SRCTYPE,ELEMENTTYPE> |
CommonsCopyOnWriteArrayList.createFiltered(SRCTYPE[] aValues,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper,
Predicate<? super ELEMENTTYPE> aFilter)
Create a new array list that contains a subset of the provided array.
|
static <SRCTYPE,ELEMENTTYPE> |
CommonsArrayList.createFiltered(SRCTYPE[] aValues,
Predicate<? super SRCTYPE> aFilter,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
Create a new array list that contains a subset of the provided array.
|
static <SRCTYPE,ELEMENTTYPE> |
CommonsCopyOnWriteArrayList.createFiltered(SRCTYPE[] aValues,
Predicate<? super SRCTYPE> aFilter,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper)
Create a new array list that contains a subset of the provided array.
|
static <SRCTYPE,ELEMENTTYPE> |
CommonsVector.createFiltered(SRCTYPE[] aValues,
Predicate<? super SRCTYPE> aFilter,
Function<? super SRCTYPE,? extends ELEMENTTYPE> aMapper) |
<K,V> CommonsConcurrentHashMap<K,V> |
CommonsConcurrentHashMap.createInstance() |
<K,V> CommonsHashMap<K,V> |
CommonsHashMap.createInstance() |
<K,V> CommonsLinkedHashMap<K,V> |
CommonsLinkedHashMap.createInstance() |
<K,V> CommonsTreeMap<K,V> |
CommonsTreeMap.createInstance() |
<K,V> CommonsWeakHashMap<K,V> |
CommonsWeakHashMap.createInstance() |
default <K,V> ICommonsMap<K,V> |
ICommonsMap.createInstance()
Create a new empty map.
|
default <K,V> ICommonsOrderedMap<K,V> |
ICommonsOrderedMap.createInstance() |
default <K,V> ICommonsSortedMap<K,V> |
ICommonsSortedMap.createInstance()
Create a new
CommonsTreeMap. |
<T> CommonsArrayList<T> |
CommonsArrayList.createInstance() |
<T> CommonsCopyOnWriteArrayList<T> |
CommonsCopyOnWriteArrayList.createInstance() |
<T> CommonsCopyOnWriteArraySet<T> |
CommonsCopyOnWriteArraySet.createInstance() |
<T> CommonsHashSet<T> |
CommonsHashSet.createInstance() |
<T> CommonsLinkedHashSet<T> |
CommonsLinkedHashSet.createInstance() |
<T> CommonsLinkedList<T> |
CommonsLinkedList.createInstance() |
<T> CommonsTreeSet<T> |
CommonsTreeSet.createInstance() |
<T> CommonsVector<T> |
CommonsVector.createInstance() |
default <T> ICommonsList<T> |
ICommonsList.createInstance()
Create a new empty list.
|
default <T> ICommonsOrderedSet<T> |
ICommonsOrderedSet.createInstance() |
default <T> ICommonsSet<T> |
ICommonsSet.createInstance()
Create a new empty set.
|
default ICommonsList<ELEMENTTYPE> |
ICommonsList.getAll(Predicate<? super ELEMENTTYPE> aFilter)
Get all elements matching the provided filter.
|
default ICommonsOrderedSet<ELEMENTTYPE> |
ICommonsOrderedSet.getAll(Predicate<? super ELEMENTTYPE> aFilter) |
default ICommonsSet<ELEMENTTYPE> |
ICommonsSet.getAll(Predicate<? super ELEMENTTYPE> aFilter) |
default <DSTTYPE extends ELEMENTTYPE> |
ICommonsList.getAllInstanceOf(Class<DSTTYPE> aDstClass)
Get all instances of the provided class that are contained in this list.
|
default <DSTTYPE extends ELEMENTTYPE> |
ICommonsOrderedSet.getAllInstanceOf(Class<DSTTYPE> aDstClass) |
default <DSTTYPE extends ELEMENTTYPE> |
ICommonsSet.getAllInstanceOf(Class<DSTTYPE> aDstClass) |
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> ICommonsOrderedSet<DSTTYPE> |
ICommonsOrderedSet.getAllMapped(Function<? super ELEMENTTYPE,DSTTYPE> aMapper) |
default <DSTTYPE> ICommonsSet<DSTTYPE> |
ICommonsSet.getAllMapped(Function<? super ELEMENTTYPE,DSTTYPE> aMapper) |
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 <DSTTYPE> ICommonsOrderedSet<DSTTYPE> |
ICommonsOrderedSet.getAllMapped(Predicate<? super ELEMENTTYPE> aFilter,
Function<? super ELEMENTTYPE,DSTTYPE> aMapper) |
default <DSTTYPE> ICommonsSet<DSTTYPE> |
ICommonsSet.getAllMapped(Predicate<? super ELEMENTTYPE> aFilter,
Function<? super ELEMENTTYPE,DSTTYPE> aMapper) |
CommonsArrayList<ELEMENTTYPE> |
CommonsArrayList.getClone() |
CommonsConcurrentHashMap<KEYTYPE,VALUETYPE> |
CommonsConcurrentHashMap.getClone() |
CommonsCopyOnWriteArrayList<ELEMENTTYPE> |
CommonsCopyOnWriteArrayList.getClone() |
CommonsCopyOnWriteArraySet<ELEMENTTYPE> |
CommonsCopyOnWriteArraySet.getClone() |
CommonsEnumMap<KEYTYPE,VALUETYPE> |
CommonsEnumMap.getClone() |
CommonsHashMap<KEYTYPE,VALUETYPE> |
CommonsHashMap.getClone() |
CommonsHashSet<ELEMENTTYPE> |
CommonsHashSet.getClone() |
CommonsLinkedHashMap<KEYTYPE,VALUETYPE> |
CommonsLinkedHashMap.getClone() |
CommonsLinkedHashSet<ELEMENTTYPE> |
CommonsLinkedHashSet.getClone() |
CommonsLinkedList<ELEMENTTYPE> |
CommonsLinkedList.getClone() |
CommonsTreeMap<KEYTYPE,VALUETYPE> |
CommonsTreeMap.getClone() |
CommonsTreeSet<ELEMENTTYPE> |
CommonsTreeSet.getClone() |
CommonsVector<ELEMENTTYPE> |
CommonsVector.getClone() |
CommonsWeakHashMap<KEYTYPE,VALUETYPE> |
CommonsWeakHashMap.getClone() |
ICommonsNavigableMap<KEYTYPE,VALUETYPE> |
ICommonsNavigableMap.getClone() |
ICommonsNavigableSet<ELEMENTTYPE> |
ICommonsNavigableSet.getClone() |
ICommonsOrderedMap<KEYTYPE,VALUETYPE> |
ICommonsOrderedMap.getClone() |
ICommonsOrderedSet<ELEMENTTYPE> |
ICommonsOrderedSet.getClone() |
ICommonsSortedMap<KEYTYPE,VALUETYPE> |
ICommonsSortedMap.getClone() |
ICommonsSortedSet<ELEMENTTYPE> |
ICommonsSortedSet.getClone() |
default ICommonsList<ELEMENTTYPE> |
ICommonsCollection.getCopyAsList() |
default ICommonsOrderedMap<KEYTYPE,VALUETYPE> |
ICommonsMap.getSortedByKey(Comparator<? super KEYTYPE> aKeyComparator)
Get the map sorted by its keys.
|
default ICommonsOrderedMap<KEYTYPE,VALUETYPE> |
ICommonsMap.getSortedByValue(Comparator<? super VALUETYPE> aValueComparator)
Get the map sorted by its values.
|
default ICommonsMap<VALUETYPE,KEYTYPE> |
ICommonsMap.getSwappedKeyValues()
Get a map where keys and values are exchanged.
|
| Modifier and Type | Method and Description |
|---|---|
SoftHashMap<K,V> |
SoftHashMap.getClone() |
SoftLinkedHashMap<K,V> |
SoftLinkedHashMap.getClone() |
| Modifier and Type | Method and Description |
|---|---|
static Collator |
CollatorHelper.getCollatorSpaceBeforeDot(Locale aLocale)
Create a collator that is based on the standard collator but sorts spaces
before dots, because spaces are more important word separators than dots.
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<DATATYPE> |
AbstractConcurrentCollector.drainQueue() |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
static ICommonsList<PDTZoneID> |
PDTZoneID.getAllDefaultZoneIDs() |
| Modifier and Type | Method and Description |
|---|---|
StackTraceElement[] |
ThreadDeadlockInfo.getAllStackTraceElements() |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<ErrorTextProvider.IFormattableItem> |
ErrorTextProvider.getAllItems() |
ErrorTextProvider |
ErrorTextProvider.getClone() |
| Modifier and Type | Method and Description |
|---|---|
default <T> ICommonsList<T> |
IErrorList.getAllDataItems(Function<? super IError,? extends T> aExtractor)
Get a list with only a single data element.
|
default ICommonsList<String> |
IErrorList.getAllTexts(Locale aContentLocale)
Get a list with all contained texts.
|
default <T> ICommonsOrderedMap<T,ICommonsList<IError>> |
IErrorList.getGrouped(Function<? super IError,T> aKeyExtractor) |
default ICommonsMap<String,ICommonsList<IError>> |
IErrorList.getGroupedByFieldName() |
default ICommonsMap<String,ICommonsList<IError>> |
IErrorList.getGroupedByID() |
default IErrorList |
IErrorList.getListOfField(String sSearchFieldName)
Get a sub-list with all entries for the specified field name
|
default IErrorList |
IErrorList.getListOfFields(Collection<String> aSearchFieldNames)
Get a sub-list with all entries for the specified field names
|
default IErrorList |
IErrorList.getListOfFields(String... aSearchFieldNames)
Get a sub-list with all entries for the specified field names
|
default IErrorList |
IErrorList.getListOfFieldsRegExp(String sRegExp)
Get a sub-list with all entries that have field names matching the passed
regular expression.
|
default IErrorList |
IErrorList.getListOfFieldsStartingWith(String... aSearchFieldNames)
Get a sub-list with all entries that have field names starting with one of
the supplied names.
|
default IErrorList |
IErrorList.getListWithoutField()
Get a sub-list with all entries that does not contain an error field name.
|
IErrorList |
IErrorList.getSubList(Predicate<? super IError> aFilter)
Get a sub-list with all entries that match the provided predicate.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
DynamicHasErrorTextWithArgs.getAllArgs()
Get all arguments from the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsMap<IReadableResource,SizeInt> |
ImageDataManager.getAllCachedSizes() |
ICommonsSet<IReadableResource> |
ImageDataManager.getAllNotExistingResources() |
| Modifier and Type | Method and Description |
|---|---|
ICommonsCollection<? extends CHILDTYPE> |
IHasChildren.getAllChildren() |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<String> |
HttpHeaderMap.getAllHeaderLines()
Deprecated.
Use
HttpHeaderMap.getAllHeaderLines(boolean) instead |
ICommonsList<String> |
HttpHeaderMap.getAllHeaderLines(boolean bUnifyValue)
Get all header lines as a list of strings.
|
ICommonsList<String> |
HttpHeaderMap.getAllHeaderLines(boolean bUnifyValue,
boolean bQuoteIfNecessary)
Get all header lines as a list of strings.
|
ICommonsOrderedSet<String> |
HttpHeaderMap.getAllHeaderNames() |
ICommonsOrderedMap<String,ICommonsList<String>> |
HttpHeaderMap.getAllHeaders() |
ICommonsList<String> |
HttpHeaderMap.getAllHeaderValues(String sName)
Get all header values of a certain header name.
|
HttpHeaderMap |
HttpHeaderMap.getClone() |
| Modifier and Type | Method and Description |
|---|---|
static ByteArrayWrapper |
ByteArrayWrapper.create(NonBlockingByteArrayOutputStream aBAOS,
boolean bCopyNeeded)
Wrap the content of a
NonBlockingByteArrayOutputStream. |
static ByteArrayWrapper |
ByteArrayWrapper.create(String sText,
Charset aCharset)
Wrap the content of a String in a certain charset.
|
default byte[] |
IHasByteArray.getAllBytes() |
| Modifier and Type | Method and Description |
|---|---|
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. |
static ICommonsList<Path> |
PathHelper.getDirectoryContent(Path aDirectory)
This is a replacement for
Path.listFiles() doing some
additional checks on permissions. |
static ICommonsList<Path> |
PathHelper.getDirectoryContent(Path aDirectory,
Predicate<? super Path> aPathFilter)
This is a replacement for
Path.listFiles(FilenameFilter) doing
some additional checks on permissions. |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<IReadableResourceProvider> |
ReadableResourceProviderChain.getAllContainedReadingResourceProviders() |
ICommonsList<IWritableResourceProvider> |
WritableResourceProviderChain.getAllContainedWritingResourceProviders() |
| Modifier and Type | Method and Description |
|---|---|
static IHasInputStream |
HasInputStream.create(NonBlockingByteArrayOutputStream aBAOS)
Get a special implementation of
IHasInputStream for
NonBlockingByteArrayOutputStream. |
static byte[] |
StreamHelper.createDefaultCopyBufferBytes() |
static char[] |
StreamHelper.createDefaultCopyBufferChars() |
ByteBuffer[] |
ByteBuffersInputStream.getAllBuffers() |
byte[] |
ByteBufferOutputStream.getAsByteArray()
Get everything as a big byte array, without altering the ByteBuffer.
|
char[] |
NonBlockingStringWriter.getAsCharArray() |
String |
NonBlockingCharArrayWriter.getAsString()
Converts input data to a string.
|
static HasInputStream |
HasInputStream.multiple(ISupplier<? extends InputStream> aISP)
Create a new object with a supplier that can read multiple times.
|
static HasInputStream |
HasInputStream.once(ISupplier<? extends InputStream> aISP)
Create a new object with a supplier that can be read only once.
|
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.
|
byte[] |
NonBlockingByteArrayOutputStream.toByteArray()
Creates a newly allocated byte array.
|
byte[] |
NonBlockingCharArrayWriter.toByteArray(Charset aCharset)
Returns a copy of the input data as bytes in the correct charset.
|
char[] |
NonBlockingCharArrayWriter.toCharArray()
Returns a copy of the input data.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
ByteArrayOutputStreamProvider.getBytes() |
| Modifier and Type | Method and Description |
|---|---|
static WatchDir |
WatchDir.createAsyncRunningWatchDir(Path aDir,
boolean bRecursive,
IWatchDirCallback aCallback)
Static factory method to create a simple
WatchDir instance that
already spawned an Thread to listen. |
| Modifier and Type | Method and Description |
|---|---|
static <ENUMTYPE extends Enum<ENUMTYPE>> |
EnumHelper.getAll(Class<ENUMTYPE> aClass,
Predicate<? super ENUMTYPE> aFilter) |
static ICommonsList<String> |
ClassPathHelper.getAllClassPathEntries() |
static ICommonsSet<Class<?>> |
ClassHelper.getAllPrimitiveClasses() |
static ICommonsSet<Class<?>> |
ClassHelper.getAllPrimitiveWrapperClasses() |
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 ICommonsMap<String,String> |
PropertiesHelper.getAsStringMap(Properties aProps) |
static ICommonsSet<Class<?>> |
ClassHierarchyCache.getClassHierarchy(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 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 |
|---|---|
ICommonsSet<Locale> |
LocaleCache.getAllLanguages()
Get all contained locales that consist only of a non-empty language.
|
static ICommonsMap<Locale,String> |
LocaleHelper.getAllLocaleDisplayNames(Locale aContentLocale)
Get all possible locale names in the passed locale
|
ICommonsList<Locale> |
LocaleCache.getAllLocales()
Get all contained locales except the locales "all" and "independent"
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsSet<String> |
CountryCache.getAllCountries() |
ICommonsSet<Locale> |
CountryCache.getAllCountryLocales() |
static ICommonsSet<Locale> |
ECountry.getCountryListAsLocales() |
| Modifier and Type | Method and Description |
|---|---|
ICommonsSet<Locale> |
LanguageCache.getAllLanguageLocales() |
ICommonsSet<String> |
LanguageCache.getAllLanguages() |
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<LogMessage> |
InMemoryLogger.getAllMessages() |
| Modifier and Type | Method and Description |
|---|---|
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) |
ICommonsList<DATATYPE> |
CombinationGenerator.next()
Generate next combination (algorithm from Rosen p. 286)
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
MimeTypeContent.getAllContentBytes() |
ICommonsCollection<MimeTypeContent> |
MimeTypeDeterminator.getAllMimeTypeContents() |
ICommonsList<MimeTypeParameter> |
IMimeType.getAllParameters() |
ICommonsList<MimeTypeParameter> |
MimeType.getAllParameters() |
static char[] |
MimeTypeParser.getAllTSpecialChars() |
| Modifier and Type | Method and Description |
|---|---|
<T> ICommonsList<T> |
CommonsMock.mockMany(int nCount,
Class<T> aClass,
Object... aParams)
Create a
List of mocked objects. |
<T> ICommonsSet<T> |
CommonsMock.mockSet(int nCount,
Class<T> aClass,
Object... aParams)
Create a
ICommonsSet of mocked objects. |
static ICommonsSortedMap<String,ICommonsSortedSet<String>> |
SPITestHelper.testIfAllMainSPIImplementationsAreValid(boolean bContinueOnError) |
static ICommonsSortedMap<String,ICommonsSortedSet<String>> |
SPITestHelper.testIfAllSPIImplementationsAreValid() |
static ICommonsSortedMap<String,ICommonsSortedSet<String>> |
SPITestHelper.testIfAllSPIImplementationsAreValid(boolean bContinueOnError) |
static ICommonsSortedMap<String,ICommonsSortedSet<String>> |
SPITestHelper.testIfAllSPIImplementationsAreValid(String sBaseDir,
SPITestHelper.EMode eMode)
Test if all SPI configurations and implementations are correctly
configured.
|
static ICommonsSortedMap<String,ICommonsSortedSet<String>> |
SPITestHelper.testIfAllTestSPIImplementationsAreValid(boolean bContinueOnError) |
| Modifier and Type | Method and Description |
|---|---|
static ICommonsSet<String> |
StatisticsManager.getAllCacheHandler() |
static ICommonsSet<String> |
StatisticsManager.getAllCounterHandler() |
static ICommonsSet<String> |
StatisticsManager.getAllKeyedCounterHandler() |
static ICommonsSet<String> |
StatisticsManager.getAllKeyedSizeHandler() |
static ICommonsSet<String> |
StatisticsManager.getAllKeyedTimerHandler() |
ICommonsSet<String> |
AbstractStatisticsHandlerKeyedNumeric.getAllKeys() |
ICommonsSet<String> |
IStatisticsHandlerKeyed.getAllKeys() |
ICommonsSet<String> |
StatisticsHandlerKeyedCounter.getAllKeys() |
static ICommonsSet<String> |
StatisticsManager.getAllSizeHandler() |
static ICommonsSet<String> |
StatisticsManager.getAllTimerHandler() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
StringHelper.encodeCharToBytes(char[] aCharArray,
Charset aCharset)
Encode a char array to a byte array using the provided charset.
|
static byte[] |
StringHelper.encodeCharToBytes(char[] aCharArray,
int nOfs,
int nLen,
Charset aCharset)
Encode a char array to a byte array using the provided charset.
|
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. |
static CommonsLinkedHashSet<String> |
StringHelper.getExplodedToOrderedSet(String sSep,
String sElements)
Take a concatenated String and return an ordered
CommonsLinkedHashSet of all elements in the passed string, using
specified separator string. |
static CommonsHashSet<String> |
StringHelper.getExplodedToSet(String sSep,
String sElements)
Take a concatenated String and return a
Set of all elements in the
passed string, using specified separator string. |
static CommonsTreeSet<String> |
StringHelper.getExplodedToSortedSet(String sSep,
String sElements)
Take a concatenated String and return a sorted
CommonsTreeSet of
all elements in the passed string, using specified separator string. |
static byte[] |
StringHelper.getHexDecoded(char[] aInput) |
static byte[] |
StringHelper.getHexDecoded(char[] aInput,
int nOfs,
int nLen) |
static byte[] |
StringHelper.getHexDecoded(String sInput) |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
SystemProperties.getAllJavaNetSystemProperties()
Get a set of system property names which are relevant for network
debugging/proxy handling.
|
static ICommonsMap<String,String> |
SystemProperties.getAllProperties() |
static ICommonsSet<String> |
SystemProperties.getAllPropertyNames() |
static ICommonsSet<String> |
SystemProperties.getAllWarnedPropertyNames() |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
HasTextWithArgs.getAllArgs()
Get all arguments from the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
char[] |
Codepoint.getAsChars() |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
HasDisplayTextWithArgs.getAllArgs()
Get all arguments from the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsSet<String> |
EnumTextResolverWithPropertiesOverrideAndFallback.getAllUsedFallbackBundleNames() |
ICommonsSet<String> |
EnumTextResolverWithPropertiesOverrideAndFallback.getAllUsedOverrideBundleNames() |
| Modifier and Type | Method and Description |
|---|---|
static MultilingualText |
TextHelper.create_DE_EN(String sDE,
String sEN) |
static MultilingualText |
TextHelper.create_DE(String sDE) |
static MultilingualText |
TextHelper.create_EN(String sEN) |
static MultilingualText |
TextHelper.createMultilingualTextFromMap(Map<String,String> aMap) |
static MultilingualText |
TextHelper.getCopyWithLocales(IMultilingualText aMLT,
Collection<Locale> aContentLocales)
Get a copy of this object with the specified locales.
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsOrderedSet<IThirdPartyModule> |
ThirdPartyModuleRegistry.getAllRegisteredThirdPartyModules() |
| Modifier and Type | Method and Description |
|---|---|
static StopWatch |
StopWatch.createdStarted() |
static StopWatch |
StopWatch.createdStopped() |
| Modifier and Type | Method and Description |
|---|---|
ICommonsOrderedSet<String> |
URLParameterList.getAllParamNames() |
ICommonsList<String> |
URLParameterList.getAllParamValues(String sName) |
ICommonsCollection<IURLProtocol> |
URLProtocolRegistry.getAllProtocols() |
ICommonsOrderedMap<String,ICommonsList<String>> |
URLParameterList.getAsMultiMap() |
URLParameterList |
URLParameterList.getClone() |
static URLParameterList |
URLHelper.getParsedQueryParameters(String sQueryString) |
static URLParameterList |
URLHelper.getParsedQueryParameters(String sQueryString,
IDecoder<String,String> aParameterDecoder) |
| Modifier and Type | Method and Description |
|---|---|
static ICommonsList<String> |
VendorInfo.getFileHeaderLines() |
| Modifier and Type | Method and Description |
|---|---|
Wrapper<DATATYPE> |
Wrapper.getClone() |
Copyright © 2014–2019 Philip Helger. All rights reserved.