Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,924 for toObject (0.03 sec)

  1. guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      /**
       * A sensible definition of {@link #subSet(Object, Object)} in terms of the {@link #subSet(Object,
       * boolean, Object, boolean)} method. If you override {@link #subSet(Object, boolean, Object,
       * boolean)}, you may wish to override {@link #subSet(Object, Object)} to forward to this
       * implementation.
       */
      @Override
      protected SortedSet<E> standardSubSet(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

                return delegate.entrySet();
              }
    
              @Override
              public boolean contains(@Nullable Object object) {
                if (object instanceof Entry<?, ?> && ((Entry<?, ?>) object).getKey() == null) {
                  return false;
                }
                try {
                  return super.contains(object);
                } catch (ClassCastException e) {
                  return false;
                }
              }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MoreCollectors.java

      public static <T> Collector<T, ?, Optional<T>> toOptional() {
        return (Collector) TO_OPTIONAL;
      }
    
      private static final Object NULL_PLACEHOLDER = new Object();
    
      private static final Collector<@Nullable Object, ?, @Nullable Object> ONLY_ELEMENT =
          Collector.<@Nullable Object, ToOptionalState, @Nullable Object>of(
              ToOptionalState::new,
              (state, o) -> state.add((o == null) ? NULL_PLACEHOLDER : o),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/EqualsTester.java

          assertTrue(
              item + " must not be Object#equals to an arbitrary object of another class",
              !item.equals(NotAnInstance.EQUAL_TO_NOTHING));
          assertTrue(item + " must be Object#equals to itself", item.equals(item));
          assertEquals(
              "the Object#hashCode of " + item + " must be consistent",
              item.hashCode(),
              item.hashCode());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    @GwtCompatible
    @NullMarked
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    @GwtCompatible
    @NullMarked
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

        }
    
        public void test_complex_document_structure() {
            Map<String, Object> doc = new HashMap<>();
    
            Map<String, Object> nestedMap = new HashMap<>();
            nestedMap.put("nestedKey", "nestedValue");
            doc.put("nested", nestedMap);
    
            List<Map<String, Object>> listOfMaps = new ArrayList<>();
            listOfMaps.add(nestedMap);
            doc.put("listOfMaps", listOfMaps);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (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
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

       */
      public static <T extends @Nullable Object> Predicate<T> equalTo(@ParametricNullness T target) {
        return (target == null)
            ? Predicates.<T>isNull()
            : new IsEqualToPredicate(target).withNarrowedType();
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the object being tested is an instance of
       * the given class. If the object being tested is {@code null} this predicate evaluates to {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Object.class, TypeToken.of(int[].class).getSupertype(Object.class).getType());
        assertEquals(int[][].class, TypeToken.of(int[][].class).getSupertype(int[][].class).getType());
        assertEquals(
            Object[].class, TypeToken.of(String[].class).getSupertype(Object[].class).getType());
        assertEquals(Object.class, TypeToken.of(String[].class).getSupertype(Object.class).getType());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top