- Sort Score
- Num 10 results
- Language All
Results 1121 - 1130 of 2,832 for contains (0.15 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
TimeoutException e = assertThrows( TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS)); assertThat(e).hasMessageThat().contains(Service.State.STARTING.toString()); } private static final class TimeoutOnStartUp extends AbstractExecutionThreadService { @Override protected Executor executor() { return new Executor() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 12.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
} public void testContains() { assertThat(Chars.contains(EMPTY, (char) 1)).isFalse(); assertThat(Chars.contains(ARRAY1, (char) 2)).isFalse(); assertThat(Chars.contains(ARRAY234, (char) 1)).isFalse(); assertThat(Chars.contains(new char[] {(char) -1}, (char) -1)).isTrue(); assertThat(Chars.contains(ARRAY234, (char) 2)).isTrue(); assertThat(Chars.contains(ARRAY234, (char) 3)).isTrue();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
assume().that(graph.allowsSelfLoops()).isFalse(); IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> putEdge(N1, N1)); assertThat(e).hasMessageThat().contains(ERROR_SELF_LOOP); } @Test public void putEdge_allowsSelfLoops() { assume().that(graphIsMutable()).isTrue(); assume().that(graph.allowsSelfLoops()).isTrue();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Oct 06 20:14:55 GMT 2025 - 13.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
tearDownStack.runTearDown(); } @Override public void runBare() throws Throwable { try { super.runBare(); } catch (AssertionError e) { if (e.getMessage() != null && e.getMessage().contains("Dude, where's my interrupt?")) { // Rerun test to work around Marshamallow class-loading issue b/456222735. super.runBare(); return; } throw e; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
Artifact artifact = new DefaultArtifact(expression.substring(2, expression.length() - 1)); VersionRange versionRange = artifact.getVersion().contains(",") ? parseVersionRange(artifact.getVersion()) : null; Predicate<Artifact> predicate = a -> { if (artifact.getGroupId().equals(a.getGroupId())
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 19 13:42:58 GMT 2026 - 25.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
*/ public boolean isEmpty() { return size == 0; } /** * Checks if an element is contained in the list. * * @param element the element * @return true if the element is contained in the list, false otherwise */ public boolean contains(final E element) { return indexOf(element) != -1; } /** * Removes an element from the list.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 10.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
} catch (final FileUploadByteCountLimitException e) { // special handling handleSizeLimitExceededException(request, e); } catch (final FileUploadException e) { // contains fileCount exceeded handleFileUploadException(e); } } protected void prepareElementsHash() { // traditional name
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 08:48:41 GMT 2026 - 18.9K bytes - Click Count (1) -
docs/en/docs/advanced/advanced-dependencies.md
But there could be cases where you want to be able to set parameters on the dependency, without having to declare many different functions or classes. Let's imagine that we want to have a dependency that checks if the query parameter `q` contains some fixed content. But we want to be able to parameterize that fixed content. ## A "callable" instance { #a-callable-instance } In Python there's a way to make an instance of a class a "callable".
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java
final Object value = map.get(key); if (value instanceof Map) { return (Map<String, Object>) value; } return null; } /** * Checks if the map contains the specified key and the value is not null. * * @param map The source map * @param key The key to check * @return true if the key exists and its value is not null */
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 9.8K bytes - Click Count (0)