org.rythmengine.utils
Class F.Matcher<T,R>

java.lang.Object
  extended by org.rythmengine.utils.F.Matcher<T,R>
Enclosing class:
F

public abstract static class F.Matcher<T,R>
extends Object


Field Summary
static F.Matcher<Object,String> String
           
 
Constructor Summary
F.Matcher()
           
 
Method Summary
<NR> F.Matcher<T,NR>
and(F.Matcher<R,NR> nextMatcher)
           
static
<K> F.Matcher<Object,K>
ClassOf(Class<K> clazz)
           
static
<X> F.Matcher<X,X>
Equals(X other)
           
 F.Option<R> match(F.Option<T> o)
           
abstract  F.Option<R> match(T o)
           
static F.Matcher<String,String> Re(String pattern)
           
static F.Matcher<String,String> StartsWith(String prefix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

String

public static F.Matcher<Object,String> String
Constructor Detail

F.Matcher

public F.Matcher()
Method Detail

match

public abstract F.Option<R> match(T o)

match

public F.Option<R> match(F.Option<T> o)

and

public <NR> F.Matcher<T,NR> and(F.Matcher<R,NR> nextMatcher)

ClassOf

public static <K> F.Matcher<Object,K> ClassOf(Class<K> clazz)

StartsWith

public static F.Matcher<String,String> StartsWith(String prefix)

Re

public static F.Matcher<String,String> Re(String pattern)

Equals

public static <X> F.Matcher<X,X> Equals(X other)


Copyright © 2013. All Rights Reserved.