Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for newLinkedHashMap (0.16 seconds)

  1. 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}
    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)
  2. 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;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

              capacity >= expectedSize);
        }
      }
    
      public void testLinkedHashMap() {
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        LinkedHashMap<Integer, Integer> map = Maps.newLinkedHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testLinkedHashMapWithInitialMap() {
        Map<String, String> map =
            new LinkedHashMap<String, String>(
                ImmutableMap.of(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  4. 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()));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. .idea/inspectionProfiles/Gradle.xml

          </replaceConfiguration>
          <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" text="com.google.common.collect.Maps.newLinkedHashMap()" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" replacement="new java.util.LinkedHashMap&lt;&gt;()">
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jun 26 21:49:47 GMT 2024
    - 15.4K bytes
    - Click Count (0)
  6. 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();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sun Aug 31 02:56:02 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Maps.java

       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMap<K, V> newLinkedHashMap() {
        return new LinkedHashMap<>();
      }
    
      /**
       * Creates a <i>mutable</i>, insertion-ordered {@code LinkedHashMap} instance with the same
       * mappings as the specified map.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Maps.java

       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMap<K, V> newLinkedHashMap() {
        return new LinkedHashMap<>();
      }
    
      /**
       * Creates a <i>mutable</i>, insertion-ordered {@code LinkedHashMap} instance with the same
       * mappings as the specified map.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          case 1:
            Entry<? extends K, ? extends V> entry = getOnlyElement(map.entrySet());
            return ImmutableMap.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()));
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  10. 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) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 23.4K bytes
    - Click Count (0)
Back to Top