Package org.apache.ivy.plugins.parser.m2
Class MavenVersionRangeParser.BasicRange
- java.lang.Object
-
- org.apache.ivy.plugins.parser.m2.MavenVersionRangeParser.BasicRange
-
- All Implemented Interfaces:
MavenVersionRangeParser.Range
- Enclosing class:
- MavenVersionRangeParser
private static final class MavenVersionRangeParser.BasicRange extends java.lang.Object implements MavenVersionRangeParser.Range
-
-
Field Summary
Fields Modifier and Type Field Description private MavenVersionRangeParser.DeweyDecimal
lowerBound
private boolean
lowerInclusive
private MavenVersionRangeParser.DeweyDecimal
upperBound
private boolean
upperInclusive
-
Constructor Summary
Constructors Modifier Constructor Description private
BasicRange(MavenVersionRangeParser.DeweyDecimal lowerBound, boolean lowerInclusive, MavenVersionRangeParser.DeweyDecimal upperBound, boolean upperInclusive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepts(MavenVersionRangeParser.DeweyDecimal value)
-
-
-
Field Detail
-
lowerBound
private final MavenVersionRangeParser.DeweyDecimal lowerBound
-
upperBound
private final MavenVersionRangeParser.DeweyDecimal upperBound
-
lowerInclusive
private final boolean lowerInclusive
-
upperInclusive
private final boolean upperInclusive
-
-
Constructor Detail
-
BasicRange
private BasicRange(MavenVersionRangeParser.DeweyDecimal lowerBound, boolean lowerInclusive, MavenVersionRangeParser.DeweyDecimal upperBound, boolean upperInclusive)
-
-
Method Detail
-
accepts
public boolean accepts(MavenVersionRangeParser.DeweyDecimal value)
- Specified by:
accepts
in interfaceMavenVersionRangeParser.Range
-
-