Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 2,446 for instanceOf (0.05 sec)

  1. android/guava/src/com/google/common/collect/AbstractTable.java

      abstract Iterator<Table.Cell<R, C, V>> cellIterator();
    
      @WeakOuter
      private final class CellSet extends AbstractSet<Cell<R, C, V>> {
        @Override
        public boolean contains(@Nullable Object o) {
          if (o instanceof Cell) {
            Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o;
            Map<C, V> row = safeGet(rowMap(), cell.getRowKey());
            return row != null
                && Collections2.safeContains(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Ints.java

          // Overridden to prevent a ton of boxing
          return (target instanceof Integer) && Ints.indexOf(array, (Integer) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Integer) {
            int i = Ints.indexOf(array, (Integer) target, start, end);
            if (i >= 0) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/DefaultArtifactRepositoryFactory.java

                snapshots.setChecksumPolicy(globalChecksumPolicy);
                releases.setChecksumPolicy(globalChecksumPolicy);
            }
    
            ArtifactRepository repository;
            if (repositoryLayout instanceof ArtifactRepositoryLayout2 artifactRepositoryLayout2) {
                repository = artifactRepositoryLayout2.newMavenArtifactRepository(id, url, snapshots, releases);
            } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.7K bytes
    - Viewed (1)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

                public Collection<ProducedArtifact> getArtifacts() {
                    return artifacts;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultArtifactInstallerRequest that && Objects.equals(artifacts, that.artifacts);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hashCode(artifacts);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/CIFSExceptionTest.java

            // When
            CIFSException exception = new CIFSException(message);
    
            // Then
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertTrue(exception instanceof IOException);
        }
    
        @Test
        @DisplayName("Should create CIFSException with message and cause")
        void testCIFSExceptionWithCause() {
            // Given
            String message = "CIFS operation failed";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

            this.typeRegistry = requireNonNull(typeRegistry, "typeRegistry");
        }
    
        @Override
        public ArtifactType get(String typeId) {
            Type type = typeRegistry.require(typeId);
            if (type instanceof ArtifactType artifactType) {
                return artifactType;
            }
            return new DefaultType(
                    type.id(),
                    type.getLanguage(),
                    type.getExtension(),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jul 18 22:21:33 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java

        @Override
        public void close() throws Exception {
            ArrayList<Exception> exceptions = new ArrayList<>();
            for (CommandRegistry commandRegistry : commandRegistries) {
                if (commandRegistry instanceof AutoCloseable closeable) {
                    try {
                        closeable.close();
                    } catch (Exception e) {
                        exceptions.add(e);
                    }
                }
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 17 09:50:45 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy

        BinaryBreakingSuperclassChangeRule(Map<String, Object> params) {
            super(params)
        }
    
        @Override
        protected boolean changed(JApiCompatibility member) {
            return member instanceof JApiClass && !member.superclass.binaryCompatible && !member.superclass.compatibilityChanges.empty
        }
    
        @Override
        protected Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (obj instanceof CumulativeScopeArtifactFilter that) {
                return scopes.equals(that.scopes);
            } else {
                return false;
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

            if (address == null) {
                return false;
            }
            try {
                final InetAddress inetAddress = InetAddress.getByName(address);
                return inetAddress instanceof Inet6Address;
            } catch (final Exception e) {
                return false;
            }
        }
    
        /**
         * Formats an IP address string for use in a URL.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top