- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 1,431 for instanceOf (0.05 seconds)
-
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) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
@Override public V getValue() { return value; } @Override public boolean equals(@Nullable Object object) { // Cannot use key and value equivalence if (object instanceof Entry) { Entry<?, ?> that = (Entry<?, ?>) object; return key.equals(that.getKey()) && value.equals(that.getValue()); } return false; } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 21.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K 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) -
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) -
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)