Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for Tretter (0.15 sec)

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

          assertTrue(t.equals(t));
    
          for (int j = i + 1; j < valuesInExpectedOrder.size(); j++) {
            T greater = valuesInExpectedOrder.get(j);
            assertTrue(greater + ".compareTo(" + t + ')', greater.compareTo(t) > 0);
            assertFalse(greater.equals(t));
          }
        }
      }
    
      /**
       * Returns a collection that simulates concurrent modification by having its size method return
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

       * key of {@link #belowSamplesLesser()}.
       */
      Entry<K, V> belowSamplesGreater();
    
      /**
       * Returns an entry with a key greater than the keys of the {@link #samples()} but less than the
       * key of {@link #aboveSamplesGreater()}.
       */
      Entry<K, V> aboveSamplesLesser();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/NullsLastOrdering.java

      }
    
      @Override
      public int compare(@CheckForNull T left, @CheckForNull T right) {
        if (left == right) {
          return 0;
        }
        if (left == null) {
          return LEFT_IS_GREATER;
        }
        if (right == null) {
          return RIGHT_IS_GREATER;
        }
        return ordering.compare(left, right);
      }
    
      @Override
      @SuppressWarnings("nullness") // should be safe, but not sure if we can avoid the warning
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 27 16:03:47 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Range.java

        return new Range<>(lowerBound, upperBound);
      }
    
      /**
       * Returns a range that contains all values strictly greater than {@code lower} and strictly less
       * than {@code upper}.
       *
       * @throws IllegalArgumentException if {@code lower} is greater than <i>or equal to</i> {@code
       *     upper}
       * @throws ClassCastException if {@code lower} and {@code upper} are not mutually comparable
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/SignedBytes.java

       *
       * @param value any value in the range of the {@code byte} type
       * @return the {@code byte} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Byte#MAX_VALUE} or
       *     less than {@link Byte#MIN_VALUE}
       */
      public static byte checkedCast(long value) {
        byte result = (byte) value;
        checkArgument(result == value, "Out of range: %s", value);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 7.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

       */
      public double populationCovariance() {
        checkState(count() != 0);
        return sumOfProductsOfDeltas / count();
      }
    
      /**
       * Returns the sample covariance of the values. The count must be greater than one.
       *
       * <p>This is not guaranteed to return zero when the dataset consists of the same pair of values
       * multiple times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashSet.java

          if (newCapacity != entriesSize) {
            resizeEntries(newCapacity);
          }
        }
      }
    
      /**
       * Resizes the internal entries array to the specified capacity, which may be greater or less than
       * the current capacity.
       */
      void resizeEntries(int newCapacity) {
        this.entries = Arrays.copyOf(requireEntries(), newCapacity);
        this.elements = Arrays.copyOf(requireElements(), newCapacity);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/InvalidatableSet.java

        // unless it's actually going to be used; validate() is called for all set method calls, so it
        // needs to be fast.
        // (We could instead generate the message once, when the set is created, but zero is better.)
        if (!validator.get()) {
          throw new IllegalStateException(errorMessage.get());
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
       * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or
       *     less than {@link Short#MIN_VALUE}
       */
      public static short checkedCast(long value) {
        short result = (short) value;
        checkArgument(result == value, "Out of range: %s", value);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/DoubleMath.java

       *     <ul>
       *       <li>{@code x} is infinite or NaN
       *       <li>{@code x}, after being rounded to a mathematical integer using the specified rounding
       *           mode, is either less than {@code Integer.MIN_VALUE} or greater than {@code
       *           Integer.MAX_VALUE}
       *       <li>{@code x} is not a mathematical integer and {@code mode} is {@link
       *           RoundingMode#UNNECESSARY}
       *     </ul>
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
Back to top