Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Chandler (0.16 sec)

  1. android/guava/src/com/google/common/reflect/Types.java

        TypeVariable<D> typeVariable =
            Reflection.newProxy(
                TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl));
        return typeVariable;
      }
    
      /**
       * Invocation handler to work around a compatibility problem between Java 7 and Java 8.
       *
       * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns the first element in {@code iterable} that satisfies the given predicate, or {@code
       * defaultValue} if none found. Note that this can usually be handled more naturally using {@code
       * tryFind(iterable, predicate).or(defaultValue)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code
       * stream.filter(predicate).findFirst().orElse(defaultValue)}
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       * an element in the set. For example, {@code contains} returns {@code false} when passed an
       * object that equals a set member, but isn't the same instance. This behavior is similar to the
       * way {@code IdentityHashMap} handles key lookups.
       *
       * @since 8.0
       */
      public static <E extends @Nullable Object> Set<E> newIdentityHashSet() {
        return Collections.newSetFromMap(Maps.<E, Boolean>newIdentityHashMap());
      }
    
      /**
    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)
  4. android/guava/src/com/google/common/collect/ImmutableSet.java

            // requireNonNull is safe because the first `n` elements are non-null.
            E elem = (E) requireNonNull(elements[0]);
            return of(elem);
          default:
            // continue below to handle the general case
        }
        int tableSize = chooseTableSize(n);
        Object[] table = new Object[tableSize];
        int mask = tableSize - 1;
        int hashCode = 0;
        int uniques = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

           *
           * ...except that it's possible for users to insert a string key with a non-string value, and
           * in that case, getProperty *will* return null.
           *
           * TODO(b/192002623): Handle that case: Either:
           *
           * - Skip non-string keys and values entirely, as proposed in the linked bug.
           *
           * - Throw ClassCastException instead of NullPointerException, as documented in the current
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Equivalence.java

            if (this.equivalence.equals(that.equivalence)) {
              /*
               * We'll accept that as sufficient "proof" that either equivalence should be able to
               * handle either reference, so it's safe to circumvent compile-time type checking.
               */
              @SuppressWarnings("unchecked")
              Equivalence<Object> equivalence = (Equivalence<Object>) this.equivalence;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

       * element is found, {@code defaultValue} will be returned from this method and the iterator will
       * be left exhausted: its {@code hasNext()} method will return {@code false}. Note that this can
       * usually be handled more naturally using {@code tryFind(iterator, predicate).or(defaultValue)}.
       *
       * @since 7.0
       */
      // For discussion of this signature, see the corresponding overload of *Iterables*.find.
      @CheckForNull
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top