- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 235 for subclass (0.13 sec)
-
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
/** * Helper classes for various benchmarks. * * @author Christopher Swenson */ final class BenchmarkHelpers { /** So far, this is the best way to test various implementations of {@link Set} subclasses. */ public interface CollectionsImplEnum { <E extends Comparable<E>> Collection<E> create(Collection<E> contents); String name(); } public interface MapsImplEnum {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
import junit.framework.Test; import junit.framework.TestSuite; /** * Generates a test suite covering the {@link List} implementations in the {@link java.util} * package. Can be subclassed to specify tests that should be suppressed. * * @author Kevin Bourrillion */ @GwtIncompatible public class TestsForListsInJavaUtil { public static Test suite() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* * <p>{@link #setDefault} allows subclasses to specify default values for types. * * <p>This class incurs IO because it scans the classpath and reads classpath resources. * * @author Ben Yu * @since 14.0 */ // TODO: Switch to JUnit 4 and use @Parameterized and @BeforeClass // Note: @Test annotations are deliberate, as some subclasses specify @RunWith(JUnit4). @GwtIncompatible @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
import junit.framework.Test; import junit.framework.TestSuite; /** * Generates a test suite covering the {@link Map} implementations in the {@link java.util} package. * Can be subclassed to specify tests that should be suppressed. * * @author Kevin Bourrillion */ @GwtIncompatible public class TestsForMapsInJavaUtil { public static Test suite() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17K bytes - Viewed (0) -
guava/src/com/google/common/collect/Cut.java
} catch (ClassCastException wastNotComparableToOurType) { return false; } } return false; } // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it @Override public abstract int hashCode(); /* * The implementation neither produces nor consumes any non-null instance of type C, so * casting the type parameter is safe. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 12.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-models.md
Nós poderíamos fazer melhor. Podemos declarar um modelo `UserBase` que serve como base para nossos outros modelos. E então podemos fazer subclasses desse modelo que herdam seus atributos (declarações de tipo, validação, etc.). Toda conversão de dados, validação, documentação, etc. ainda funcionará normalmente.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
expectContents(asList(elements)); } /** * Asserts that the collection under test contains exactly the given elements, respecting * cardinality but not order. Subclasses may override this method to provide stronger assertions, * e.g., to check ordering in lists, but realize that <strong>unless a test extends {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.8K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
* * @author Charles Fry * @since 10.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class AbstractCache<K, V> implements Cache<K, V> { /** Constructor for use by subclasses. */ protected AbstractCache() {} /** @since 11.0 */ @Override public V get(K key, Callable<? extends V> valueLoader) throws ExecutionException { throw new UnsupportedOperationException(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
import java.util.Set; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests representing the contract of {@link Map}. Concrete subclasses of this base class test * conformance of concrete {@link Map} subclasses to that contract. * * @param <K> the type of keys used by the maps under test * @param <V> the type of mapped values used the maps under test * @author George van den Driessche */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
/** * Helper classes for various benchmarks. * * @author Christopher Swenson */ final class BenchmarkHelpers { /** So far, this is the best way to test various implementations of {@link Set} subclasses. */ public interface CollectionsImplEnum { <E extends Comparable<E>> Collection<E> create(Collection<E> contents); String name(); } public interface MapsImplEnum {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0)