Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for objectArray (0.07 seconds)

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

  1. guava/src/com/google/common/base/MoreObjects.java

                builder.append(valueHolder.name).append('=');
              }
              if (value != null && value.getClass().isArray()) {
                Object[] objectArray = {value};
                String arrayString = Arrays.deepToString(objectArray);
                builder.append(arrayString, 1, arrayString.length() - 1);
              } else {
                builder.append(value);
              }
            }
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/MoreObjects.java

                builder.append(valueHolder.name).append('=');
              }
              if (value != null && value.getClass().isArray()) {
                Object[] objectArray = {value};
                String arrayString = Arrays.deepToString(objectArray);
                builder.append(arrayString, 1, arrayString.length() - 1);
              } else {
                builder.append(value);
              }
            }
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/collection/ArrayUtil.java

            final int length = Array.getLength(array);
            final Object[] objectArray = new Object[length];
            for (int i = 0; i < length; i++) {
                objectArray[i] = Array.get(array, i);
            }
            return objectArray;
        }
    
        /**
         * Converts an array to a list.
         * <p>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 41.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ObjectArrays.java

    /**
     * Static utility methods pertaining to object arrays.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    @SuppressWarnings("AvoidObjectArrays")
    public final class ObjectArrays {
    
      private ObjectArrays() {}
    
      /**
       * Returns a new array of the given length with the specified component type.
       *
       * @param type the component type
       * @param length the length of the new array
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ObjectArrays.java

    /**
     * Static utility methods pertaining to object arrays.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    @SuppressWarnings("AvoidObjectArrays")
    public final class ObjectArrays {
    
      private ObjectArrays() {}
    
      /**
       * Returns a new array of the given length with the specified component type.
       *
       * @param type the component type
       * @param length the length of the new array
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/CompactLinkedHashMap.java

          @Override
          public @Nullable Object[] toArray() {
            return ObjectArrays.toArrayImpl(this);
          }
    
          @Override
          @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
          public <T extends @Nullable Object> T[] toArray(T[] a) {
            return ObjectArrays.toArrayImpl(this, a);
          }
    
          @Override
          public Spliterator<K> spliterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ObjectArrays;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.TestListGenerator;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/CompactHashMap.java

          if (needsAllocArrays()) {
            return new Object[0];
          }
          Map<K, V> delegate = delegateOrNull();
          return (delegate != null)
              ? delegate.keySet().toArray()
              : ObjectArrays.copyAsObjectArray(requireKeys(), 0, size);
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] a) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      public Object[] toArray() {
        /*
         * ObjectArrays.toArrayImpl returns `@Nullable Object[]` rather than `Object[]` but only because
         * it can be used with collections that may contain null. This collection is a collection of
         * non-null elements, so we can treat it as a plain `Object[]`.
         */
        @SuppressWarnings("nullness")
        Object[] result = ObjectArrays.toArrayImpl(this);
        return result;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ImmutableCollection.java

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.ObjectArrays.checkElementsNotNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 21.4K bytes
    - Click Count (0)
Back to Top