Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for special (0.18 sec)

  1. guava/src/com/google/common/base/Throwables.java

       * available for all platforms and configurations. If that implementation is unavailable, this
       * method falls back to {@code getStackTrace}. Callers that require the special implementation can
       * check its availability with {@link #lazyStackTraceIsLazy()}.
       *
       * <p>The expected (but not guaranteed) performance of the special implementation differs from
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Throwables.java

       * available for all platforms and configurations. If that implementation is unavailable, this
       * method falls back to {@code getStackTrace}. Callers that require the special implementation can
       * check its availability with {@link #lazyStackTraceIsLazy()}.
       *
       * <p>The expected (but not guaranteed) performance of the special implementation differs from
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Comparators.java

       * {@code [1]} and {@code [1, 1]}).
       */
      // Note: 90% of the time we don't add type parameters or wildcards that serve only to "tweak" the
      // desired return type. However, *nested* generics introduce a special class of problems that we
      // think tip it over into being worthwhile.
      public static <T extends @Nullable Object, S extends T> Comparator<Iterable<S>> lexicographical(
          Comparator<T> comparator) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Objects.java

       * Generates a hash code for multiple values. The hash code is generated by calling {@link
       * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a
       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
       * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/Utf8Test.java

        // Valid 4 byte.
        assertWellFormed(0xF0, 0xA4, 0xAD, 0xA2);
        // Bad trailing bytes
        assertNotWellFormed(0xF0, 0xA4, 0xAD, 0x7F);
        assertNotWellFormed(0xF0, 0xA4, 0xAD, 0xC0);
        // Special cases for byte2
        assertNotWellFormed(0xF0, 0x8F, 0xAD, 0xA2);
        assertNotWellFormed(0xF4, 0x90, 0xAD, 0xA2);
      }
    
      /** Tests some hard-coded test cases. */
      public void testSomeSequences() {
        // Empty
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Suppliers.java

          implements Supplier<T>, Serializable {
        final Supplier<T> delegate;
        final long durationNanos;
        @CheckForNull transient volatile T value;
        // The special value 0 means "not yet initialized".
        transient volatile long expirationNanos;
    
        ExpiringMemoizingSupplier(Supplier<T> delegate, long durationNanos) {
          this.delegate = delegate;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          result.add(value);
          if (value == 8) {
            iter.remove();
          }
        }
        assertIntact(q);
        assertThat(result).containsExactly(1, 15, 13, 8, 14);
      }
    
      /**
       * This tests a special case of the removeAt() call. Moving an element sideways on the heap could
       * break the invariants. Sometimes we need to bubble an element up instead of trickling down. See
       * implementation.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Objects.java

       * Generates a hash code for multiple values. The hash code is generated by calling {@link
       * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a
       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
       * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          this.executor = executor;
        }
    
        Listener() {
          this.task = null;
          this.executor = null;
        }
      }
    
      /** A special value to represent {@code null}. */
      private static final Object NULL = new Object();
    
      /** A special value to represent failure, when {@link #setException} is called successfully. */
      private static final class Failure {
        static final Failure FALLBACK_INSTANCE =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/HttpHeadersTest.java

    /**
     * Tests for the HttpHeaders class.
     *
     * @author Kurt Alfred Kluever
     */
    public class HttpHeadersTest extends TestCase {
    
      public void testConstantNameMatchesString() throws Exception {
        // Special case some of the weird HTTP Header names...
        ImmutableBiMap<String, String> specialCases =
            ImmutableBiMap.<String, String>builder()
                .put("CDN_LOOP", "CDN-Loop")
                .put("ETAG", "ETag")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top