Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for EnumMultiset (0.09 sec)

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

            return (elements.length == 0)
                ? EnumMultiset.create(AnEnum.class)
                : 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multiset.java

     *
     * <ul>
     *   <li>{@link ImmutableMultiset}
     *   <li>{@link ImmutableSortedMultiset}
     *   <li>{@link HashMultiset}
     *   <li>{@link LinkedHashMultiset}
     *   <li>{@link TreeMultiset}
     *   <li>{@link EnumMultiset}
     *   <li>{@link ConcurrentHashMultiset}
     * </ul>
     *
     * <p>If your values may be zero, negative, or outside the range of an int, you may wish to use
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multiset.java

     *
     * <ul>
     *   <li>{@link ImmutableMultiset}
     *   <li>{@link ImmutableSortedMultiset}
     *   <li>{@link HashMultiset}
     *   <li>{@link LinkedHashMultiset}
     *   <li>{@link TreeMultiset}
     *   <li>{@link EnumMultiset}
     *   <li>{@link ConcurrentHashMultiset}
     * </ul>
     *
     * <p>If your values may be zero, negative, or outside the range of an int, you may wish to use
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
Back to top