de.unkrig.commons.text.pattern
Class IntegerPattern

java.lang.Object
  extended by de.unkrig.commons.text.pattern.IntegerPattern

public abstract class IntegerPattern
extends java.lang.Object

Matches integer subjects against a pattern.

See Also:
newPattern(CharSequence)

Method Summary
static Predicate<java.lang.Integer> newPattern(java.lang.CharSequence pattern)
          Parses a pattern like "-3,7-10,12-40,50-".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newPattern

public static Predicate<java.lang.Integer> newPattern(java.lang.CharSequence pattern)
                                               throws ParseException
Parses a pattern like "-3,7-10,12-40,50-".

Throws:
ParseException