On this page
[Java] Class ReversedList<E>
- org.apache.groovy.util.ReversedList
- All Implemented Interfaces and Traits:
- RandomAccess, Serializable
public class ReversedList<E>
extends AbstractList
implements RandomAccess, Serializable
Represents view of reversed list
- Since:
- 4.0.0
Constructor Summary
Constructor and description |
---|
ReversedList(List<E> list) |
Methods Summary
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class AbstractList |
add, add, remove, get, equals, hashCode, indexOf, clear, lastIndexOf, subList, iterator, addAll, set, listIterator, listIterator, remove, toString, isEmpty, size, toArray, toArray, contains, addAll, removeAll, retainAll, containsAll, wait, wait, wait, getClass, notify, notifyAll, toArray, stream, spliterator, removeIf, parallelStream, forEach, replaceAll, sort |
Constructor Detail
public ReversedList(List<E> list)
Method Detail
@Override public E get(int index)
@Override public int size()
© 2003-2022 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/4.0.0/html/gapi/org/apache/groovy/util/ReversedList.html