Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 80 for mapEntry (0.12 sec)

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

            }
    
            @Override
            public Multiset.Entry<E> next() {
              final Map.Entry<E, Integer> mapEntry = backingEntries.next();
              return new Multisets.AbstractEntry<E>() {
                @Override
                public E getElement() {
                  return mapEntry.getKey();
                }
    
                @Override
                public int getCount() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        @Override
        public SampleElements<Entry<Country, Currency>> samples() {
          return new SampleElements<>(
              mapEntry(Country.CANADA, Currency.DOLLAR),
              mapEntry(Country.CHILE, Currency.PESO),
              mapEntry(Country.UK, Currency.POUND),
              mapEntry(Country.JAPAN, Currency.YEN),
              mapEntry(Country.SWITZERLAND, Currency.FRANC));
        }
    
        @SuppressWarnings("unchecked")
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

    import static com.google.common.collect.testing.Helpers.entryComparator;
    import static com.google.common.collect.testing.Helpers.equal;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static java.util.Arrays.asList;
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.ArrayList;
    import java.util.Collection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeMap.java

      }
    
      @Override
      @CheckForNull
      public Entry<Range<K>, V> getEntry(K key) {
        Entry<Cut<K>, RangeMapEntry<K, V>> mapEntry =
            entriesByLowerBound.floorEntry(Cut.belowValue(key));
        if (mapEntry != null && mapEntry.getValue().contains(key)) {
          return mapEntry.getValue();
        } else {
          return null;
        }
      }
    
      @Override
      public void put(Range<K> range, V value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.BiMap;
    import com.google.common.collect.testing.DerivedGenerator;
    import com.google.common.collect.testing.OneSizeTestContainerGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      }
    
      Entry<K> getEntry(int index) {
        checkElementIndex(index, size);
        return new MapEntry(index);
      }
    
      class MapEntry extends AbstractEntry<K> {
        @ParametricNullness final K key;
    
        int lastKnownIndex;
    
        @SuppressWarnings("unchecked") // keys only contains Ks
        MapEntry(int index) {
          this.key = (K) keys[index];
          this.lastKnownIndex = index;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE;
    import static com.google.common.collect.testing.IteratorFeature.UNMODIFIABLE;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top