Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Concepts (0.19 sec)

  1. android/guava/src/com/google/common/collect/Range.java

     *   <li>Your value type's comparison method should be {@linkplain Comparable consistent with
     *       equals} if at all possible. Otherwise, be aware that concepts used throughout this
     *       documentation such as "equal", "same", "unique" and so on actually refer to whether {@link
     *       Comparable#compareTo compareTo} returns zero, not whether {@link Object#equals equals}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
        String rhs = testString.toUpperCase();
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          dummy ^= Ascii.equalsIgnoreCase(lhs, rhs);
        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseJDK(int reps) {
        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/MediaType.java

    import javax.annotation.CheckForNull;
    
    /**
     * Represents an <a href="http://en.wikipedia.org/wiki/Internet_media_type">Internet Media Type</a>
     * (also known as a MIME Type or Content Type). This class also supports the concept of media ranges
     * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1">defined by HTTP/1.1</a>.
     * As such, the {@code *} character is treated as a wildcard and is used to represent any acceptable
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
        String rhs = testString.toUpperCase();
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          dummy ^= Ascii.equalsIgnoreCase(lhs, rhs);
        }
        return dummy;
      }
    
      @Benchmark
      boolean equalsIgnoreCaseJDK(int reps) {
        // This benchmark has no concept of "noWorkToDo".
        String lhs = testString;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashFunction.java

     * number called a <i>hash code</i>.
     *
     * <h3>Definition</h3>
     *
     * <p>Unpacking this definition:
     *
     * <ul>
     *   <li><b>block of data:</b> the input for a hash function is always, in concept, an ordered byte
     *       array. This hashing API accepts an arbitrary sequence of byte and multibyte values (via
     *       {@link Hasher}), but this is merely a convenience; these are always translated into raw
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    // - possibly no real concept of separate ClassLoaders?
    @AndroidIncompatible
    @GwtIncompatible
    public class FinalizableReferenceQueueTest extends TestCase {
    
      private @Nullable FinalizableReferenceQueue frq;
    
      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    // - possibly no real concept of separate ClassLoaders?
    @AndroidIncompatible
    @GwtIncompatible
    public class FinalizableReferenceQueueTest extends TestCase {
    
      private @Nullable FinalizableReferenceQueue frq;
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>The returned set and its constituent sets use {@code equals} to decide whether two elements
       * are identical, even if the input set uses a different concept of equivalence.
       *
       * <p><i>Performance notes:</i> while the power set of a set with size {@code n} is of size {@code
       * 2^n}, its memory usage is only {@code O(n)}. When the power set is constructed, the input set
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top