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
-
Method Summary
Modifier and TypeMethodDescriptionstatic Numerus
static Numerus
any()
static Numerus
atLeast
(int min) static Numerus
empty()
protected boolean
boolean
format()
Returns a pretty-printable representation of this object.int
hashCode()
static Numerus
interval
(int min, int max) optional()
plus()
static Numerus
precisely
(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:Formattable
Returns a pretty-printable representation of this object.- Specified by:
format
in interfaceFormattable
- Returns:
- a format that represents this object in a pretty-printable way
-