Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for Yellow (0.23 sec)

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

        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);
        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(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-tests/test/com/google/common/collect/EnumMultisetTest.java

        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);
        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(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)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testCompound_instance() {
        Comparator<String> comparator = byCharAt(1).compound(byCharAt(0));
        Helpers.testComparator(
            comparator,
            ImmutableList.of("red", "yellow", "violet", "blue", "indigo", "green", "orange"));
      }
    
      public void testCompound_instance_generics() {
        Ordering<Object> objects = Ordering.explicit((Object) 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      public void testCompound_instance() {
        Comparator<String> comparator = byCharAt(1).compound(byCharAt(0));
        Helpers.testComparator(
            comparator,
            ImmutableList.of("red", "yellow", "violet", "blue", "indigo", "green", "orange"));
      }
    
      public void testCompound_instance_generics() {
        Ordering<Object> objects = Ordering.explicit((Object) 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

                assertEquals(newHashSet(elements), multimap.get("foo"));
              }
            };
    
        tester.test();
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN
      }
    
      private abstract static class CountingSupplier<E> implements Supplier<E>, Serializable {
        int count;
    
        abstract E getImpl();
    
        @Override
        public E get() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MultimapsTest.java

                assertEquals(newHashSet(elements), multimap.get("foo"));
              }
            };
    
        tester.test();
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN
      }
    
      private abstract static class CountingSupplier<E> implements Supplier<E>, Serializable {
        int count;
    
        abstract E getImpl();
    
        @Override
        public E get() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            // If the build section is present and the project directory is non-null, we should make
            // sure interpolation of the directories below uses translated paths.
            // Afterward, we'll double back and translate any paths that weren't covered during interpolation via the
            // code below...
            translatedPrefixes.add("build.directory");
            translatedPrefixes.add("build.outputDirectory");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

             * local artifact resolution. In the second case, the result needs to precisely obey the path information of the
             * repository's layout to allow pointing at artifacts within the repository. Unfortunately,
             * DefaultRepositoryLayout does not correctly describe the layout of a local repository which unlike a remote
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableTable.java

        return new Builder<>();
      }
    
      /**
       * Verifies that {@code rowKey}, {@code columnKey} and {@code value} are non-null, and returns a
       * new entry with those values.
       */
      static <R, C, V> Cell<R, C, V> cellOf(R rowKey, C columnKey, V value) {
        return Tables.immutableCell(
            checkNotNull(rowKey, "rowKey"),
            checkNotNull(columnKey, "columnKey"),
            checkNotNull(value, "value"));
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java

        PersistedToolchains getEffectiveToolchains();
    
        /**
         * Gets the problems that were encountered during the settings building. Note that only problems of severity
         * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the settings builder to fail with a {@link ToolchainsBuilderException}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top