Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 274 for foo (0.17 sec)

  1. guava-tests/test/com/google/common/base/CaseFormatTest.java

        assertEquals("fooBar", LOWER_HYPHEN.to(LOWER_CAMEL, "foo-bar"));
      }
    
      public void testLowerHyphenToUpperCamel() {
        assertEquals("Foo", LOWER_HYPHEN.to(UPPER_CAMEL, "foo"));
        assertEquals("FooBar", LOWER_HYPHEN.to(UPPER_CAMEL, "foo-bar"));
      }
    
      public void testLowerHyphenToUpperUnderscore() {
        assertEquals("FOO", LOWER_HYPHEN.to(UPPER_UNDERSCORE, "foo"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals("[(bar,1)=b, (foo,1)=a, (foo,3)=c]", table.cellSet().toString());
      }
    
      public void testRowKeySetToString_ordered() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals("[bar, foo]", table.rowKeySet().toString());
      }
    
      public void testValuesToString_ordered() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        assertNull(table.put("foo", 1, cellValue('a')));
        assertNull(table.put("bar", 1, cellValue('b')));
        assertNull(table.put("foo", 3, cellValue('c')));
        assertEquals((Character) 'a', table.put("foo", 1, cellValue('d')));
        assertEquals((Character) 'd', table.get("foo", 1));
        assertEquals((Character) 'b', table.get("bar", 1));
        assertSize(3);
        assertEquals((Character) 'd', table.put("foo", 1, cellValue('d')));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

            ImmutableListMultimap.of('f', "foo", 'o', "foo", 'o', "foo"),
            ImmutableListMultimap.of("foo", 'f', "foo", 'o', "foo", 'o').inverse());
      }
    
      public void testInverseMinimizesWork() {
        ImmutableListMultimap<String, Character> multimap =
            ImmutableListMultimap.<String, Character>builder()
                .put("foo", 'f')
                .put("foo", 'o')
                .put("foo", 'o')
                .put("poo", 'p')
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 3);
        Multimap<String, Integer> moreToPut = LinkedListMultimap.create();
        moreToPut.put("foo", 6);
        moreToPut.put("bar", 5);
        moreToPut.put("foo", 7);
        ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/HashBasedTableTest.java

        table1.put("foo", 1, 'a');
        assertEquals((Character) 'a', table1.get("foo", 1));
    
        Table<String, Integer, Character> table2 = HashBasedTable.create(100, 0);
        table2.put("foo", 1, 'a');
        assertEquals((Character) 'a', table2.get("foo", 1));
    
        Table<String, Integer, Character> table3 = HashBasedTable.create(0, 20);
        table3.put("foo", 1, 'a');
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      private static final ImmutableSet<String> NON_PS =
          ImmutableSet.of(
              "foo.bar.com",
              "foo.ca",
              "foo.bar.ca",
              "foo.blogspot.com",
              "foo.blogspot.co.uk",
              "foo.uk.com",
              "foo.bar.co.il",
              "state.CA.us",
              "www.state.pa.us",
              "pvt.k12.ca.us",
              "www.google.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)
  8. guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

        create().element();
        create().offer("foo");
        create().peek();
        create().poll();
        create().remove();
        create().add("foo");
        create().addAll(ImmutableList.of("foo"));
        create().clear();
        create().contains("foo");
        create().containsAll(ImmutableList.of("foo"));
        create().equals(new ArrayDeque<>(ImmutableList.of("foo")));
        create().hashCode();
        create().isEmpty();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ComparisonChain.java

     * import static java.util.Comparator.naturalOrder;
     *
     * ...
     *   private static final Comparator<Foo> COMPARATOR =
     *       comparing((Foo foo) -> foo.aString)
     *           .thenComparing(foo -> foo.anInt)
     *           .thenComparing(foo -> foo.anEnum, nullsLast(naturalOrder()));}
     *
     *   {@code @Override}{@code
     *   public int compareTo(Foo that) {
     *     return COMPARATOR.compare(this, that);
     *   }
     * }</pre>
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        testDecodes(base32(), "MZXW6===", "foo"); // proper padding length
        testDecodes(base32(), "MZXW6====", "foo");
        testDecodes(base32(), "MZXW6=====", "foo");
      }
    
      public void testBase32AlternatePadding() {
        BaseEncoding enc = base32().withPadChar('~');
        testEncodingWithCasing(enc, "", "");
        testEncodingWithCasing(enc, "f", "MY~~~~~~");
        testEncodingWithCasing(enc, "fo", "MZXQ~~~~");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
Back to top