Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 1,460 for instanceOf (0.05 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

          }
        }
        return urls.build().toArray(new URL[0]);
      }
    
      /** Returns the URLs in the class path. */
      static URL[] getClassPathUrls() {
        return ClassPathUtil.class.getClassLoader() instanceof URLClassLoader
            ? ((URLClassLoader) ClassPathUtil.class.getClassLoader()).getURLs()
            : parseJavaClassPath();
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

            return doGet(userProperties != null ? userProperties.get(key) : null, def);
        }
    
        private static boolean doGet(Object val, boolean def) {
            if (val instanceof Boolean bool) {
                return bool;
            } else if (val != null) {
                return Boolean.parseBoolean(val.toString());
            } else {
                return def;
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 31 11:36:12 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                return new ForwardingRunnable(runnable) {
    
                  @SuppressWarnings("EqualsHashCode")
                  @Override
                  public boolean equals(@Nullable Object o) {
                    if (o instanceof ForwardingRunnable) {
                      ForwardingRunnable that = (ForwardingRunnable) o;
                      return runnable.equals(that.runnable);
                    }
                    return false;
                  }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      @Override
      public ImmutableSet<C> columnKeySet() {
        return columnMap().keySet();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>The value {@code Map<R, V>} instances in the returned map are {@link ImmutableMap} instances
       * as well.
       */
      @Override
      public abstract ImmutableMap<C, Map<R, V>> columnMap();
    
      /**
       * {@inheritDoc}
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  5. 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() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

                public List<RemoteRepository> getRepositories() {
                    return repositories;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultVersionResolverRequest that
                            && Objects.equals(artifactCoordinates, that.artifactCoordinates)
                            && Objects.equals(repositories, that.repositories);
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed May 14 04:47:58 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/graph/AbstractValueGraph.java

        return Optional.ofNullable(edgeValueOrDefault(endpoints, null));
      }
    
      @Override
      public final boolean equals(@Nullable Object obj) {
        if (obj == this) {
          return true;
        }
        if (!(obj instanceof ValueGraph)) {
          return false;
        }
        ValueGraph<?, ?> other = (ValueGraph<?, ?>) obj;
    
        return isDirected() == other.isDirected()
            && nodes().equals(other.nodes())
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ForwardingMapEntry.java

       * #equals(Object)} to forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardEquals(@Nullable Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equals(this.getKey(), that.getKey())
              && Objects.equals(this.getValue(), that.getValue());
        }
        return false;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. 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())
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
Back to Top