Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,891 for instanceOf (0.48 sec)

  1. android/guava/src/com/google/common/base/CaseFormat.java

        }
    
        @Override
        protected String doBackward(String s) {
          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof StringConverter) {
            StringConverter that = (StringConverter) obj;
            return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat);
          }
          return false;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                return (T) BooleanConversionUtil.toBoolean(arg);
            } else if (arg != null && arg.getClass() != String.class && String.class == propertyType) {
                return (T) arg.toString();
            } else if (arg instanceof String && !String.class.equals(propertyType)) {
                return (T) convertWithString(arg);
            } else if (java.util.Calendar.class.isAssignableFrom(propertyType)) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        }
    
        @Override
        public int hashCode() {
          return Objects.hash(duration, unit);
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (o instanceof DurationSpec) {
            DurationSpec that = (DurationSpec) o;
            return unit.toNanos(duration) == that.unit.toNanos(that.duration);
          }
          return false;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/InetAddresses.java

        try {
          InetAddress address = InetAddress.getByAddress(addr);
          if (scope == null) {
            return address;
          }
          checkArgument(
              address instanceof Inet6Address, "Unexpected state, scope should only appear for ipv6");
          Inet6Address v6Address = (Inet6Address) address;
          int interfaceIndex = tryParseDecimal(scope, 0, scope.length());
          if (interfaceIndex != -1) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

            }
          }
        }
    
        /*
         * TODO(cpovirk): Should whenAllComplete().call*() log errors, too? Currently, it doesn't call
         * handleException() at all.
         */
        if (throwable instanceof Error) {
          /*
           * TODO(cpovirk): Do we really want to log this if we called setException(throwable) and it
           * returned true? This was intentional (CL 46470009), but it seems odd compared to how we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName());
                } catch (org.eclipse.aether.resolution.ArtifactResolutionException e) {
                    if (e.getCause() instanceof org.eclipse.aether.transfer.ArtifactNotFoundException) {
                        throw new ArtifactNotFoundException(e.getMessage(), artifact, remoteRepositories, e);
                    } else {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 25K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

         * @throws InvalidQueryException if the query is not a FuzzyQuery
         */
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final FuzzyQuery fuzzyQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return convertFuzzyQuery(context, fuzzyQuery, boost);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/log/exentity/SearchLog.java

            return sourceMap;
        }
    
        @Override
        protected void addFieldToSource(final Map<String, Object> sourceMap, final String field, final Object value) {
            if (value instanceof final LocalDateTime ldt) {
                final ZonedDateTime zdt = ZonedDateTime.of(ldt, ZoneId.systemDefault());
                super.addFieldToSource(sourceMap, field, DateTimeFormatter.ISO_INSTANT.format(zdt));
            } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6K bytes
    - Viewed (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;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

                public String getCoordinatesString() {
                    return coordinatesString;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultArtifactFactoryRequestArtifact that
                            && Objects.equals(groupId, that.groupId)
                            && Objects.equals(artifactId, that.artifactId)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top