Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 160 for consistent (0.3 sec)

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

        }
    
        if (hasLowerBound && hasUpperBound) {
          int cmp =
              comparator.compare(
                  uncheckedCastNullableTToT(lowerEndpoint), uncheckedCastNullableTToT(upperEndpoint));
          // be consistent with Range
          checkArgument(
              cmp <= 0, "lowerEndpoint (%s) > upperEndpoint (%s)", lowerEndpoint, upperEndpoint);
          if (cmp == 0) {
            checkArgument(lowerBoundType != OPEN || upperBoundType != OPEN);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

       * copy.
       *
       * <p><b>Warning:</b> {@code keyPredicate} must be <i>consistent with equals</i>, as documented at
       * {@link Predicate#apply}. Do not provide a predicate such as {@code
       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals.
       *
       * @since 11.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Monitor.java

       *   is reserved to mean "uninitialized". If timeout is non-positive, then nanoTime need never be
       *   called.
       * - Keep behavior of fair and non-fair instances consistent.
       */
    
      /**
       * A boolean condition for which a thread may wait. A {@code Guard} is associated with a single
       * {@code Monitor}. The monitor may check the guard at arbitrary times from any thread occupying
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

      /**
       * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow
       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
       * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code
       * ImmutableClassToInstanceMap}, no copy will actually be performed.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/MoreObjects.java

         * duplication of properties (multiple name/value pairs with the same name can be added).
         */
        @Override
        public String toString() {
          // create a copy to keep it consistent in case value changes
          boolean omitNullValuesSnapshot = omitNullValues;
          boolean omitEmptyValuesSnapshot = omitEmptyValues;
          String nextSeparator = "";
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

      }
    
      /**
       * Returns the comparator that orders the elements, which is {@link Ordering#natural()} when the
       * natural ordering of the elements is used. Note that its behavior is not consistent with {@link
       * SortedSet#comparator()}, which returns {@code null} to indicate natural ordering.
       */
      @Override
      public Comparator<? super E> comparator() {
        return comparator;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingMap.java

     * equality for both keys and values. This may not be the desired behavior for map implementations
     * that use non-standard notions of key equality, such as a {@code SortedMap} whose comparator is
     * not consistent with {@code equals}.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
     * thread-safe, even when all of the methods that they depend on are thread-safe.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

     *
     * <p>Each of the {@code standard} methods uses the set's comparator (or the natural ordering of the
     * elements, if there is no comparator) to test element equality. As a result, if the comparator is
     * not consistent with equals, some of the standard implementations may violate the {@code Set}
     * contract.
     *
     * <p>The {@code standard} methods and the collection views they return are not guaranteed to be
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/GeneralRange.java

        }
    
        if (hasLowerBound && hasUpperBound) {
          int cmp =
              comparator.compare(
                  uncheckedCastNullableTToT(lowerEndpoint), uncheckedCastNullableTToT(upperEndpoint));
          // be consistent with Range
          checkArgument(
              cmp <= 0, "lowerEndpoint (%s) > upperEndpoint (%s)", lowerEndpoint, upperEndpoint);
          if (cmp == 0) {
            checkArgument(lowerBoundType != OPEN || upperBoundType != OPEN);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        if (collection == null) {
          collection = createCollection(key);
        }
        return wrapCollection(key, collection);
      }
    
      /**
       * Generates a decorated collection that remains consistent with the values in the multimap for
       * the provided key. Changes to the multimap may alter the returned collection, and vice versa.
       */
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
Back to top