Package | Description |
---|---|
javaslang | |
javaslang.collection |
Purely functional collections based on Traversable.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CheckedFunction0<R>
Represents a function with no arguments.
|
interface |
CheckedFunction1<T1,R>
Represents a function with one argument.
|
interface |
CheckedFunction2<T1,T2,R>
Represents a function with two arguments.
|
interface |
CheckedFunction3<T1,T2,T3,R>
Represents a function with three arguments.
|
interface |
CheckedFunction4<T1,T2,T3,T4,R>
Represents a function with 4 arguments.
|
interface |
CheckedFunction5<T1,T2,T3,T4,T5,R>
Represents a function with 5 arguments.
|
interface |
CheckedFunction6<T1,T2,T3,T4,T5,T6,R>
Represents a function with 6 arguments.
|
interface |
CheckedFunction7<T1,T2,T3,T4,T5,T6,T7,R>
Represents a function with 7 arguments.
|
interface |
CheckedFunction8<T1,T2,T3,T4,T5,T6,T7,T8,R>
Represents a function with 8 arguments.
|
interface |
Function0<R>
Represents a function with no arguments.
|
interface |
Function1<T1,R>
Represents a function with one argument.
|
interface |
Function2<T1,T2,R>
Represents a function with two arguments.
|
interface |
Function3<T1,T2,T3,R>
Represents a function with three arguments.
|
interface |
Function4<T1,T2,T3,T4,R>
Represents a function with 4 arguments.
|
interface |
Function5<T1,T2,T3,T4,T5,R>
Represents a function with 5 arguments.
|
interface |
Function6<T1,T2,T3,T4,T5,T6,R>
Represents a function with 6 arguments.
|
interface |
Function7<T1,T2,T3,T4,T5,T6,T7,R>
Represents a function with 7 arguments.
|
interface |
Function8<T1,T2,T3,T4,T5,T6,T7,T8,R>
Represents a function with 8 arguments.
|
Modifier and Type | Method and Description |
---|---|
λ<?> |
λ.curried()
Returns a curried version of this function.
|
λ<R> |
λ.memoized()
Returns a memoizing version of this function, which computes the return value for given arguments only one time.
|
λ<R> |
λ.reversed()
Returns a reversed version of this function.
|
λ<R> |
λ.tupled()
Returns a tupled version of this function.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IndexedSeq<T>
Interface for immutable, indexed sequences.
|
interface |
LinearSeq<T>
Interface for immutable, linear sequences.
|
interface |
List<T>
An immutable
List is an eager sequence of elements. |
interface |
Map<K,V>
An immutable
Map interface. |
interface |
Seq<T>
Interface for immutable sequential data structures.
|
interface |
Set<T>
An immutable
Set interface. |
interface |
SortedMap<K,V>
An immutable
SortedMap interface. |
interface |
SortedSet<T>
An immutable
SortedSet interface. |
interface |
Stream<T>
An immutable
Stream is lazy sequence of elements which may be infinitely long. |
Modifier and Type | Class and Description |
---|---|
class |
Array<T>
Array is a Traversable wrapper for
Object[] containing elements of type T . |
class |
CharSeq
The CharSeq (read: character sequence) collection essentially is a rich String wrapper having all operations
we know from the functional Javaslang collections.
|
class |
HashMap<K,V>
An immutable
HashMap implementation based on a
Hash array mapped trie (HAMT). |
class |
HashSet<T>
An immutable
HashSet implementation. |
class |
LinkedHashMap<K,V>
An immutable
LinkedHashMap implementation. |
class |
LinkedHashSet<T>
An immutable
HashSet implementation. |
static class |
List.Cons<T>
Non-empty
List , consisting of a head and a tail . |
static class |
List.Nil<T>
Representation of the singleton empty
List . |
class |
Queue<T>
An immutable
Queue stores elements allowing a first-in-first-out (FIFO) retrieval. |
static class |
Stream.Cons<T>
Non-empty
Stream , consisting of a head , and tail . |
static class |
Stream.Empty<T>
The empty Stream.
|
class |
TreeMap<K,V>
SortedMap implementation, backed by a Red/Black Tree.
|
class |
TreeSet<T>
SortedSet implementation, backed by a Red/Black Tree.
|
class |
Vector<T>
Vector is the default Seq implementation.
|
Copyright © 2016. All Rights Reserved.