Package | Description |
---|---|
javaslang | |
javaslang.collection |
Purely functional collections based on Traversable.
|
Modifier and Type | Method and Description |
---|---|
default <V> Function1<T1,V> |
Function1.andThen(Function<? super R,? extends V> after)
Returns a composed function that first applies this Function1 to the given argument and then applies
Function
after to the result. |
default Function1<T2,R> |
Function2.apply(T1 t1)
Applies this function partially to one argument.
|
default Function1<T3,R> |
Function3.apply(T1 t1,
T2 t2)
Applies this function partially to two arguments.
|
default Function1<T4,R> |
Function4.apply(T1 t1,
T2 t2,
T3 t3)
Applies this function partially to three arguments.
|
default Function1<T5,R> |
Function5.apply(T1 t1,
T2 t2,
T3 t3,
T4 t4)
Applies this function partially to 4 arguments.
|
default Function1<T6,R> |
Function6.apply(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5)
Applies this function partially to 5 arguments.
|
default Function1<T7,R> |
Function7.apply(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6)
Applies this function partially to 6 arguments.
|
default Function1<T8,R> |
Function8.apply(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7)
Applies this function partially to 7 arguments.
|
default <V> Function1<V,R> |
Function1.compose(Function<? super V,? extends T1> before)
Returns a composed function that first applies the Function
before the
given argument and then applies this Function1 to the result. |
default Function1<T1,Function1<T2,Function1<T3,Function1<T4,Function1<T5,Function1<T6,Function1<T7,Function1<T8,R>>>>>>>> |
Function8.curried() |
default Function1<T1,Function1<T2,Function1<T3,Function1<T4,Function1<T5,Function1<T6,Function1<T7,R>>>>>>> |
Function7.curried() |
default Function1<T1,Function1<T2,Function1<T3,Function1<T4,Function1<T5,Function1<T6,R>>>>>> |
Function6.curried() |
default Function1<T1,Function1<T2,Function1<T3,Function1<T4,Function1<T5,R>>>>> |
Function5.curried() |
default Function1<T1,Function1<T2,Function1<T3,Function1<T4,R>>>> |
Function4.curried() |
default Function1<T1,Function1<T2,Function1<T3,R>>> |
Function3.curried() |
default Function1<T1,Function1<T2,R>> |
Function2.curried() |
default Function1<T1,R> |
Function1.curried() |
static <T> Function1<T,T> |
Function1.identity()
Returns the identity Function1, i.e.
|
static <T1,R> Function1<T1,Option<R>> |
CheckedFunction1.lift(CheckedFunction1<T1,R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Option result. |
static <T1,R> Function1<T1,Option<R>> |
Function1.lift(Function1<T1,R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Option result. |
default Function1<T1,R> |
Function1.memoized() |
static <T1,R> Function1<T1,R> |
Function1.of(Function1<T1,R> methodReference)
|
default Function1<T1,R> |
Function1.reversed() |
default Function1<Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>,R> |
Function8.tupled() |
default Function1<Tuple7<T1,T2,T3,T4,T5,T6,T7>,R> |
Function7.tupled() |
default Function1<Tuple6<T1,T2,T3,T4,T5,T6>,R> |
Function6.tupled() |
default Function1<Tuple5<T1,T2,T3,T4,T5>,R> |
Function5.tupled() |
default Function1<Tuple4<T1,T2,T3,T4>,R> |
Function4.tupled() |
default Function1<Tuple3<T1,T2,T3>,R> |
Function3.tupled() |
default Function1<Tuple2<T1,T2>,R> |
Function2.tupled() |
default Function1<Tuple1<T1>,R> |
Function1.tupled() |
default Function1<Tuple0,R> |
Function0.tupled() |
Modifier and Type | Method and Description |
---|---|
static <T1,R> Function1<T1,Option<R>> |
Function1.lift(Function1<T1,R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Option result. |
static <T1,R> Function1<T1,R> |
Function1.of(Function1<T1,R> methodReference)
|
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.