Package com.landawn.abacus.util
Class NoCachingNoUpdating.DisposableObjArray
java.lang.Object
com.landawn.abacus.util.NoCachingNoUpdating.DisposableArray<Object>
com.landawn.abacus.util.NoCachingNoUpdating.DisposableObjArray
- All Implemented Interfaces:
NoCachingNoUpdating
,Cloneable
,Iterable<Object>
- Enclosing interface:
NoCachingNoUpdating
@Beta
@SequentialOnly
@Stateful
public static class NoCachingNoUpdating.DisposableObjArray
extends NoCachingNoUpdating.DisposableArray<Object>
One-off Object. No caching/saving in memory, No updating. To cache/save/update the Object, call
Depends on context, it should be okay to cache/save the elements from the array, but never save or cache the array itself.
clone()/copy()
.
Depends on context, it should be okay to cache/save the elements from the array, but never save or cache the array itself.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.landawn.abacus.util.NoCachingNoUpdating
NoCachingNoUpdating.DisposableArray<T>, NoCachingNoUpdating.DisposableBooleanArray, NoCachingNoUpdating.DisposableByteArray, NoCachingNoUpdating.DisposableCharArray, NoCachingNoUpdating.DisposableDeque<T>, NoCachingNoUpdating.DisposableDoubleArray, NoCachingNoUpdating.DisposableEntry<K,
V>, NoCachingNoUpdating.DisposableFloatArray, NoCachingNoUpdating.DisposableIntArray, NoCachingNoUpdating.DisposableLongArray, NoCachingNoUpdating.DisposableObjArray, NoCachingNoUpdating.DisposablePair<L, R>, NoCachingNoUpdating.DisposableShortArray, NoCachingNoUpdating.DisposableTriple<L, M, R>, NoCachingNoUpdating.Timed<T> -
Method Summary
Modifier and TypeMethodDescriptioncreate
(int len) static <T> NoCachingNoUpdating.DisposableArray
<T> Deprecated.throw UnsupportedOperationMethods inherited from class com.landawn.abacus.util.NoCachingNoUpdating.DisposableArray
accept, apply, clone, forEach, get, iterator, join, join, length, toArray, toCollection, toList, toSet, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
create
- Parameters:
len
-- Returns:
-
create
@Deprecated public static <T> NoCachingNoUpdating.DisposableArray<T> create(Class<T> componentType, int len) throws UnsupportedOperationException Deprecated.throw UnsupportedOperation- Type Parameters:
T
-- Parameters:
componentType
-len
-- Returns:
- Throws:
UnsupportedOperationException
-
wrap
- Parameters:
a
-- Returns:
-