| Modifier and Type | Field and Description |
|---|---|
| private static final Object[] | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Object | |
| protected static <T> Collection | |
| protected static <K, V> Map | |
| public static void | |
| public static void | |
| protected static <T> T[] | |
| protected static <T> Collection | |
| protected static <T> Collection | |
| protected static <T> Collection | |
| protected static <T> List | |
| protected static <K, V> Map | |
| protected static Collection | |
| protected static <T> Queue | |
| protected static <T> Set | |
| protected static int | Returns: the normalised indexthe unnormalized index i, int the array size size)This converts a possibly negative index to a real index into the array. |
| protected static boolean | Returns: true if the collections are all of the same typean array of collections cols)Determines if all items of this array are of the same type. |
| protected static RangeInfo | |
| protected static RangeInfo | |
| pack-priv static Throwable | Returns: throwable Exception from the close method, else nullthe thing to close closeable, boolean if true will log a warning if an exception occurs logWarning)Attempts to close the closeable returning rather than throwing any Exception that may occur. |
| private static void | |
| private static void | |
| protected static void | |
| protected static void | |
| protected static void | |
| protected static void |
| EMPTY_OBJECT_ARRAY | back to summary |
|---|---|
| private static final Object[] EMPTY_OBJECT_ARRAY | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| DefaultGroovyMethodsSupport | back to summary |
|---|---|
| public DefaultGroovyMethodsSupport() | |
| cloneObject | back to summary |
|---|---|
| private static Object cloneObject(Object orig) | |
| cloneSimilarCollection | back to summary |
|---|---|
protected static <T> Collection
| |
| cloneSimilarMap | back to summary |
|---|---|
protected static <K, V> Map
| |
| closeQuietly | back to summary |
|---|---|
| public static void closeQuietly(Closeable c) Close the Closeable. Ignore any problems that might occur.
| |
| closeWithWarning | back to summary |
|---|---|
| public static void closeWithWarning(Closeable closeable) Close the Closeable. Logging a warning if any problems occur.
| |
| createSimilarArray | back to summary |
|---|---|
protected static <T> T[] createSimilarArray(T[] orig, int newCapacity)
| |
| createSimilarCollection | back to summary |
|---|---|
| protected static <T> Collection | |
| createSimilarCollection | back to summary |
|---|---|
| protected static <T> Collection | |
| createSimilarCollection | back to summary |
|---|---|
| protected static <T> Collection | |
| createSimilarList | back to summary |
|---|---|
| protected static <T> List | |
| createSimilarMap | back to summary |
|---|---|
protected static <K, V> Map
| |
| createSimilarOrDefaultCollection | back to summary |
|---|---|
| protected static Collection | |
| createSimilarQueue | back to summary |
|---|---|
protected static <T> Queue
| |
| createSimilarSet | back to summary |
|---|---|
protected static <T> Set
| |
| normaliseIndex | back to summary |
|---|---|
| protected static int normaliseIndex(int i, int size) This converts a possibly negative index to a real index into the array.
| |
| sameType | back to summary |
|---|---|
| protected static boolean sameType(Collection<E>[] cols) Determines if all items of this array are of the same type.
| |
| subListBorders | back to summary |
|---|---|
| protected static RangeInfo subListBorders(int size, Range<T extends Comparable<T>> range) | |
| subListBorders | back to summary |
|---|---|
| protected static RangeInfo subListBorders(int size, EmptyRange<T extends Comparable<T>> range) | |
| tryClose | back to summary |
|---|---|
| pack-priv static Throwable tryClose(AutoCloseable closeable, boolean logWarning) Attempts to close the closeable returning rather than throwing any Exception that may occur.
| |
| writeUtf16Bom | back to summary |
|---|---|
| private static void writeUtf16Bom(OutputStream stream, boolean bigEndian) throws IOException | |
| writeUtf16Bom | back to summary |
|---|---|
| private static void writeUtf16Bom(Writer writer, boolean bigEndian) throws IOException | |
| writeUTF16BomIfRequired | back to summary |
|---|---|
| protected static void writeUTF16BomIfRequired(final Writer writer, final String charset) throws IOException | |
| writeUTF16BomIfRequired | back to summary |
|---|---|
| protected static void writeUTF16BomIfRequired(final Writer writer, final Charset charset) throws IOException | |
| writeUTF16BomIfRequired | back to summary |
|---|---|
| protected static void writeUTF16BomIfRequired(final OutputStream stream, final String charset) throws IOException | |
| writeUTF16BomIfRequired | back to summary |
|---|---|
| protected static void writeUTF16BomIfRequired(final OutputStream stream, final Charset charset) throws IOException | |