- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 130 for Ben (0.19 sec)
-
guava/src/com/google/common/base/Defaults.java
import com.google.common.annotations.J2ktIncompatible; import javax.annotation.CheckForNull; /** * This class provides default values for all Java types, as defined by the JLS. * * @author Ben Yu * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public final class Defaults { private Defaults() {} private static final Double DOUBLE_DEFAULT = 0d;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
import com.google.common.testing.ForwardingWrapperTester; import java.lang.reflect.Method; import java.util.Arrays; /** * Tester for typical subclass of {@link ForwardingObject} by using Mockito. * * @author Ben Yu */ final class ForwardingObjectTester { private static final Method DELEGATE_METHOD; static { try { DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jan 05 19:41:03 GMT 2023 - 2.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java
* limitations under the License. */ package com.google.common.base; import com.google.caliper.Benchmark; /** * Some microbenchmarks for the {@link com.google.common.base.Objects} class. * * @author Ben L. Titzer */ public class ObjectsBenchmark { private static final Integer I0 = -45; private static final Integer I1 = -1; private static final Integer I2 = 3; private static final String S0 = "3";
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java
* limitations under the License. */ package com.google.common.base; import com.google.caliper.Benchmark; /** * Some microbenchmarks for the {@link com.google.common.base.Objects} class. * * @author Ben L. Titzer */ public class ObjectsBenchmark { private static final Integer I0 = -45; private static final Integer I1 = -1; private static final Integer I2 = 3; private static final String S0 = "3";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Defaults.java
import com.google.common.annotations.J2ktIncompatible; import javax.annotation.CheckForNull; /** * This class provides default values for all Java types, as defined by the JLS. * * @author Ben Yu * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public final class Defaults { private Defaults() {} private static final Double DOUBLE_DEFAULT = 0d;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
import java.lang.reflect.TypeVariable; import java.lang.reflect.WildcardType; import java.util.ArrayList; import java.util.EnumSet; import junit.framework.TestCase; /** * Tests of {@link TypeVisitor}. * * @author Ben Yu */ public class TypeVisitorTest extends TestCase { public void testVisitNull() { new BaseTypeVisitor() .visit(((ParameterizedType) ArrayList.class.getGenericSuperclass()).getOwnerType()); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeParameter.java
* * <pre>{@code * static <T> TypeToken<List<T>> listOf(Class<T> elementType) { * return new TypeToken<List<T>>() {} * .where(new TypeParameter<T>() {}, elementType); * } * }</pre> * * @author Ben Yu * @since 12.0 */ @ElementTypesAreNonnullByDefault /* * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 05 17:43:40 GMT 2022 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
import java.lang.reflect.TypeVariable; import java.lang.reflect.WildcardType; import java.util.ArrayList; import java.util.EnumSet; import junit.framework.TestCase; /** * Tests of {@link TypeVisitor}. * * @author Ben Yu */ public class TypeVisitorTest extends TestCase { public void testVisitNull() { new BaseTypeVisitor() .visit(((ParameterizedType) ArrayList.class.getGenericSuperclass()).getOwnerType()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
import java.lang.reflect.Proxy; import java.util.List; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link AbstractInvocationHandler}. * * @author Ben Yu */ public class AbstractInvocationHandlerTest extends TestCase { private static final ImmutableList<String> LIST1 = ImmutableList.of("one", "two");
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
import com.google.common.collect.ImmutableList; import java.util.Arrays; import java.util.List; import junit.framework.TestCase; /** * Unit tests for {@link AbstractPackageSanityTests}. * * @author Ben Yu */ public class AbstractPackageSanityTestsTest extends TestCase { /* * This is a public type so that the Android test runner can create an instance directly as it
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jun 11 21:37:55 GMT 2019 - 5.3K bytes - Viewed (0)