- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 97 for createArray (0.18 seconds)
-
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
} return multimap.entries(); } abstract Multimap<String, Integer> createMultimap(); @Override @SuppressWarnings("unchecked") public Entry<String, Integer>[] createArray(int length) { return (Entry<String, Integer>[]) new Entry<?, ?>[length]; } @Override public List<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Sep 24 22:52:18 GMT 2025 - 28.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 6.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringMultisetGenerator.java
for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Multiset<String> create(String[] elements); @Override public String[] createArray(int length) { return new String[length]; } /** Returns the original element list, unchanged. */ @Override public List<String> order(List<String> insertionOrder) { return insertionOrder; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
*/ T create(Object... elements); /** * Helper method to create an array of the appropriate type used by this generator. The returned * array will contain only nulls. */ E[] createArray(int length); /** * Returns the iteration ordering of elements, given the order in which they were added to the * container. This method may return the original list unchanged, the original list modified in
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java
* #create(Object...)}. */ protected abstract List<Character> create(Character[] elements); @Override public Character[] createArray(int length) { return new Character[length]; } /** Returns the original element list, unchanged. */ @Override public List<Character> order(List<Character> insertionOrder) { return insertionOrder;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
} return multimap.entries(); } abstract Multimap<String, Integer> createMultimap(); @Override @SuppressWarnings("unchecked") public Entry<String, Integer>[] createArray(int length) { return (Entry<String, Integer>[]) new Entry<?, ?>[length]; } @Override public List<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Sep 24 22:52:18 GMT 2025 - 28.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java
for (Object e : elements) { array[i++] = (AnEnum) e; } return create(array); } protected abstract Set<AnEnum> create(AnEnum[] elements); @Override public AnEnum[] createArray(int length) { return new AnEnum[length]; } /** Sorts the enums according to their natural ordering. */ /* * While the current implementation returns `this`, that's not something we mean to guarantee.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 2K bytes - Click Count (0) -
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); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java
for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Set<String> create(String[] elements); @Override public String[] createArray(int length) { return new String[length]; } /** * {@inheritDoc} * * <p>By default, returns the supplied elements in their given order; however, generators for
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 2.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
for (Object e : elements) { array[i++] = (Integer) e; } return create(array); } protected abstract Set<Integer> create(Integer[] elements); @Override public Integer[] createArray(int length) { return new Integer[length]; } /** * {@inheritDoc} * * <p>By default, returns the supplied elements in their given order; however, generators for
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 2.1K bytes - Click Count (0)