- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 2,436 for instanceOf (0.06 seconds)
-
android/guava/src/com/google/common/collect/AbstractRangeSet.java
} @Override public abstract boolean encloses(Range<C> otherRange); @Override public boolean equals(@Nullable Object obj) { if (obj == this) { return true; } else if (obj instanceof RangeSet) { RangeSet<?> other = (RangeSet<?>) obj; return this.asRanges().equals(other.asRanges()); } return false; } @Override public final int hashCode() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 2.8K 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-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) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithDependenciesPlugin.java
return; } Configuration testImplementationConfig = project.getConfigurations().getByName("testImplementation"); testImplementationConfig.getDependencies().all(dep -> { if (dep instanceof ProjectDependency && ((ProjectDependency) dep).getDependencyProject().getPlugins().hasPlugin(PluginBuildPlugin.class)) { project.getGradle()Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.2K 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) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
// targets.size() < size() / log(size()) // TODO(kevinb): see if we can share code with OrderedIterator after it // graduates from labs. if (targets instanceof Multiset) { targets = ((Multiset<?>) targets).elementSet(); } if (!SortedIterables.hasSameComparator(comparator(), targets) || (targets.size() <= 1)) { return super.containsAll(targets); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/AntTask.groovy
// remove existing loggers, we add our own List<BuildLogger> toRemove = new ArrayList<>(); for (BuildListener listener : ant.project.getBuildListeners()) { if (listener instanceof BuildLogger) { toRemove.add(listener); } } for (BuildLogger listener : toRemove) { ant.project.removeBuildListener(listener) }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exentity/ClickLog.java
} return sourceMap; } @Override protected void addFieldToSource(final Map<String, Object> sourceMap, final String field, final Object value) { if (value instanceof final LocalDateTime ldt) { final ZonedDateTime zdt = ZonedDateTime.of(ldt, ZoneId.systemDefault()); super.addFieldToSource(sourceMap, field, DateTimeFormatter.ISO_INSTANT.format(zdt)); } else {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/base/Present.java
function.apply(reference), "the Function passed to Optional.transform() must not return null.")); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof Present) { Present<?> other = (Present<?>) obj; return reference.equals(other.reference); } return false; } @Override public int hashCode() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.5K bytes - Click Count (0)