org.rythmengine.utils
Class F.Matcher<T,R>
java.lang.Object
org.rythmengine.utils.F.Matcher<T,R>
- Enclosing class:
- F
public abstract static class F.Matcher<T,R>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
String
public static F.Matcher<Object,String> String
F.Matcher
public F.Matcher()
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.