Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,889 for instanceOf (0.04 sec)

  1. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

        public void test_assistBehaviorExceptionThrower() {
            BehaviorExceptionThrower result = invokerAssistant.assistBehaviorExceptionThrower();
            assertNotNull(result);
            assertTrue(result instanceof BehaviorExceptionThrower);
        }
    
        // Test assistGearedCipherManager
        public void test_assistGearedCipherManager() {
            GearedCipherManager result = invokerAssistant.assistGearedCipherManager();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

        if (elements instanceof ImmutableSet && !(elements instanceof SortedSet)) {
          @SuppressWarnings("unchecked") // all supported methods are covariant
          ImmutableSet<E> set = (ImmutableSet<E>) elements;
          if (!set.isPartialView()) {
            return set;
          }
        } else if (elements instanceof EnumSet) {
          return copyOfEnumSet((EnumSet<?>) elements);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSetMultimap.java

      /**
       * Returns the empty multimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting is safe because the multimap will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableSetMultimap<K, V> of() {
        return (ImmutableSetMultimap<K, V>) EmptyImmutableSetMultimap.INSTANCE;
      }
    
      /** Returns an immutable multimap containing a single entry. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  4. docs/smb3-features/03-multi-channel-design.md

            return message instanceof Smb2QueryInfoRequest
                || message instanceof Smb2SetInfoRequest
                || message instanceof Smb2QueryDirectoryRequest;
        }
    }
    ```
    
    ### 4.5 Channel Failover Handler
    ```java
    package jcifs.internal.smb2.multichannel;
    
    import java.util.concurrent.*;
    
    public class ChannelFailover {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IterablesTest.java

        Iterable<List<Integer>> partitions = Iterables.partition(source, 2);
        Iterator<List<Integer>> iterator = partitions.iterator();
        assertTrue(iterator.next() instanceof RandomAccess);
        assertTrue(iterator.next() instanceof RandomAccess);
      }
    
      @J2ktIncompatible // Arrays.asList(...).subList() doesn't implement RandomAccess in J2KT.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

            return this;
        }
    
        @Override
        public Path getPath() {
            return null;
        }
    
        @Override
        public Nature getNature() {
            if (metadata instanceof RepositoryMetadata repositoryMetadata) {
                return switch (repositoryMetadata.getNature()) {
                    case RepositoryMetadata.RELEASE_OR_SNAPSHOT -> Nature.RELEASE_OR_SNAPSHOT;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/eventbus/SubscriberRegistry.java

       * all super-classes, that are annotated with {@code @Subscribe}. The cache is shared across all
       * instances of this class; this greatly improves performance if multiple EventBus instances are
       * created and objects of the same class are registered on all of them.
       */
      private static final LoadingCache<Class<?>, ImmutableList<Method>> subscriberMethodsCache =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

        private org.apache.maven.api.Toolchain getToolchainV4(ToolchainPrivate toolchain) {
            return toolchain instanceof ToolchainWrapperV3 v3tc ? v3tc.delegate : new ToolchainWrapperV4(toolchain);
        }
    
        private ToolchainPrivate getToolchainV3(org.apache.maven.api.Toolchain toolchain) {
            return toolchain instanceof ToolchainWrapperV4 v3tc ? v3tc.delegate : new ToolchainWrapperV3(toolchain);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat May 31 07:20:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                final Object fileAttributeView = metaDataMap.get(FileSystemClient.FILE_ATTRIBUTE_VIEW);
                try {
                    if (fileAttributeView instanceof final AclFileAttributeView aclFileAttributeView) {
                        aclFileAttributeView.getAcl().stream().forEach(acl -> {
                            final UserPrincipal principal = acl.principal();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                assertNotNull(preauth);
                assertNotNull(encryption);
                assertTrue(preauth instanceof NegotiateContextRequest);
                assertTrue(encryption instanceof NegotiateContextRequest);
            }
    
            @Test
            @DisplayName("Should verify mock implementation")
            void testMockImplementation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top