- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,313 for instanceof (0.2 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
* all super-classes, that are annotated with {@code @Subscribe}. The cache is shared across all * instances of this class; this greatly improves performance if multiple EventBus instances are * created and objects of the same class are registered on all of them. */ private static final LoadingCache<Class<?>, ImmutableList<Method>> subscriberMethodsCache =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
* values} if it is a Set and therefore probably already deduplicated. */ int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) { if (values instanceof Collection<?>) { Collection<?> collection = (Collection<?>) values; return max(defaultExpectedValues, collection.size()); } else { return defaultExpectedValues; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 28.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* is the order of the first appearance of each key in this iterable. * * <p>When there are multiple instances of a key in this iterable, it is unspecified whether * {@code valueFunction} will be applied to more than one instance of that key and, if it is, * which result will be mapped to that key in the returned map. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
* is the order of the first appearance of each key in this iterable. * * <p>When there are multiple instances of a key in this iterable, it is unspecified whether * {@code valueFunction} will be applied to more than one instance of that key and, if it is, * which result will be mapped to that key in the returned map. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/PairwiseEquivalence.java
for (T element : iterable) { hash = hash * 24943 + elementEquivalence.hash(element); } return hash; } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof PairwiseEquivalence) { @SuppressWarnings("unchecked") PairwiseEquivalence<Object, Object> that = (PairwiseEquivalence<Object, Object>) obj; return this.elementEquivalence.equals(that.elementEquivalence); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Count.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy
} return element } protected Element createNode(Object name, Map attributes, Object value) { Element element = createNode(name, attributes) if (value instanceof Node) { element.appendChild(document.importNode(value, true)) } else { element.appendChild(document.createTextNode(value as String)) } return element }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) { X instance = newFromConstructor(constructor, cause); if (instance != null) { if (instance.getCause() == null) { instance.initCause(cause); } return instance; } } throw new IllegalArgumentException( "No appropriate constructor for exception of type "
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/LegacyComparable.java
LegacyComparable that = (LegacyComparable) object; return this.value.compareTo(that.value); } @Override public boolean equals(@Nullable Object object) { if (object instanceof LegacyComparable) { LegacyComparable that = (LegacyComparable) object; return this.value.equals(that.value); } return false; } @Override public int hashCode() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
new ForwardingRunnable(runnable) { @SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object o) { if (o instanceof ForwardingRunnable) { ForwardingRunnable that = (ForwardingRunnable) o; return runnable.equals(that.runnable); } return false; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0)