- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,889 for instanceOf (0.1 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
return ImmutableSet.copyOf(elements); } public void testCreation_allDuplicates() { ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a")); assertTrue(set instanceof SingletonImmutableSet); assertEquals(Lists.newArrayList("a"), new ArrayList<>(set)); } public void testCreation_oneDuplicate() { // now we'll get the varargs overload
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
return new ForwardingRunnable(runnable) { @SuppressWarnings("EqualsHashCode") @Override public boolean equals(@Nullable Object o) { if (o instanceof ForwardingRunnable) { ForwardingRunnable that = (ForwardingRunnable) o; return runnable.equals(that.runnable); } return false; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
} @Override public boolean containsKey(@Nullable Object key) { return get(key) != null; } @Override public @Nullable Range<C> get(@Nullable Object key) { if (key instanceof Cut) { try { @SuppressWarnings("unchecked") // we catch CCEs Cut<C> cut = (Cut<C>) key; if (!upperBoundWindow.contains(cut)) { return null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 32.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableTable.java
} @Override public ImmutableSet<C> columnKeySet() { return columnMap().keySet(); } /** * {@inheritDoc} * * <p>The value {@code Map<R, V>} instances in the returned map are {@link ImmutableMap} instances * as well. */ @Override public abstract ImmutableMap<C, Map<R, V>> columnMap(); /** * {@inheritDoc} *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
item.hashCode(), item.hashCode()); if (!(item instanceof String)) { assertTrue( item + " must not be Object#equals to its Object#toString representation", !item.equals(item.toString())); } } } /** * Class used to test whether equals() correctly handles an instance of an incompatible class.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderRequest.java
return Optional.ofNullable(userToolchainsSource); } @Override public boolean equals(Object o) { return o instanceof DefaultToolchainsBuilderRequest that && Objects.equals(installationToolchainsSource, that.installationToolchainsSource)
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
}); assertTrue(exception.getMessage().contains("Unsupported OEM encoding"), "Exception should mention unsupported encoding"); assertTrue(exception.getCause() instanceof UnsupportedEncodingException, "Cause should be UnsupportedEncodingException"); } } @Nested @DisplayName("Unicode Decoding Tests") class UnicodeDecodingTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
* @param boolQuery Consumer that configures the boolean query. */ public void addQuery(final Consumer<BoolQueryBuilder> boolQuery) { BoolQueryBuilder builder; if (queryBuilder instanceof MatchAllQueryBuilder) { builder = QueryBuilders.boolQuery(); } else { builder = QueryBuilders.boolQuery().must(queryBuilder); } boolQuery.accept(builder);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
final Field protocolTypeField = ClassUtil.getDeclaredField(handlerClazz, "PROTOCOL_TYPE"); if (protocolTypeField.get(null) instanceof final String protocolType) { if ("web".equalsIgnoreCase(protocolType)) { addWebProtocol(protocol); } else if ("file".equalsIgnoreCase(protocolType)) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.7K bytes - Viewed (0)