Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 102 for ImmutableEntry (0.07 seconds)

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

        assertTrue(entries.contains(immutableEntry("a", true)));
        assertTrue(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("b", null)));
        assertTrue(
            entries.contains(Maps.<@Nullable String, @Nullable Boolean>immutableEntry(null, null)));
    
        assertFalse(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("c", null)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          assertThat(cache.asMap().values()).containsExactly(value1, value2);
          assertThat(cache.asMap().entrySet())
              .containsExactly(immutableEntry(key1, value1), immutableEntry(key2, value2));
        }
      }
    
      public void testInvalidate() {
        for (LoadingCache<Key, String> cache : caches()) {
          Key key1 = new Key(1);
          String value1 = key1.toString();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        assertThat(multimap.entries())
            .containsExactly(
                immutableEntry("foo", 1),
                immutableEntry("foo", 3),
                immutableEntry("foo", 7),
                immutableEntry("google", 2),
                immutableEntry("google", 6),
                immutableEntry("tree", 0),
                immutableEntry("tree", 4))
            .inOrder();
      }
    
      public void testOrderedValues() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              immutableEntry("bar", 1),
              immutableEntry("bar", 2),
              immutableEntry("foo", 3),
              immutableEntry("bar", 3),
              immutableEntry("cat", 2));
        }
    
        @Override
        public Collection<Entry<String, Integer>> create(Object... elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .containsExactly(immutableEntry(4, "d"), immutableEntry(2, "b"))
            .inOrder();
        assertThat(diff1.entriesOnlyOnRight().entrySet()).contains(immutableEntry(6, "z"));
        assertThat(diff1.entriesInCommon().entrySet()).contains(immutableEntry(1, "a"));
        assertThat(diff1.entriesDiffering().entrySet())
            .containsExactly(
                immutableEntry(5, ValueDifferenceImpl.create("e", "g")),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/TreeRangeSet.java

                  return immutableEntry(negativeRange.lowerBound, negativeRange);
                }
              } else if (complementLowerBoundWindow.lowerBound.isLessThan(Cut.belowAll())) {
                Range<C> negativeRange = Range.create(Cut.belowAll(), nextComplementRangeUpperBound);
                nextComplementRangeUpperBound = Cut.belowAll();
                return immutableEntry(Cut.belowAll(), negativeRange);
              }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              immutableEntry("bar", 1),
              immutableEntry("bar", 2),
              immutableEntry("foo", 3),
              immutableEntry("bar", 3),
              immutableEntry("cat", 2));
        }
    
        @Override
        public Collection<Entry<String, Integer>> create(Object... elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/AbstractTable.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.Maps.safeGet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

    import static com.google.common.base.Predicates.in;
    import static com.google.common.base.Predicates.not;
    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Collections.emptyList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.unmodifiableList;
    import static java.util.Collections.unmodifiableSet;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Integer.class), null)));
        assertThat(map.get(TypeToken.of(Integer.class))).isNull();
        assertThat(map.getInstance(Integer.class)).isNull();
    
        map.putInstance(Long.class, null);
        assertTrue(map.containsKey(TypeToken.of(Long.class)));
        assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Long.class), null)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top