Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ObjectArrays (0.08 sec)

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

     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    @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
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ObjectArrays.java

     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    @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
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    import static java.nio.file.LinkOption.NOFOLLOW_LINKS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ObjectArrays;
    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Feature;
    import com.google.common.jimfs.Jimfs;
    import java.io.IOException;
    import java.nio.file.FileAlreadyExistsException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Synchronized.java

             */
            return ObjectArrays.toArrayImpl(delegate());
          }
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          synchronized (mutex) {
            return ObjectArrays.toArrayImpl(delegate(), array);
          }
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Synchronized.java

             */
            return ObjectArrays.toArrayImpl(delegate());
          }
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          synchronized (mutex) {
            return ObjectArrays.toArrayImpl(delegate(), array);
          }
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.ObjectArrays.checkElementsNotNull;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.ObjectArrays.checkElementsNotNull;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top