Package eu.bandm.tools.tpath.type
Class Numerus
java.lang.Object
eu.bandm.tools.tpath.type.Numerus
- All Implemented Interfaces:
Formattable,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Numerusstatic Numerusany()static NumerusatLeast(int min) static Numerusempty()protected booleanbooleanformat()Returns a pretty-printable representation of this object.inthashCode()static Numerusinterval(int min, int max) optional()plus()static Numerusprecisely(int n) star()toString()static Numerus
-
Constructor Details
-
Numerus
protected Numerus(int min, int max) -
Numerus
protected Numerus(int min) -
Numerus
protected Numerus()
-
-
Method Details
-
toString
-
equals
-
equals
-
hashCode
public int hashCode() -
empty
-
precisely
-
interval
-
atLeast
-
any
-
add
-
union
-
optional
-
star
-
plus
-
format
Description copied from interface:FormattableReturns a pretty-printable representation of this object.- Specified by:
formatin interfaceFormattable- Returns:
- a format that represents this object in a pretty-printable way
-