Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 805 for entries (0.14 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

      RegularImmutableMultiset() {}
    
      static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
        if (entries.isEmpty()) {
          return ImmutableMultiset.of();
        } else {
          return JdkBackedImmutableMultiset.create(entries);
        }
      }
    
      @Override
      public int count(@Nullable Object element) {
        throw new AssertionError();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableListMultimap.java

      /** Returns an immutable multimap containing the given entries, in order. */
      public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1, K k2, V v2) {
        ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder();
        builder.put(k1, v1);
        builder.put(k2, v2);
        return builder.build();
      }
    
      /** Returns an immutable multimap containing the given entries, in order. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 20:20:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSetMultimap.java

      /**
       * Returns an immutable collection of all key-value pairs in the multimap. Its iterator traverses
       * the values for the first key, the values for the second key, and so on.
       */
      @Override
      public ImmutableSet<Entry<K, V>> entries() {
        ImmutableSet<Entry<K, V>> result = entries;
        return result == null ? (entries = new EntrySet<>(this)) : result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

        private final Entry<K, V> delegate;
    
        static <K, V extends @Nullable Object> Set<Entry<K, V>> transformEntries(
            Set<Entry<K, V>> entries) {
          return new ForwardingSet<Map.Entry<K, V>>() {
            @Override
            protected Set<Entry<K, V>> delegate() {
              return entries;
            }
    
            @Override
            public Iterator<Entry<K, V>> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(immutableEntry("key", "value"));
      }
    
      public void testBuilderWithExpectedKeysPositive() {
        ImmutableMultimap.Builder<String, String> builder =
            ImmutableMultimap.builderWithExpectedKeys(1);
        builder.put("key", "value");
        assertThat(builder.build().entries()).containsExactly(immutableEntry("key", "value"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

          }
        }
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      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();
    
          List<V> values = multimap().get(k);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        @Override
        protected SetMultimap<String, String> create(Entry<String, String>[] entries) {
          ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcDfsRootEnum.java

        public FileEntry[] getEntries() {
            netdfs.DfsEnumArray200 a200 = (netdfs.DfsEnumArray200)info.e;
            SmbShareInfo[] entries = new SmbShareInfo[a200.count];
            for (int i = 0; i < a200.count; i++) {
                entries[i] = new SmbShareInfo(a200.s[i].dfs_name, 0, null);
            }
            return entries;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

        @SuppressWarnings("unchecked")
        @Override
        public BiMap<V, K> create(Object... elements) {
          Entry<?, ?>[] entries = new Entry<?, ?>[elements.length];
          for (int i = 0; i < elements.length; i++) {
            entries[i] = reverse((Entry<K, V>) elements[i]);
          }
          return generator.create((Object[]) entries).inverse();
        }
    
        @SuppressWarnings("unchecked")
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashing.java

              // we need to update the root link from table[]
              tableSet(table, tableIndex, newNext);
            } else {
              // we need to update the link from the chain
              entries[lastEntryIndex] = maskCombine(entries[lastEntryIndex], newNext, mask);
            }
    
            return entryIndex;
          }
          lastEntryIndex = entryIndex;
          next = getNext(entry, mask);
        } while (next != UNSET);
        return -1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top