- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 1,621 for integers (0.12 seconds)
-
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();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 2.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
@Test public void loadingCache() throws ExecutionException { CacheLoader<Integer, Integer> loader = new CacheLoader<Integer, Integer>() { int i = 0; @Override public Integer load(Integer key) throws Exception { return i++; } }; LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder().build(loader); cache.put(10, 20);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 15K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java
@RunWith(Parameterized.class) @NullUnmarked 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() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.6K bytes - Click Count (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 =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 6.4K bytes - Click Count (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) @NullUnmarked 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";Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 09 23:46:06 GMT 2026 - 30.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
TreeMultimap<String, Integer> multimap = createPopulate(); SortedMap<String, Collection<Integer>> asMap = multimap.asMap(); assertEquals(Ordering.natural(), asMap.comparator()); assertThat(asMap.firstKey()).isEqualTo("foo"); assertThat(asMap.lastKey()).isEqualTo("tree"); Set<Integer> fooValues = ImmutableSet.of(1, 3, 7); Set<Integer> googleValues = ImmutableSet.of(2, 6);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
} public void testCopyOfNullValue() { ArrayListMultimap<String, @Nullable Integer> input = ArrayListMultimap.create(); input.putAll("foo", Arrays.<@Nullable Integer>asList(1, null, 3)); assertThrows( NullPointerException.class, () -> ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 26.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsWebConfigCQ.java
return this; } public void setDepth_Equal(Integer depth) { setDepth_Term(depth, null); } public void setDepth_Equal(Integer depth, ConditionOptionCall<TermQueryBuilder> opLambda) { setDepth_Term(depth, opLambda); } public void setDepth_Term(Integer depth) { setDepth_Term(depth, null); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 172.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java
@NullUnmarked public class GraphPropertiesTest { ImmutableList<MutableGraph<Integer>> graphsToTest; Graph<Integer> directedGraph; Graph<Integer> undirectedGraph; ImmutableList<MutableNetwork<Integer, String>> networksToTest; Network<Integer, String> directedNetwork; Network<Integer, String> undirectedNetwork; @Before public void init() { MutableGraph<Integer> mutableDirectedGraph =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 6.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java
assertEquals( Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(0, Integer.MAX_VALUE)); assertEquals( Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(1, Integer.MAX_VALUE)); assertEquals( Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(Integer.MAX_VALUE - 1, Integer.MAX_VALUE));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.5K bytes - Click Count (0)