Interface TempArray<T>

Type Parameters:
T - a primitive array type
All Known Implementing Classes:
TempArrayImpl

public interface TempArray<T>
Provides a temporary array of type T.

get(int) returns an array of type T with at least the specified length. If get is called multiple times, it will either return a previously returned array if it has at least requested length, or allocate a new array, if the requested length exceeds the previously allocated length.

  • Method Details