- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,432 for integers (0.09 sec)
-
android/guava-tests/test/com/google/common/cache/CacheRefreshTest.java
} assertEquals(Integer.valueOf(0), cache.getUnchecked(0)); assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); assertEquals(expectedLoads, loader.getLoadCount()); assertEquals(expectedReloads, loader.getReloadCount()); // refresh 0 ticker.advance(1, MILLISECONDS); assertEquals(Integer.valueOf(1), cache.getUnchecked(0));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java
} private Multimap<String, Integer> createMultimap() { Multimap<String, Integer> unfiltered = HashMultimap.create(); unfiltered.put("zero", 55556); unfiltered.put("one", 55556); unfiltered.put("badkey", 1); return Multimaps.filterEntries(unfiltered, PREDICATE); } @Override protected Map<String, Collection<Integer>> makeEmptyMap() { Multimap<String, Integer> multimap = createMultimap();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java
for (Integer i : IN_ORDER_VALUES) { GeneralRange<@Nullable Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, CLOSED); for (Integer j : IN_ORDER_VALUES) { assertEquals(Objects.equal(i, j), range.contains(j)); } } } public void testSingletonRange() { GeneralRange<@Nullable Integer> range = GeneralRange.range(ORDERING, 3, CLOSED, 3, CLOSED); for (Integer i : IN_ORDER_VALUES) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java
ImmutableNetwork.Builder<String, Integer> immutableNetworkBuilder = networkBuilder.<String, Integer>immutable(); // Update NetworkBuilder, but this shouldn't impact immutableNetworkBuilder networkBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered()); ImmutableNetwork<String, Integer> emptyNetwork = immutableNetworkBuilder.build();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun May 05 18:02:35 UTC 2019 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
ValueGraph<String, Integer> graph1 = ImmutableValueGraph.copyOf(ValueGraphBuilder.directed().<String, Integer>build()); ValueGraph<String, Integer> graph2 = ImmutableValueGraph.copyOf(graph1); assertThat(graph2).isSameInstanceAs(graph1); } @Test public void incidentEdgeOrder_stable() { ImmutableValueGraph<String, Integer> immutableValueGraph =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java
Set<Entry<String, Collection<Integer>>> set = newLinkedHashSet( asList( immutableEntry("foo", (Collection<Integer>) newHashSet(2, 3, 6)), immutableEntry("bar", (Collection<Integer>) newHashSet(4, 5, 10, 11)), immutableEntry("baz", (Collection<Integer>) newHashSet(7, 8)), immutableEntry("dog", (Collection<Integer>) newHashSet(9)),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 18.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PredicatesTest.java
public class PredicatesTest extends TestCase { private static final Predicate<@Nullable Integer> TRUE = Predicates.alwaysTrue(); private static final Predicate<@Nullable Integer> FALSE = Predicates.alwaysFalse(); private static final Predicate<@Nullable Integer> NEVER_REACHED = new Predicate<@Nullable Integer>() { @Override public boolean apply(@Nullable Integer i) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
@RunWith(Parameterized.class) public final class GraphEquivalenceTest { private static final Integer N1 = 1; private static final Integer N2 = 2; private static final Integer N3 = 3; private final EdgeType edgeType; private final MutableGraph<Integer> graph; // add parameters: directed/undirected @Parameters public static Collection<Object[]> parameters() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
@RunWith(Parameterized.class) public final class GraphEquivalenceTest { private static final Integer N1 = 1; private static final Integer N2 = 2; private static final Integer N3 = 3; private final EdgeType edgeType; private final MutableGraph<Integer> graph; // add parameters: directed/undirected @Parameters public static Collection<Object[]> parameters() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/GraphsTest.java
* the missing nodes to the graph, then adds the edge between them. */ @RunWith(JUnit4.class) public class GraphsTest { private static final Integer N1 = 1; private static final Integer N2 = 2; private static final Integer N3 = 3; private static final Integer N4 = 4; private static final String E11 = "1-1"; private static final String E11_A = "1-1a"; private static final String E12 = "1-2";
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 24.7K bytes - Viewed (0)