Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for bob (0.01 sec)

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

        assertEquals(-1, Iterables.indexOf(list, equalTo("jack")));
      }
    
      public void testIndexOf_withDuplicates() {
        List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam");
        assertEquals(0, Iterables.indexOf(list, equalTo("mary")));
        assertEquals(1, Iterables.indexOf(list, equalTo("bob")));
        assertEquals(4, Iterables.indexOf(list, equalTo("sam")));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

                        return new SampleElements<>(
                            mapEntry("a", (Collection<String>) ImmutableSortedSet.of("alex")),
                            mapEntry("b", (Collection<String>) ImmutableSortedSet.of("bob", "bagel")),
                            mapEntry("c", (Collection<String>) ImmutableSortedSet.of("carl", "carol")),
                            mapEntry("d", (Collection<String>) ImmutableSortedSet.of("david", "dead")),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testIndexOf_consumedDataNoMatch() {
        Iterator<String> iterator = Lists.newArrayList("manny", "mo", "mo", "jack").iterator();
        assertEquals(-1, Iterators.indexOf(iterator, equalTo("bob")));
        assertFalse(iterator.hasNext());
      }
    
      @SuppressWarnings("deprecation")
      public void testUnmodifiableIteratorShortCircuit() {
        Iterator<String> mod = Lists.newArrayList("a", "b", "c").iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testIndexOf_consumedDataNoMatch() {
        Iterator<String> iterator = Lists.newArrayList("manny", "mo", "mo", "jack").iterator();
        assertEquals(-1, Iterators.indexOf(iterator, equalTo("bob")));
        assertFalse(iterator.hasNext());
      }
    
      @SuppressWarnings("deprecation")
      public void testUnmodifiableIteratorShortCircuit() {
        Iterator<String> mod = Lists.newArrayList("a", "b", "c").iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
Back to top