- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,185 for Integer (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/IterablesTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
public void testFilterUsingIteratorTester() { List<Integer> list = asList(1, 2, 3, 4, 5); Predicate<Integer> isEven = new Predicate<Integer>() { @Override public boolean apply(Integer integer) { return integer % 2 == 0; } }; new IteratorTester<Integer>( 5, UNMODIFIABLE, asList(2, 4), IteratorTester.KnownOrder.KNOWN_ORDER) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java
private static final Predicate<@Nullable Integer> EVEN = input -> input == null || input % 2 == 0; static final Predicate<Entry<String, Integer>> CORRECT_LENGTH = input -> input.getKey().length() == input.getValue(); abstract Map<String, Integer> createUnfiltered(); public void testFilteredKeysIllegalPut() { Map<String, Integer> unfiltered = createUnfiltered();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.2K bytes - Viewed (0) -
src/main/resources/fess_indices/fess_config.related_content/related_content.json
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Dec 02 13:14:56 UTC 2021 - 470 bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
} Set<Entry<Integer, Integer>> entries = bimap.entrySet(); for (Entry<Integer, Integer> entry : entries) { entry.setValue(entry.getValue() + 2 * N); } for (int i = 0; i < N; i++) { assertEquals(2 * N + 2 * i - 1, (int) bimap.get(2 * i)); } } public void testBiMapEntrySetIteratorRemove() { BiMap<Integer, String> map = HashBiMap.create();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
int scale = Integer.MAX_VALUE; int otherIndex = (Integer.MAX_VALUE - 1) / 3; // this divides exactly // For the otherIndex calculation, we have q=Integer.MAX_VALUE, k=(Integer.MAX_VALUE-1)/3, and // N=16. Therefore k*(N-1)/q = 5-5/Integer.MAX_VALUE, which has floor 4 and fractional part // (1-5/Integer.MAX_VALUE). double otherValue = 16.0 * 5.0 / Integer.MAX_VALUE + 25.0 * (1.0 - 5.0 / Integer.MAX_VALUE);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
int scale = Integer.MAX_VALUE; int otherIndex = (Integer.MAX_VALUE - 1) / 3; // this divides exactly // For the otherIndex calculation, we have q=Integer.MAX_VALUE, k=(Integer.MAX_VALUE-1)/3, and // N=16. Therefore k*(N-1)/q = 5-5/Integer.MAX_VALUE, which has floor 4 and fractional part // (1-5/Integer.MAX_VALUE). double otherValue = 16.0 * 5.0 / Integer.MAX_VALUE + 25.0 * (1.0 - 5.0 / Integer.MAX_VALUE);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
// Test with maximum integer value int maxFlags = Integer.MAX_VALUE; AvFlags maxAvFlags = new AvFlags(maxFlags); assertNotNull(maxAvFlags, "AvFlags object should not be null for max flags"); assertEquals(maxFlags, maxAvFlags.getFlags(), "Flags should match Integer.MAX_VALUE"); // Test with minimum integer value int minFlags = Integer.MIN_VALUE;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
Collection<List<Integer>> permutationSet = Collections2.permutations(Collections.<Integer>emptyList()); assertEquals(1, permutationSet.size()); assertTrue(permutationSet.contains(Collections.<Integer>emptyList())); Iterator<List<Integer>> permutations = permutationSet.iterator(); assertNextPermutation(Collections.<Integer>emptyList(), permutations);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
} public void testFailed() throws Exception { Exception e = new Exception(); TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception { throw e; } }); task.run(); assertTrue(task.isDone());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.2K bytes - Viewed (0)