Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 2,443 for toObject (0.11 seconds)

  1. android/guava/src/com/google/common/collect/Ordering.java

       * Object[])} comparator when comparing a value outside the set of values it can compare.
       * Extending {@link ClassCastException} may seem odd, but it is required.
       */
      static final class IncomparableValueException extends ClassCastException {
        final Object value;
    
        IncomparableValueException(Object value) {
          super("Cannot compare value: " + value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

         * Registers a value in the render data with the specified key.
         * If the value is an Entity object, it will be converted to a Map using BeanUtil.
         * If the value is a Collection containing Entity objects, each Entity will be converted to a Map.
         * For other types of values, they are registered directly.
         *
         * @param data the RenderData object to register the value in
         * @param key the key to associate with the value
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

     *
     * @author David Richter
     */
    @NullUnmarked
    public class MultisetIteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
      LinkedHashMultiset<Object> linkedHashMultiset;
      HashMultiset<Object> hashMultiset;
    
      // TreeMultiset requires a Comparable element.
      TreeMultiset<Integer> treeMultiset;
    
      @BeforeExperiment
      void setUp() {
        hashMultiset = HashMultiset.create(size);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/RegularImmutableTable.java

        }
    
        @Override
        Cell<R, C, V> get(int index) {
          return getCell(index);
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          if (object instanceof Cell) {
            Cell<?, ?, ?> cell = (Cell<?, ?, ?>) object;
            Object value = RegularImmutableTable.this.get(cell.getRowKey(), cell.getColumnKey());
            return value != null && value.equals(cell.getValue());
          }
          return false;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

      }
    
      public void testAwaitClear() {
        WeakReference<Object> ref = createWeakReference();
        GcFinalization.awaitClear(ref);
        assertThat(ref.get()).isNull();
      }
    
      private WeakReference<Object> createWeakReference() {
        return new WeakReference<>(new Object());
      }
    
      public void testAwaitDone_finalizationPredicate() {
        WeakHashMap<Object, Object> map = new WeakHashMap<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

     *
     * @author Hayward Chan
     */
    final class Platform {
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return Maps.newHashMapWithExpectedSize(expectedSize);
      }
    
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/entity/ParamMap.java

        @Override
        public boolean containsKey(final Object key) {
            if (parent.containsKey(key)) {
                return true;
            }
            return parent.containsKey(toCamelCase(key));
        }
    
        @Override
        public boolean containsValue(final Object value) {
            return parent.containsValue(value);
        }
    
        @Override
        public V get(final Object key) {
            final V value = parent.get(key);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/lang/ClassUtil.java

            return clazz;
        }
    
        /**
         * Returns a {@link Constructor} object that reflects the specified {@code public} constructor of the class represented by the {@link Class} object.
         *
         * @param <T>
         *            The class represented by the {@link Class} object
         * @param clazz
         *            The {@link Class} object representing the class. Must not be {@literal null}.
         * @param argTypes
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/ResourceUtil.java

         * @return the Path object pointing to the classes directory
         */
        public static Path getClassesPath(final String... names) {
            return getPath("WEB-INF/", "classes", names);
        }
    
        /**
         * Gets the path to original files directory.
         *
         * @param names the path components to append to the orig directory
         * @return the Path object pointing to the original files directory
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ByFunctionOrdering.java

        return ordering.compare(function.apply(left), function.apply(right));
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ByFunctionOrdering) {
          ByFunctionOrdering<?, ?> that = (ByFunctionOrdering<?, ?>) object;
          return this.function.equals(that.function) && this.ordering.equals(that.ordering);
        }
        return false;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top