- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for newHashSet (0.05 seconds)
-
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}Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 49.9K bytes - Click Count (0) -
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 thinCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
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 thinCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 81.4K bytes - Click Count (0)