- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 1,610 for instanceof (0.2 seconds)
-
guava/src/com/google/common/collect/CompoundOrdering.java
return result; } } return 0; } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (object instanceof CompoundOrdering) { CompoundOrdering<?> that = (CompoundOrdering<?>) object; return Arrays.equals(this.comparators, that.comparators); } return false; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/exception/SQLRuntimeException.java
* Returns the <code>SQL</code>. * * @param cause the underlying exception * @return the <code>SQL</code> */ protected static String getSql(final SQLException cause) { if (cause instanceof ClSQLException) { return ((ClSQLException) cause).getSql(); } return ""; } /** * Returns the real message. * * @param cause the underlying exception
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java
return BooleanQuery.class.getSimpleName(); } @Override public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final BooleanQuery booleanQuery) { if (logger.isDebugEnabled()) { logger.debug("BooleanQuery: query={}, boost={}", query, boost); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 3.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
super(type, true, contents); } /* * equals() and hashCode() are more specific in the Set contract. */ @Override public boolean equals(@Nullable Object object) { if (object instanceof Set) { Set<?> that = (Set<?>) object; return (this.size() == that.size()) && this.containsAll(that); } return false; } @Override public int hashCode() { int hashCodeSum = 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
super(type, true, contents); } /* * equals() and hashCode() are more specific in the Set contract. */ @Override public boolean equals(@Nullable Object object) { if (object instanceof Set) { Set<?> that = (Set<?>) object; return (this.size() == that.size()) && this.containsAll(that); } return false; } @Override public int hashCode() { int hashCodeSum = 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompoundOrdering.java
return result; } } return 0; } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (object instanceof CompoundOrdering) { CompoundOrdering<?> that = (CompoundOrdering<?>) object; return Arrays.equals(this.comparators, that.comparators); } return false; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
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; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
assertTrue(indexExportJob.createFormatter("HTML") instanceof HtmlIndexExportFormatter); assertTrue(indexExportJob.createFormatter("Json") instanceof JsonIndexExportFormatter); assertTrue(indexExportJob.createFormatter("JSON") instanceof JsonIndexExportFormatter); } @Test public void test_createFormatter_unsupported() { try { indexExportJob.createFormatter("xml");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerTest.java
} catch (IllegalStateException expected) { } } public void testReturnsPlainConcurrentHashMapWhenPossible() { Map<?, ?> map = new MapMaker().initialCapacity(5).makeMap(); assertTrue(map instanceof ConcurrentHashMap); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exentity/UserInfo.java
} return sourceMap; } @Override protected void addFieldToSource(final Map<String, Object> sourceMap, final String field, final Object value) { if (value instanceof final LocalDateTime ldt) { final ZonedDateTime zdt = ZonedDateTime.of(ldt, ZoneId.systemDefault()); super.addFieldToSource(sourceMap, field, DateTimeFormatter.ISO_INSTANT.format(zdt)); } else {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.6K bytes - Click Count (0)