Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 2,904 for toObject (0.06 sec)

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

      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
       * A sensible default implementation of {@link #add(Object)}, in terms of {@link #add(int,
       * Object)}. If you override {@link #add(int, Object)}, you may wish to override {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/collect/CompactHashSet.java

       */
      void moveLastEntry(int dstIndex, int mask) {
        Object table = requireTable();
        int[] entries = requireEntries();
        @Nullable Object[] elements = requireElements();
        int srcIndex = size() - 1;
        if (dstIndex < srcIndex) {
          // move last entry to deleted spot
          Object object = elements[srcIndex];
          elements[dstIndex] = object;
          elements[srcIndex] = null;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  4. internal/stmt_store/stmt_store.go

    	// Returns:
    	//   *Stmt: The found Stmt object, or nil if not found.
    	//   bool: Indicates whether the corresponding Stmt object was successfully found.
    	Get(key string) (*Stmt, bool)
    
    	// Set stores the given Stmt object in the store and associates it with the specified key.
    	// Parameters:
    	//   key: The key used to associate the Stmt object.
    	//   value: The Stmt object to be stored.
    	Set(key string, value *Stmt)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                                        Map<Object, Object> m = (Map<Object, Object>) field.get(target);
                                        if (m != null && !m.isEmpty()) {
                                            for (Map.Entry<Object, Object> entry : m.entrySet()) {
                                                Object value = entry.getValue();
    
                                                if (value != null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. android/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: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Objects.java

      public static boolean equal(@Nullable Object a, @Nullable Object b) {
        return java.util.Objects.equals(a, b);
      }
    
      /**
       * Generates a hash code for multiple values. The hash code is generated by calling {@link
       * Arrays#hashCode(Object[])}. Note that array arguments to this method, with the exception of a
       * single Object array, do not get any special handling; their hash codes are based on identity
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 22:51:26 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        private final Table<R, C, V> delegate = HashBasedTable.create();
        private final Object mutex = new Object[0]; // something Serializable
    
        @Override
        public String toString() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toString();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.equals(o);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. 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)
  10. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        // Three catchers for related types String, Object, and Comparable<?>.
        // String isa Object
        // String isa Comparable<?>
        // Comparable<?> isa Object
        StringCatcher stringCatcher = new StringCatcher();
    
        List<Object> objectEvents = new ArrayList<>();
        Object objCatcher =
            new Object() {
              @Subscribe
              public void eat(Object food) {
                objectEvents.add(food);
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top