Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ImmutableRangeSet (0.14 sec)

  1. guava/src/com/google/common/collect/ImmutableRangeSet.java

      public static <C extends Comparable> ImmutableRangeSet<C> copyOf(RangeSet<C> rangeSet) {
        checkNotNull(rangeSet);
        if (rangeSet.isEmpty()) {
          return of();
        } else if (rangeSet.encloses(Range.<C>all())) {
          return all();
        }
    
        if (rangeSet instanceof ImmutableRangeSet) {
          ImmutableRangeSet<C> immutableRangeSet = (ImmutableRangeSet<C>) rangeSet;
          if (!immutableRangeSet.isPartialView()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return TreeRangeSet.create(contents);
          }
        },
        ImmutableRangeSetImpl {
          @Override
          <K extends Comparable<K>> RangeSet<K> create(RangeSet<K> contents) {
            return ImmutableRangeSet.copyOf(contents);
          }
        };
    
        abstract <K extends Comparable<K>> RangeSet<K> create(RangeSet<K> contents);
      }
    
      public enum SetMultimapImpl {
        HashMultimapImpl {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return TreeRangeSet.create(contents);
          }
        },
        ImmutableRangeSetImpl {
          @Override
          <K extends Comparable<K>> RangeSet<K> create(RangeSet<K> contents) {
            return ImmutableRangeSet.copyOf(contents);
          }
        };
    
        abstract <K extends Comparable<K>> RangeSet<K> create(RangeSet<K> contents);
      }
    
      public enum SetMultimapImpl {
        HashMultimapImpl {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top