Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for copyAsObjectArray (1.83 sec)

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

            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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ObjectArrays.java

      }
    
      /**
       * Returns a copy of the specified subrange of the specified array that is literally an Object[],
       * and not e.g. a {@code String[]}.
       */
      static @Nullable Object[] copyAsObjectArray(@Nullable Object[] elements, int offset, int length) {
        checkPositionIndexes(offset, offset + length, elements.length);
        if (length == 0) {
          return new Object[0];
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ObjectArrays.java

      }
    
      /**
       * Returns a copy of the specified subrange of the specified array that is literally an Object[],
       * and not e.g. a {@code String[]}.
       */
      static @Nullable Object[] copyAsObjectArray(@Nullable Object[] elements, int offset, int length) {
        checkPositionIndexes(offset, offset + length, elements.length);
        if (length == 0) {
          return new Object[0];
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top