Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 805 for entries (0.32 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

              entry.getKey(),
              getMap().inverse().get(entry.getValue()));
        }
      }
    
      @Override
      protected void expectMissing(Entry<K, V>... entries) {
        super.expectMissing(entries);
        for (Entry<K, V> entry : entries) {
          Entry<V, K> reversed = reverseEntry(entry);
          BiMap<V, K> inv = getMap().inverse();
          assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

         */
        public ImmutableRangeMap<K, V> build() {
          sort(entries, Range.<K>rangeLexOrdering().onKeys());
          ImmutableList.Builder<Range<K>> rangesBuilder = new ImmutableList.Builder<>(entries.size());
          ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<>(entries.size());
          for (int i = 0; i < entries.size(); i++) {
            Range<K> range = entries.get(i).getKey();
            if (i > 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SortedSetMultimap.java

     *
     * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@link
     * SortedSet} of values, while {@link Multimap#entries()} returns a {@link Set} of map entries.
     * Though the method signature doesn't say so explicitly, the map returned by {@link #asMap} has
     * {@code SortedSet} values.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java

        multimap().clear();
        assertEmpty(asMap);
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClearPropagatesToEntries() {
        Collection<Entry<K, V>> entries = multimap().entries();
        multimap().clear();
        assertEmpty(entries);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        return getEntryNullReplaces().getKey();
      }
    
      private Entry<K, V> getEntryNullReplaces() {
        Iterator<Entry<K, V>> entries = getSampleElements().iterator();
        for (int i = 0; i < getNullLocation(); i++) {
          entries.next();
        }
        return entries.next();
      }
    
      /** @return an array of the proper size with {@code null} as the value of the middle element. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java

             */
            srvsvc.ShareInfoCtr1 ctr = (srvsvc.ShareInfoCtr1) this.info;
            MsrpcShareInfo1[] entries = new MsrpcShareInfo1[ctr.count];
            for ( int i = 0; i < ctr.count; i++ ) {
                entries[ i ] = new MsrpcShareInfo1(ctr.array[ i ]);
            }
            return entries;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java

             */
            srvsvc.ShareInfoCtr1 ctr = (srvsvc.ShareInfoCtr1)info;
            MsrpcShareInfo1[] entries = new MsrpcShareInfo1[ctr.count];
            for (int i = 0; i < ctr.count; i++) {
                entries[i] = new MsrpcShareInfo1(ctr.array[i]);
            }
            return entries;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

        @Override
        public SortedMap<String, String> create(Entry<String, String>[] entries) {
          ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

            mapEntry(AnEnum.E, "May"));
      }
    
      @Override
      public final Map<AnEnum, String> create(Object... entries) {
        @SuppressWarnings("unchecked")
        Entry<AnEnum, String>[] array = (Entry<AnEnum, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<AnEnum, String> e = (Entry<AnEnum, String>) o;
          array[i++] = e;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        // Tests that serializing a map, its keySet, and values only writes the underlying data once.
    
        Object[] entries = new Object[2000];
        for (int i = 0; i < entries.length; i++) {
          entries[i] = i;
        }
    
        ImmutableMap<Integer, Integer> map = RegularImmutableMap.create(entries.length / 2, entries);
        Set<Integer> keySet = map.keySet();
        Collection<Integer> values = map.values();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
Back to top