Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 159 for consistent (0.38 sec)

  1. 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)
  2. android/guava/src/com/google/common/math/PairedStats.java

            && doubleToLongBits(sumOfProductsOfDeltas) == doubleToLongBits(other.sumOfProductsOfDeltas);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This hash code is consistent with exact equality of the calculated statistics,
       * including the floating point values. See the note on {@link #equals} for details.
       */
      @Override
      public int hashCode() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * example, {@code [] < [1] < [1, 2] < [2] < [1 << 31]}.
       *
       * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays
       * support only identity equality), but it is consistent with {@link Arrays#equals(int[], int[])}.
       */
      public static Comparator<int[]> lexicographicalComparator() {
        return LexicographicalComparator.INSTANCE;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

      }
    
      @Override
      public int hashCode() {
        return Sets.hashCodeImpl(this);
      }
    
      // This declaration is needed to make Set.iterator() and
      // ImmutableCollection.iterator() appear consistent to javac's type inference.
      @Override
      public abstract UnmodifiableIterator<E> iterator();
    
      abstract static class CachingAsList<E> extends ImmutableSet<E> {
        @LazyInit private transient ImmutableList<E> asList;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Collections2.java

       * predicate)} and use the copy.
       *
       * <p><b>Warning:</b> {@code predicate} 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. (See {@link
       * Iterables#filter(Iterable, Class)} for related functionality.)
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultimap.java

     * {@link Comparator#compare} instead of {@link Object#equals} to determine equivalence of
     * instances.
     *
     * <p><b>Warning:</b> The comparators or comparables used must be <i>consistent with equals</i> as
     * explained by the {@link Comparable} class specification. Otherwise, the resulting multiset will
     * violate the general contract of {@link SetMultimap}, which is specified in terms of {@link
     * Object#equals}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/EndpointPair.java

       */
      public abstract N target();
    
      /**
       * If this {@link EndpointPair} {@link #isOrdered()} returns the {@link #source()}; otherwise,
       * returns an arbitrary (but consistent) endpoint of the origin edge.
       */
      public final N nodeU() {
        return nodeU;
      }
    
      /**
       * Returns the node {@link #adjacentNode(Object) adjacent} to {@link #nodeU()} along the origin
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 8.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/LongMath.java

         * int.
         */
        checkNonNegative("a", a);
        checkNonNegative("b", b);
        if (a == 0) {
          // 0 % b == 0, so b divides a, but the converse doesn't hold.
          // BigInteger.gcd is consistent with this decision.
          return b;
        } else if (b == 0) {
          return a; // similar logic
        }
        /*
         * Uses the binary GCD algorithm; see http://en.wikipedia.org/wiki/Binary_GCD_algorithm. This is
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * across different segments.
       *
       * The page replacement algorithm's data structures are kept casually consistent with the map. The
       * ordering of writes to a segment is sequentially consistent. An update to the map and recording
       * of reads may not be immediately reflected on the algorithm's data structures. These structures
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/CacheTesting.java

        }
        return totalSize;
      }
    
      /**
       * Peeks into the cache's internals to check its internal consistency. Verifies that each
       * segment's count matches its #elements (after cleanup), each segment is unlocked, each entry
       * contains a non-null key and value, and the eviction and expiration queues are consistent (see
       * {@link #checkEviction}, {@link #checkExpiration}).
       */
      static void checkValidState(Cache<?, ?> cache) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
Back to top