/guava/android/guava/src/com/google/common/collect/GeneralRange.java
BoundType upperBoundType = range.hasUpperBound( ) ? range.lowerBoundType( )  : OPEN;
BoundType upperBoundType = range.hasUpperBound ( ) ? range.upperBoundType ( ) : OPEN;
@ElementTypesAreNonnullByDefault final class GeneralRange<T extends @Nullable Object> implements Serializable { static <T extends Comparable> GeneralRange<T> from(Range<T> range) { T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null; BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN; T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null; <extra_id_0> return new GeneralRange<>( Ordering.natural(), range.hasLowerBound(), lowerEndpoint, lowerBoundType, range.hasUpperBound(),