- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- cn.mcres.karlatemp.mxlib.util.PermissibleCollection<E>
-
- cn.mcres.karlatemp.mxlib.util.PermissibleList<E>
-
- 类型参数:
E
- The type of this list
- 所有已实现的接口:
Iterable<E>
,Collection<E>
,List<E>
public class PermissibleList<E> extends PermissibleCollection<E> implements List<E>
The permission access check list- 从以下版本开始:
- 2.2
- 另请参阅:
PCollectionPermission
-
-
构造器概要
构造器 构造器 说明 PermissibleList(List<E> parent)
PermissibleList(List<E> parent, Set<PCollectionPermission> permissions)
-
方法概要
修饰符和类型 方法 说明 void
add(int index, E element)
boolean
addAll(int index, @NotNull Collection<? extends E> c)
E
get(int index)
int
indexOf(Object o)
int
lastIndexOf(Object o)
@NotNull ListIterator<E>
listIterator()
@NotNull ListIterator<E>
listIterator(int index)
E
remove(int index)
void
replaceAll(UnaryOperator<E> operator)
E
set(int index, E element)
void
sort(Comparator<? super E> c)
@NotNull List<E>
subList(int fromIndex, int toIndex)
-
从类继承的方法 cn.mcres.karlatemp.mxlib.util.PermissibleCollection
add, addAll, clear, contains, containsAll, equals, forEach, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toString
-
从接口继承的方法 java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
方法详细资料
-
addAll
public boolean addAll(int index, @NotNull @NotNull Collection<? extends E> c)
-
replaceAll
public void replaceAll(UnaryOperator<E> operator)
- 指定者:
replaceAll
在接口中List<E>
-
sort
public void sort(Comparator<? super E> c)
-
lastIndexOf
public int lastIndexOf(Object o)
- 指定者:
lastIndexOf
在接口中List<E>
-
listIterator
@NotNull public @NotNull ListIterator<E> listIterator()
- 指定者:
listIterator
在接口中List<E>
-
listIterator
@NotNull public @NotNull ListIterator<E> listIterator(int index)
- 指定者:
listIterator
在接口中List<E>
-
-