Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 2,446 for instanceOf (0.17 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

            this.usedTypes = new ConcurrentHashMap<>();
            this.manager = requireNonNull(manager, "artifactHandlerManager cannot be null");
        }
    
        @Override
        public void onEvent(Object event) {
            if (event instanceof ExecutionEvent executionEvent) {
                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
                    usedTypes.clear();
                }
            }
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed May 14 04:47:58 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

            return 0L;
        }
    
        @Override
        public long length() {
            return 0L;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SmbShareInfo si) {
                return netName.equals(si.netName);
            }
            return false;
        }
    
        @Override
        public int hashCode() {
            return netName.hashCode();
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

        return delegate.get(key);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ImmutableEnumMap) {
          object = ((ImmutableEnumMap<?, ?>) object).delegate;
        }
        return delegate.equals(object);
      }
    
      @Override
      UnmodifiableIterator<Entry<K, V>> entryIterator() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/ArrayMap.java

        /** View as a {@link Set} */
        protected transient Set<? extends Map.Entry<K, V>> entrySet = null;
    
        /**
         * Constructs an instance with the default initial capacity.
         */
        public ArrayMap() {
            this(INITIAL_CAPACITY);
        }
    
        /**
         * Constructs an instance with the specified initial capacity.
         *
         * @param initialCapacity the initial capacity
         */
        @SuppressWarnings("unchecked")
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Interners.java

        }
      }
    
      /** Returns a fresh {@link InternerBuilder} instance. */
      public static InternerBuilder newBuilder() {
        return new InternerBuilder();
      }
    
      /**
       * Returns a new thread-safe interner which retains a strong reference to each instance it has
       * interned, thus preventing these instances from being garbage-collected. If this retention is
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            // Test as Encodable
            assertTrue(fileInfo instanceof jcifs.Encodable);
            int size = fileInfo.size();
            assertTrue(size > 0);
    
            byte[] encodeBuffer = new byte[size];
            int encoded = fileInfo.encode(encodeBuffer, 0);
            assertEquals(size, encoded);
    
            // Test as Decodable
            assertTrue(fileInfo instanceof jcifs.Decodable);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

     *   <li>{@link #set(String, Object)} - Sets a setting value by key.</li>
     *   <li>{@link #array()} - Returns an instance of ArraySettings.</li>
     *   <li>{@link #analyzer()} - Returns an instance of AnalyzerSettings.</li>
     *   <li>{@link #badword()} - Returns an instance of BadWordSettings.</li>
     *   <li>{@link #elevateWord()} - Returns an instance of ElevateWordSettings.</li>
     * </ul>
     *
     * <p>Timeout settings can be accessed via:</p>
     * <ul>
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

        public String getServer() {
            if (this instanceof DcerpcPipeHandle) {
                return ((DcerpcPipeHandle) this).pipe.getServer();
            }
            return null;
        }
    
        /**
         * Gets the principal associated with this handle
         * @return the principal or null if not authenticated
         */
        public Principal getPrincipal() {
            if (this instanceof DcerpcPipeHandle) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Tables.java

        // needed for serialization
        AbstractCell() {}
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj == this) {
            return true;
          }
          if (obj instanceof Cell) {
            Cell<?, ?, ?> other = (Cell<?, ?, ?>) obj;
            return Objects.equals(getRowKey(), other.getRowKey())
                && Objects.equals(getColumnKey(), other.getColumnKey())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

            SmbAuthException ex = new SmbAuthException(errCode);
    
            // Assert: type, message derived from code, status mapping, and no cause
            assertNotNull(ex);
            assertTrue(ex instanceof SmbException);
            assertEquals(SmbException.getMessageByCode(errCode), ex.getMessage(), "message should reflect error code mapping");
            assertEquals(expectedStatus, ex.getNtStatus(), "status should map based on code");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top