Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 891 for maps (0.03 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        @Override
        protected final Map<String, String> create(Entry<String, String>[] entries) {
          HashMap<String, String> map = new HashMap<>();
          for (Entry<String, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return wrap(map);
        }
    
        abstract Map<String, String> wrap(HashMap<String, String> map);
      }
    
      private static TestSuite wrappedHashMapTests(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/HashBiMapTest.java

        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("bar");
        assertThat(map.entrySet())
            .containsExactly(immutableEntry("foo", 1), immutableEntry("quux", 3))
            .inOrder();
      }
    
      public void testInsertionOrderAfterRemoveLast() {
        BiMap<String, Integer> map = HashBiMap.create();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("quux", 3);
    
        map.remove("quux");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeBasedTable.java

          updateWholeRowField();
          SortedMap<C, V> map = wholeRow;
          if (map != null) {
            if (lowerBound != null) {
              map = map.tailMap(lowerBound);
            }
            if (upperBound != null) {
              map = map.headMap(upperBound);
            }
            return map;
          }
          return null;
        }
    
        @Override
        void maintainEmptyInvariant() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        private final int maxGlobalAttemptsPerMinute;
        private final Duration lockoutDuration;
        private final Duration cleanupInterval;
    
        // Tracking maps
        private final Map<String, AccountAttempts> accountAttempts = new ConcurrentHashMap<>();
        private final Map<String, IpAttempts> ipAttempts = new ConcurrentHashMap<>();
        private final AtomicInteger globalAttemptsInCurrentWindow = new AtomicInteger(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbNamedPipe.java

     * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can
     * be opened, written to, read from and closed using the standard Win32
     * file operations.
     * </ul>
     *
     * <p>
     * The jCIFS API maps all of these operations into the standard Java
     * <code>XxxputStream</code> interface. A special <code>PIPE_TYPE</code>
     * flags is necessary to distinguish which type of Named Pipe behavior
     * is desired.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Serialization.java

      static <K extends @Nullable Object, V extends @Nullable Object> void writeMap(
          Map<K, V> map, ObjectOutputStream stream) throws IOException {
        stream.writeInt(map.size());
        for (Map.Entry<K, V> entry : map.entrySet()) {
          stream.writeObject(entry.getKey());
          stream.writeObject(entry.getValue());
        }
      }
    
      /**
       * Populates a map by reading an input stream, as part of deserialization. See {@link #writeMap}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Graphs.java

    import com.google.common.collect.Iterables;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Maps;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayDeque;
    import java.util.Collection;
    import java.util.Deque;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Queue;
    import java.util.Set;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/Graphs.java

    import com.google.common.collect.Iterables;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.Maps;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayDeque;
    import java.util.Collection;
    import java.util.Deque;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    import java.util.Queue;
    import java.util.Set;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  9. README.md

    BeanUtil.copyBeanToBean(source, destination);
    BeanUtil.copyBeanToBean(source, destination, options -> 
        options.exclude("password", "internalId"));
    
    // Convert between beans and maps
    Map<String, Object> map = BeanUtil.copyBeanToNewMap(bean);
    MyBean newBean = BeanUtil.copyMapToNewBean(map, MyBean.class);
    ```
    
    ### Type Conversion
    ```java
    import org.codelibs.core.convert.*;
    
    // Safe type conversions with null handling
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       * @throws IOException if an I/O error occurs
       * @see FileChannel#map(MapMode, long, long)
       * @since 2.0
       */
      public static MappedByteBuffer map(File file) throws IOException {
        checkNotNull(file);
        return map(file, MapMode.READ_ONLY);
      }
    
      /**
       * Fully maps a file in to memory as per {@link
       * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)} using the requested {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top