groovy / 4.0 / org / apache / groovy / util / reversedlist.html

[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

Constructors
Constructor and description
ReversedList(List<E> list)

Methods Summary

Methods
Type Params Return Type Name and description
public E get(int index)
public int size()

Inherited Methods Summary

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