- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 52 for cat3 (0.18 sec)
-
guava-tests/test/com/google/common/collect/TreeMultisetTest.java
ms.add("b"); ms.add("c"); assertEquals(2, ms.count("bar")); assertEquals(3, ms.count("b")); Multiset<String> ms2 = TreeMultiset.create(DEGENERATE_COMPARATOR); ms2.add("cat", 2); ms2.add("x", 3); assertEquals(ms, ms2); assertEquals(ms2, ms); SortedSet<String> elementSet = ms.elementSet(); assertEquals("a", elementSet.first());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 12.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
* --- fail(). (If the test were to pass, its output would be hidden.) * - Run the test. * - Pull the relevant lines of output from the test into a testcases file. * - Test the output: * --- cat testcases | while read L; do * X=($L) * A=$( cd /b/c && sudo mkdir -p ${X[0]} && cd ${X[0]} && pwd | * sed -e 's#^//*#/#' ) * B=$( cd /b/c && cd ${X[1]} && pwd )
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jul 19 14:00:24 GMT 2016 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
* --- fail(). (If the test were to pass, its output would be hidden.) * - Run the test. * - Pull the relevant lines of output from the test into a testcases file. * - Test the output: * --- cat testcases | while read L; do * X=($L) * A=$( cd /b/c && sudo mkdir -p ${X[0]} && cd ${X[0]} && pwd | * sed -e 's#^//*#/#' ) * B=$( cd /b/c && cd ${X[1]} && pwd )
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
} } public void testForArrayWithPosition() { String[] array = {"foo", "bar", "cat"}; Iterator<String> iterator = Iterators.forArrayWithPosition(array, 1); assertTrue(iterator.hasNext()); assertEquals("bar", iterator.next()); assertTrue(iterator.hasNext()); assertEquals("cat", iterator.next()); assertFalse(iterator.hasNext()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 56.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestTrimFrom("x-x-", "x-x"); doTestTrimFrom("x-xx", "x-xx"); doTestTrimFrom("x-x--xx---x----x", "x-x--xx---x----x"); // additional testing using the doc example assertEquals("cat", anyOf("ab").trimFrom("abacatbab")); } private void doTestTrimFrom(String in, String out) { // Try a few different matchers which all match '-' and not 'x' assertEquals(out, is('-').trimFrom(in));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 30.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestTrimFrom("x-x-", "x-x"); doTestTrimFrom("x-xx", "x-xx"); doTestTrimFrom("x-x--xx---x----x", "x-x--xx---x----x"); // additional testing using the doc example assertEquals("cat", anyOf("ab").trimFrom("abacatbab")); } private void doTestTrimFrom(String in, String out) { // Try a few different matchers which all match '-' and not 'x' assertEquals(out, is('-').trimFrom(in));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 30.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
poor animal's feelings. `I quite forgot you didn't like cats.' `Not like cats!' cried the Mouse, in a shrill, passionate voice. `Would YOU like cats if you were me?' `Well, perhaps not,' said Alice in a soothing tone: `don't be angry about it. And yet I wish I could show you our cat Dinah: I think you'd take a fancy to cats if you could only see her.
Plain Text - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 145.2K bytes - Viewed (0) -
guava/src/com/google/common/base/CharMatcher.java
* the beginning and from the end of the string. For example: * * <pre>{@code * CharMatcher.anyOf("ab").trimFrom("abacatbab") * }</pre> * * ... returns {@code "cat"}. * * <p>Note that: * * <pre>{@code * CharMatcher.inRange('\0', ' ').trimFrom(str) * }</pre> * * ... is equivalent to {@link String#trim()}. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredSortedMapTest.java
unfiltered.put("apple", 2); unfiltered.put("banana", 6); unfiltered.put("cat", 3); unfiltered.put("dog", 5); SortedMap<String, Integer> filtered = Maps.filterEntries(unfiltered, CORRECT_LENGTH); assertEquals("banana", filtered.firstKey()); assertEquals("cat", filtered.lastKey()); } public void testHeadSubTailMap_FilteredMap() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SplitterTest.java
assertThat(m.keySet()).containsExactly("boy", "girl", "cat", "dog").inOrder(); assertThat(m) .isEqualTo(ImmutableMap.of("boy", "tom", "girl", "tina", "cat", "kitty", "dog", "tommy")); // try in a different order m = COMMA_SPLITTER.withKeyValueSeparator(":").split("girl:tina,boy:tom,dog:tommy,cat:kitty");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 29.5K bytes - Viewed (0)