Modul speiger.src.collections
Schnittstelle IObjectArray<T>
- Typparameter:
T- the keyType of elements maintained by this Collection
- Alle Superschnittstellen:
IArray,ITrimmable,RandomAccess
- Alle bekannten Implementierungsklassen:
ObjectArrayList
Type-Specific Helper class to get the underlying array of array implementations.
- Siehe auch:
-
Methodenübersicht
Von Schnittstelle geerbte Methoden speiger.src.collections.utils.IArray
ensureCapacityVon Schnittstelle geerbte Methoden speiger.src.collections.utils.ITrimmable
clearAndTrim, clearAndTrim, trim, trim
-
Methodendetails
-
elements
T[] elements()Provides the Underlying Array in the Implementation- Gibt zurück:
- underlying Array
- Löst aus:
ClassCastException- if the return type does not match the underlying array. (Only for Object Implementations)
-
isCastable
boolean isCastable()Method to indicate if the function is save to use- Gibt zurück:
- true if the object is castable to the type that is requested
-
elements
Provides the Underlying Array in the Implementation. This function exists purely because of Synchronization wrappers to help run Synchronized Code- Parameter:
action- the action that handles the array- Löst aus:
NullPointerException- if action is null
-