- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 1,928 for instanceof (0.31 sec)
-
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; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 15 22:14:00 UTC 2025 - 6.5K 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) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
try { return projectBuilder.build(pom, configuration).getProject(); } catch (Exception e) { Throwable cause = e.getCause(); if (cause instanceof ModelBuildingException modelBuildingException) { StringBuilder message = new StringBuilder("In: " + pom + "\n\n"); for (ModelProblem problem : modelBuildingException.getProblems()) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 20:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
super.tearDown(); } public void test_constructor() { // Test that constructor creates an instance ScriptExecutor executor = new ScriptExecutor(); assertNotNull(executor); assertTrue(executor instanceof JobExecutor); } public void test_execute_withValidScriptType() { // Setup test script engine
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
TrustManagerFactory.getDefaultAlgorithm()); trustManagerFactory.init((KeyStore) null); TrustManager[] trustManagers = trustManagerFactory.getTrustManagers(); if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) { throw new IllegalStateException("Unexpected default trust managers:" + Arrays.toString(trustManagers)); } return (X509TrustManager) trustManagers[0]; }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Mar 14 21:57:42 UTC 2019 - 6.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
Iterator<E> iterator = collection.iterator(); Object element = iterator.next(); // If it's an Entry, it may become invalid once it's removed from the Map. Copy it. if (element instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) element; element = mapEntry(entry.getKey(), entry.getValue()); } assertTrue(collection.contains(element)); // sanity check iterator.remove();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
*/ public static JarFile toJarFile(final URL jarUrl) { assertArgumentNotNull("jarUrl", jarUrl); final URLConnection con = URLUtil.openConnection(jarUrl); if (con instanceof JarURLConnection) { return JarURLConnectionUtil.getJarFile((JarURLConnection) con); } return create(new File(toJarFilePath(jarUrl))); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java
return PhraseQuery.class.getSimpleName(); } @Override public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final PhraseQuery phraseQuery) { if (logger.isDebugEnabled()) { logger.debug("{}:{}", query, boost); } return convertPhraseQuery(context, phraseQuery, boost); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
this.andxOffset = dstIndex - this.headerStart; SMBUtil.writeInt2(this.andxOffset, dst, start + ANDX_OFFSET_OFFSET); this.andx.setUseUnicode(this.isUseUnicode()); if (this.andx instanceof AndXServerMessageBlock) { /* * A word about communicating header info to andx smbs * * This is where we recursively invoke the provided andx smb
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0)