- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 1,610 for instanceof (0.48 seconds)
-
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) -
android/guava/src/com/google/common/io/LineReader.java
lines.add(line); } }; /** Creates a new instance that will read lines from the given {@code Readable} object. */ public LineReader(Readable readable) { this.readable = checkNotNull(readable); this.reader = (readable instanceof Reader) ? (Reader) readable : null; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/HtmlIndexExportFormatter.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Feb 07 10:31:36 GMT 2026 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Collections2.java
* predicate)} and use the copy. * * <p><b>Warning:</b> {@code predicate} must be <i>consistent with equals</i>, as documented at * {@link Predicate#apply}. Do not provide a predicate such as {@code * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link * Iterables#filter(Iterable, Class)} for related functionality.) *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.6K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
boolean hasSameComparator = fromSortedSet || hasSameComparator(elements, comparator); if (hasSameComparator && (elements instanceof ImmutableSortedSet)) { @SuppressWarnings("unchecked") ImmutableSortedSet<E> result = (ImmutableSortedSet<E>) elements; boolean isSubset = (result instanceof RegularImmutableSortedSet) && ((RegularImmutableSortedSet) result).isSubset; if (!isSubset) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 15.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
// Network<LinkedList>. @SuppressWarnings("unchecked") @Override public boolean contains(@Nullable Object obj) { if (!(obj instanceof EndpointPair)) { return false; } EndpointPair<?> endpointPair = (EndpointPair<?>) obj; return isOrderingCompatible(endpointPair)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 10K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapMakerTest.java
} catch (IllegalStateException expected) { } } public void testReturnsPlainConcurrentHashMapWhenPossible() { Map<?, ?> map = new MapMaker().initialCapacity(5).makeMap(); assertTrue(map instanceof ConcurrentHashMap); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
assertTrue("Method may not exist in this version", true); } else if (e instanceof java.lang.NoSuchMethodException) { assertTrue("Method may not exist in this version", true); } else if (e instanceof java.lang.reflect.InvocationTargetException) { // Method exists but failed to execute, which is acceptable in test environment
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/NullsFirstOrdering.java
return ordering.<@NonNull S>nullsLast(); } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (object instanceof NullsFirstOrdering) { NullsFirstOrdering<?> that = (NullsFirstOrdering<?>) object; return this.ordering.equals(that.ordering); } return false; } @Override public int hashCode() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/NullsLastOrdering.java
return (Ordering<@Nullable S>) this; } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (object instanceof NullsLastOrdering) { NullsLastOrdering<?> that = (NullsLastOrdering<?>) object; return this.ordering.equals(that.ordering); } return false; } @Override public int hashCode() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.7K bytes - Click Count (0)