Java API Reference for Oracle® Coherence Community Edition
(14.1.1.0.5)
-
- All Implemented Interfaces:
- Iterable<T>, Collection<T>, List<T>
public class SubList<T>
extends Object
implements List<T>
Implements a list which is based on another list, represents a sub-list of the underlying list.
- Author:
- as 2010.12.04
-
-
Constructor Summary
Constructors
Constructor and Description |
SubList(List<T> list,
int nStart,
int nCount)
Construct a SubList from provided list.
|
-
-
Constructor Detail
-
SubList
public SubList(List<T> list,
int nStart,
int nCount)
Construct a SubList from provided list.
- Parameters:
list
- underlying list
nStart
- the index of first list element to include in sub-list
nCount
- the max size of created sub-list
-
Method Detail
-
get
public T get(int index)
- Specified by:
get
in interface List<T>
Java API Reference for Oracle® Coherence Community Edition
(14.1.1.0.5)
Copyright © 2000, 2020, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.