- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 136 for First (1.2 sec)
-
android/guava/src/com/google/common/collect/ImmutableSet.java
* first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except * the first are ignored. */ public static <E> ImmutableSet<E> of(E e1, E e2) { return construct(2, e1, e2); } /** * Returns an immutable set containing the given elements, minus duplicates, in the order each was
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 22.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 35.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Comparators.java
* as equal, the first is returned. * * <p>The recommended solution for finding the {@code maximum} of some values depends on the type * of your data and the number of elements you have. Read more in the Guava User Guide article on * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code * Comparators}</a>. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 10.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
public void normalNormal(String first, Integer second) { reactToNullParameters(first, second); } /** Two-arg method with the second param Nullable. */ @SuppressWarnings("GoodTime") // false positive; b/122617528 public void normalNullable(String first, @Nullable Integer second) { reactToNullParameters(first, second); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 47.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
* will remember the first duplicate key we encountered. All later calls to buildOrThrow() can * mention that key with its values. Further duplicates might be added in the meantime but since * builders only ever accumulate entries it will always be valid to throw from buildOrThrow() with * the first duplicate. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 15 22:32:14 UTC 2024 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
* * @param first the first entry of the table * @param entry the entry being removed from the table * @return the new first entry for the table */ @GuardedBy("this") @CheckForNull E removeFromChain(E first, E entry) { int newCount = count; E newFirst = entry.getNext(); for (E e = first; e != entry; e = e.getNext()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 90.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
} /** Returns {@code true} if the second list is a permutation of the first. */ private static boolean isPermutation(List<?> first, List<?> second) { if (first.size() != second.size()) { return false; } ObjectCountHashMap<?> firstCounts = counts(first); ObjectCountHashMap<?> secondCounts = counts(second); if (first.size() != second.size()) { return false; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 22.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* Number value = optionalInt.or(0.5); // error * * FluentIterable<? extends Number> numbers = getSomeNumbers(); * Optional<? extends Number> first = numbers.first(); * Number value = first.or(0.5); // error * }</pre> * * <p>As a workaround, it is always safe to cast an {@code Optional<? extends T>} to {@code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 13K bytes - Viewed (0) -
guava/src/com/google/common/collect/Ordering.java
<T2 extends T> Ordering<Entry<T2, ?>> onKeys() { return onResultOf(Maps.<T2>keyFunction()); } /** * Returns an ordering which first uses the ordering {@code this}, but which in the event of a * "tie", then delegates to {@code secondaryComparator}. For example, to sort a bug list first by * status and second by priority, you might use {@code byStatus.compound(byPriority)}. For a
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 39.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
if (!elements.hasNext()) { return of(); } E first = elements.next(); if (!elements.hasNext()) { // TODO: Remove "ImmutableSet.<E>" when eclipse bug is fixed. return ImmutableSet.<E>of(first); } Set<E> delegate = Sets.newLinkedHashSet(); delegate.add(checkNotNull(first)); do { delegate.add(checkNotNull(elements.next()));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 8.3K bytes - Viewed (0)