Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 1,610 for instanceof (0.06 seconds)

  1. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

      }
    
      @Override
      public String toString() {
        return "Hashing.murmur3_128(" + seed + ")";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Murmur3_128HashFunction) {
          Murmur3_128HashFunction other = (Murmur3_128HashFunction) object;
          return seed == other.seed;
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

            return WildcardQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final WildcardQuery wildcardQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("WildcardQuery: query={}, boost={}", query, boost);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

        DelegatingInvocationHandlerWithEquals(Object delegate) {
          super(delegate);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof DelegatingInvocationHandlerWithEquals) {
            DelegatingInvocationHandlerWithEquals that = (DelegatingInvocationHandlerWithEquals) obj;
            return delegate.equals(that.delegate);
          } else {
            return false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableList.java

        @Override
        public Builder<E> addAll(Iterable<? extends E> elements) {
          checkNotNull(elements);
          if (elements instanceof Collection) {
            Collection<?> collection = (Collection<?>) elements;
            ensureRoomFor(collection.size());
            if (collection instanceof ImmutableCollection) {
              ImmutableCollection<?> immutableCollection = (ImmutableCollection<?>) collection;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/HostSpecifier.java

          return false;
        }
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (this == other) {
          return true;
        }
    
        if (other instanceof HostSpecifier) {
          HostSpecifier that = (HostSpecifier) other;
          return this.canonicalForm.equals(that.canonicalForm);
        }
    
        return false;
      }
    
      @Override
      public int hashCode() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        @Override
        public V getValue() {
          return value;
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          // Cannot use key and value equivalence
          if (object instanceof Entry) {
            Entry<?, ?> that = (Entry<?, ?>) object;
            return key.equals(that.getKey()) && value.equals(that.getValue());
          }
          return false;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Range.java

       * @throws NullPointerException if any of {@code values} is null
       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> encloseAll(Iterable<C> values) {
        checkNotNull(values);
        if (values instanceof SortedSet) {
          SortedSet<C> set = (SortedSet<C>) values;
          Comparator<?> comparator = set.comparator();
          if (Ordering.<C>natural().equals(comparator) || comparator == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

        DelegatingInvocationHandlerWithEquals(Object delegate) {
          super(delegate);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof DelegatingInvocationHandlerWithEquals) {
            DelegatingInvocationHandlerWithEquals that = (DelegatingInvocationHandlerWithEquals) obj;
            return delegate.equals(that.delegate);
          } else {
            return false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

            } catch (final Exception e) {
                logger.warn("Failed to get active instances.", e);
            }
            return instances;
        }
    
        /**
         * Checks whether the specified instance is currently active.
         *
         * @param targetInstanceId the instance ID to check.
         * @return {@code true} if the instance is active.
         */
        public boolean isInstanceActive(final String targetInstanceId) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        final int value;
    
        Collider(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top