Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 100 for Post (0.17 sec)

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

      public static <E extends @Nullable Object> CopyOnWriteArrayList<E> newCopyOnWriteArrayList(
          Iterable<? extends E> elements) {
        // We copy elements to an ArrayList first, rather than incurring the
        // quadratic cost of adding them to the COWAL directly.
        Collection<? extends E> elementsCollection =
            (elements instanceof Collection)
                ? (Collection<? extends E>) elements
                : newArrayList(elements);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      private final TestLogHandler aggregateFutureLogHandler = new TestLogHandler();
    
      private static final String DATA1 = "data";
      private static final String DATA2 = "more data";
      private static final String DATA3 = "most data";
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        aggregateFutureLogger.addHandler(aggregateFutureLogHandler);
      }
    
      @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/Striped64.java

       * to reduce cache contention on most processors. Padding is
       * overkill for most Atomics because they are usually irregularly
       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * specified is included. To create a copy of a {@code SortedSet} that preserves the comparator,
       * call {@link #copyOfSorted} instead. This method iterates over {@code elements} at most once.
       *
       * <p>Note that if {@code s} is a {@code Set<String>}, then {@code ImmutableSortedSet.copyOf(s)}
       * returns an {@code ImmutableSortedSet<String>} containing each of the strings in {@code s},
    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)
  5. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       * this feature.
       */
      KNOWN_ORDER,
    
      /**
       * Indicates that a collection has a different {@link Object#toString} representation than most
       * collections. If not specified, the collection tests will examine the value returned by {@link
       * Object#toString}.
       */
      NON_STANDARD_TOSTRING,
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        }
        if (testsEquals) {
          testEquals(interfaceType, wrapperFunction);
        }
        testToString(interfaceType, wrapperFunction);
      }
    
      /** Returns the most concrete public methods from {@code type}. */
      private static Method[] getMostConcreteMethods(Class<?> type) {
        Method[] methods = type.getMethods();
        for (int i = 0; i < methods.length; i++) {
          try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of
       * multiple containers in a single method is discouraged in most cases, but it is vital to the
       * iterator tests.
       *
       * @return the new container instance
       * @param newValue the new container instance
       */
      @CanIgnoreReturnValue
      protected C resetContainer(C newValue) {
    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)
  8. README.md

    types (such as multimap and multiset), immutable collections, a graph library,
    and utilities for concurrency, I/O, hashing, primitives, strings, and more! It
    is widely used on most Java projects within Google, and widely used by many
    other companies as well.
    
    
    
    Guava comes in two flavors:
    
    *   The JRE flavor requires JDK 1.8 or higher.
    *   If you need support for Android, use
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        }
        if (testsEquals) {
          testEquals(interfaceType, wrapperFunction);
        }
        testToString(interfaceType, wrapperFunction);
      }
    
      /** Returns the most concrete public methods from {@code type}. */
      private static Method[] getMostConcreteMethods(Class<?> type) {
        Method[] methods = type.getMethods();
        for (int i = 0; i < methods.length; i++) {
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

       * want to accept ASCII digits only, you can use something like {@code
       * CharMatcher.ascii().matchesAllOf(ipString)}.
       *
       * @param ipString {@code String} to evaluated as an IP URI host string literal
       * @return {@code true} if the argument is a valid IP URI host
       */
      public static boolean isUriInetAddress(String ipString) {
        return forUriStringNoThrow(ipString) != null;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
Back to top