Collection of at least two elements.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Creates a new collection with the elements of this collection and elem
appended.
Creates a new collection with the elements of this collection and elem
appended.
Attributes
The element at index
starting with 0 looked up in a non-safe way.
The element at index
starting with 0 looked up in a non-safe way.
Attributes
- Throws
-
IndexOutOfBoundsException
if
index
is negative or greater or equal to this collection's size.
Finds an element satisfying the predicate p
if any.
Finds an element satisfying the predicate p
if any.
Attributes
Whether all elements satisfy the predicate p
.
Whether all elements satisfy the predicate p
.
Attributes
Calls f
on all elements of this collection for side effects.
Calls f
on all elements of this collection for side effects.
Attributes
Whether an element at index
exists.
Whether an element at index
exists.
Attributes
Iterates over all elements of this collection.
Iterates over all elements of this collection.
Attributes
Builds a new collection by applying a function to all elements of this collection.
Builds a new collection by applying a function to all elements of this collection.
Attributes
Creates a new collection with elem
as its first element followed by the elements of this collection.
Creates a new collection with elem
as its first element followed by the elements of this collection.
Attributes
The number of elements in this collection.
The number of elements in this collection.
Attributes
Inherited methods
Alias for concat
Alias for concat
Attributes
- Inherited from:
- LengtheningOps (hidden)
Alias for concat
Alias for concat
Attributes
- Inherited from:
- LengtheningOps (hidden)
Alias for prependedAll
Alias for prependedAll
Attributes
- Inherited from:
- LengtheningOps (hidden)
Alias for prependedAll
Alias for prependedAll
Attributes
- Inherited from:
- LengtheningOps (hidden)
Alias for prepended
Alias for prepended
Attributes
- Inherited from:
- LengtheningOps (hidden)
Alias for appended
Alias for appended
Attributes
- Inherited from:
- LengtheningOps (hidden)
Alias for appendedAll
Alias for appendedAll
Attributes
- Inherited from:
- LengtheningOps (hidden)
Alias for appendedAll
Alias for appendedAll
Attributes
- Inherited from:
- LengtheningOps (hidden)
Attributes
- Inherited from:
- LengtheningOps (hidden)
Attributes
- Inherited from:
- LengtheningOps (hidden)
Attributes
- Inherited from:
- UnchangedSizeOps (hidden)
Creates a List
with all elements of this collection that satisfy pf
Creates a List
with all elements of this collection that satisfy pf
Attributes
- Inherited from:
- ShorteningOps (hidden)
Same as collect
but creates a collection of the same type and returns it in a Right
unless the number of remaining elements is too small in which case it escapes to a Left[List]
.
Same as collect
but creates a collection of the same type and returns it in a Right
unless the number of remaining elements is too small in which case it escapes to a Left[List]
.
Attributes
- Inherited from:
- ShorteningEitherOps (hidden)
Concatenates the elements of this collection and those of suffix
into a new collection.
Concatenates the elements of this collection and those of suffix
into a new collection.
Attributes
- Inherited from:
- LengtheningOps (hidden)
Whether elem
is included in this collection.
Whether elem
is included in this collection.
Attributes
- Inherited from:
- UnchangedSizeOps (hidden)
Whether an element satisfying the predicate p
exists.
Whether an element satisfying the predicate p
exists.
Attributes
- Inherited from:
- UnchangedSizeOps (hidden)
Creates a List
with all elements of this collection that satisfy the predicate p
Creates a List
with all elements of this collection that satisfy the predicate p
Attributes
- Inherited from:
- ShorteningOps (hidden)
Same as filter
but creates a collection of the same type and returns it in a Right
unless the number of remaining elements is too small in which case it escapes to a Left[List]
.
Same as filter
but creates a collection of the same type and returns it in a Right
unless the number of remaining elements is too small in which case it escapes to a Left[List]
.
Attributes
- Inherited from:
- ShorteningEitherOps (hidden)
Creates a List
with all elements of this collection that don't satisfy the predicate p
Creates a List
with all elements of this collection that don't satisfy the predicate p
Attributes
- Inherited from:
- ShorteningOps (hidden)
Same as filterNot
but creates a collection of the same type and returns it in a Right
unless the number of remaining elements is too small in which case it escapes to a Left[List]
.
Same as filterNot
but creates a collection of the same type and returns it in a Right
unless the number of remaining elements is too small in which case it escapes to a Left[List]
.
Attributes
- Inherited from:
- ShorteningEitherOps (hidden)
Creates a List
by applying f
to all elements of this collection and using the elements of every result.
Creates a List
by applying f
to all elements of this collection and using the elements of every result.
Attributes
- Inherited from:
- ShorteningOps (hidden)
Same as flatMap
but creates a collection of the same type and returns it in a Right
unless the number of remaining elements is too small in which case it escapes to a Left[List]
.
Same as flatMap
but creates a collection of the same type and returns it in a Right
unless the number of remaining elements is too small in which case it escapes to a Left[List]
.
Attributes
- Inherited from:
- ShorteningEitherOps (hidden)
Applies f
to a start value and all elements of this collection, going left to right.
Applies f
to a start value and all elements of this collection, going left to right.
Attributes
- Inherited from:
- UnchangedSizeOps (hidden)
Gets the element at index
if any.
Gets the element at index
if any.
Attributes
- Inherited from:
- UnchangedSizeOps (hidden)
Attributes
- Inherited from:
- LengtheningOps (hidden)
Attributes
- Inherited from:
- LengtheningOps (hidden)
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Applies f
to all elements of this collection, going left to right.
Applies f
to all elements of this collection, going left to right.
Attributes
- Inherited from:
- UnchangedSizeOps (hidden)
Attributes
- Inherited from:
- UnchangedSizeOps (hidden)
Attributes
- Inherited from:
- UnchangedSizeOps (hidden)
Attributes
- Inherited from:
- UnchangedSizeOps (hidden)
Attributes
- Inherited from:
- UnchangedSizeOps (hidden)