A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

acquireAndRelease(java.util.concurrent.Semaphore, Closure<T>) - Method in SemaphoreExtensions
Acquire and release a single permit around the given closure.
advance(java.nio.ByteBuffer, int) - Method in ByteBufferExtensions
Advance the internal position of a buffer by the given amount.
advance(java.nio.ShortBuffer, int) - Method in ShortBufferExtensions
Advance the internal position of a buffer by the given amount.
allocateNative(java.nio.ByteBuffer, int) - Method in ByteBufferStaticExtensions
Allocates a ByteBuffer with native byte ordering.

B

BlockingQueueExtensions - Class in nz.net.ultraq.groovy.extensions
Extensions to the BlockingQueue interface.
BlockingQueueExtensions() - Constructor in BlockingQueueExtensions
ByteArrayExtensions - Class in nz.net.ultraq.groovy.extensions
Extensions for byte arrays.
ByteArrayExtensions() - Constructor in ByteArrayExtensions
ByteBufferExtensions - Class in nz.net.ultraq.groovy.extensions
Instance method extensions to the ByteBuffer class.
ByteBufferExtensions() - Constructor in ByteBufferExtensions
ByteBufferStaticExtensions - Class in nz.net.ultraq.groovy.extensions
Static method extensions to the ByteBuffer class.
ByteBufferStaticExtensions() - Constructor in ByteBufferStaticExtensions

C

cancel(java.util.concurrent.Future) - Method in FutureExtensions
Call Future.cancel with a default argument of false.
clamp(java.lang.Math, float, float, float) - Method in MathStaticExtensions
Clamp a float value to the given range.

D

drain(BlockingQueue<E>, int) - Method in BlockingQueueExtensions
Drain at most the given number of elements into a new list which is returned.

E

executeAndShutdown(java.util.concurrent.ExecutorService, int, java.util.concurrent.TimeUnit, Closure<T>) - Method in ExecutorServiceExtensions
Execute the given closure, performing a shutdown after it has exited (see shutdownAwaitTermination(ExecutorService, int, TimeUnit)).
ExecutorServiceExtensions - Class in nz.net.ultraq.groovy.extensions
Extensions to the ExecutorService interface.
ExecutorServiceExtensions() - Constructor in ExecutorServiceExtensions

F

fromBuffers(java.nio.ByteBuffer, java.nio.ByteBuffer) - Method in ByteBufferStaticExtensions
Allocate a native-ordered ByteBuffer, with data from several other ByteBuffers.
FutureExtensions - Class in nz.net.ultraq.groovy.extensions
Extensions to the Future interface.
FutureExtensions() - Constructor in FutureExtensions

G

getByte(java.nio.ByteBuffer) - Method in ByteBufferExtensions
An alias for ByteBuffer.get so that its shortened Groovy getter form looks consistent alongside the other shortened getters like short, int, etc.
getOrCreate(Map<K, V>, K, Closure<V>) - Method in MapExtensions
Very similar to Groovy's Map.get(Object key, Object defaultValue) method, but allows the default value to be created in a closure.
getOrCreate(java.lang.Object, java.lang.String, Closure<T>) - Method in ObjectExtensions
Retrieves a value from any object that supports the subscript operators (square bracket notation, implemented by the getAt/putAt methods).

H

I

J

K

L

M

MapExtensions - Class in nz.net.ultraq.groovy.extensions
Extensions to the Map interface.
MapExtensions() - Constructor in MapExtensions
markAndReset(java.nio.ByteBuffer, Closure<T>) - Method in ByteBufferExtensions
Convenience method for calling ByteBuffer.mark, executing the closure, and then calling ByteBuffer.reset before returning.
MathStaticExtensions - Class in nz.net.ultraq.groovy.extensions
Static method extensions to the Math class.
MathStaticExtensions() - Constructor in MathStaticExtensions

N

O

ObjectExtensions - Class in nz.net.ultraq.groovy.extensions
Extensions to the base Object class.
ObjectExtensions() - Constructor in ObjectExtensions
ObjectStaticExtensions - Class in nz.net.ultraq.groovy.extensions
Static extensions to the base Object class.
ObjectStaticExtensions() - Constructor in ObjectStaticExtensions

P

put(java.nio.ByteBuffer, java.nio.ByteBuffer, int) - Method in ByteBufferExtensions
A relative bulk put method using another ByteBuffer but only reading up to length bytes from that buffer.

Q

R

reverse(byte[]) - Method in ByteArrayExtensions
Return a new array of the items in this array but in reverse order.

S

SemaphoreExtensions - Class in nz.net.ultraq.groovy.extensions
Extension methods for the Semaphore concurrency utility.
SemaphoreExtensions() - Constructor in SemaphoreExtensions
ShortBufferExtensions - Class in nz.net.ultraq.groovy.extensions
Instance method extensions to the ShortBuffer class.
ShortBufferExtensions() - Constructor in ShortBufferExtensions
shutdownAwaitTermination(java.util.concurrent.ExecutorService, int, java.util.concurrent.TimeUnit) - Method in ExecutorServiceExtensions
Initiate a shutdown, waiting the specified amount of time before forcing termination.
split(java.nio.ByteBuffer, int) - Method in ByteBufferExtensions
Split a buffer into several smaller buffers of the specified size.

T

U

V

W

with(java.lang.Object, java.lang.Class, Closure<T>) - Method in ObjectStaticExtensions
Similar to Object.with, but with the ability to use a static class instead of an object instance so methods within the closure are invoked on the static class.
wrap(java.lang.Math, float, float, float) - Method in MathStaticExtensions
Wrap a float value within a certain range.
wrapNative(java.nio.ByteBuffer, byte[], int, int) - Method in ByteBufferStaticExtensions
Wraps a byte[] in a ByteBuffer with native byte ordering.

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _