- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 3,421 for list (0.04 sec)
-
guava-tests/test/com/google/common/primitives/DoublesTest.java
public void testToArray_withNull() { List<@Nullable Double> list = Arrays.asList((double) 0, (double) 1, null); assertThrows(NullPointerException.class, () -> Doubles.toArray(list)); } public void testToArray_withConversion() { double[] array = {(double) 0, (double) 1, (double) 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
} public void testToArray_withNull() { List<@Nullable Float> list = Arrays.asList((float) 0, (float) 1, null); assertThrows(NullPointerException.class, () -> Floats.toArray(list)); } public void testToArray_withConversion() { float[] array = {(float) 0, (float) 1, (float) 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
long[] array = {(long) 0, (long) 1}; List<Long> list = Longs.asList(array); list.set(0, (long) 2); assertThat(array).isEqualTo(new long[] {(long) 2, (long) 1}); array[1] = (long) 3; assertThat(list).containsExactly((long) 2, (long) 3).inOrder(); } public void testAsList_toArray_roundTrip() { long[] array = {(long) 0, (long) 1, (long) 2}; List<Long> list = Longs.asList(array);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// don't let the entries get GCed List<Entry<Object, Object>> unused = warmUp(cache); assertEquals(WARMUP_SIZE, cache.size()); assertMapSize(cache.asMap(), WARMUP_SIZE); checkValidState(cache); } } public void testContainsKey_found() { for (LoadingCache<Object, Object> cache : caches()) { // don't let the entries get GCed List<Entry<Object, Object>> warmed = warmUp(cache);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderException.java
private final List<BuilderProblem> problems; /** * @param message the message to give * @param e the {@link Exception} */ public SettingsBuilderException(String message, Exception e) { super(message, e); this.problems = List.of(); } public SettingsBuilderException(String message, List<BuilderProblem> problems) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderException.java
private final List<BuilderProblem> problems; /** * @param message the message to give * @param e the {@link Exception} */ public ToolchainsBuilderException(String message, Exception e) { super(message, e); this.problems = List.of(); } public ToolchainsBuilderException(String message, List<BuilderProblem> problems) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java
/** Features supported by lists where only removal is allowed. */ REMOVE_OPERATIONS(CollectionFeature.REMOVE_OPERATIONS, SUPPORTS_REMOVE_WITH_INDEX); private final Set<Feature<? super List>> implied; ListFeature(Feature<? super List>... implied) { this.implied = copyToSet(implied); } @Override public Set<Feature<? super List>> getImpliedFeatures() { return implied; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java
@SuppressWarnings("unchecked") // we dangerously assume E is a string List<E> extremeValues = (List<E>) getExtremeValues(); @SuppressWarnings("unchecked") // map generators must past entry objects List<E> normalValues = (List<E>) asList(entries); // prepare extreme values to be filtered out of view
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java
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 * place, or a different list. * * <p>If the order is non-deterministic, as with {@link java.util.HashSet}, this method can return * its input unmodified. Provided that the test suite is built without {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java
} @Override public List<Server> getServers() { if (servers == null) { servers = new ArrayList<>(); } return servers; } @Override public DefaultSettingsDecryptionRequest setServers(List<Server> servers) { this.servers = servers; return this; } @Override public List<Proxy> getProxies() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0)