- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 1,431 for instanceOf (0.05 seconds)
-
guava/src/com/google/common/graph/ImmutableGraph.java
this.backingGraph = backingGraph; } /** Returns an immutable copy of {@code graph}. */ public static <N> ImmutableGraph<N> copyOf(Graph<N> graph) { return (graph instanceof ImmutableGraph) ? (ImmutableGraph<N>) graph : new ImmutableGraph<N>( new StandardValueGraph<N, Presence>( GraphBuilder.from(graph), getNodeConnections(graph), graph.edges().size()));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 6.4K bytes - Click Count (0) -
android/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) -
guava/src/com/google/common/graph/StandardValueGraph.java
this.nodeOrder = builder.nodeOrder.cast(); // Prefer the heavier "MapRetrievalCache" for nodes if lookup is expensive. this.nodeConnections = (nodeConnections instanceof TreeMap) ? new MapRetrievalCache<N, GraphConnections<N, V>>(nodeConnections) : new MapIteratorCache<N, GraphConnections<N, V>>(nodeConnections); this.edgeCount = checkNonNegative(edgeCount); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 6K bytes - Click Count (0) -
guava/src/com/google/common/hash/Murmur3_128HashFunction.java
} @Override public String toString() { return "Hashing.murmur3_128(" + seed + ")"; } @Override public boolean equals(@Nullable Object object) { if (object instanceof Murmur3_128HashFunction) { Murmur3_128HashFunction other = (Murmur3_128HashFunction) object; return seed == other.seed; } return false; } @Override public int hashCode() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
inline.execute(command); } private static <T> void assertTaskWrapped(Collection<? extends Callable<T>> tasks) { Predicate<Object> p = Predicates.instanceOf(WrappedCallable.class); assertTrue(Iterables.all(tasks, p)); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 9.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
}); } private void findAnnotations(NodeWithAnnotations<?> node, AbstractLanguageElement currentElement) { for (AnnotationExpr child : node.getAnnotations()) { if (child instanceof SingleMemberAnnotationExpr && child.getNameAsString().endsWith("ReplacedBy")) { currentElement.setReplacement(((SingleMemberAnnotationExpr) child).getMemberValue().asLiteralStringValueExpr().getValue()); }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 19 15:07:24 GMT 2024 - 11.8K bytes - Click Count (0) -
guava/src/com/google/common/net/InetAddresses.java
try { InetAddress address = InetAddress.getByAddress(addr); if (scope == null) { return address; } checkArgument( address instanceof Inet6Address, "Unexpected state, scope should only appear for ipv6"); Inet6Address v6Address = (Inet6Address) address; int interfaceIndex = tryParseDecimal(scope, 0, scope.length()); if (interfaceIndex != -1) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 47.4K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
} catch (final Exception e) { throw new IllegalArgumentException("Cannot create instance of: " + clazz, e); } catch (final LinkageError e) { throw new IllegalArgumentException("Cannot create instance of: " + clazz, e); } } /** * Creates an instance of the given implementation using the given string, assumes a public string constructor. *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 15.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
*/ public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) { checkNotNull(elements); // TODO(kevinb): is this here only for GWT? return (elements instanceof Collection) ? copyOf((Collection<? extends E>) elements) : copyOf(elements.iterator()); } /** * Returns an immutable list containing the given elements, in order. *
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0)