Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1321 - 1330 of 2,083 for instance1 (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A mutable type-to-instance map. See also {@link ImmutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     * @since 13.0
     */
    public final class MutableTypeToInstanceMap<B extends @Nullable Object>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

                        v3(),
                        (oldV, newV) -> {
                          throw new AssertionFailedError();
                        }));
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testMergeNullValue()} so that tests of {@link
       * Hashtable} can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/convert/BigIntegerConversionUtil.java

         * @return The converted {@link BigInteger}
         */
        public static BigInteger toBigInteger(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof BigInteger) {
                return (BigInteger) o;
            } else {
                final Long l = LongConversionUtil.toLong(o, pattern);
                if (l == null) {
                    return null;
                }
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/opensearch/log/exentity/FavoriteLog.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 {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/base/Present.java

                function.apply(reference),
                "the Function passed to Optional.transform() must not return null."));
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof Present) {
          Present<?> other = (Present<?>) obj;
          return reference.equals(other.reference);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Apr 15 22:14:00 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/AbstractRangeSet.java

      }
    
      @Override
      public abstract boolean encloses(Range<C> otherRange);
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj == this) {
          return true;
        } else if (obj instanceof RangeSet) {
          RangeSet<?> other = (RangeSet<?>) obj;
          return this.asRanges().equals(other.asRanges());
        }
        return false;
      }
    
      @Override
      public final int hashCode() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java

            accessResultData.setData("xyz".getBytes());
    
            final Object obj = binaryTransformer.getData(accessResultData);
            assertNotNull(obj);
            assertTrue(obj instanceof InputStream);
            assertEquals("xyz", new String(IOUtils.toByteArray((InputStream) obj)));
        }
    
        public void test_getData_wrongName() throws Exception {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Mar 15 06:52:00 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/log/exentity/UserInfo.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 {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java

        }
    
        private PrintStream toPsOrDef(OutputStream outputStream, PrintStream def) {
            if (outputStream == null) {
                return def;
            }
            if (outputStream instanceof PrintStream ps) {
                return ps;
            }
            return new PrintStream(outputStream, true);
        }
    
        @Override
        public void log(Level level, String message, Throwable error) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top