Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newHashSet (0.06 sec)

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

      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> HashSet<E> newHashSet(Iterable<? extends E> elements) {
        return (elements instanceof Collection)
            ? new HashSet<E>((Collection<? extends E>) elements)
            : newHashSet(elements.iterator());
      }
    
      /**
       * Creates a <i>mutable</i> {@code HashSet} instance containing the given elements. A very thin
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param <E> the element type of {@link HashSet}
         * @return a new instance of {@link HashSet}
         * @see HashSet#HashSet()
         */
        public static <E> HashSet<E> newHashSet() {
            return new HashSet<>();
        }
    
        /**
         * Creates and returns a new instance of {@link HashSet}.
         *
         * @param <E> the element type of {@link HashSet}
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
Back to top