Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 167 for Content (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Converts an iterable into a collection. If the iterable is already a collection, it is
       * returned. Otherwise, an {@link java.util.ArrayList} is created with the contents of the
       * iterable in the same iteration order.
       */
      private static <E extends @Nullable Object> Collection<E> castOrCopyToCollection(
          Iterable<E> iterable) {
        return (iterable instanceof Collection)
    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)
  9. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

       * constructed multimap. The new multimap has the same {@link Multimap#entries()} iteration order
       * as the input multimap, except for excluding duplicate mappings.
       *
       * @param multimap the multimap whose contents are copied to this multimap
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link SetMultimap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> As in all {@link SetMultimap}s, do not modify either a key <i>or a value</i>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
Back to top