Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for copyAsObjectArray (0.36 sec)

  1. 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];
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. 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) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
Back to top