Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for maximum (0.17 sec)

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

       *     {@link java.math.BigInteger}
       */
      @CanIgnoreReturnValue
      public C minValue() {
        throw new NoSuchElementException();
      }
    
      /**
       * Returns the maximum value of type {@code C}, if it has one. The maximum value is the unique
       * value for which {@link Comparable#compareTo(Object)} never returns a negative value for any
       * input of type {@code C}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Comparators.java

        return (comparator.compare(a, b) <= 0) ? a : b;
      }
    
      /**
       * Returns the maximum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code maximum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/DiscreteDomain.java

       *     {@link java.math.BigInteger}
       */
      @CanIgnoreReturnValue
      public C minValue() {
        throw new NoSuchElementException();
      }
    
      /**
       * Returns the maximum value of type {@code C}, if it has one. The maximum value is the unique
       * value for which {@link Comparable#compareTo(Object)} never returns a negative value for any
       * input of type {@code C}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     *
     * <p><i>Performance notes:</i>
     *
     * <ul>
     *   <li>If you only access one end of the queue, and do use a maximum size, this class will perform
     *       significantly worse than a {@code PriorityQueue} with manual eviction above the maximum
     *       size. In many cases {@link Ordering#leastOf} may work for your use case with significantly
     *       improved (and asymptotically superior) performance.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
            while (spliterator.tryAdvance(consumer)) {
              // do nothing
            }
          }
        },
        MAXIMUM_SPLIT {
          @Override
          <E extends @Nullable Object> void forEach(
              GeneralSpliterator<E> spliterator, Consumer<? super E> consumer) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

       */
    
      // Constants
    
      /**
       * The maximum capacity, used if a higher value is implicitly specified by either of the
       * constructors with arguments. MUST be a power of two {@code <= 1<<30} to ensure that entries are
       * indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = 1 << 30;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

          if (left == null) {
            return right;
          } else if (right == null) {
            return left;
          } else if (left.height >= right.height) {
            AvlNode<E> newTop = pred();
            // newTop is the maximum node in my left subtree
            newTop.left = left.removeMax(newTop);
            newTop.right = right;
            newTop.distinctElements = distinctElements - 1;
            newTop.totalCount = totalCount - oldElemCount;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Ordering.java

       *
       * <p><b>Java 8+ users:</b> Use {@code Streams.stream(iterator).max(thisComparator).get()} instead
       * (but note that it does not guarantee which tied maximum element is returned).
       *
       * @param iterator the iterator whose maximum element is to be determined
       * @throws NoSuchElementException if {@code iterator} is empty
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        }
    
        @Override
        public void refresh(K key) {
          throw new UnsupportedOperationException();
        }
      }
    
      /**
       * LinkedHashMap that enforces it's maximum size and logs events in a StatsCounter object and an
       * optional RemovalListener.
       *
       * @param <K> the base key type
       * @param <V> the base value type
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

            .addEqualityGroup(ImmutableSet.of(1), ImmutableSet.of(1), ImmutableSet.of(1, 1))
            .addEqualityGroup(ImmutableSet.of(1, 2, 1), ImmutableSet.of(2, 1, 1))
            .testEquals();
      }
    
      /**
       * The maximum allowed probability of falsely detecting a hash flooding attack if the input is
       * randomly generated.
       */
      private static final double HASH_FLOODING_FPP = 0.001;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.9K bytes
    - Viewed (0)
Back to top