- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 366 for foo (0.13 sec)
-
guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java
return ("{" + c + "}").toCharArray(); } }; EscaperAsserts.assertBasic(wrappingEscaper); // '[' and '@' lie either side of [A-Z]. assertEquals("{[}FOO{@}BAR{]}", wrappingEscaper.escape("[FOO@BAR]")); } public void testSafeRange_maxLessThanMin() throws IOException { // Basic escaping of unsafe chars (wrap them in {,}'s) CharEscaper wrappingEscaper =
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 07 23:02:38 GMT 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
*/ public void testArraysAsList() { List<String> ourWay = Lists.newArrayList("foo", "bar", "baz"); List<String> otherWay = asList("foo", "bar", "baz"); // They're logically equal assertEquals(ourWay, otherWay); // The result of Arrays.asList() is mutable otherWay.set(0, "FOO"); assertEquals("FOO", otherWay.get(0)); // But it can't grow try { otherWay.add("nope");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 35.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeMap.java
* * <p>For example, if {@code rangeMap} had the entries {@code [1, 5] => "foo", (6, 8) => "bar", * (10, ∞) => "baz"} then {@code rangeMap.subRangeMap(Range.open(3, 12))} would return a range map * with the entries {@code (3, 5] => "foo", (6, 8) => "bar", (10, 12) => "baz"}. * * <p>The returned range map supports all optional operations that this range map supports, except
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
nested.set("foo"); assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertEquals("foo", future.get()); } private static class Foo {} private static class FooChild extends Foo {} public void testSetFuture_genericsHierarchy() throws Exception { SettableFuture<Foo> future = SettableFuture.create();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.3K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
nested.set("foo"); assertTrue(future.isDone()); assertFalse(future.isCancelled()); assertEquals("foo", future.get()); } private static class Foo {} private static class FooChild extends Foo {} public void testSetFuture_genericsHierarchy() throws Exception { SettableFuture<Foo> future = SettableFuture.create();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ConverterTest.java
public void testNullIsPassedThrough() { Converter<String, String> nullsArePassed = sillyConverter(false); assertEquals("forward", nullsArePassed.convert("foo")); assertEquals("forward", nullsArePassed.convert(null)); assertEquals("backward", nullsArePassed.reverse().convert("foo")); assertEquals("backward", nullsArePassed.reverse().convert(null)); } public void testNullIsNotPassedThrough() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:02:33 GMT 2023 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableColumnMapTest.java
} @Override protected Map<String, Map<Integer, Character>> makePopulatedMap() { RowSortedTable<Integer, String, Character> table = TreeBasedTable.create(); table.put(1, "foo", 'a'); table.put(1, "bar", 'b'); table.put(3, "foo", 'c'); return Tables.unmodifiableRowSortedTable(table).columnMap(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 29.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
@GwtIncompatible // StringBuilder.append in GWT invokes Object.toString(), unlike the JRE version. public void testDontConvertCharSequenceToString() { assertEquals("foo,foo", Joiner.on(",").join(new DontStringMeBro(), new DontStringMeBro())); assertEquals( "foo,bar,foo", Joiner.on(",").useForNull("bar").join(new DontStringMeBro(), null, new DontStringMeBro())); } @J2ktIncompatible
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.6K bytes - Viewed (0)