Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 424 for deskey (1.12 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

              RangeMap<Integer, Integer> expected = TreeRangeMap.create();
              for (Entry<Range<Integer>, Integer> entry : rangeMap.asMapOfRanges().entrySet()) {
                if (entry.getKey().isConnected(subRange)) {
                  expected.put(entry.getKey().intersection(subRange), entry.getValue());
                }
              }
              RangeMap<Integer, Integer> subRangeMap = rangeMap.subRangeMap(subRange);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 30K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMultimap.java

        /**
         * Adds an entry to the built multimap.
         *
         * @since 11.0
         */
        @CanIgnoreReturnValue
        public Builder<K, V> put(Entry<? extends K, ? extends V> entry) {
          return put(entry.getKey(), entry.getValue());
        }
    
        /**
         * Adds entries to the built multimap.
         *
         * @since 19.0
         */
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Serialization.java

          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}
       * for the data format.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            if (metadataMap == null) {
                metadataMap = new HashMap<>();
            }
    
            ArtifactMetadata m = metadataMap.get(metadata.getKey());
            if (m != null) {
                m.merge(metadata);
            } else {
                metadataMap.put(metadata.getKey(), metadata);
            }
        }
    
        @Override
        public Collection<ArtifactMetadata> getMetadataList() {
            if (metadataMap == null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestCharSink.java

    import java.io.IOException;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * A char sink for testing that has configurable behavior.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestCharSink extends CharSink implements TestStreamSupplier {
    
      private final TestByteSink byteSink;
    
      public TestCharSink(TestOption... options) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
            break;
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
            break;
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

                nextOrNull = forward().lowerEntry(nextOrNull.getKey());
              }
            }
    
            @Override
            public void remove() {
              if (toRemove == null) {
                throw new IllegalStateException("no calls to next() since the last call to remove()");
              }
              forward().remove(toRemove.getKey());
              toRemove = null;
            }
          };
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingNavigableMap.java

                nextOrNull = forward().lowerEntry(nextOrNull.getKey());
              }
            }
    
            @Override
            public void remove() {
              if (toRemove == null) {
                throw new IllegalStateException("no calls to next() since the last call to remove()");
              }
              forward().remove(toRemove.getKey());
              toRemove = null;
            }
          };
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/TestReader.java

    import java.io.ByteArrayInputStream;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestReader extends FilterReader {
    
      private final TestInputStream in;
    
      public TestReader(TestOption... options) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top