- Sort Score
- Num 10 results
- Language All
Results 1911 - 1920 of 3,747 for throwIt (0.2 seconds)
-
android/guava/src/com/google/common/collect/Cut.java
Comparable<?> endpoint() { throw new IllegalStateException("range unbounded on this side"); } @Override boolean isLessThan(Comparable<?> value) { return true; } @Override BoundType typeAsLowerBound() { throw new IllegalStateException(); } @Override BoundType typeAsUpperBound() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 12.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
* k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n * log n) time and O(n) space. * * @throws IllegalArgumentException if {@code k < 0} * @since 22.0 */ public static <T extends @Nullable Object> Collector<T, ?, List<T>> least( int k, Comparator<? super T> comparator) { checkNonnegative(k, "k");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertEquals(112, size); } @Test @DisplayName("Should calculate size correctly with contexts") void testSizeWithContexts() throws Exception { // Given when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311); when(mockConfig.isEncryptionEnabled()).thenReturn(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* Returns the {@code short} value that is equal to {@code value}, if possible. * * @param value any value in the range of the {@code short} type * @return the {@code short} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or * less than {@link Short#MIN_VALUE} */ public static short checkedCast(long value) { short result = (short) value;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java
* @param artifactCoordinates t * @return the version range resolution result * @throws VersionResolverException if an errors occurs */ @Nonnull default VersionRangeResolverResult resolve( @Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates) throws VersionResolverException { return resolve(VersionRangeResolverRequest.build(session, artifactCoordinates));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 12 06:19:14 GMT 2024 - 3.7K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
} override fun getValueNames(): Array<String> = delegate!!.valueNames @Throws(SSLPeerUnverifiedException::class) override fun getPeerCertificates(): Array<Certificate>? = delegate!!.peerCertificates override fun getLocalCertificates(): Array<Certificate>? = delegate!!.localCertificates @Suppress("removal", "OVERRIDE_DEPRECATION") @Throws(SSLPeerUnverifiedException::class)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 2.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilder.java
* @param userToolchainsSource The {@link Source} pointing to the user toolchains, must not be {@code null} * @throws ToolchainsBuilderException if the project cannot be created * @throws IllegalArgumentException if an argument is {@code null} or invalid * @see #build(ToolchainsBuilderRequest) */ @Nonnull default ToolchainsBuilderResult build(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Aug 22 14:47:43 GMT 2024 - 2.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ReflectionTest.java
assertThat(Reflection.getPackageName(Map.Entry.class)).isEqualTo("java.util"); } public void testNewProxy() throws Exception { Runnable runnable = Reflection.newProxy(Runnable.class, X_RETURNER); assertThat(runnable.toString()).isEqualTo("x"); } public void testNewProxyCantWorkOnAClass() throws Exception { assertThrows( IllegalArgumentException.class, () -> Reflection.newProxy(Object.class, X_RETURNER));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java
<T> T getFinalValue(ClosingFuture<T> closingFuture) throws ExecutionException { return getUninterruptibly(closingFuture.finishToFuture()); } @Override void assertFinallyFailsWithException(ClosingFuture<?> closingFuture) { assertThatFutureFailsWithException(closingFuture.finishToFuture()); } @Override void assertBecomesCanceled(ClosingFuture<?> closingFuture) throws ExecutionException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java
import org.junit.Test; /** * @author koichik * */ public class ConstructorDescTest { /** * @throws Exception */ @SuppressWarnings("rawtypes") @Test public void testDefaultConstructor() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final ConstructorDesc ctor = beanDesc.getConstructorDesc();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.9K bytes - Click Count (0)