Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 876 for entry (0.01 sec)

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

        BiMap<Integer, String> map = HashBiMap.create();
        map.put(1, "one");
        Set<Entry<Integer, String>> entries = map.entrySet();
        Iterator<Entry<Integer, String>> iterator = entries.iterator();
        Entry<Integer, String> entry = iterator.next();
        entry.setValue("two"); // changes the iterator's current entry value
        assertEquals("two", map.get(1));
        assertEquals(Integer.valueOf(1), map.inverse().get("two"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

         *
         * @param file
         *            Zip file. Must not be {@literal null}.
         * @param entry
         *            Zip file entry. Must not be {@literal null}.
         * @return An input stream for reading the contents of the specified Zip file entry.
         */
        public static InputStream getInputStream(final ZipFile file, final ZipEntry entry) {
            assertArgumentNotNull("file", file);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            // Assert
            assertNotNull(entries, "Entries array should not be null");
            assertEquals(1, entries.length, "Exactly one entry is expected");
            AppConfigurationEntry e = entries[0];
            assertNotNull(e, "Entry should not be null");
            assertEquals(EXPECTED_LOGIN_MODULE, e.getLoginModuleName(), "Login module should be Kerberos");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        }
    
        public static <K, T extends Map<K, Artifact>> T copyArtifacts(Map<K, ? extends Artifact> from, T to) {
            if (from != null) {
                for (Map.Entry<K, ? extends Artifact> entry : from.entrySet()) {
                    to.put(entry.getKey(), ArtifactUtils.copyArtifact(entry.getValue()));
                }
            }
    
            return to;
        }
    
        private static <T> List<T> copyList(List<T> original) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashMap.java

          if (delegate != null) {
            return delegate.entrySet().contains(o);
          } else if (o instanceof Entry) {
            Entry<?, ?> entry = (Entry<?, ?>) o;
            int index = indexOf(entry.getKey());
            return index != -1 && Objects.equals(value(index), entry.getValue());
          }
          return false;
        }
    
        @Override
        public boolean remove(@Nullable Object o) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutDuplicateValue() {
        List<Entry<K, V>> entries = copyToList(multimap().entries());
    
        for (Entry<K, V> entry : entries) {
          resetContainer();
          K k = entry.getKey();
          V v = entry.getValue();
    
          Set<V> values = multimap().get(k);
          Set<V> expectedValues = copyToSet(values);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. cmd/metacache-entries.go

    	r.candidates = r.candidates[:0]
    	objsAgree := 0
    	objsValid := 0
    	for i := range m {
    		entry := &m[i]
    		// Empty entry
    		if entry.name == "" {
    			continue
    		}
    
    		if entry.isDir() {
    			dirExists++
    			selected = entry
    			continue
    		}
    
    		// Get new entry metadata,
    		// shallow decode.
    		xl, err := entry.xlmeta()
    		if err != nil {
    			continue
    		}
    		objsValid++
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java

      private final Map<E, Integer> delegateMap;
      private final ImmutableList<Entry<E>> entries;
      private final long size;
    
      static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
        @SuppressWarnings("unchecked")
        Entry<E>[] entriesArray = entries.toArray((Entry<E>[]) new Entry<?>[0]);
        Map<E, Integer> delegateMap = Maps.newHashMapWithExpectedSize(entriesArray.length);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 08 13:05:15 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          for (Entry<AnEnum, String> entry : entries) {
            map.put(entry.getKey(), entry.getValue());
          }
          return ImmutableMap.copyOf(map);
        }
    
        @Override
        public Iterable<Entry<AnEnum, String>> order(List<Entry<AnEnum, String>> insertionOrder) {
          return new Ordering<Entry<AnEnum, String>>() {
    
            @Override
            public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

                      @Override
                      protected Map<String, String> create(Entry<String, String>[] entries) {
                        Map<String, String> map = CompactHashMap.create();
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
                    })
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top