public static class IntegerInterval.Set
extends java.lang.Object
| Constructor and Description | 
|---|
| Set() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(int start,
   int end)Adds an interval to the set, performing the necessary normalization. | 
| boolean | covers(IntegerInterval iv)Returns true if the set completely covers the given interval. | 
| boolean | covers(int start,
      int end)Returns true if the set completely covers the given interval. | 
| boolean | equals(java.lang.Object obj) | 
| int | hashCode() | 
| java.util.Collection<IntegerInterval> | intervals() | 
| int | lowerBound()Returns a lower bound for the whole set. | 
| java.lang.String | toString() | 
| int | upperBound()Returns an upper bound for the whole set. | 
public void add(int start,
                int end)
public boolean covers(IntegerInterval iv)
public boolean covers(int start,
                      int end)
public int lowerBound()
public int upperBound()
public java.util.Collection<IntegerInterval> intervals()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 The Apache Software Foundation