Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 100 for Content (0.15 sec)

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

       * Multimap}. The new multimap has the same {@link Multimap#entries()} iteration order as the
       * input multimap.
       *
       * @param multimap the multimap whose contents are copied to this multimap
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedListMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertEquals(liveCount, countLiveEntries(map));
        ImmutableMap<Object, Object> originalMap = ImmutableMap.copyOf(map);
        assertEquals(liveCount, originalMap.size());
        // can't compare map contents until cleanup occurs
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
            // TODO(b/145386688): This access should be guarded by 'segment', which is not currently
            // held
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertEquals(liveCount, countLiveEntries(map));
        ImmutableMap<Object, Object> originalMap = ImmutableMap.copyOf(map);
        assertEquals(liveCount, originalMap.size());
        // can't compare map contents until cleanup occurs
    
        for (int i = 1; i <= originalCount * 2; i *= 2) {
          if (i > 1) {
            // TODO(b/145386688): This access should be guarded by 'segment', which is not currently
            // held
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteStreams.java

       * ByteArrayOutputStream}. The given output stream is not reset before being written to by the
       * returned {@code ByteArrayDataOutput} and new data will be appended to any existing content.
       *
       * <p>Note that if the given output stream was not empty or is modified after the {@code
       * ByteArrayDataOutput} is created, the contract for {@link ByteArrayDataOutput#toByteArray} will
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  9. android/pom.xml

        </pluginManagement>
      </build>
      <distributionManagement>
        <snapshotRepository>
          <id>sonatype-nexus-snapshots</id>
          <name>Sonatype Nexus Snapshots</name>
          <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        </snapshotRepository>
        <repository>
          <id>sonatype-nexus-staging</id>
          <name>Nexus Release Repository</name>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ListsImplTest.java

          return new ArrayList<>(contents);
        }
      }
    
      private static final class LinkedListExample extends ListExample {
    
        protected LinkedListExample(String name) {
          super(name, Modifiability.ALL);
        }
    
        @Override
        public <T> List<T> createList(Class<T> listType, Collection<? extends T> contents) {
          return new LinkedList<>(contents);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top