Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for subset (0.15 sec)

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

       * boolean, Object, boolean)} method. If you override {@link #subSet(Object, boolean, Object,
       * boolean)}, you may wish to override {@link #subSet(Object, Object)} to forward to this
       * implementation.
       */
      @Override
      protected SortedSet<E> standardSubSet(
          @ParametricNullness E fromElement, @ParametricNullness E toElement) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingSortedSet.java

      }
    
      @Override
      @ParametricNullness
      public E last() {
        return delegate().last();
      }
    
      @Override
      public SortedSet<E> subSet(@ParametricNullness E fromElement, @ParametricNullness E toElement) {
        return delegate().subSet(fromElement, toElement);
      }
    
      @Override
      public SortedSet<E> tailSet(@ParametricNullness E fromElement) {
        return delegate().tailSet(fromElement);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

       * boolean, Object, boolean)} method. If you override {@link #subSet(Object, boolean, Object,
       * boolean)}, you may wish to override {@link #subSet(Object, Object)} to forward to this
       * implementation.
       */
      @Override
      protected SortedSet<E> standardSubSet(
          @ParametricNullness E fromElement, @ParametricNullness E toElement) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java

        powerSet = Sets.powerSet(set);
      }
    
      @Benchmark
      int iteration(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (Set<Integer> subset : powerSet) {
            for (Integer value : subset) {
              sum += value;
            }
          }
        }
        return sum;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      @Override
      public NavigableSet<E> subSet(
          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
        return new SafeTreeSet<>(
            delegate.subSet(
                checkValid(fromElement), fromInclusive, checkValid(toElement), toInclusive));
      }
    
      @Override
      public SortedSet<E> subSet(E fromElement, E toElement) {
        return subSet(fromElement, true, toElement, false);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingSortedSet.java

      }
    
      @Override
      @ParametricNullness
      public E last() {
        return delegate().last();
      }
    
      @Override
      public SortedSet<E> subSet(@ParametricNullness E fromElement, @ParametricNullness E toElement) {
        return delegate().subSet(fromElement, toElement);
      }
    
      @Override
      public SortedSet<E> tailSet(@ParametricNullness E fromElement) {
        return delegate().tailSet(fromElement);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SynchronizedNavigableSetTest.java

        SortedSet<String> subSet = set.subSet("a", "b");
        assertTrue(subSet instanceof SynchronizedSortedSet);
        assertSame(set, ((SynchronizedSortedSet<String>) subSet).mutex);
      }
    
      public void testSubSet_E_B_E_B() {
        NavigableSet<String> set = create();
        NavigableSet<String> subSet = set.subSet("a", false, "b", true);
        assertTrue(subSet instanceof SynchronizedNavigableSet);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SynchronizedNavigableSetTest.java

        SortedSet<String> subSet = map.subSet("a", "b");
        assertTrue(subSet instanceof SynchronizedSortedSet);
        assertSame(MUTEX, ((SynchronizedSortedSet<String>) subSet).mutex);
      }
    
      public void testSubSet_E_B_E_B() {
        NavigableSet<String> map = create();
        NavigableSet<String> subSet = map.subSet("a", false, "b", true);
        assertTrue(subSet instanceof SynchronizedNavigableSet);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

                        }
                      },
                      MoreExecutors.directExecutor());
                })
            .then(onFulfilled, onRejected);
      }
    }
    
    /**
     * Subset of the elemental2 IThenable interface without the single-parameter overload, which allows
     * us to implement it using a default implementation in J2cl ListenableFuture.
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 24 18:27:19 GMT 2023
    - 3.9K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/SortedMultisets.java

        }
    
        @Override
        public Comparator<? super E> comparator() {
          return multiset().comparator();
        }
    
        @Override
        public SortedSet<E> subSet(@ParametricNullness E fromElement, @ParametricNullness E toElement) {
          return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 5.6K bytes
    - Viewed (0)
Back to top