Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for 78 (0.1 sec)

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

            multimap = LinkedHashMultimap.create();
            multimap.putAll("foo", asList(2, 3, 4));
            multimap.putAll("bar", asList(5, 6));
            multimap.putAll("foo", asList(7, 8));
            return multimap.get("foo").iterator();
          }
    
          @Override
          protected void verify(List<Integer> elements) {
            assertEquals(newHashSet(elements), multimap.get("foo"));
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

            multimap = create();
            multimap.putAll("foo", asList(2, 3));
            multimap.putAll("bar", asList(4, 5));
            multimap.putAll("foo", asList(6));
            multimap.putAll("baz", asList(7, 8));
            multimap.putAll("dog", asList(9));
            multimap.putAll("bar", asList(10, 11));
            multimap.putAll("cat", asList(12, 13, 14));
            return multimap.keySet().iterator();
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                // Length 7 chars
                format = "%2$02d:%3$02d h";
            } else if (m > 0) {
                // Length 9 chars
                format = "%3$02d:%4$02d min";
            } else {
                // Length 7-8 chars
                format = "%4$d.%5$03d s";
            }
    
            return String.format(format, d, h, m, s, ms);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertTrue(Range.closed(3, 7).isConnected(Range.open(6, 8)));
        assertTrue(Range.open(3, 7).isConnected(Range.closed(5, 6)));
        assertFalse(Range.closed(3, 5).isConnected(Range.closed(7, 8)));
        assertFalse(Range.closed(3, 5).isConnected(Range.closedOpen(7, 7)));
      }
    
      private static void checkContains(Range<Integer> range) {
        assertFalse(range.contains(4));
        assertTrue(range.contains(5));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testConcatVarargs() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
        List<Integer> list3 = newArrayList(7, 8);
        List<Integer> list4 = newArrayList(9);
        List<Integer> list5 = newArrayList(10);
        FluentIterable<Integer> result = FluentIterable.concat(list1, list2, list3, list4, list5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertThrows(IllegalArgumentException.class, () -> bazList.add(5));
        assertThrows(IllegalArgumentException.class, () -> bazList.add(0, 6));
        assertThrows(IllegalArgumentException.class, () -> bazList.addAll(ImmutableList.of(7, 8)));
        assertThrows(IllegalArgumentException.class, () -> bazList.addAll(0, ImmutableList.of(9, 10)));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testConcatVarargs() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
        List<Integer> list3 = newArrayList(7, 8);
        List<Integer> list4 = newArrayList(9);
        List<Integer> list5 = newArrayList(10);
        Iterable<Integer> result = Iterables.concat(list1, list2, list3, list4, list5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top