@Test public void testGetLowerBound() { VersionRange range = UnionVersionRange.from( Collections.<VersionRange> emptySet() ); assertBound( null, false, range.getLowerBound() ); range = UnionVersionRange.from( newRange( "[1,2]" ), newRange( "[3,4]" ) ); assertBound( "1", true, range.getLowerBound() ); range = UnionVersionRange.from( newRange( "[1,2]" ), newRange( "(,4]" ) ); assertBound( null, false, range.getLowerBound() ); range = UnionVersionRange.from( newRange( "[1,2]" ), newRange( "(1,4]" ) ); assertBound( "1", true, range.getLowerBound() ); range = UnionVersionRange.from( newRange( "[1,2]" ), newRange( "(0,4]" ) ); assertBound( "0", false, range.getLowerBound() ); }
public Bound getLowerBound() { return lowerBound; }
UnionVersionRange implements VersionRange { public Bound getLowerBound() { return lowerBound; } }
UnionVersionRange implements VersionRange { public Bound getLowerBound() { return lowerBound; } private  UnionVersionRange( Collection<? extends VersionRange> ranges ); }
UnionVersionRange implements VersionRange { public Bound getLowerBound() { return lowerBound; } private  UnionVersionRange( Collection<? extends VersionRange> ranges ); static VersionRange from( VersionRange... ranges ); static VersionRange from( Collection<? extends VersionRange> ranges ); boolean containsVersion( Version version ); Bound getLowerBound(); Bound getUpperBound(); @Override boolean equals( Object obj ); @Override int hashCode(); @Override String toString(); }
UnionVersionRange implements VersionRange { public Bound getLowerBound() { return lowerBound; } private  UnionVersionRange( Collection<? extends VersionRange> ranges ); static VersionRange from( VersionRange... ranges ); static VersionRange from( Collection<? extends VersionRange> ranges ); boolean containsVersion( Version version ); Bound getLowerBound(); Bound getUpperBound(); @Override boolean equals( Object obj ); @Override int hashCode(); @Override String toString();  }