- Sort Score
- Num 10 results
- Language All
Results 2551 - 2560 of 2,948 for throwIf (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/base/Absent.java
return (Optional<T>) INSTANCE; } private Absent() {} @Override public boolean isPresent() { return false; } @Override public T get() { throw new IllegalStateException("Optional.get() cannot be called on an absent value"); } @Override public T or(T defaultValue) { return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/DescendingImmutableSortedSet.java
public UnmodifiableIterator<E> descendingIterator() { return forward.iterator(); } @Override @GwtIncompatible // NavigableSet ImmutableSortedSet<E> createDescendingSet() { throw new AssertionError("should never be called"); } @Override public @Nullable E lower(E element) { return forward.higher(element); } @Override public @Nullable E floor(E element) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 3.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
Thread interruptee = Thread.currentThread(); new Thread( () -> { try { unit.sleep(time); } catch (InterruptedException wontHappen) { throw new AssertionError(wontHappen); } interruptee.interrupt(); }) .start(); } static void repeatedlyInterruptTestThread(TearDownAccepter tearDownAccepter) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:38:30 GMT 2026 - 3.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/StandaloneRestTestPlugin.java
*/ public class StandaloneRestTestPlugin implements Plugin<Project> { @Override public void apply(final Project project) { if (project.getPluginManager().hasPlugin("elasticsearch.build")) { throw new InvalidUserDataException( "elasticsearch.standalone-test, elasticsearch.standalone-rest-test, " + "and elasticsearch.build are mutually exclusive" ); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jul 05 08:34:36 GMT 2021 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/PredecessorsFunction.java
* href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges"> * graph elements</a> for details) * </ul> * * @throws IllegalArgumentException if {@code node} is not an element of this graph */ Iterable<? extends N> predecessors(N node);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/SuccessorsFunction.java
* href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges"> * graph elements</a> for details) * </ul> * * @throws IllegalArgumentException if {@code node} is not an element of this graph */ Iterable<? extends N> successors(N node);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
} constructor.setAccessible(true); // accessibility check is too slow try { return constructor.newInstance(); } catch (InstantiationException | IllegalAccessException impossible) { throw new AssertionError(impossible); } catch (InvocationTargetException e) { logger.log(Level.WARNING, "Exception while invoking default constructor.", e.getCause()); return arbitraryConstantInstanceOrNull(type);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardMutableValueGraph.java
return false; } addNodeInternal(node); return true; } /** * Adds {@code node} to the graph and returns the associated {@link GraphConnections}. * * @throws IllegalStateException if {@code node} is already present */ @CanIgnoreReturnValue private GraphConnections<N, V> addNodeInternal(N node) { GraphConnections<N, V> connections = newConnections();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
public class FessJsonResourceProviderTest extends UnitFessTestCase { private FessJsonResourceProvider provider; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); provider = new FessJsonResourceProvider(); } @Test public void test_isNullsSuppressed() { // Test that nulls are suppressedCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/PluginTests.java
} @Test void testDelete_ng() { checkDeleteMethod(Collections.emptyMap()).then().body("response.status", equalTo(1)); } @Test void testCRUD() throws Exception { List<Map<String, Object>> available = checkGetMethod(Collections.emptyMap(), getAvailableEndpointSuffix() + "/").body().jsonPath().get("response.plugins");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0)