/** * atLeast constructor * * @param atLeast Minimum version * @param exact Exact range */ public VersionRange( Version atLeast, boolean exact ) { this.openFloor = false; this.floor = atLeast; this.ceiling = exact ? atLeast : INFINITE_VERSION; this.openCeiling = exact ? false : true; checkRange(); }
/** * atLeast constructor * * @param atLeast Minimum version * @param exact Exact range */ public VersionRange( Version atLeast, boolean exact ) { this.openFloor = false; this.floor = atLeast; this.ceiling = exact ? atLeast : INFINITE_VERSION; this.openCeiling = exact ? false : true; checkRange(); }
/** * atLeast constructor * * @param atLeast */ public VersionRange( Version atLeast, boolean exact ) { this.openFloor = false; this.floor = atLeast; this.ceiling = exact ? atLeast : INFINITE_VERSION; this.openCeiling = exact ? false : true; checkRange(); }
/** * atLeast constructor * * @param atLeast Minimum version * @param exact Exact range */ public VersionRange( Version atLeast, boolean exact ) { this.openFloor = false; this.floor = atLeast; this.ceiling = exact ? atLeast : INFINITE_VERSION; this.openCeiling = exact ? false : true; checkRange(); }
/** * Interval constructor * * @param openFloor Whether the lower bound of the range is inclusive (false) or exclusive (true). * @param floor The lower bound version of the range. * @param ceiling The upper bound version of the range. * @param openCeiling Whether the upper bound of the range is inclusive (false) or exclusive (true). */ public VersionRange( boolean openFloor, Version floor, Version ceiling, boolean openCeiling ) { this.openFloor = openFloor; this.floor = floor; this.ceiling = ceiling; this.openCeiling = openCeiling; checkRange(); }
/** * Interval constructor * * @param openFloor Whether the lower bound of the range is inclusive (false) or exclusive (true). * @param floor The lower bound version of the range. * @param ceiling The upper bound version of the range. * @param openCeiling Whether the upper bound of the range is inclusive (false) or exclusive (true). */ public VersionRange( boolean openFloor, Version floor, Version ceiling, boolean openCeiling ) { this.openFloor = openFloor; this.floor = floor; this.ceiling = ceiling; this.openCeiling = openCeiling; checkRange(); }
/** * Interval constructor * * @param openFloor Whether the lower bound of the range is inclusive (false) or exclusive (true). * @param floor The lower bound version of the range. * @param ceiling The upper bound version of the range. * @param openCeiling Whether the upper bound of the range is inclusive (false) or exclusive (true). */ public VersionRange( boolean openFloor, Version floor, Version ceiling, boolean openCeiling ) { this.openFloor = openFloor; this.floor = floor; this.ceiling = ceiling; this.openCeiling = openCeiling; checkRange(); }
/** * Interval constructor * * @param openFloor Whether the lower bound of the range is inclusive (false) or exclusive (true). * @param floor The lower bound version of the range. * @param ceiling The upper bound version of the range. * @param openCeiling Whether the upper bound of the range is inclusive (false) or exclusive (true). */ public VersionRange( boolean openFloor, Version floor, Version ceiling, boolean openCeiling ) { this.openFloor = openFloor; this.floor = floor; this.ceiling = ceiling; this.openCeiling = openCeiling; checkRange(); }
floor = VersionTable.getVersion( strFloor, clean ); ceiling = "*".equals( strCeil ) ? INFINITE_VERSION : VersionTable.getVersion( strCeil, clean ); checkRange();
floor = VersionTable.getVersion( strFloor, clean ); ceiling = "*".equals( strCeil ) ? INFINITE_VERSION : VersionTable.getVersion( strCeil, clean ); checkRange();
floor = VersionTable.getVersion( strFloor, clean ); ceiling = "*".equals( strCeil ) ? INFINITE_VERSION : VersionTable.getVersion( strCeil, clean ); checkRange();