- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 1,460 for instanceOf (0.07 seconds)
-
guava/src/com/google/common/collect/AbstractBiMap.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 14.3K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
// The actual logic is tested in AbstractUpgradeGoalTest // Here we just verify that Check is properly configured as a subclass assertTrue(checkGoal instanceof AbstractUpgradeGoal, "Check should extend AbstractUpgradeGoal"); assertFalse(checkGoal.shouldSaveModifications(), "Check should not save modifications unlike Apply goal"); } }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 4.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java
return Optional.of(project.getArtifact().getFile().toPath()); } } } Path path = paths.get(id); if (path == null && artifact instanceof DefaultArtifact defaultArtifact) { path = defaultArtifact.getArtifact().getPath(); } return Optional.ofNullable(path); } @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 16:01:38 GMT 2025 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/SipHashFunction.java
@Override public String toString() { return "Hashing.sipHash" + c + "" + d + "(" + k0 + ", " + k1 + ")"; } @Override public boolean equals(@Nullable Object object) { if (object instanceof SipHashFunction) { SipHashFunction other = (SipHashFunction) object; return (c == other.c) && (d == other.d) && (k0 == other.k0) && (k1 == other.k1); } return false; } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 5.3K bytes - Click Count (0) -
guava/src/com/google/common/base/CaseFormat.java
} @Override protected String doBackward(String s) { return targetFormat.to(sourceFormat, s); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof StringConverter) { StringConverter that = (StringConverter) obj; return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat); } return false; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Dec 03 18:46:33 GMT 2025 - 6.5K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy
PropertyMetaData property = Mock() _ * property.name >> name _ * property.ownerClass >> classMetaData def type = args.type instanceof TypeMetaData ? args.type : new TypeMetaData(args.type ?: 'org.gradle.Type') _ * property.type >> type _ * property.signature >> "$name-signature"
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 8.4K bytes - Click Count (0) -
guava/src/com/google/common/graph/ImmutableValueGraph.java
} /** Returns an immutable copy of {@code graph}. */ public static <N, V> ImmutableValueGraph<N, V> copyOf(ValueGraph<N, V> graph) { return (graph instanceof ImmutableValueGraph) ? (ImmutableValueGraph<N, V>) graph : new ImmutableValueGraph<N, V>(graph); } /** * Simply returns its argument. * * @deprecated no need to use this */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 7.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
return (Iterator<T>) EmptyModifiableIterator.INSTANCE; } /** Returns an unmodifiable view of {@code iterator}. */ public static <T extends @Nullable Object> UnmodifiableIterator<T> unmodifiableIterator( Iterator<? extends T> iterator) { checkNotNull(iterator); if (iterator instanceof UnmodifiableIterator) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java
org.eclipse.aether.artifact.Artifact artifact = child.getDependency().getArtifact(); String message = artifact instanceof RelocatedArtifact relocated ? relocated.getMessage() : null; logger.warn("The artifact " + child.getRelocations().get(0) + " has been relocated to " + artifactCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardNetwork.java
// methods that access the same node(s) repeatedly, such as Graphs.removeEdgesConnecting(). this.nodeConnections = (nodeConnections instanceof TreeMap) ? new MapRetrievalCache<N, NetworkConnections<N, E>>(nodeConnections) : new MapIteratorCache<N, NetworkConnections<N, E>>(nodeConnections);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 6.9K bytes - Click Count (0)