Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for baz (0.2 sec)

  1. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        sink.writeLines(ImmutableList.of("foo", "bar", "baz"), "\n");
        assertEquals("foo\nbar\nbaz\n", sink.getString());
      }
    
      public void testWriteLines_withDefaultSeparator() throws IOException {
        sink.writeLines(ImmutableList.of("foo", "bar", "baz"));
        String separator = System.getProperty("line.separator");
        assertEquals("foo" + separator + "bar" + separator + "baz" + separator, sink.getString());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

          }
        }.test();
      }
    
      private void checkFooBarBazList(List<String> list) {
        assertThat(list).containsExactly("foo", "bar", "baz").inOrder();
        assertEquals(3, list.size());
        assertIndexIsOutOfBounds(list, -1);
        assertEquals("foo", list.get(0));
        assertEquals("bar", list.get(1));
        assertEquals("baz", list.get(2));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "::1",
              "13",
              "abc.12c",
              "foo-.com",
              "_bar.quux",
              "foo+bar.com",
              "foo!bar.com",
              ".foo.com",
              "..bar.com",
              "baz..com",
              "..quiffle.com",
              "fleeb.com..",
              ".",
              "..",
              "...",
              "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        multimap.put("bar", 2);
        multimap.put("baz", 3);
        multimap.put("bar", 4);
    
        SetMultimap<String, Integer> filtered =
            Multimaps.filterKeys(multimap, Predicates.in(ImmutableSet.of("foo", "bar")));
    
        assertEquals(ImmutableSet.of(), filtered.replaceValues("baz", ImmutableSet.<Integer>of()));
    
        try {
          filtered.replaceValues("baz", ImmutableSet.of(5));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        }.test();
      }
    
      @GwtIncompatible // unreasonably slow
      public void testKeySetIteration() {
        new IteratorTester<String>(
            6,
            MODIFIABLE,
            newLinkedHashSet(asList("foo", "bar", "baz", "dog", "cat")),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          private @Nullable Multimap<String, Integer> multimap;
    
          @Override
          protected Iterator<String> newTargetIterator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        }
      }
    
      @GwtIncompatible // unreasonably slow
      public void testKeySetIteration() {
        new IteratorTester<String>(
            6,
            MODIFIABLE,
            newLinkedHashSet(asList("foo", "bar", "baz", "dog", "cat")),
            IteratorTester.KnownOrder.KNOWN_ORDER) {
          private @Nullable Multimap<String, Integer> multimap;
    
          @Override
          protected Iterator<String> newTargetIterator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 18K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "::1",
              "13",
              "abc.12c",
              "foo-.com",
              "_bar.quux",
              "foo+bar.com",
              "foo!bar.com",
              ".foo.com",
              "..bar.com",
              "baz..com",
              "..quiffle.com",
              "fleeb.com..",
              ".",
              "..",
              "...",
              "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.com",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableTable.java

       *     new ImmutableTable.Builder<Integer, Character, String>()
       *         .put(1, 'A', "foo")
       *         .put(1, 'B', "bar")
       *         .put(2, 'A', "baz")
       *         .buildOrThrow();
       * }</pre>
       *
       * <p>By default, the order in which cells are added to the builder determines the iteration
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/StreamsTest.java

        RuntimeException exception3 = new ArithmeticException("exception from stream 3");
        Stream<String> stream1 = Stream.of("foo", "bar").onClose(doThrow(exception1));
        Stream<String> stream2 = Stream.of("baz", "buh").onClose(doThrow(exception2));
        Stream<String> stream3 = Stream.of("quux").onClose(doThrow(exception3));
        RuntimeException exception = null;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Random;
    
    /**
     * Benchmarks for various ways of writing the expression {@code foo + ((bar < baz) ? 1 : 0)}.
     *
     * @author Louis Wasserman
     */
    public class LessThanBenchmark {
      static final int SAMPLE_SIZE = 0x1000;
      static final int SAMPLE_MASK = 0x0FFF;
    
      @Param("1234")
      int randomSeed;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
Back to top