Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 1,946 for instanceof (0.37 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                                public Optional<Path> getPath(org.apache.maven.api.Artifact artifact) {
                                    Path path = paths.get(artifact.key());
                                    if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
                                        path = defaultArtifact.getArtifact().getPath();
                                    }
                                    return Optional.ofNullable(path);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                } else if (info instanceof FileStandardInfo) {
                    this.size = info.getSize();
                    this.sizeExpiration = currentTime + cacheTimeout;
                }
    
                // Optimization: Try to get both basic and standard info efficiently
                if (info instanceof FileBasicInfo && this.sizeExpiration < currentTime) {
                    try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            public String toString() {
                StringBuilder buffer = new StringBuilder();
                for (Item item : this) {
                    if (!buffer.isEmpty()) {
                        buffer.append((item instanceof ListItem) ? '-' : '.');
                    }
                    buffer.append(item);
                }
                return buffer.toString();
            }
    
            /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/ElementOrder.java

        this.comparator = comparator;
        checkState((type == Type.SORTED) == (comparator != null));
      }
    
      /** Returns an instance which specifies that no ordering is guaranteed. */
      public static <S> ElementOrder<S> unordered() {
        return new ElementOrder<>(Type.UNORDERED, null);
      }
    
      /**
       * Returns an instance which specifies that ordering is guaranteed to be always be the same across
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

                // Expected
            }
        }
    
        // Test inheritance
        @Test
        public void test_inheritance() {
            assertTrue(messages instanceof FessLabels);
            assertTrue(messages instanceof org.lastaflute.core.message.UserMessages);
        }
    
        // Test method chaining
        @Test
        public void test_methodChaining() {
            String property1 = "prop1";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                    return content;
                }
            }
    
            if (responseData.getMetaDataMap().get(Extractor.class.getSimpleName()) instanceof TikaExtractor) {
                return content;
            }
    
            final int maxAlphanumTermSize = getMaxAlphanumTermSize();
            final int maxSymbolTermSize = getMaxSymbolTermSize();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  7. android/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<>(nodeConnections)
                : new MapIteratorCache<>(nodeConnections);
        this.edgeCount = checkNonNegative(edgeCount);
      }
    
      @Override
      public Set<N> nodes() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

                }
                if (logger.isDebugEnabled()) {
                    logger.debug("Redirecting to login page.");
                }
                return redirect(LoginAction.class);
            }
            if (loginCredential instanceof ActionResponseCredential) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Login credential is an ActionResponseCredential, executing it.");
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/reflect/ClassPath.java

          return file;
        }
    
        @Override
        public int hashCode() {
          return resourceName.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof ResourceInfo) {
            ResourceInfo that = (ResourceInfo) obj;
            return resourceName.equals(that.resourceName) && loader == that.loader;
          }
          return false;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            executor.shutdown();
    
            // Then - No ConcurrentModificationException
            for (Exception e : exceptions) {
                assertFalse(e instanceof java.util.ConcurrentModificationException, "Should not have ConcurrentModificationException");
            }
    
            assertTrue(successCount.get() > 0, "Operations should succeed");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11K bytes
    - Click Count (0)
Back to Top