Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 362 for male (0.12 sec)

  1. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

                : EnumMultiset.create(asList(elements));
          }
        };
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN,
        WHITE
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
        ms.add(Color.YELLOW);
        ms.add(Color.RED);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

              arguments.put(i, args[i]);
            }
          }
          for (Object arg : args) {
            checkNotNull(arg); // to fulfill null check
          }
        }
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      private static class AllDefaultValuesChecker extends DefaultValueChecker {
    
        @SuppressWarnings("unused") // called by NullPointerTester
        public void checkDefaultValuesForTheseTypes(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

                : EnumMultiset.create(asList(elements));
          }
        };
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN,
        WHITE
      }
    
      private enum Gender {
        MALE,
        FEMALE
      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
        ms.add(Color.YELLOW);
        ms.add(Color.RED);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * #iterator()} method after the first, and whose iterator is always unmodifiable.
     *
     * <p>The {@code Iterable} specification does not make it absolutely clear what should happen on a
     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

            Mall<Outdoor>.Shop<Grocery> shop) {
          return notSubtype(shop);
        }
    
        @TestSubtype
        public Mall<Outdoor>.Shop<Electronics> innerTypeDoesNotMatch_subtypeWithWildcard(
            Mall<Outdoor>.Shop<? extends Electronics> shop) {
          return notSubtype(shop);
        }
    
        @TestSubtype
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

    import java.net.URLClassLoader;
    
    // TODO(b/65488446): Make this a public API.
    /** Utility method to parse the system class path. */
    final class ClassPathUtil {
      private ClassPathUtil() {}
    
      /**
       * Returns the URLs in the class path specified by the {@code java.class.path} {@linkplain
       * System#getProperty system property}.
       */
      // TODO(b/65488446): Make this a public API.
      static URL[] parseJavaClassPath() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 13 20:26:15 GMT 2017
    - 2.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * </ul>
     *
     * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
     * platform classes unavailable. Then we construct a test suite so we can run the normal FuturesTest
     * test methods in these degenerate classloaders.
     */
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        write(out, data, 0, 100, true);
        final File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
            new GcFinalization.FinalizationPredicate() {
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 08 21:20:23 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        }
    
        @Override
        public V get() throws InterruptedException {
          /*
           * Wait a little to give us time to call addListener before the future's
           * value is set in addition to the call we'll make after then.
           */
          allowGetToComplete.await(1, SECONDS);
          throw new RuntimeException("expected, should be caught");
        }
    
        @Override
        public V get(long timeout, TimeUnit unit) {
    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)
  10. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * Other contributors include Andrew Wright, Jeffrey Hayes,
     * Pat Fisher, Mike Judd.
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/JSR166TestCase.java?revision=1.90
     * (We have made some trivial local modifications (commented out
     * uncompilable code).)
     */
    
    package com.google.common.util.concurrent;
    
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
Back to top