- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for createArray (0.07 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java
} @Override public Map<K, V> create(Object... elements) { return generator.create(elements); } @Override public Entry<K, V>[] createArray(int length) { return generator.createArray(length); } @Override public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { return generator.order(insertionOrder); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java
} @Override public Set<E> create(Object... elements) { return (Set<E>) SerializableTester.reserialize(gen.create(elements)); } @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { return gen.order(insertionOrder); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
E[] array = getSubjectGenerator().createArray(getNumElements()); assertSame( "toArray(sameSizeE[]) should return the given array", array, collection.toArray(array)); expectArrayContentsAnyOrder(createSamplesArray(), array); } @CollectionFeature.Require(KNOWN_ORDER) public void testToArray_rightSizedArray_ordered() { E[] array = getSubjectGenerator().createArray(getNumElements()); assertSame(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java
@Override public SampleElements<UnhashableObject> samples() { return new Unhashables(); } @Override public T create(Object... elements) { UnhashableObject[] array = createArray(elements.length); int i = 0; for (Object e : elements) { array[i++] = (UnhashableObject) e; } return create(array); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java
@Override public SampleElements<UnhashableObject> samples() { return new Unhashables(); } @Override public T create(Object... elements) { UnhashableObject[] array = createArray(elements.length); int i = 0; for (Object e : elements) { array[i++] = (UnhashableObject) e; } return create(array); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java
} @Override public Collection<E> create(Object... elements) { return SerializableTester.reserialize(gen.create(elements)); } @Override public E[] createArray(int length) { return gen.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { return gen.order(insertionOrder); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 18 22:49:45 UTC 2021 - 3.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
throw new AssertionError(e); } } @Override public SampleElements<E> samples() { return delegate.samples(); } @Override public E[] createArray(int length) { return delegate.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { return delegate.order(insertionOrder); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java
Entry<K, V>[] entries = createArray(elements.length); arraycopy(elements, 0, entries, 0, elements.length); return createFromEntries(entries); } public abstract Set<Entry<K, V>> createFromEntries(Entry<K, V>[] entries); @Override @SuppressWarnings("unchecked") // generic arrays make typesafety sad public Entry<K, V>[] createArray(int length) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
return generator.samples(); } @Override public T create(Object... elements) { return generator.create(elements); } @Override public E[] createArray(int length) { return generator.createArray(length); } @Override public T createTestSubject() { Collection<E> elements = getSampleElements(getCollectionSize().getNumElements()); return generator.create(elements.toArray());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.5K bytes - Viewed (0)