public class MinMaxTypeMatcher implements MatchingRule
Type matcher with a minimum size and maximum size
| Constructor and Description |
|---|
MinMaxTypeMatcher(int min,
int max)
Type matcher with a minimum size and maximum size
|
| Modifier and Type | Method and Description |
|---|---|
int |
component1() |
int |
component2() |
MinMaxTypeMatcher |
copy(int min,
int max)
Type matcher with a minimum size and maximum size
|
boolean |
equals(java.lang.Object p) |
int |
getMax() |
int |
getMin() |
int |
hashCode() |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
toMappublic MinMaxTypeMatcher(int min,
int max)
Type matcher with a minimum size and maximum size
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public int getMin()
public int getMax()
public int component1()
public int component2()
public MinMaxTypeMatcher copy(int min, int max)
Type matcher with a minimum size and maximum size
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)