Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newEnumSet (0.1 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       * natural order. This method behaves identically to {@link EnumSet#copyOf(Collection)}, but also
       * accepts non-{@code Collection} iterables and empty iterables.
       */
      public static <E extends Enum<E>> EnumSet<E> newEnumSet(
          Iterable<E> iterable, Class<E> elementType) {
        EnumSet<E> set = EnumSet.noneOf(elementType);
        Iterables.addAll(set, iterable);
        return set;
      }
    
      // HashSet
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top