org.jboss.osgi.resolver
Class XVersionRange

java.lang.Object
  extended by org.jboss.osgi.resolver.XVersionRange

public class XVersionRange
extends Object


Field Summary
static XVersionRange infiniteRange
           
 
Constructor Summary
XVersionRange(Version low, boolean isLowInclusive, Version high, boolean isHighInclusive)
           
 
Method Summary
 boolean equals(Object obj)
           
 Version getCeiling()
           
 Version getFloor()
           
 int hashCode()
           
 boolean isCeilingInclusive()
           
 boolean isFloorInclusive()
           
 boolean isInRange(Version version)
           
static XVersionRange parse(String range)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

infiniteRange

public static final XVersionRange infiniteRange
Constructor Detail

XVersionRange

public XVersionRange(Version low,
                     boolean isLowInclusive,
                     Version high,
                     boolean isHighInclusive)
Method Detail

getFloor

public Version getFloor()

isFloorInclusive

public boolean isFloorInclusive()

getCeiling

public Version getCeiling()

isCeilingInclusive

public boolean isCeilingInclusive()

isInRange

public boolean isInRange(Version version)

parse

public static XVersionRange parse(String range)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.