Package | Description |
---|---|
org.apache.sis.util |
Simple data objects and miscellaneous utilities.
|
org.apache.sis.util.collection |
Addition to the collection framework.
|
Modifier and Type | Method and Description |
---|---|
static <T> T[] |
ArraysExt.append(T[] array,
T element)
Returns a copy of the given array with a single element appended at the end.
|
static void |
ArgumentChecks.ensureNonEmpty(String name,
CharSequence text)
Makes sure that a character sequence is non-null and non-empty.
|
static void |
ArgumentChecks.ensureNonNull(String name,
Object object)
Makes sure that an argument is non-null.
|
static void |
ArgumentChecks.ensureNonNullElement(String name,
int index,
Object element)
Makes sure that an array element is non-null.
|
static boolean[] |
ArraysExt.insert(boolean[] src,
int srcOff,
boolean[] dst,
int dstOff,
int length)
Returns an array containing the same elements than the given array, with the content
of an other array inserted at the given index.
|
static boolean[] |
ArraysExt.insert(boolean[] array,
int first,
int length)
Returns an array containing the same elements than the given array, with additional
"spaces" in the given range.
|
static byte[] |
ArraysExt.insert(byte[] src,
int srcOff,
byte[] dst,
int dstOff,
int length)
Returns an array containing the same elements than the given array, with the content
of an other array inserted at the given index.
|
static byte[] |
ArraysExt.insert(byte[] array,
int first,
int length)
Returns an array containing the same elements than the given array, with additional
"spaces" in the given range.
|
static char[] |
ArraysExt.insert(char[] src,
int srcOff,
char[] dst,
int dstOff,
int length)
Returns an array containing the same elements than the given array, with the content
of an other array inserted at the given index.
|
static char[] |
ArraysExt.insert(char[] array,
int first,
int length)
Returns an array containing the same elements than the given array, with additional
"spaces" in the given range.
|
static double[] |
ArraysExt.insert(double[] src,
int srcOff,
double[] dst,
int dstOff,
int length)
Returns an array containing the same elements than the given array, with the content
of an other array inserted at the given index.
|
static double[] |
ArraysExt.insert(double[] array,
int first,
int length)
Returns an array containing the same elements than the given array, with additional
"spaces" in the given range.
|
static <E> E[] |
ArraysExt.insert(E[] src,
int srcOff,
E[] dst,
int dstOff,
int length)
Returns an array containing the same elements than the given array, with the content
of an other array inserted at the given index.
|
static <E> E[] |
ArraysExt.insert(E[] array,
int first,
int length)
Returns an array containing the same elements than the given array, with additional
"spaces" in the given range.
|
static float[] |
ArraysExt.insert(float[] src,
int srcOff,
float[] dst,
int dstOff,
int length)
Returns an array containing the same elements than the given array, with the content
of an other array inserted at the given index.
|
static float[] |
ArraysExt.insert(float[] array,
int first,
int length)
Returns an array containing the same elements than the given array, with additional
"spaces" in the given range.
|
static int[] |
ArraysExt.insert(int[] array,
int first,
int length)
Returns an array containing the same elements than the given array, with additional
"spaces" in the given range.
|
static int[] |
ArraysExt.insert(int[] src,
int srcOff,
int[] dst,
int dstOff,
int length)
Returns an array containing the same elements than the given array, with the content
of an other array inserted at the given index.
|
static long[] |
ArraysExt.insert(long[] array,
int first,
int length)
Returns an array containing the same elements than the given array, with additional
"spaces" in the given range.
|
static long[] |
ArraysExt.insert(long[] src,
int srcOff,
long[] dst,
int dstOff,
int length)
Returns an array containing the same elements than the given array, with the content
of an other array inserted at the given index.
|
static short[] |
ArraysExt.insert(short[] array,
int first,
int length)
Returns an array containing the same elements than the given array, with additional
"spaces" in the given range.
|
static short[] |
ArraysExt.insert(short[] src,
int srcOff,
short[] dst,
int dstOff,
int length)
Returns an array containing the same elements than the given array, with the content
of an other array inserted at the given index.
|
static boolean[] |
ArraysExt.remove(boolean[] array,
int first,
int length)
Returns an array containing the same elements than the given array except for
the given range.
|
static byte[] |
ArraysExt.remove(byte[] array,
int first,
int length)
Returns an array containing the same elements than the given array except for
the given range.
|
static char[] |
ArraysExt.remove(char[] array,
int first,
int length)
Returns an array containing the same elements than the given array except for
the given range.
|
static double[] |
ArraysExt.remove(double[] array,
int first,
int length)
Returns an array containing the same elements than the given array except for
the given range.
|
static <E> E[] |
ArraysExt.remove(E[] array,
int first,
int length)
Returns an array containing the same elements than the given array except for
the given range.
|
static float[] |
ArraysExt.remove(float[] array,
int first,
int length)
Returns an array containing the same elements than the given array except for
the given range.
|
static int[] |
ArraysExt.remove(int[] array,
int first,
int length)
Returns an array containing the same elements than the given array except for
the given range.
|
static long[] |
ArraysExt.remove(long[] array,
int first,
int length)
Returns an array containing the same elements than the given array except for
the given range.
|
static short[] |
ArraysExt.remove(short[] array,
int first,
int length)
Returns an array containing the same elements than the given array except for
the given range.
|
Modifier and Type | Method and Description |
---|---|
boolean |
WeakHashSet.add(E element)
Adds the specified element to this set if it is not already present.
|
V |
WeakValueHashMap.put(K key,
V value)
Associates the specified value with the specified key in this map.
|
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.