Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 621 - 630 of 1,632 for instanceof (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            void testInterfaceImplementation() {
                CreateContextResponse response = mock(CreateContextResponse.class);
                assertNotNull(response);
                assertTrue(response instanceof CreateContextResponse);
            }
    
            @Test
            @DisplayName("getName() should return expected byte array")
            void testGetNameMethod() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  2. 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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Aug 19 14:09:36 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/GeneralRange.java

          }
        }
    
        return new GeneralRange<>(comparator, hasLowBound, lowEnd, lowType, hasUpBound, upEnd, upType);
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof GeneralRange) {
          GeneralRange<?> r = (GeneralRange<?>) obj;
          return comparator.equals(r.comparator)
              && hasLowerBound == r.hasLowerBound
              && hasUpperBound == r.hasUpperBound
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                                return this.type;
                            }
                        }
                    } catch (final CIFSException e) {
                        if (!(e.getCause() instanceof UnknownHostException)) {
                            throw e;
                        }
                        log.debug("Unknown host", e);
                    }
                    this.type = SmbConstants.TYPE_SERVER;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CompactHashMap.java

       * references, which is particularly hard to quantify.
       */
    
      /** Creates an empty {@code CompactHashMap} instance. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          CompactHashMap<K, V> create() {
        return new CompactHashMap<>();
      }
    
      /**
       * Creates a {@code CompactHashMap} instance, with a high enough "initial capacity" that it
       * <i>should</i> hold {@code expectedSize} elements without growth.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/EnumMultiset.java

        checkArgument(type.isEnum());
        this.enumConstants = type.getEnumConstants();
        this.counts = new int[enumConstants.length];
      }
    
      private boolean isActuallyE(@Nullable Object o) {
        if (o instanceof Enum) {
          Enum<?> e = (Enum<?>) o;
          int index = e.ordinal();
          return index < enumConstants.length && enumConstants[index] == e;
        }
        return false;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

      }
    
      @Override
      public String toString() {
        return "Hashing.murmur3_32(" + seed + ")";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Murmur3_32HashFunction) {
          Murmur3_32HashFunction other = (Murmur3_32HashFunction) object;
          return seed == other.seed && supplementaryPlaneFix == other.supplementaryPlaneFix;
        }
        return false;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/FessUserTest.java

                    new String[] { "perm1", "perm2" });
    
            // Verify the interface extends Serializable
            assertTrue(user instanceof java.io.Serializable);
        }
    
        @Test
        public void test_allFieldsCombination() {
            // Test with all fields populated
            String name = "complexUser";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/UnsignedLong.java

      }
    
      @Override
      public int hashCode() {
        return Long.hashCode(value);
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof UnsignedLong) {
          UnsignedLong other = (UnsignedLong) obj;
          return value == other.value;
        }
        return false;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top