- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 222 for snippets (0.06 seconds)
-
android/guava/src/com/google/common/base/Equivalence.java
* that tests equivalence using their lengths: * * {@snippet : * equiv.wrap("a").equals(equiv.wrap("b")) // true * equiv.wrap("a").equals(equiv.wrap("hello")) // false * } * * <p>Note in particular that an equivalence wrapper is never equal to the object it wraps. * * {@snippet : * equiv.wrap(obj).equals(obj) // always false * } * * @since 10.0Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 10 01:47:55 GMT 2025 - 14.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* fallback}, an exception is thrown, this exception is used as the result of the output {@code * Future}. * * <p>Usage example: * * {@snippet : * ListenableFuture<Integer> fetchCounterFuture = ...; * * // Falling back to a zero counter in case an exception happens when * // processing the RPC to fetch counters.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Sets.java
* * {@snippet : * NavigableSet<E> set = synchronizedNavigableSet(new TreeSet<E>()); * ... * synchronized (set) { * // Must be in the synchronized block * Iterator<E> it = set.iterator(); * while (it.hasNext()) { * foo(it.next()); * } * } * } * * <p>or: * * {@snippet :Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapDifference.java
*/ @Override boolean equals(@Nullable Object object); /** * Returns the hash code for this instance. This is defined as the hash code of * * {@snippet : * Arrays.asList(entriesOnlyOnLeft(), entriesOnlyOnRight(), * entriesInCommon(), entriesDiffering()) * } */ @Override int hashCode(); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeVisitor.java
* recursion by calling {@link #visit} for any {@code Type} while visitation is in progress. For * example, this can be used to reject wildcards or type variables contained in a type as in: * * {@snippet : * new TypeVisitor() { * protected void visitParameterizedType(ParameterizedType t) { * visit(t.getOwnerType()); * visit(t.getActualTypeArguments()); * }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Hasher.java
* were inserted, not how those bytes were chunked into discrete put() operations. For example, the * following three expressions all generate colliding hash codes: * * {@snippet : * newHasher().putByte(b1).putByte(b2).putByte(b3).hash() * newHasher().putByte(b1).putBytes(new byte[] { b2, b3 }).hash() * newHasher().putBytes(new byte[] { b1, b2, b3 }).hash() * } *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 5.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multiset.java
* <p>Returns {@code true} if the given object is also a multiset entry and the two entries * represent the same element and count. That is, two entries {@code a} and {@code b} are equal * if: * * {@snippet : * Objects.equals(a.getElement(), b.getElement()) && a.getCount() == b.getCount() * } */ @Override // TODO(kevinb): check this wrt TreeMultiset? boolean equals(@Nullable Object o);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 20.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
* lists in order; the "n-ary <a href="http://en.wikipedia.org/wiki/Cartesian_product">Cartesian * product</a>" of the lists. For example: * * {@snippet : * Lists.cartesianProduct(ImmutableList.of( * ImmutableList.of(1, 2), * ImmutableList.of("A", "B", "C"))) * } * * <p>returns a list containing six lists in the following order: *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 19.5K bytes - Click Count (0)