- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for newLinkedHashMap (0.08 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
} @SuppressWarnings("unchecked") ForwardingImmutableMap(boolean throwIfDuplicateKeys, Entry<? extends K, ? extends V>... entries) { Map<K, V> delegate = Maps.newLinkedHashMap(); for (Entry<? extends K, ? extends V> entry : entries) { K key = checkNotNull(entry.getKey()); V previous = delegate.put(key, checkNotNull(entry.getValue()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* @param <V> the value type of {@link LinkedHashMap} * @return a new instance of {@link LinkedHashMap} * @see LinkedHashMap#LinkedHashMap() */ public static <K, V> LinkedHashMap<K, V> newLinkedHashMap() { return new LinkedHashMap<>(); } /** * Creates and returns a new instance of {@link LinkedHashMap}. * * @param <K> the key type of {@link LinkedHashMap}
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* governing permissions and limitations under the License. */ package org.codelibs.core.beans.util; import static org.codelibs.core.collection.CollectionsUtil.newLinkedHashMap; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Map; import java.util.Map.Entry; import java.util.function.Consumer; import org.codelibs.core.beans.BeanDesc;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
Entry<? extends K, ? extends V> entry = getOnlyElement(map.entrySet()); return ImmutableMap.<K, V>of(entry.getKey(), entry.getValue()); default: Map<K, V> orderPreservingCopy = Maps.newLinkedHashMap(); for (Entry<? extends K, ? extends V> e : map.entrySet()) { orderPreservingCopy.put(checkNotNull(e.getKey()), checkNotNull(e.getValue())); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 16.7K bytes - Viewed (0) -
README.md
import org.codelibs.core.collection.CollectionsUtil; import java.util.SequencedCollection; // Enhanced collection creation List<String> list = CollectionsUtil.newArrayList(); Map<String, Object> map = CollectionsUtil.newLinkedHashMap(); Set<String> caseInsensitiveSet = new CaseInsensitiveSet<>(); // Java 21 Sequenced Collections support SequencedCollection<String> sequenced = CollectionsUtil.newLinkedHashSet();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
*/ public static Map<TypeVariable<?>, Type> getTypeVariableMap(final Class<?> clazz) { assertArgumentNotNull("clazz", clazz); final Map<TypeVariable<?>, Type> map = CollectionsUtil.newLinkedHashMap(); final TypeVariable<?>[] typeParameters = clazz.getTypeParameters(); for (final TypeVariable<?> typeParameter : typeParameters) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.4K bytes - Viewed (0)