- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 628 for IllegalArgumentException (0.09 sec)
-
guava/src/com/google/common/base/Joiner.java
} } }; } // cloned from ImmutableCollection private static int expandedCapacity(int oldCapacity, int minCapacity) { if (minCapacity < 0) { throw new IllegalArgumentException("cannot store more than Integer.MAX_VALUE elements"); } else if (minCapacity <= oldCapacity) { return oldCapacity; } // careful of overflow!Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
* @return a new, empty {@code CompactHashMap} with enough capacity to hold {@code expectedSize} * elements without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactHashMap<K, V> createWithExpectedSize(int expectedSize) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
* @return The merged suggest item. */ public static SuggestItem merge(final SuggestItem item1, final SuggestItem item2) { if (!item1.getId().equals(item2.getId())) { throw new IllegalArgumentException("Item id is mismatch."); } final SuggestItem mergedItem = new SuggestItem(); mergedItem.id = item1.getId(); mergedItem.text = item1.getText();Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
* Constructs an empty {@code LinkedListMultimap} with enough capacity to hold the specified * number of keys without rehashing. * * @param expectedKeys the expected number of distinct keys * @throws IllegalArgumentException if {@code expectedKeys} is negative */ public static <K extends @Nullable Object, V extends @Nullable Object> LinkedListMultimap<K, V> create(int expectedKeys) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
assertNotNull(tester.instantiate(ConstructorParameterNotInstantiable.class)); } public void testSetDistinctValues_equalInstances() { assertThrows( IllegalArgumentException.class, () -> tester.setDistinctValues(String.class, "", "")); } public void testInstantiate_setDistinctValues() throws Exception { NotInstantiable x = new NotInstantiable();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 36.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
* contains any match for the given regular expression pattern. The test used is equivalent to * {@code Pattern.compile(pattern).matcher(arg).find()} * * @throws IllegalArgumentException if the pattern is invalid * @since 3.0 */ @GwtIncompatible // Only used by other GWT-incompatible code. public static Predicate<CharSequence> containsPattern(String pattern) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
private transient int totalSize; /** * Creates a new multimap that uses the provided map. * * @param map place to store the mapping from each key to its corresponding values * @throws IllegalArgumentException if {@code map} is not empty */ protected AbstractMapBasedMultimap(Map<K, Collection<V>> map) { checkArgument(map.isEmpty()); this.map = map; } /** Used during deserialization only. */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
* of this source, the returned source will contain the slice starting at {@code offset} and * ending at the end of this source. * * @throws IllegalArgumentException if {@code offset} or {@code length} is negative */ public ByteSource slice(long offset, long length) { return new SlicedByteSource(offset, length); } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 20:55:20 UTC 2025 - 25.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
/** * Gets the RID (relative identifier) of this SID. * * @return the RID */ public int getRid() { if (getType() == SID_TYPE_DOMAIN) { throw new IllegalArgumentException("This SID is a domain sid"); } return sub_authority[sub_authority_count - 1]; } /** * Returns the type of this SID indicating the state or type of account. * <p>Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0)