Package zombie.util.list
Class PZConvertArray
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
zombie.util.list.PZConvertArray
- All Implemented Interfaces:
java.lang.Iterable
,java.util.Collection
,java.util.List
,java.util.RandomAccess
public final class PZConvertArray
extends java.util.AbstractList
implements java.util.RandomAccess
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors Constructor Description PZConvertArray(java.lang.Object[] objectArray, java.util.function.Function function)
PZConvertArray(java.lang.Object[] objectArray, java.util.function.Function function, java.util.function.Function function2)
-
Method Summary
Modifier and Type Method Description boolean
contains(java.lang.Object object)
void
forEach(java.util.function.Consumer consumer)
java.lang.Object
get(int int1)
int
indexOf(java.lang.Object object)
boolean
isReadonly()
void
replaceAll(java.util.function.UnaryOperator unaryOperator)
java.lang.Object
set(int int1, java.lang.Object object)
java.lang.Object
setS(int int1, java.lang.Object object)
int
size()
void
sort(java.util.Comparator comparator)
java.lang.Object[]
toArray()
java.lang.Object[]
toArray(java.lang.Object[] objectArray)
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, isEmpty, remove, removeAll, retainAll, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
addAll, containsAll, isEmpty, remove, removeAll, retainAll, spliterator
-
Constructor Details
-
PZConvertArray
public PZConvertArray(java.lang.Object[] objectArray, java.util.function.Function function) -
PZConvertArray
public PZConvertArray(java.lang.Object[] objectArray, java.util.function.Function function, java.util.function.Function function2)
-
-
Method Details
-
isReadonly
public boolean isReadonly() -
size
public int size()- Specified by:
size
in interfacejava.util.Collection
- Specified by:
size
in interfacejava.util.List
- Specified by:
size
in classjava.util.AbstractCollection
-
toArray
public java.lang.Object[] toArray()- Specified by:
toArray
in interfacejava.util.Collection
- Specified by:
toArray
in interfacejava.util.List
- Overrides:
toArray
in classjava.util.AbstractCollection
-
toArray
public java.lang.Object[] toArray(java.lang.Object[] objectArray)- Specified by:
toArray
in interfacejava.util.Collection
- Specified by:
toArray
in interfacejava.util.List
- Overrides:
toArray
in classjava.util.AbstractCollection
-
get
public java.lang.Object get(int int1)- Specified by:
get
in interfacejava.util.List
- Specified by:
get
in classjava.util.AbstractList
-
set
public java.lang.Object set(int int1, java.lang.Object object)- Specified by:
set
in interfacejava.util.List
- Overrides:
set
in classjava.util.AbstractList
-
setS
public java.lang.Object setS(int int1, java.lang.Object object) -
indexOf
public int indexOf(java.lang.Object object)- Specified by:
indexOf
in interfacejava.util.List
- Overrides:
indexOf
in classjava.util.AbstractList
-
contains
public boolean contains(java.lang.Object object)- Specified by:
contains
in interfacejava.util.Collection
- Specified by:
contains
in interfacejava.util.List
- Overrides:
contains
in classjava.util.AbstractCollection
-
forEach
public void forEach(java.util.function.Consumer consumer)- Specified by:
forEach
in interfacejava.lang.Iterable
-
replaceAll
public void replaceAll(java.util.function.UnaryOperator unaryOperator)- Specified by:
replaceAll
in interfacejava.util.List
-
sort
public void sort(java.util.Comparator comparator)- Specified by:
sort
in interfacejava.util.List
-