Package net.thisptr.jackson.jq
Class VersionRange
- java.lang.Object
-
- net.thisptr.jackson.jq.VersionRange
-
public class VersionRange extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private booleanmaxInclusiveprivate VersionmaxVersionprivate booleanminInclusiveprivate VersionminVersionstatic java.util.regex.PatternVERSION_RANGE_PATTERN
-
Constructor Summary
Constructors Constructor Description VersionRange(Version minVersion, boolean minInclusive, Version maxVersion, boolean maxInclusive)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(Version version)booleanequals(java.lang.Object obj)inthashCode()java.lang.StringtoString()static VersionRangevalueOf(java.lang.String text)
-
-
-
Method Detail
-
contains
public boolean contains(Version version)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
valueOf
public static VersionRange valueOf(java.lang.String text)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-