Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for NewArray (0.07 sec)

  1. guava-tests/test/com/google/common/collect/OrderingTest.java

            "strictlyOrderedElements requires at least 3 elements");
        List<T> list = asList(strictlyOrderedElements);
    
        // for use calling Collection.toArray later
        T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
    
        // shoot me, but I didn't want to deal with wildcards through the whole test
        @SuppressWarnings("unchecked")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterables.java

       */
      @GwtIncompatible // Array.newInstance(Class, int)
      public static <T extends @Nullable Object> T[] toArray(
          Iterable<? extends T> iterable, Class<@NonNull T> type) {
        return toArray(iterable, ObjectArrays.newArray(type, 0));
      }
    
      static <T extends @Nullable Object> T[] toArray(Iterable<? extends T> iterable, T[] array) {
        Collection<? extends T> collection = castOrCopyToCollection(iterable);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  3. api/go1.5.txt

    pkg go/types, func IsInterface(Type) bool
    pkg go/types, func LookupFieldOrMethod(Type, bool, *Package, string) (Object, []int, bool)
    pkg go/types, func MissingMethod(Type, *Interface, bool) (*Func, bool)
    pkg go/types, func NewArray(Type, int64) *Array
    pkg go/types, func NewChan(ChanDir, Type) *Chan
    pkg go/types, func NewChecker(*Config, *token.FileSet, *Package, *Info) *Checker
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top