/*
* Copyright (c) 2021 Goldman Sachs.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*/
This package contains interfaces for list API which enhance the performance and functionality of List
.
This package contains 5 interfaces:
-
ListIterable
- an Iterable
which contains items that are ordered and may be accessed directly by index.
-
MutableList
- an implementation of a JCF List which provides internal iterator methods matching the Smalltalk Collection protocol.
-
ImmutableList
- the non-modifiable equivalent interface to MutableList
.
-
FixedSizeList
- a list that may be mutated, but cannot grow or shrink in size.
-
ParallelListIterable
- a RichIterable
which will defer evaluation for certain methods like select, reject, collect, etc. When evaluation occurs it is in parallel.
/**
* This package contains interfaces for list API which enhance the performance and functionality of {@link java.util.List}.
* <p>
* This package contains 5 interfaces:
* <ul>
* <li>
* {@link org.eclipse.collections.api.list.ListIterable} - an {@link java.lang.Iterable} which contains items that are ordered and may be accessed directly by index.
* </li>
* <li>
* {@link org.eclipse.collections.api.list.MutableList} - an implementation of a JCF List which provides internal iterator methods matching the Smalltalk Collection protocol.
* </li>
* <li>
* {@link org.eclipse.collections.api.list.ImmutableList} - the non-modifiable equivalent interface to {@link org.eclipse.collections.api.list.MutableList}.
* </li>
* <li>
* {@link org.eclipse.collections.api.list.FixedSizeList} - a list that may be mutated, but cannot grow or shrink in size.
* </li>
* <li>
* {@link org.eclipse.collections.api.list.ParallelListIterable} - a {@link org.eclipse.collections.api.RichIterable} which will defer evaluation for certain methods like select, reject, collect, etc. When evaluation occurs it is in parallel.
* </li>
* </ul>
*/
package org.eclipse.collections.api.list;