Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 488 for listOf (0.35 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

       *     {@link #get(Object)}; may contain duplicates), in an increasing index order.
       */
      public Iterable<L> bulkGet(Iterable<? extends Object> keys) {
        // Initially using the list to store the keys, then reusing it to store the respective L's
        List<Object> result = newArrayList(keys);
        if (result.isEmpty()) {
          return ImmutableList.of();
        }
        int[] stripes = new int[result.size()];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ArrayTable.java

        }
      }
    
      /**
       * Returns, as an immutable list, the row keys provided when the table was constructed, including
       * those that are mapped to null values only.
       */
      public ImmutableList<R> rowKeyList() {
        return rowList;
      }
    
      /**
       * Returns, as an immutable list, the column keys provided when the table was constructed,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. 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)
  4. guava/src/com/google/common/hash/Hashing.java

          HashFunction first, HashFunction second, HashFunction... rest) {
        // We can't use Lists.asList() here because there's no hash->collect dependency
        List<HashFunction> list = new ArrayList<>();
        list.add(first);
        list.add(second);
        Collections.addAll(list, rest);
        return new ConcatenatedHashFunction(list.toArray(new HashFunction[0]));
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MapMakerInternalMap.java

              // Single node on list
              if (next == null) {
                newTable.set(headIndex, head);
              } else {
                // Reuse the consecutive sequence of nodes with the same target
                // index from the end of the list. tail points to the first
                // entry in the reusable list.
                E tail = head;
                int tailIndex = headIndex;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  6. guava/javadoc-link/j2objc-annotations/package-list

    cpovirk <******@****.***> 1509125686 -0700
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 27 17:43:17 UTC 2017
    - 30 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-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        try {
          multimap().putAll(k3(), Lists.newArrayList(v3(), null));
          fail();
        } catch (NullPointerException expected) {
        }
    
        Collection<V> values = multimap().get(k3());
        if (values.size() == 0) {
          expectUnchanged();
          // Be extra thorough in case internal state was corrupted by the expected null.
          assertEquals(Lists.newArrayList(), Lists.newArrayList(values));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

                        return new SafeTreeSet<>(Arrays.asList(elements));
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
                        return Lists.newArrayList(Sets.newTreeSet(insertionOrder));
                      }
                    })
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingList.java

    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A list which forwards all its method calls to another list. Subclasses should override one or
     * more methods to modify the behavior of the backing list as desired per the <a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top