- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 2,240 for throwIf (0.17 seconds)
-
android/guava/src/com/google/common/graph/EndpointPair.java
* If this {@link EndpointPair} {@link #isOrdered()}, returns the node which is the source. * * @throws UnsupportedOperationException if this {@link EndpointPair} is not ordered */ public abstract N source(); /** * If this {@link EndpointPair} {@link #isOrdered()}, returns the node which is the target. * * @throws UnsupportedOperationException if this {@link EndpointPair} is not ordered */ public abstract N target();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 8K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); stream.writeInt(size()); for (Entry<K, V> entry : entries()) { stream.writeObject(entry.getKey()); stream.writeObject(entry.getValue()); } } @GwtIncompatible @J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
fail("printThreadDumpAsError() should not throw exceptions: " + e.getMessage()); } } @Test public void test_writeThreadDump() throws IOException { // Create a temporary file for testing Path tempFile = Files.createTempFile("test-thread-dump", ".txt"); try { ThreadDumpUtil.writeThreadDump(tempFile.toString());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LocalCache.java
/** Returns the value. Does not block or throw exceptions. */ @Nullable V get(); /** * Waits for a value that may still be loading. Unlike get(), this method can block (in the case * of FutureValueReference). * * @throws ExecutionException if the loading thread throws an exception * @throws ExecutionError if the loading thread throws an error */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 143.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
public InputStream getContentAsStream() throws IOException { // Use the actual file path from the DictionaryFile return new FileInputStream(new File(file.getPath())); } @Override public void close() throws IOException { // Nothing to close
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
} /** * Guaranteed to throw an exception and leave the multimap unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final ImmutableList<V> removeAll(@Nullable Object key) { throw new UnsupportedOperationException(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 19.3K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/QueueDispatcher.kt
import mockwebserver3.QueueDispatcher class QueueDispatcher : Dispatcher() { internal val delegate = QueueDispatcher() @Throws(InterruptedException::class) override fun dispatch(request: RecordedRequest): MockResponse = throw UnsupportedOperationException("unexpected call") override fun peek(): MockResponse = throw UnsupportedOperationException("unexpected call") fun enqueueResponse(response: MockResponse) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jun 14 16:09:26 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
* * <p>The default implementation throws {@code NoSuchElementException}. * * @return the minimum value of type {@code C}; never null * @throws NoSuchElementException if the type has no (practical) minimum value; for example, * {@link java.math.BigInteger} */ @CanIgnoreReturnValue public C minValue() { throw new NoSuchElementException(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 10.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } private class ProgressRequestBody( private val delegate: RequestBody, private val progressListener: ProgressListener, ) : RequestBody() { override fun contentType() = delegate.contentType() @Throws(IOException::class)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 17:01:12 GMT 2025 - 3.8K bytes - Click Count (0)