Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,816 for higher (0.15 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      public NavigableSet<E> headSet(E toElement, boolean inclusive) {
        return new SafeTreeSet<>(delegate.headSet(checkValid(toElement), inclusive));
      }
    
      @Override
      public @Nullable E higher(E e) {
        return delegate.higher(checkValid(e));
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public Iterator<E> iterator() {
        return delegate.iterator();
    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)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      }
    
      @CollectionSize.Require(SEVERAL)
      public void testHigherHole() {
        resetWithHole();
        assertEquals(c, navigableSet.higher(a));
        assertEquals(c, navigableSet.higher(b));
        assertEquals(null, navigableSet.higher(c));
      }
    
      /*
       * TODO(cpovirk): make "too small" and "too large" elements available for better navigation
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

    public class LoadingCacheSingleThreadBenchmark {
      @Param({"1000", "2000"})
      int maximumSize;
    
      @Param("5000")
      int distinctKeys;
    
      @Param("4")
      int segments;
    
      // 1 means uniform likelihood of keys; higher means some keys are more popular
      // tweak this to control hit rate
      @Param("2.5")
      double concentration;
    
      Random random = new Random();
    
      LoadingCache<Integer, Integer> cache;
    
      int max;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SortedLists.java

          @Override
          int resultIndex(int higherIndex) {
            return higherIndex - 1;
          }
        },
        /**
         * Return the index of the next higher element in the list, or {@code list.size()} if there is
         * no such element.
         */
        NEXT_HIGHER {
          @Override
          public int resultIndex(int higherIndex) {
            return higherIndex;
          }
        },
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/LongAdder.java

     * control. Under low update contention, the two classes have similar characteristics. But under
     * high contention, expected throughput of this class is significantly higher, at the expense of
     * higher space consumption.
     *
     * <p>This class extends {@link Number}, but does not define methods such as {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      @Override
      @CheckForNull
      public E higher(@ParametricNullness E e) {
        return delegate().higher(e);
      }
    
      /**
       * A sensible definition of {@link #higher} in terms of the {@code iterator} method of {@link
       * #tailSet(Object, boolean)}. If you override {@link #tailSet(Object, boolean)}, you may wish to
       * override {@link #higher} to forward to this implementation.
       */
      @CheckForNull
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      @Override
      @CheckForNull
      public E higher(@ParametricNullness E e) {
        return delegate().higher(e);
      }
    
      /**
       * A sensible definition of {@link #higher} in terms of the {@code iterator} method of {@link
       * #tailSet(Object, boolean)}. If you override {@link #tailSet(Object, boolean)}, you may wish to
       * override {@link #higher} to forward to this implementation.
       */
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableRangeMap.java

                KeyPresentBehavior.FIRST_AFTER,
                KeyAbsentBehavior.NEXT_HIGHER);
        int upperIndex =
            SortedLists.binarySearch(
                ranges,
                Range::lowerBound,
                range.upperBound,
                KeyPresentBehavior.ANY_PRESENT,
                KeyAbsentBehavior.NEXT_HIGHER);
        if (lowerIndex >= upperIndex) {
          return ImmutableRangeMap.of();
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      @CheckForNull
      public E lower(E element) {
        return forward.higher(element);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        return forward.ceiling(element);
      }
    
      @Override
      @CheckForNull
      public E ceiling(E element) {
        return forward.floor(element);
      }
    
      @Override
      @CheckForNull
      public E higher(E element) {
        return forward.lower(element);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

          return standardFloor(e);
        }
    
        @Override
        public @Nullable T ceiling(T e) {
          return standardCeiling(e);
        }
    
        @Override
        public @Nullable T higher(T e) {
          return standardHigher(e);
        }
    
        @Override
        public @Nullable T pollFirst() {
          return standardPollFirst();
        }
    
        @Override
        public @Nullable T pollLast() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.9K bytes
    - Viewed (0)
Back to top