- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,213 for elements (0.19 sec)
-
android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java
@Override protected List<Short> create(Short[] elements) { return asList(elements); } } public static final class ShortsAsListHeadSubListGenerator extends TestShortListGenerator { @Override protected List<Short> create(Short[] elements) { Short[] suffix = {Short.MIN_VALUE, Short.MAX_VALUE}; Short[] all = concat(elements, suffix); return asList(all).subList(0, elements.length);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} /** * Adds the given element to this queue. If this queue has a maximum size, after adding {@code * element} the queue will automatically evict its greatest element (according to its comparator), * which may be {@code element} itself. * * @return {@code true} always */ @CanIgnoreReturnValue @Override public boolean add(E element) { offer(element); return true; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 34K bytes - Viewed (0) -
guava/src/com/google/common/collect/EvictingQueue.java
/** * A non-blocking queue which automatically evicts elements from the head of the queue when * attempting to add new elements onto the queue and it is full. This queue orders elements FIFO * (first-in-first-out). This data structure is logically equivalent to a circular buffer (i.e., * cyclic buffer or ring buffer). * * <p>An evicting queue must be configured with a maximum size. Each time an element is added to a
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 12 17:52:55 GMT 2023 - 4.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
return new Ints(); } @Override public Set<Integer> create(Object... elements) { Integer[] array = new Integer[elements.length]; int i = 0; 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];
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
return makeArray(all).subArray(0, elements.length).asList(); } } @J2ktIncompatible @GwtIncompatible // used only from suite public static final class ImmutableLongArrayTailSubListAsListGenerator extends TestLongListGenerator { @Override protected List<Long> create(Long[] elements) { Long[] prefix = {86L, 99L}; Long[] all = concat(prefix, elements);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 19K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java
return new Strings(); } @Override public Queue<String> create(Object... elements) { String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } protected abstract Queue<String> create(String[] elements); @Override public String[] createArray(int length) { return new String[length];
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.6K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py
} }, "tags": ["items"], "summary": "Read Elements", "operationId": "read_elements_elements__get", "deprecated": True, } }, },
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
} // TODO b/327389044 - `Set<? extends Object> elements` should be enough but J2KT needs the <E> private static <E> void assertPowerSetHashCode(int expected, Set<E> elements) { assertEquals(expected, powerSet(elements).hashCode()); } private static void assertPowerSetSize(int i, Object... elements) { assertEquals(i, powerSet(newHashSet(elements)).size()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 47.9K bytes - Viewed (1) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
} @Override public List<Double> create(Object... elements) { Double[] array = new Double[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (Double) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of * {@link #create(Object...)}. */
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 21.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java
return new Strings(); } @Override public List<String> create(Object... elements) { String[] array = new String[elements.length]; int i = 0; for (Object e : elements) { array[i++] = (String) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of {@link * #create(Object...)}. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.7K bytes - Viewed (0)