org.rythmengine.utils
Class F

java.lang.Object
  extended by org.rythmengine.utils.F

public class F
extends Object

Utility classes


Nested Class Summary
static interface F.Action<T>
           
static interface F.Action0
           
static class F.E2<A,B>
           
static class F.E3<A,B,C>
           
static class F.E4<A,B,C,D>
           
static class F.E5<A,B,C,D,E>
           
static class F.Either<A,B>
           
static class F.Matcher<T,R>
           
static class F.None<T>
           
static class F.Option<T>
           
static class F.Some<T>
           
static class F.T2<A,B>
           
static class F.T3<A,B,C>
           
static class F.T4<A,B,C,D>
           
static class F.T5<A,B,C,D,E>
           
static class F.Tuple<A,B>
           
 
Field Summary
static F.None<Object> None
           
 
Constructor Summary
F()
           
 
Method Summary
static Range<Character> R(char minInclusive, char maxExclusive)
           
static Range<Integer> R(int minInclusive, int maxExclusive)
           
static
<A> F.Some<A>
Some(A a)
           
static
<A,B> F.T2<A,B>
T2(A a, B b)
           
static
<A,B,C> F.T3<A,B,C>
T3(A a, B b, C c)
           
static
<A,B,C,D> F.T4<A,B,C,D>
T4(A a, B b, C c, D d)
           
static
<A,B,C,D,E>
F.T5<A,B,C,D,E>
T5(A a, B b, C c, D d, E e)
           
static
<A,B> F.Tuple<A,B>
Tuple(A a, B b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

None

public static F.None<Object> None
Constructor Detail

F

public F()
Method Detail

Some

public static <A> F.Some<A> Some(A a)

Tuple

public static <A,B> F.Tuple<A,B> Tuple(A a,
                                       B b)

T2

public static <A,B> F.T2<A,B> T2(A a,
                                 B b)

T3

public static <A,B,C> F.T3<A,B,C> T3(A a,
                                     B b,
                                     C c)

T4

public static <A,B,C,D> F.T4<A,B,C,D> T4(A a,
                                         B b,
                                         C c,
                                         D d)

T5

public static <A,B,C,D,E> F.T5<A,B,C,D,E> T5(A a,
                                             B b,
                                             C c,
                                             D d,
                                             E e)

R

public static Range<Integer> R(int minInclusive,
                               int maxExclusive)

R

public static Range<Character> R(char minInclusive,
                                 char maxExclusive)


Copyright © 2013. All Rights Reserved.