@Test public void testUnion() { assertEquals(new Range<Integer>(Integer.class, -1, null), UNIT.union(POSITIVE)); }
public Range<?> union(final Range<?> range) throws IllegalArgumentException { return unionNC(ensureCompatible(range)); }
Range implements Serializable { public Range<?> union(final Range<?> range) throws IllegalArgumentException { return unionNC(ensureCompatible(range)); } }
Range implements Serializable { public Range<?> union(final Range<?> range) throws IllegalArgumentException { return unionNC(ensureCompatible(range)); } Range(final Class<T> elementClass, final T value);  Range(final Class<T> elementClass, final T minValue, final T maxValue);  Range(
            final Class<T> elementClass,
            final T minValue,
            final boolean isMinIncluded,
            final T maxValue,
            final boolean isMaxIncluded); }
Range implements Serializable { public Range<?> union(final Range<?> range) throws IllegalArgumentException { return unionNC(ensureCompatible(range)); } Range(final Class<T> elementClass, final T value);  Range(final Class<T> elementClass, final T minValue, final T maxValue);  Range(
            final Class<T> elementClass,
            final T minValue,
            final boolean isMinIncluded,
            final T maxValue,
            final boolean isMaxIncluded); Class<T> getElementClass(); T getMinValue(); boolean isMinIncluded(); T getMaxValue(); boolean isMaxIncluded(); boolean isEmpty(); @SuppressWarnings("unchecked") boolean contains(final Comparable<?> value); boolean contains(final Range<?> range); boolean intersects(final Range<?> range); Range<?> intersect(final Range<?> range); Range<?>[] subtract(final Range<?> range); Range<?> union(final Range<?> range); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString(); }
Range implements Serializable { public Range<?> union(final Range<?> range) throws IllegalArgumentException { return unionNC(ensureCompatible(range)); } Range(final Class<T> elementClass, final T value);  Range(final Class<T> elementClass, final T minValue, final T maxValue);  Range(
            final Class<T> elementClass,
            final T minValue,
            final boolean isMinIncluded,
            final T maxValue,
            final boolean isMaxIncluded); Class<T> getElementClass(); T getMinValue(); boolean isMinIncluded(); T getMaxValue(); boolean isMaxIncluded(); boolean isEmpty(); @SuppressWarnings("unchecked") boolean contains(final Comparable<?> value); boolean contains(final Range<?> range); boolean intersects(final Range<?> range); Range<?> intersect(final Range<?> range); Range<?>[] subtract(final Range<?> range); Range<?> union(final Range<?> range); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }