| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final char[] | |
| pack-priv static final Long | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <T> boolean | Returns: True if there is at least one element that's common to both Collections, ie. that is contained in both of them.Method that can be used to efficiently check if 2 collections share at least one common element. |
| public static <T> Iterator | |
| public static char[] | |
| public static String[] | |
| public static int[] | |
| public static Object | |
| public static Object | growArrayToAtLeast(Object arr, int minLen)
Method similar to |
| public static Object | growArrayToAtMost(Object arr, int maxLen)
Method similar to |
| public static Integer | |
| public static <T> Iterator |
| EMPTY_CHAR_ARRAY | back to summary |
|---|---|
| pack-priv static final char[] EMPTY_CHAR_ARRAY | |
| MAX_LONG | back to summary |
|---|---|
| pack-priv static final Long MAX_LONG | |
| NO_TYPE | back to summary |
|---|---|
| pack-priv static final String NO_TYPE | |
| DataUtil | back to summary |
|---|---|
| private DataUtil() | |
| anyValuesInCommon | back to summary |
|---|---|
| public static <T> boolean anyValuesInCommon(Collection<T> c1, Collection<T> c2) Method that can be used to efficiently check if 2 collections share at least one common element.
| |
| emptyIterator | back to summary |
|---|---|
| public static <T> Iterator | |
| getEmptyCharArray | back to summary |
|---|---|
| public static char[] getEmptyCharArray() | |
| growArrayBy | back to summary |
|---|---|
| public static String[] growArrayBy(String[] arr, int more) | |
| growArrayBy | back to summary |
|---|---|
| public static int[] growArrayBy(int[] arr, int more) | |
| growArrayBy50Pct | back to summary |
|---|---|
| public static Object growArrayBy50Pct(Object arr) | |
| growArrayToAtLeast | back to summary |
|---|---|
| public static Object growArrayToAtLeast(Object arr, int minLen) Method similar to | |
| growArrayToAtMost | back to summary |
|---|---|
| public static Object growArrayToAtMost(Object arr, int maxLen) Method similar to | |
| Integer | back to summary |
|---|---|
| public static Integer Integer(int i) | |
| singletonIterator | back to summary |
|---|---|
| public static <T> Iterator | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <T> Iterator | |
| public boolean | |
| public Object | |
| public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
| sInstance | back to summary |
|---|---|
| public static final Iterator<?> sInstance | |
| EI | back to summary |
|---|---|
| private EI() | |
| getInstance | back to summary |
|---|---|
public static <T> Iterator
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public Object next() Implements java. Doc from java. Returns the next element in the iteration. | |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |