- Sort Score
- Num 10 results
- Language All
Results 3261 - 3270 of 3,670 for throwIf (0.05 seconds)
-
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
final Map<E, Integer> backingMap = new HashMap<>(); @Override public int size() { return Multisets.linearTimeSizeImpl(this); } @Override public void clear() { throw new UnsupportedOperationException(); } @Override public int count(@Nullable Object element) { for (Entry<E> entry : entrySet()) { if (Objects.equals(entry.getElement(), element)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedMultisets.java
} } private static <E extends @Nullable Object> E getElementOrThrow(@Nullable Entry<E> entry) { if (entry == null) { throw new NoSuchElementException(); } return entry.getElement(); } private static <E extends @Nullable Object> @Nullable E getElementOrNull( @Nullable Entry<E> entry) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
K key = entryArray[i].getKey(); V value = entryArray[i].getValue(); V oldValue = delegateMap.put(key, value); if (oldValue != null) { if (throwIfDuplicateKeys) { throw conflictException("key", entryArray[i], entryArray[i].getKey() + "=" + oldValue); } if (duplicates == null) { duplicates = new HashMap<>(); } duplicates.put(key, value);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 4.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableTable.java
? new DenseImmutableTable<R, C, V>(cellList, rowSpace, columnSpace) : new SparseImmutableTable<R, C, V>(cellList, rowSpace, columnSpace); } /** * @throws IllegalArgumentException if {@code existingValue} is not null. */ /* * We could have declared this method 'static' but the additional compile-time checks achieved by
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java
if (logger.isDebugEnabled()) { logger.debug("PrefixQuery: query={}, boost={}", query, boost); } return convertPrefixQuery(context, prefixQuery, boost); } throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY), "Unknown q: " + query.getClass() + " => " + query); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.3K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt
} return trustManagers[0] as X509TrustManager } override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager = throw UnsupportedOperationException( "clientBuilder.sslSocketFactory(SSLSocketFactory) not supported with OpenJSSE", ) override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/IncidentEdgeSet.java
IncidentEdgeSet(ArchetypeGraph<N> graph, N node, EdgeType edgeType) { this.graph = graph; this.node = node; this.edgeType = edgeType; } @Override public boolean remove(@Nullable Object o) { throw new UnsupportedOperationException(); } @Override public int size() { if (graph.isDirected()) { return predecessorsOrEmpty(node).size() + successorsOrEmpty(node).size()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java
expectAdded(e0()); } @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) /* * absent = ZERO isn't required, since unmodList.add() must * throw regardless, but it keeps the method name accurate. */ public void testAdd_unsupportedPresent() { assertThrows(UnsupportedOperationException.class, () -> getList().add(e0())); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java
case RepositoryPolicy.CHECKSUM_POLICY_WARN -> RepositoryPolicy.CHECKSUM_POLICY_WARN; default -> throw new IllegalArgumentException("unknown repository checksum policy: " + artifactRepositoryPolicy); }; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 4K bytes - Click Count (0)