- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for NewArray (0.05 sec)
-
guava-tests/test/com/google/common/collect/IteratorsTest.java
public void testToArray() { String[] sourceArray = new String[] {"a", "b", "c"}; Iterator<String> iterator = asList(sourceArray).iterator(); String[] newArray = Iterators.toArray(iterator, String.class); assertTrue(Arrays.equals(sourceArray, newArray)); } public void testFilterSimple() { Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
public void testToArray() { String[] sourceArray = new String[] {"a", "b", "c"}; Iterator<String> iterator = asList(sourceArray).iterator(); String[] newArray = Iterators.toArray(iterator, String.class); assertTrue(Arrays.equals(sourceArray, newArray)); } public void testFilterSimple() { Iterator<String> unfiltered = Lists.newArrayList("foo", "bar").iterator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* * @param type the type of the elements * @return a newly-allocated array into which all the elements of this fluent iterable have been * copied */ @GwtIncompatible // Array.newArray(Class, int) public final E[] toArray(Class<@NonNull E> type) { return Iterables.<E>toArray(getDelegate(), type); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 24 13:42:31 UTC 2024 - 35.7K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
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 Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
test-site/activator-launch-1.3.2.jar
Manifest { private final scala.Option prefix; private final Class runtimeClass; private final scala.collection.immutable.List typeArguments; public final boolean canEqual(Object); public boolean equals(Object); public int hashCode(); public Object newArray(int); public final Class erasure(); public boolean $less$colon$less(ClassTag); public final Class runtimeClass(); public final scala.collection.immutable.List typeArguments(); public String toString(); public void ManifestFactory$ClassTypeManifest(scala.Option,...
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 1.2M bytes - Viewed (0)