public static class LengthComplexityRule.Interval extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LengthComplexityRule.Interval.BoundType
Type of bound type.
|
Constructor and Description |
---|
Interval(String pattern)
Creates a new interval.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
includes(int i)
Returns whether this interval includes the supplied integer.
|
boolean |
includes(LengthComplexityRule.Interval i)
Returns whether this interval includes the supplied interval.
|
boolean |
intersects(LengthComplexityRule.Interval i)
Returns whether this interval intersects the supplied interval.
|
String |
toString() |
public Interval(String pattern)
pattern
- to parsepublic boolean includes(int i)
i
- to test for inclusionpublic boolean includes(LengthComplexityRule.Interval i)
i
- interval to test for inclusionpublic boolean intersects(LengthComplexityRule.Interval i)
i
- interval to test for intersectionCopyright © 2003-2019 Virginia Tech. All Rights Reserved.