public class Quantifier extends Object
| Constructor and Description |
|---|
Quantifier(int min,
Integer max)
Complete constructor that takes values for all attributes
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getMax()
Returns the maximum quantity.
|
int |
getMin()
Returns the minimum quantity.
|
int |
hashCode() |
String |
toString()
Creates a String of regular expression format, e.g. '{2,}', '{1,3}', '+', '?'
|
public Quantifier(int min,
Integer max)
min - the minimum quantitymax - the maximum quantitypublic int getMin()
public Integer getMax()
public String toString()
toString in class ObjectObject.equals(Object)public boolean equals(Object o)
equals in class ObjectObject.equals(Object)public int hashCode()
hashCode in class ObjectObject.equals(Object)Copyright © 2006–2016 Volker Bergmann. All rights reserved.