@Override
  public Collection<Range<T>> rangesContaining(final Range<T> queryRange) {
    final ImmutableSet.Builder<Range<T>> ret = ImmutableSet.builder();
    for (final Range<T> range : ranges) {
      if (range.encloses(queryRange)) {
        ret.add(range);
      }
    }
    return ret.build();
  }
@ Override public Collection < Range < T > > rangesContaining ( final Range < T > queryRange ) { final ImmutableSet . Builder < Range < T > > ret = ImmutableSet . builder ( ) ; for ( final Range < T > range : ranges ) { if ( range . encloses ( queryRange ) ) { ret . add ( range ) ; } } return ret . build ( ) ; }
Finds every range in this object for which {@code range}.{@link Range#encloses(Range)} {@code
queryRange}, without preserving multiplicity.