Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 369 for listOf (1.11 sec)

  1. android/guava/src/com/google/common/base/Optional.java

     * class was added for Java 8. The two classes are extremely similar, but incompatible (they cannot
     * share a common supertype). <i>All</i> known differences are listed either here or with the
     * relevant methods below.
     *
     * <ul>
     *   <li>This class is serializable; {@code java.util.Optional} is not.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * <p>For field types and method return types, you should generally use the immutable type (such as
     * {@link ImmutableList}) instead of the general collection interface type (such as {@link List}).
     * This communicates to your callers all of the semantic guarantees listed above, which is almost
     * always very useful information.
     *
     * <p>On the other hand, a <i>parameter</i> type of {@link ImmutableList} is generally a nuisance to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/TypeToken.java

     *       <pre>{@code
     * class Util {
     *   static <T> TypeToken<List<T>> listType() {
     *     return new TypeToken<List<T>>() {};
     *   }
     * }
     *
     * TypeToken<List<String>> stringListType = Util.<String>listType();
     * }</pre>
     *   <li>Capture a generic type with a (usually anonymous) subclass and resolve it against a context
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        }
    
        return oldValues;
      }
    
      private List<V> getCopy(@ParametricNullness K key) {
        return unmodifiableList(Lists.newArrayList(new ValueForKeyIterator(key)));
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>The returned list is immutable and implements {@link java.util.RandomAccess}.
       */
      @CanIgnoreReturnValue
      @Override
      public List<V> removeAll(@CheckForNull Object key) {
        /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Range.java

      public int hashCode() {
        return lowerBound.hashCode() * 31 + upperBound.hashCode();
      }
    
      /**
       * Returns a string representation of this range, such as {@code "[3..5)"} (other examples are
       * listed in the class documentation).
       */
      @Override
      public String toString() {
        return toString(lowerBound, upperBound);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/IgnoreJRERequirement.java

    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 25 20:20:10 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClusterException.java

     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   for (ThingToRun thingToRun : thingsToRun) {
     *     thingToRun.run(); // say this may throw an exception, but you want to
     *                       // always run all thingsToRun
     *   }
     * }
     * </pre>
     *
     * <p>This is what the code would become:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/Traverser.java

       * startNodes}, in the order of a breadth-first traversal. This is equivalent to a breadth-first
       * traversal of a graph with an additional root node whose successors are the listed {@code
       * startNodes}.
       *
       * @throws IllegalArgumentException if any of {@code startNodes} is not an element of the graph
       * @see #breadthFirst(Object)
       * @since 24.1
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 30 20:12:45 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/Traverser.java

       * startNodes}, in the order of a breadth-first traversal. This is equivalent to a breadth-first
       * traversal of a graph with an additional root node whose successors are the listed {@code
       * startNodes}.
       *
       * @throws IllegalArgumentException if any of {@code startNodes} is not an element of the graph
       * @see #breadthFirst(Object)
       * @since 24.1
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 30 20:12:45 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Lists.java

       *     a provided list is null
       * @since 19.0
       */
      public static <B> List<List<B>> cartesianProduct(List<? extends List<? extends B>> lists) {
        return CartesianList.create(lists);
      }
    
      /**
       * Returns every possible list that can be formed by choosing one element from each of the given
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.9K bytes
    - Viewed (0)
Back to top