- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 322 for TUnused (0.05 seconds)
-
android/guava/src/com/google/common/collect/ForwardingImmutableList.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; /** * Unused stub class, unreferenced under Java and manually emulated under GWT. * * @author Chris Povirk */ @GwtCompatible abstract class ForwardingImmutableList<E> { private ForwardingImmutableList() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 905 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
assertEquals(2, factory2.newThread(monitoredRunnable).getPriority()); } public void testBuildTwice() { ThreadFactory unused; unused = builder.build(); // this is allowed unused = builder.build(); // this is *also* allowed } public void testBuildMutate() { ThreadFactory factory1 = builder.setPriority(1).build();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
ClosingFuture<Closeable> closingFuture = ClosingFuture.submit(closer -> closer.eventuallyClose(mockCloseable, executor), executor); FluentFuture<Closeable> unused = closingFuture.finishToFuture(); assertThrows( IllegalStateException.class, () -> closingFuture.finishToValueAndCloser(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 5.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableAsListTest.java
* gets invoked from other immutable collections. */ public void testDoesntCheckForNull() { ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3); ImmutableList<Integer> unused = new RegularImmutableAsList<Integer>(set, new @Nullable Object[] {null, null, null}); // shouldn't throw! }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Platform.java
static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) { Object unused = clazz.cast(obj); } @FormatMethod static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); } private Platform() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/Platform.java
static <T> T[] clone(T[] array) { return array.clone(); } // Class.cast is not supported in GWT. This method is a no-op in GWT. static void checkCast(Class<?> clazz, Object obj) { Object unused = clazz.cast(obj); } @FormatMethod static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); } private Platform() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ComparatorsTest.java
testComparator(comparator, empty, z, abc); // Just demonstrate that no explicit type parameter is required Comparator<Optional<String>> unused = emptiesFirst(naturalOrder()); } public void testEmptiesLast() { Optional<String> empty = Optional.empty(); Optional<String> abc = Optional.of("abc"); Optional<String> z = Optional.of("z");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 6.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java
TestExecutor testExecutor = new TestExecutor(mock); @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = testExecutor.scheduleWithFixedDelay(() -> {}, 100, 10, MINUTES); mock.assertLastMethodCalled("scheduleWithFixedDelay", 100, 10, MINUTES); @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractHashFloodingTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/SomeClassThatDoesNotUseNullable.java
* limitations under the License. */ package com.google.common.testing.anotherpackage; /** Does not check null, but should not matter since it's in a different package. */ @SuppressWarnings("unused") // For use by NullPointerTester public class SomeClassThatDoesNotUseNullable { void packagePrivateButDoesNotCheckNull(String s) {} protected void protectedButDoesNotCheckNull(String s) {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Apr 27 17:06:02 GMT 2012 - 1.1K bytes - Click Count (0)