Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 175 for Content (0.14 sec)

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

     *
     * <p>Note that usually type mappings are already implied by the static type hierarchy (for example,
     * the {@code E} type variable declared by class {@code List} naturally maps to {@code String} in
     * the context of {@code class MyStringList implements List<String>}). In such case, prefer to use
     * {@link TypeToken#resolveType} since it's simpler and more type safe. This class should only be
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

       * detected. This implementation may replace the entries in entryArray with its own entry objects
       * (though they will have the same key/value contents), and will take ownership of entryArray.
       */
      static <K, V> ImmutableMap<K, V> create(
          int n, @Nullable Entry<K, V>[] entryArray, boolean throwIfDuplicateKeys) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/package-info.java

     * part of the open-source <a href="https://github.com/google/guava">Guava</a> library.
     *
     * <p>The classes in this package include:
     *
     * <h2>Immutable collections</h2>
     *
     * These are collections whose contents will never change. They also offer a few additional
     * guarantees (see {@link ImmutableCollection} for details). Implementations are available for both
     * the JDK collection types and the Guava collection types (listed below).
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableRangeMap.java

    import java.util.function.Function;
    import java.util.stream.Collector;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link RangeMap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * @author Louis Wasserman
     * @since 14.0
     */
    @GwtIncompatible // NavigableMap
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Throwables.java

        throwIfUnchecked(throwable);
        throw new RuntimeException(throwable);
      }
    
      /**
       * Returns the innermost cause of {@code throwable}. The first throwable in a chain provides
       * context from when the error or exception was initially detected. Example usage:
       *
       * <pre>
       * assertEquals("Unable to assign a customer id", Throwables.getRootCause(e).getMessage());
       * </pre>
       *
    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)
  6. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        }
        for (int i = 0; i < length(); i++) {
          if (this.get(i) != that.get(i)) {
            return false;
          }
        }
        return true;
      }
    
      /** Returns an unspecified hash code for the contents of this immutable array. */
      @Override
      public int hashCode() {
        int hash = 1;
        for (int i = start; i < end; i++) {
          hash *= 31;
          hash += Ints.hashCode(array[i]);
        }
        return hash;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       * PermittedMetaException}.
       */
      protected final class MultiExceptionListIterator implements ListIterator<E> {
        // TODO: track seen elements when order isn't guaranteed
        // TODO: verify contents afterward
        // TODO: something shiny and new instead of Stack
        // TODO: test whether null is supported (create a Feature)
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Throwables.java

        throwIfUnchecked(throwable);
        throw new RuntimeException(throwable);
      }
    
      /**
       * Returns the innermost cause of {@code throwable}. The first throwable in a chain provides
       * context from when the error or exception was initially detected. Example usage:
       *
       * <pre>
       * assertEquals("Unable to assign a customer id", Throwables.getRootCause(e).getMessage());
       * </pre>
       *
    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)
  9. android/guava/src/com/google/common/collect/Multimap.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A collection that maps keys to values, similar to {@link Map}, but in which each key may be
     * associated with <i>multiple</i> values. You can visualize the contents of a multimap either as a
     * map from keys to <i>nonempty</i> collections of values:
     *
     * <ul>
     *   <li>a → 1, 2
     *   <li>b → 3
     * </ul>
     *
     * ... or as a single "flattened" collection of key-value pairs:
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      // Match the behavior of Double.equals()
      private static boolean areEqual(double a, double b) {
        return Double.doubleToLongBits(a) == Double.doubleToLongBits(b);
      }
    
      /** Returns an unspecified hash code for the contents of this immutable array. */
      @Override
      public int hashCode() {
        int hash = 1;
        for (int i = start; i < end; i++) {
          hash *= 31;
          hash += Doubles.hashCode(array[i]);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
Back to top