- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 2,526 for void (0.02 seconds)
-
guava/src/com/google/common/util/concurrent/Service.java
@SuppressWarnings("GoodTime") // should accept a java.time.Duration void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException; /** * Waits for the {@link Service} to reach the {@linkplain State#TERMINATED terminated state}. * * @throws IllegalStateException if the service {@linkplain State#FAILED fails}. * @since 15.0 */ void awaitTerminated(); /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 12.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/logging/LoggingExecutionListener.java
} @Override public void beforeProjectExecution(ProjectExecutionEvent projectExecutionEvent) throws LifecycleExecutionException {} @Override public void beforeProjectLifecycleExecution(ProjectExecutionEvent projectExecutionEvent) throws LifecycleExecutionException {} @Override public void afterProjectExecutionSuccess(ProjectExecutionEvent projectExecutionEvent)Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
return suite; } public void testCreation_noArgs() { Multiset<String> multiset = ImmutableMultiset.of(); assertTrue(multiset.isEmpty()); } public void testCreation_oneElement() { Multiset<String> multiset = ImmutableMultiset.of("a"); assertEquals(HashMultiset.create(asList("a")), multiset); } public void testCreation_twoElements() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} public void testAvoidsStackOverflow_alternatingCancelledAndSubmitted() throws Exception { SettableFuture<@Nullable Void> settableFuture = SettableFuture.create(); ListenableFuture<@Nullable Void> unused = serializer.submitAsync( new AsyncCallable<@Nullable Void>() { @Override public ListenableFuture<@Nullable Void> call() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 01:35:55 GMT 2025 - 16.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
return suite; } // Creation tests public void testCreation_noArgs() { List<String> list = ImmutableList.of(); assertEquals(emptyList(), list); } public void testCreation_oneElement() { List<String> list = ImmutableList.of("a"); assertEquals(singletonList("a"), list); } public void testCreation_twoElements() { List<String> list = ImmutableList.of("a", "b");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 23.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
public void testConstructor_anonymousClass() { String toTest = MoreObjects.toStringHelper(new Object() {}).toString(); assertEquals("{}", toTest); } public void testConstructorLenient_anonymousClass() { String toTest = MoreObjects.toStringHelper(new Object() {}).toString(); assertTrue(toTest, toTest.matches(".*\\{\\}")); } @GwtIncompatible // Class names are obfuscated in GWT
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 21.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
} public void testCount_elementAbsent() { when(backingMap.get(KEY)).thenReturn(null); assertEquals(0, multiset.count(KEY)); } public void testAdd_zero() { int INITIAL_COUNT = 32; when(backingMap.get(KEY)).thenReturn(new AtomicInteger(INITIAL_COUNT)); assertEquals(INITIAL_COUNT, multiset.add(KEY, 0)); } public void testAdd_firstFewWithSuccess() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 08 22:42:14 GMT 2025 - 16.3K bytes - Click Count (0) -
build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithMethods.java
} /** * A method that returns String. */ String stringMethod(String stringParam) { return "value"; } /** * A method that returns void. */ void voidMethod() { } /** * A method that returns a reference type. */ CombinedInterface refTypeMethod(JavaInterface refParam, boolean aFlag) { return null; }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 717 bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
} } }, RANDOM { @Override void arrange(List<Integer> list) {} }; abstract void arrange(List<Integer> list); } private ImmutableList<Integer> input; @BeforeExperiment void setUp() { checkArgument(size > 0, "empty collection not supported"); Set<Integer> set = new LinkedHashSet<>(size); Random random = new Random(); while (set.size() < size) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
} static <K extends @Nullable Object, V extends @Nullable Object> Entry<V, K> reverseEntry( Entry<K, V> entry) { return mapEntry(entry.getValue(), entry.getKey()); } @Override protected void expectContents(Collection<Entry<K, V>> expected) { super.expectContents(expected); List<Entry<V, K>> reversedEntries = new ArrayList<>(); for (Entry<K, V> entry : expected) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.3K bytes - Click Count (0)