- Sort Score
- Num 10 results
- Language All
Results 1871 - 1880 of 3,670 for throwIf (0.07 seconds)
-
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) -
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) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java
private Artifact projectArtifact; @BeforeEach @Override public void setUp() throws Exception { super.setUp(); projectArtifact = createLocalArtifact("project", "3.0"); } @Override protected String component() { return "resolver"; } @Test void testMNG4738() throws Exception { Artifact g = createLocalArtifact("g", "1.0");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
assertNotNull(dfsRootEnum.totalentries); } @Test @DisplayName("getEntries should return empty array when no DFS roots exist") void testGetEntries_emptyArray() throws Exception { // Create empty DfsEnumArray200 netdfs.DfsEnumArray200 emptyArray = new netdfs.DfsEnumArray200(); emptyArray.count = 0; emptyArray.s = new netdfs.DfsInfo200[0];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
public class PingSearchEngineJobTest extends UnitFessTestCase { private PingSearchEngineJob pingSearchEngineJob; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); pingSearchEngineJob = new PingSearchEngineJob(); } // Test normal operation with GREEN status and state change @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K 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) -
src/test/java/org/codelibs/core/io/InputStreamUtilTest.java
import junit.framework.TestCase; import org.codelibs.core.lang.StringUtil; /** * @author higa * */ public class InputStreamUtilTest extends TestCase { /** * @throws Exception */ public void testGetBytes() throws Exception { final InputStream is = ResourceUtil.getResourceAsStream(StringUtil.replace(getClass().getName(), ".", "/") + ".class"); try {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.2K bytes - Click Count (0) -
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) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
private static class TestPayload implements Payload { } private static class AnotherTestPayload implements Payload { } @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } // Test annotation presence and structure @Test public void test_annotationPresence() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.3K bytes - Click Count (0)