Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for firstSet (0.14 sec)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @CheckForNull
        public Comparator<? super K> comparator() {
          return sortedMap().comparator();
        }
    
        @Override
        @ParametricNullness
        public K firstKey() {
          return sortedMap().firstKey();
        }
    
        @Override
        @ParametricNullness
        public K lastKey() {
          return sortedMap().lastKey();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 48K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      }
    
      public void testRowMapFirstKey() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertSame("bar", sortedTable.rowMap().firstKey());
      }
    
      public void testRowMapLastKey() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertSame("foo", sortedTable.rowMap().lastKey());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        TreeMultimap<String, Integer> multimap = createPopulate();
        SortedMap<String, Collection<Integer>> asMap = multimap.asMap();
        assertEquals(Ordering.natural(), asMap.comparator());
        assertEquals("foo", asMap.firstKey());
        assertEquals("tree", asMap.lastKey());
        Set<Integer> fooValues = ImmutableSet.of(1, 3, 7);
        Set<Integer> googleValues = ImmutableSet.of(2, 6);
        Set<Integer> treeValues = ImmutableSet.of(4, 0);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top