- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 2,436 for instanceOf (0.08 seconds)
-
android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
Collection<E> collection) { if (collection instanceof NavigableSet) { return unmodifiableNavigableSet((NavigableSet<E>) collection); } else { return unmodifiableSortedSet((SortedSet<E>) collection); } } @Override Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) { if (collection instanceof NavigableSet) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 5.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
Iterable<List<Integer>> partitions = Iterables.partition(source, 2); Iterator<List<Integer>> iterator = partitions.iterator(); assertTrue(iterator.next() instanceof RandomAccess); assertTrue(iterator.next() instanceof RandomAccess); } @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
ImmutableEntry<E> bucketHead = hashTable[bucket]; ImmutableEntry<E> newEntry; if (bucketHead == null) { boolean canReuseEntry = entry instanceof ImmutableEntry && !(entry instanceof NonTerminalEntry); newEntry = canReuseEntry ? (ImmutableEntry<E>) entry : new ImmutableEntry<E>(element, count); } else {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TrustedInputFutureTest.java
@Override AbstractFuture<@Nullable Integer> newDelegate() { AbstractFuture<@Nullable Integer> future = new TrustedFuture<@Nullable Integer>() {}; assertTrue(future instanceof TrustedFuture); // sanity check return future; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UntrustedInputFutureTest.java
@Override AbstractFuture<@Nullable Integer> newDelegate() { AbstractFuture<@Nullable Integer> future = new AbstractFuture<@Nullable Integer>() {}; assertFalse(future instanceof TrustedFuture); // sanity check return future; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 1.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
/** * Gets the Fess configuration instance. * * @return the Fess configuration object */ FessConfig getFessConfig(); /** * Gets the logger instance for this transformer. * * @return the logger instance */ Logger getLogger(); /** * Extracts the host name from a URL string.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
if (resp == null) { return null; } resp.setDigest(getDigest()); setResponse(resp); final ServerMessageBlock2 n = getNext(); if (n instanceof ServerMessageBlock2Request<?>) { resp.setNext(((ServerMessageBlock2Request<?>) n).initResponse(tc)); } return resp; } /** * {@inheritDoc} *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
SmbFilenameFilter filter = (d, n) -> { throw new SmbException("forced exception"); }; Exception e = assertThrows(Exception.class, () -> filter.accept(dir, "any")); assertTrue(e instanceof SmbException); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
return AbstractBaseGraph.this.edges(); } @Override public Graph<N> asGraph() { if (AbstractBaseGraph.this instanceof Graph) { return (Graph<N>) AbstractBaseGraph.this; } else if (AbstractBaseGraph.this instanceof ValueGraph) { return ((ValueGraph<N, ?>) AbstractBaseGraph.this).asGraph(); } throw new UnsupportedOperationException(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 11.5K bytes - Click Count (0)