Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 167 for Content (0.15 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link NavigableMap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          }
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      private static Manifest manifest(String content) throws IOException {
        InputStream in = new ByteArrayInputStream(content.getBytes(US_ASCII));
        Manifest manifest = new Manifest();
        manifest.read(in);
        return manifest;
      }
    
      private static File fullpath(String path) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/ClassPathTest.java

          }
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      private static Manifest manifest(String content) throws IOException {
        InputStream in = new ByteArrayInputStream(content.getBytes(US_ASCII));
        Manifest manifest = new Manifest();
        manifest.read(in);
        return manifest;
      }
    
      private static File fullpath(String path) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> from(Collection<? extends E> contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], contents);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> from(Collection<? extends E> contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], contents);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparable<?>[] contents = new Comparable<?>[6 + remaining.length];
        contents[0] = e1;
        contents[1] = e2;
        contents[2] = e3;
        contents[3] = e4;
        contents[4] = e5;
        contents[5] = e6;
        System.arraycopy(remaining, 0, contents, 6, remaining.length);
        return construct(Ordering.natural(), contents.length, (E[]) contents);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

    /**
     * Base class for testers of classes (including {@link Collection} and {@link java.util.Map Map})
     * that contain elements.
     *
     * @param <C> the type of the container
     * @param <E> the type of the container's contents
     * @author George van den Driessche
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top