Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 599 for Entries (0.06 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

        assertEquals(
            "map.toString() incorrect", expectedToString(getMap().entrySet()), getMap().toString());
      }
    
      private String expectedToString(Set<Entry<K, V>> entries) {
        Map<K, V> reference = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          reference.put(entry.getKey(), entry.getValue());
        }
        return reference.toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K 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. guava-tests/test/com/google/common/collect/HashBiMapTest.java

      public static final class HashBiMapGenerator extends TestStringBiMapGenerator {
        @Override
        protected BiMap<String, String> create(Entry<String, String>[] entries) {
          BiMap<String, String> result = HashBiMap.create();
          for (Entry<String, String> entry : entries) {
            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top