Modifier and Type | Method and Description |
---|---|
List<E> |
List.add(E e)
Add an element to this
List and return a fresh list containing it. |
List<E> |
List.merge(List<E> e1,
List<E> e2)
Merge two lists into one.
|
List<E> |
List.piece(int from,
int to)
Piece out the list and return the piece between two indices.
|
List<E> |
List.remove(E e)
Creates a fresh
List without the first occurrence of e. |
List<E> |
List.update(int index,
E e)
Update element at an index to this
List and return a fresh list containing it. |
Modifier and Type | Method and Description |
---|---|
Tuple2<List<E>,List<E>> |
List.splitAt(int x)
Splits the list at an index
x into two pieces. |
Tuple2<List<E>,List<E>> |
List.splitAt(int x)
Splits the list at an index
x into two pieces. |
Modifier and Type | Method and Description |
---|---|
List<E> |
List.merge(List<E> e1,
List<E> e2)
Merge two lists into one.
|
List<E> |
List.merge(List<E> e1,
List<E> e2)
Merge two lists into one.
|
Copyright © 2017. All rights reserved.