Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 1,460 for instanceOf (0.06 seconds)

  1. android/guava/src/com/google/common/primitives/Shorts.java

          // Overridden to prevent a ton of boxing
          return (target instanceof Short) && Shorts.indexOf(array, (Short) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Short) {
            int i = Shorts.indexOf(array, (Short) target, start, end);
            if (i >= 0) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/primitives/Shorts.java

          // Overridden to prevent a ton of boxing
          return (target instanceof Short) && Shorts.indexOf(array, (Short) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Short) {
            int i = Shorts.indexOf(array, (Short) target, start, end);
            if (i >= 0) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                    logReactorSummary(event.getSession());
                }
    
                ILoggerFactory iLoggerFactory = LoggerFactory.getILoggerFactory();
    
                if (iLoggerFactory instanceof org.apache.maven.logging.api.LogLevelRecorder recorder
                        && recorder.hasReachedMaxLevel()) {
                    event.getSession()
                            .getResult()
                            .addException(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) {
          X instance = newFromConstructor(constructor, cause);
          if (instance != null) {
            if (instance.getCause() == null) {
              instance.initCause(cause);
            }
            return instance;
          }
        }
        throw new IllegalArgumentException(
            "No appropriate constructor for exception of type "
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/Chars.java

          // Overridden to prevent a ton of boxing
          return (target instanceof Character)
              && Chars.indexOf(array, (Character) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Character) {
            int i = Chars.indexOf(array, (Character) target, start, end);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

      public int hashCode() { // delegate to 's'
        return s.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object other) {
        if (other == null) {
          return false;
        } else if (other instanceof BaseComparable) {
          return s.equals(((BaseComparable) other).s);
        } else {
          return false;
        }
      }
    
      @Override
      public int compareTo(BaseComparable o) {
        return s.compareTo(o.s);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                // notify listeners about "soft" project build failures only
                if (t instanceof Exception exception && !(t instanceof RuntimeException)) {
                    eventCatapult.fire(ExecutionEvent.Type.ProjectFailed, session, null, exception);
                }
    
                // reactor failure modes
                if (t instanceof RuntimeException || !(t instanceof Exception)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy

        BinaryBreakingSuperclassChangeRule(Map<String, Object> params) {
            super(params)
        }
    
        @Override
        protected boolean changed(JApiCompatibility member) {
            return member instanceof JApiClass && !member.superclass.binaryCompatible && !member.superclass.compatibilityChanges.empty
        }
    
        @Override
        protected Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 1.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

            this.typeRegistry = requireNonNull(typeRegistry, "typeRegistry");
        }
    
        @Override
        public ArtifactType get(String typeId) {
            Type type = typeRegistry.require(typeId);
            if (type instanceof ArtifactType artifactType) {
                return artifactType;
            }
            return new DefaultType(
                    type.id(),
                    type.getLanguage(),
                    type.getExtension(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 18 22:21:33 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryHolder.java

        @Override
        public void close() throws Exception {
            ArrayList<Exception> exceptions = new ArrayList<>();
            for (CommandRegistry commandRegistry : commandRegistries) {
                if (commandRegistry instanceof AutoCloseable closeable) {
                    try {
                        closeable.close();
                    } catch (Exception e) {
                        exceptions.add(e);
                    }
                }
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 17 09:50:45 GMT 2024
    - 2.2K bytes
    - Click Count (0)
Back to Top