- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 420 for Unit (0.14 sec)
-
android/guava-tests/test/com/google/common/base/OptionalTest.java
} @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional public void testOr_T_present() { assertEquals("a", Optional.of("a").or("default")); } public void testOr_T_absent() { assertEquals("default", Optional.absent().or("default")); } @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional public void testOr_supplier_present() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingListeningExecutorServiceTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.util.concurrent; import junit.framework.TestCase; /** Unit tests for {@link ForwardingListeningExecutorService} */ public class ForwardingListeningExecutorServiceTest extends TestCase { public void testForwarding() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 946 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingFutureTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.util.concurrent; import junit.framework.TestCase; /** Unit tests for {@link ForwardingFuture} */ public class ForwardingFutureTest extends TestCase { public void testForwarding() { ForwardingObjectTester.testForwardingObject(ForwardingFuture.class); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 892 bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Weigher.java
* * @author Charles Fry * @since 11.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public interface Weigher<K, V> { /** * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply * relative to each other. * * @return the weight of the entry; must be non-negative */ int weigh(K key, V value);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 15 18:00:07 GMT 2021 - 1.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Stopwatch.java
@Override public String toString() { long nanos = elapsedNanos(); TimeUnit unit = chooseUnit(nanos); double value = (double) nanos / NANOSECONDS.convert(1, unit); // Too bad this functionality is not exposed as a regular method call return Platform.formatCompact4Digits(value) + " " + abbreviate(unit); } private static TimeUnit chooseUnit(long nanos) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/DefaultsTest.java
* limitations under the License. */ package com.google.common.base; import com.google.common.annotations.GwtIncompatible; import junit.framework.TestCase; /** * Unit test for {@link Defaults}. * * @author Jige Yu */ @GwtIncompatible public class DefaultsTest extends TestCase { public void testGetDefaultValue() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java
import java.util.concurrent.SynchronousQueue; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import junit.framework.AssertionFailedError; import junit.framework.TestCase; /** * Unit tests for {@link JdkFutureAdapters}. * * @author Sven Mawson * @author Kurt Alfred Kluever */ public class JdkFutureAdaptersTest extends TestCase { private static final String DATA1 = "data";
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java
import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import com.google.common.base.Function; import java.lang.reflect.UndeclaredThrowableException; /** * Unit tests for {@link Futures#transform(ListenableFuture, Function, Executor)}. * * @author Nishant Thakkar */ public class FuturesTransformTest extends AbstractChainedListenableFutureTest<String> {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 28 16:27:15 GMT 2018 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
* GS, then RS, and US is least inclusive. (The content and length of a File, Group, Record, or * Unit are not specified.) * * @since 8.0 */ public static final byte RS = 30; /** * Unit Separator: These four information separators may be used within data in optional fashion, * except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jul 19 15:43:07 GMT 2021 - 21.6K bytes - Viewed (0)