- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 237 for equivalents (0.05 sec)
-
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* such index exists. Equivalent to {@code asList().lastIndexOf(target)}. */ public int lastIndexOf(long target) { for (int i = end - 1; i >= start; i--) { if (array[i] == target) { return i - start; } } return -1; } /** * Returns {@code true} if {@code target} is present at any index in this array. Equivalent to * {@code asList().contains(target)}.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AsyncFunction.java
* Future} need not be {@linkplain Future#isDone done}, making {@code AsyncFunction} suitable for * asynchronous derivations. * * <p>Throwing an exception from this method is equivalent to returning a failing {@code Future}. */ ListenableFuture<O> apply(@ParametricNullness I input) throws Exception;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
BiPredicate<ImmutableSortedSet<String>, ImmutableSortedSet<String>> equivalence = Equivalence.equals() .onResultOf(ImmutableSortedSet<String>::comparator) .and(Equivalence.equals().onResultOf(ImmutableSortedSet::asList)) .and(Equivalence.equals()); CollectorTester.of(collector, equivalence) .expectCollects(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableTable.java
for (Cell<? extends R, ? extends C, ? extends V> cell : cells) { builder.put(cell); } return builder.buildOrThrow(); } /** * Returns a new builder. The generated builder is equivalent to the builder created by the {@link * Builder#Builder() ImmutableTable.Builder()} constructor. */ public static <R, C, V> Builder<R, C, V> builder() { return new Builder<>(); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 17.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* * <p><strong>ReadWriteLocks</strong> * * <p>While {@code ReadWriteLock} instances have different properties and can form cycles without * potential deadlock, this class treats {@code ReadWriteLock} instances as equivalent to * traditional exclusive locks. Although this increases the false positives that the locks detect * (i.e. cycles that will not actually result in deadlock), it simplifies the algorithm and
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 35.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
* Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link * Iterables#filter(Iterable, Class)} for related functionality.) * * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#filter Stream.filter}. */ public static <E extends @Nullable Object> Collection<E> filter( Collection<E> unfiltered, Predicate<? super E> predicate) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
/** * Returns the empty iterator. * * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}. */ static <T extends @Nullable Object> UnmodifiableIterator<T> emptyIterator() { return emptyListIterator(); } /** * Returns the empty iterator. * * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 12:42:11 UTC 2025 - 51.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
/** * Not really a signature -- just the parts that affect whether one method is a fauxveride of a * method from an ancestor class. * * <p>See JLS 8.4.2 for the definition of the related "override-equivalent." */ private static final class MethodSignature implements Comparable<MethodSignature> { final String name; final List<Class<?>> parameterTypes; final TypeSignature typeSignature;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
/** * Not really a signature -- just the parts that affect whether one method is a fauxveride of a * method from an ancestor class. * * <p>See JLS 8.4.2 for the definition of the related "override-equivalent." */ private static final class MethodSignature implements Comparable<MethodSignature> { final String name; final List<Class<?>> parameterTypes; final TypeSignature typeSignature;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.4K bytes - Viewed (0)