- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 387 for foo3 (0.8 sec)
-
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
multiset.add("foo", 2); multiset.add("bar"); assertEquals(3, multiset.size()); assertEquals(2, multiset.count("foo")); assertEquals("[foo x 2, bar]", multiset.toString()); } public void testCreateFromIterable() { Multiset<String> multiset = TreeMultiset.create(asList("foo", "bar", "foo")); assertEquals(3, multiset.size()); assertEquals(2, multiset.count("foo"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
Iterable<String> iterable = singletonList("foo"); assertEquals("foo", getOnlyElement(iterable)); } public void testGetOnlyElement_noDefault_empty() { Iterable<String> iterable = emptyList(); assertThrows(NoSuchElementException.class, () -> getOnlyElement(iterable)); } public void testGetOnlyElement_noDefault_multiple() { Iterable<String> iterable = asList("foo", "bar");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
* <th>{@literal Map} Property Name</th> * </tr> * <tr> * <td>{@literal foo}</td> * <td>{@literal foo}</td> * </tr> * <tr> * <td>{@literal foo_bar}</td> * <td>{@literal foo.bar}</td> * </tr> * <tr> * <td>{@literal foo_bar_baz}</td> * <td>{@literal foo.bar.baz}</td> * </tr> * </table> * * @param beanDelimiter
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SingleValueIteratorTest.java
public class SingleValueIteratorTest { /** * */ @Test public void test() { final SingleValueIterator<String> it = new SingleValueIterator<String>("Foo"); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("Foo")); assertThat(it.hasNext(), is(not(true))); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.1K bytes - Viewed (0) -
android/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')
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24K 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();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
/** * Maps the specified class to the specified value. Does <i>not</i> associate this value with any * of the class's supertypes. * * <p>{@code putInstance(Foo.class, foo)} is equivalent to {@code * putInstance(TypeToken.of(Foo.class), foo)}. * * @return the value previously associated with this class (possibly {@code null}), or {@code * null} if there was no previous entry. */ @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToInstanceMap.java
/** * Maps the specified class to the specified value. Does <i>not</i> associate this value with any * of the class's supertypes. * * <p>{@code putInstance(Foo.class, foo)} is equivalent to {@code * putInstance(TypeToken.of(Foo.class), foo)}. * * @return the value previously associated with this class (possibly {@code null}), or {@code * null} if there was no previous entry. */ @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
MockCallback callback = new MockCallback("foo"); addCallback(f, callback, directExecutor()); f.set("foo"); } public void testExecutorSuccess() { CountingSameThreadExecutor ex = new CountingSameThreadExecutor(); SettableFuture<String> f = SettableFuture.create(); MockCallback callback = new MockCallback("foo"); Futures.addCallback(f, callback, ex); f.set("foo"); assertEquals(1, ex.runCount); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
Set<Feature<?>> features = newHashSet(FOO); assertThat(addImpliedFeatures(features)).isSameInstanceAs(features); } public void testAddImpliedFeatures_addsImpliedFeatures() { assertThat(addImpliedFeatures(newHashSet(FOO))).containsExactly(FOO); assertThat(addImpliedFeatures(newHashSet(IMPLIES_IMPLIES_FOO))) .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 11.6K bytes - Viewed (0)