Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 286 for Devlin (0.44 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    
    /**
     * An abstract TestSetGenerator for generating sets containing enum values.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestEnumSetGenerator implements TestSetGenerator<AnEnum> {
      @Override
      public SampleElements<AnEnum> samples() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Primitives}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
        assertThat(Primitives.isWrapperType(Void.class)).isTrue();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMapKeySet.java

    import java.util.Spliterator;
    import java.util.function.Consumer;
    import javax.annotation.CheckForNull;
    
    /**
     * {@code keySet()} implementation for {@link ImmutableMap}.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ImmutableMapKeySet<K, V> extends IndexedImmutableSet<K> {
      private final ImmutableMap<K, V> map;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for collection testers.
     *
     * @param <E> the element type of the collection to be tested.
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/SetAddAllTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests addAll operations on a set. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.SetTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class SetAddAllTester<E> extends AbstractSetTester<E> {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

    import com.google.common.collect.testing.SampleElements.Strings;
    import java.util.List;
    import java.util.Set;
    
    /**
     * Create string sets for collection tests.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringSetGenerator implements TestSetGenerator<String> {
      @Override
      public SampleElements<String> samples() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashMultiset.java

    import java.io.ObjectOutputStream;
    import java.util.HashMap;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Multiset implementation backed by a {@link HashMap}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/InternersTest.java

    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.WeakReference;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Interners}.
     *
     * @author Kevin Bourrillion
     */
    public class InternersTest extends TestCase {
    
      public void testStrong_simplistic() {
        String canonical = "a";
        String not = new String("a");
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public final class MinimalIterable<E extends @Nullable Object> implements Iterable<E> {
      /** Returns an iterable whose iterator returns the given elements in order. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of {@link ImmutableSet} with exactly one element.
     *
     * @author Kevin Bourrillion
     * @author Nick Kralevich
     */
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top