Oracle® Fusion Middleware Java API Reference for Oracle Coherence
14c (14.1.1.0.0)
F23532-03
-
- 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>
Oracle® Fusion Middleware Java API Reference for Oracle Coherence
14c (14.1.1.0.0)
F23532-03
Copyright © 2000, 2023, Oracle and/or its affiliates. All rights reserved.