Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 1,460 for instanceOf (0.14 seconds)

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

                        new ProjectExecutionEvent(session, currentProject, t));
    
                // rethrow original errors and runtime exceptions
                if (t instanceof RuntimeException runtimeException) {
                    throw runtimeException;
                }
                if (t instanceof Error error) {
                    throw error;
                }
            } finally {
                session.setCurrentProject(null);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

      private final int value;
    
      public UnhashableObject(int value) {
        this.value = value;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof UnhashableObject) {
          UnhashableObject that = (UnhashableObject) object;
          return this.value == that.value;
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Apr 10 20:12:40 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java

            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (obj instanceof ExclusionSetFilter other) {
                return excludes.equals(other.excludes);
            } else {
                return false;
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/AbstractMapEntry.java

      @ParametricNullness
      public V setValue(@ParametricNullness V value) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public boolean equals(@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: Tue Jul 08 18:32:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

            return collection == null ? List.of() : List.copyOf(collection);
        }
    
        static <K, V> Map<K, V> copy(Map<K, V> map) {
            if (map == null) {
                return emptyMap();
            } else if (map instanceof AbstractImmutableMap) {
                return map;
            } else {
                switch (map.size()) {
                    case 0:
                        return emptyMap();
                    case 1:
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                        value = ReflectionValueExtractor.evaluate(pathExpression, session);
                        if (pathSeparator < expression.length() - 1) {
                            if (value instanceof Path path) {
                                value = path.resolve(expression.substring(pathSeparator + 1));
                            } else {
                                value = value + expression.substring(pathSeparator);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/MavenSimpleConfiguration.java

                                + value);
            }
        }
    
        @Override
        public void activate() {
            ILoggerFactory lf = LoggerFactory.getILoggerFactory();
            if (lf instanceof MavenLoggerFactory mlf) {
                mlf.reconfigure();
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/AbstractTable.java

      }
    
      @WeakOuter
      private final class CellSet extends AbstractSet<Cell<R, C, V>> {
        @Override
        public boolean contains(@Nullable Object o) {
          if (o instanceof Cell) {
            Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o;
            Map<C, V> row = safeGet(rowMap(), cell.getRowKey());
            return row != null
                && Collections2.safeContains(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Collections2.java

       * predicate)} and use the copy.
       *
       * <p><b>Warning:</b> {@code predicate} must be <i>consistent with equals</i>, as documented at
       * {@link Predicate#apply}. Do not provide a predicate such as {@code
       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals. (See {@link
       * Iterables#filter(Iterable, Class)} for related functionality.)
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            if (this == other) {
                return true;
            }
    
            if (other instanceof ArtifactVersion artifactVersion) {
                return compareTo(artifactVersion) == 0;
            }
    
            return false;
        }
    
        @Override
        public int compareTo(ArtifactVersion otherVersion) {
            if (otherVersion instanceof DefaultArtifactVersion defaultArtifactVersion) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top