- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 613 for IllegalArgumentException (0.25 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ListeningExecutorService e = newDirectExecutorService(); try { invokeAnyImpl(e, new ArrayList<Callable<String>>(), false, 0, NANOSECONDS); fail(); } catch (IllegalArgumentException success) { } finally { joinPool(e); } } /** invokeAny(c) throws NPE if c has null elements */ public void testInvokeAnyImpl_nullElement() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 28.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
* * @throws ClassCastException if the class of the specified element prevents it from being added * to the given queue * @throws IllegalArgumentException if some property of the specified element prevents it from * being added to the given queue */ @J2ktIncompatible @GwtIncompatible // concurrency
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 20.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
// When a collision happens, the colliding entry is the first entry // of the tail map. Entry<K, V> previousEntry = map.tailMap(key).entrySet().iterator().next(); throw new IllegalArgumentException( "Duplicate keys in mappings " + previousEntry.getKey() + "=" + previousEntry.getValue() + " and " + key
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 16.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
* into account * <li>the appropriate truncation indicator may be locale-dependent * <li>it is safe to use non-ASCII characters in the truncation indicator * </ul> * * @throws IllegalArgumentException if {@code maxLength} is less than the length of {@code * truncationIndicator} * @since 16.0 */ public static String truncate(CharSequence seq, int maxLength, String truncationIndicator) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 21.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
* @return 変換された{@link java.sql.Date} */ protected static java.sql.Date toSqlDateJdbcEscape(final String str) { try { return java.sql.Date.valueOf(str); } catch (final IllegalArgumentException ex) { return null; } } /** * パターン文字列を区切り文字を含まないプレーンなパターン文字列に変換して返します。 * * @param pattern * パターン文字列
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K bytes - Viewed (0) -
api/maven-api-settings/src/main/mdo/settings.mdo
} else if (!(USER_LEVEL.equals(sourceLevel) || PROJECT_LEVEL.equals(sourceLevel) || GLOBAL_LEVEL.equals(sourceLevel))) { throw new IllegalArgumentException("sourceLevel must be one of: {" + USER_LEVEL + "," + PROJECT_LEVEL + "," + GLOBAL_LEVEL + "}"); } else { this.sourceLevel = sourceLevel; this.sourceLevelSet = true; } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Oct 08 13:46:42 UTC 2024 - 33.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
multimap.put("bar", 2); multimap.put("foo", 3); assertEquals(ImmutableList.of(1, 3), multimap.get("foo")); } public void testCreateFromIllegalSize() { assertThrows(IllegalArgumentException.class, () -> LinkedListMultimap.create(-20)); } public void testLinkedGetAdd() { LinkedListMultimap<String, Integer> map = create(); map.put("bar", 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
// one should still pass (testVerifyGetsCalled()). stimuli = (Stimulus<E, ? super I>[]) new Stimulus<?, ?>[steps]; if (!elementsToInsertIterable.iterator().hasNext()) { throw new IllegalArgumentException(); } elementsToInsert = Helpers.cycle(elementsToInsertIterable); this.features = copyToSet(features); this.expectedElements = copyToList(expectedElements); this.knownOrder = knownOrder;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
public abstract static class Builder<E> { static final int DEFAULT_INITIAL_CAPACITY = 4; static int expandedCapacity(int oldCapacity, int minCapacity) { if (minCapacity < 0) { throw new IllegalArgumentException("cannot store more than MAX_VALUE elements"); } else if (minCapacity <= oldCapacity) { return oldCapacity; } // careful of overflow!
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 22.5K bytes - Viewed (0)