- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 1,397 for isInteger (0.12 sec)
-
guava-tests/test/com/google/common/collect/RegularImmutableSortedMapMapInterfaceTest.java
@GwtCompatible public class RegularImmutableSortedMapMapInterfaceTest extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> { @Override protected SortedMap<String, Integer> makeEmptyMap() { return ImmutableSortedMap.of(); } @Override protected SortedMap<String, Integer> makePopulatedMap() { return ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 17 01:34:55 UTC 2022 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/HashMultimapTest.java
*/ public void testCreate() { HashMultimap<String, Integer> multimap = HashMultimap.create(); multimap.put("foo", 1); multimap.put("bar", 2); multimap.put("foo", 3); assertEquals(ImmutableSet.of(1, 3), multimap.get("foo")); assertEquals(2, multimap.expectedValuesPerKey); } public void testCreateFromMultimap() { HashMultimap<String, Integer> multimap = HashMultimap.create(); multimap.put("foo", 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultimapTest.java
*/ public void testCreate() { HashMultimap<String, Integer> multimap = HashMultimap.create(); multimap.put("foo", 1); multimap.put("bar", 2); multimap.put("foo", 3); assertEquals(ImmutableSet.of(1, 3), multimap.get("foo")); assertEquals(2, multimap.expectedValuesPerKey); } public void testCreateFromMultimap() { HashMultimap<String, Integer> multimap = HashMultimap.create(); multimap.put("foo", 1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/InternersTest.java
} public void testWeak_afterGC() throws InterruptedException { Integer canonical = new Integer(5); Integer not = new Integer(5); Interner<Integer> pool = Interners.newWeakInterner(); assertSame(canonical, pool.intern(canonical)); WeakReference<Integer> signal = new WeakReference<>(canonical); canonical = null; // Hint to the JIT that canonical is unreachable
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
* @throws Exception */ @Test public void testGet() throws Exception { final Field field = getClass().getField("objectField"); final Integer testData = new Integer(123); FieldUtil.set(field, this, testData); assertThat((Integer) FieldUtil.get(field, this), is(testData)); } /** * @throws Exception */ @Test public void testGetIntField() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.1K bytes - Viewed (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java
private final boolean allowsParallelEdges; private final ElementOrder<Integer> nodeOrder; private final ElementOrder<String> edgeOrder; private ImmutableNetwork.Builder<Integer, String> networkBuilder; public StandardImmutableDirectedNetworkTest( boolean allowsSelfLoops, boolean allowsParallelEdges, ElementOrder<Integer> nodeOrder, ElementOrder<String> edgeOrder) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 09 17:01:22 UTC 2020 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
*/ @GwtCompatible(emulated = true) abstract class AbstractAbstractFutureTest extends TestCase { private TestedFuture<Integer> future; private AbstractFuture<Integer> delegate; abstract AbstractFuture<Integer> newDelegate(); @Override protected void setUp() { future = TestedFuture.create(); delegate = newDelegate(); } public void testPending() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 15.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/GraphMutationTest.java
testGraphMutation(GraphBuilder.undirected()); } private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) { Random gen = new Random(42); // Fixed seed so test results are deterministic. for (int trial = 0; trial < NUM_TRIALS; ++trial) { MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); assertThat(graph.nodes()).isEmpty();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 18 16:17:46 UTC 2017 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java
} private final boolean allowsSelfLoops; private final ElementOrder<Integer> incidentEdgeOrder; public StandardMutableDirectedGraphTest( boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) { this.allowsSelfLoops = allowsSelfLoops; this.incidentEdgeOrder = incidentEdgeOrder; } @Override public MutableGraph<Integer> createGraph() { return GraphBuilder.directed()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 10 17:54:18 UTC 2020 - 2K bytes - Viewed (0)