Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for LI (0.15 sec)

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

      }
    
      /**
       * Verifies that a collection is immutable.
       *
       * <p>A collection is considered immutable if:
       *
       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * Benchmarks (as of December 2011) show that:
     *
     * <ul>
     *   <li>for an unnested {@code lock()} and {@code unlock()}, a cycle detecting lock takes 38ns as
     *       opposed to the 24ns taken by a plain lock.
     *   <li>for nested locking, the cost increases with the depth of the nesting:
     *       <ul>
     *         <li>2 levels: average of 64ns per lock()/unlock()
     *         <li>3 levels: average of 77ns per lock()/unlock()
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
     *   <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations
     *       have, of returning a new, independent iterator
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

       * consistentHash(h, n)} equals:
       *
       * <ul>
       *   <li>{@code n - 1}, with approximate probability {@code 1/n}
       *   <li>{@code consistentHash(h, n - 1)}, otherwise (probability {@code 1 - 1/n})
       * </ul>
       *
       * <p>This method is suitable for the common use case of dividing work among buckets that meet the
       * following conditions:
       *
       * <ul>
       *   <li>You want to assign the same fraction of inputs to each bucket.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Predicate.java

       * class documentation above). This method is <i>generally expected</i>, but not absolutely
       * required, to have the following properties:
       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       defined this way, but enough to live with.
     *   <li>If you override {@link #setUp} or {@link #tearDown}, make sure to invoke {@code
     *       super.setUp} and {@code super.tearDown} within them. These methods are used to clear and
     *       check for thread assertion failures.
     *   <li>All delays and timeouts must use one of the constants {@code SHORT_DELAY_MS}, {@code
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     * <p>This tests:
     *
     * <ul>
     *   <li>comparing each object against itself returns true
     *   <li>comparing each object against null returns false
     *   <li>comparing each object against an instance of an incompatible class returns false
     *   <li>comparing each pair of objects within the same equality group returns true
     *   <li>comparing each pair of objects from different equality groups returns false
     *   <li>the hash codes of any two equal objects are equal
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * actions taken by the java garbage collection system:
     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
     *   <li>clearing weak references to unreachable referents
     *   <li>enqueuing weak references to unreachable referents in their reference queue
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Converter.java

     *   <li>Convert multiple instances "forward" using {@code converter.convertAll(as)}.
     *   <li>Convert in the "backward" direction using {@code converter.reverse().convert(b)} or {@code
     *       converter.reverse().convertAll(bs)}.
     *   <li>Use {@code converter} or {@code converter.reverse()} anywhere a {@link
     *       java.util.function.Function} is accepted (for example {@link java.util.stream.Stream#map
     *       Stream.map}).
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ValueGraph.java

     * href="https://github.com/google/guava/wiki/GraphsExplained#definitions">definitions of
     * terms</a>):
     *
     * <ul>
     *   <li>directed graphs
     *   <li>undirected graphs
     *   <li>graphs that do/don't allow self-loops
     *   <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered
     *   <li>graphs whose edges have associated values
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top