- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for 23 (0.28 sec)
-
guava-tests/test/com/google/common/collect/IterablesTest.java
// A few elements. a = asList(4, 8, 15, 16, 23, 42); b = asList(4, 8, 15, 16, 23, 42); assertTrue(Iterables.elementsEqual(a, b)); // An element differs. a = asList(4, 8, 15, 12, 23, 42); b = asList(4, 8, 15, 16, 23, 42); assertFalse(Iterables.elementsEqual(a, b)); // null versus non-null. a = Arrays.<@Nullable Integer>asList(4, 8, 15, null, 23, 42); b = asList(4, 8, 15, 16, 23, 42);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
cache.put(98, 45); cache.put(56, 76); cache.put(23, 84); // Replace the two present elements. cache.put(23, 20); cache.put(56, 49); cache.put(23, 2); cache.put(56, 4); // Expire the two present elements. fakeTicker.advance(1001, TimeUnit.MILLISECONDS); Integer unused1 = cache.getIfPresent(23); Integer unused2 = cache.getIfPresent(56);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 15.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
rangeMap.putCoalescing(Range.closedOpen(9, 14), 0); // different value rangeMap.putCoalescing(Range.closedOpen(17, 20), 3); // enclosing rangeMap.putCoalescing(Range.closedOpen(22, 23), 4); // disconnected rangeMap.putCoalescing(Range.closedOpen(23, 25), 4); // greater than minimum // {[-6..-4): 0, [0..1): 1, [1..5): 1, [7..9): 2, // [9..14): 0, [14..15): 2, [17..20): 3, [22..25): 4} assertEquals(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 28K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
// A few elements. a = asList(4, 8, 15, 16, 23, 42); b = asList(4, 8, 15, 16, 23, 42); assertTrue(Iterables.elementsEqual(a, b)); // An element differs. a = asList(4, 8, 15, 12, 23, 42); b = asList(4, 8, 15, 16, 23, 42); assertFalse(Iterables.elementsEqual(a, b)); // null versus non-null. a = Arrays.<@Nullable Integer>asList(4, 8, 15, null, 23, 42); b = asList(4, 8, 15, 16, 23, 42);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 46K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
public void testOfEntriesNull() { Entry<@Nullable Integer, Integer> nullKey = entry(null, 23); try { ImmutableBiMap.ofEntries((Entry<Integer, Integer>) nullKey); fail(); } catch (NullPointerException expected) { } Entry<Integer, @Nullable Integer> nullValue = ImmutableBiMapTest.<@Nullable Integer>entry(23, null); try { ImmutableBiMap.ofEntries((Entry<Integer, Integer>) nullValue);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 21.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
assertEquals(8, Utf8.encodedLength("Résumé")); assertEquals( 461, Utf8.encodedLength( "威廉·莎士比亞(William Shakespeare," + "1564年4月26號—1616年4月23號[1])係隻英國嗰演員、劇作家同詩人," + "有時間佢簡稱莎翁;中國清末民初哈拕翻譯做舌克斯毕、沙斯皮耳、筛斯比耳、" + "莎基斯庇尔、索士比尔、夏克思芘尔、希哀苦皮阿、叶斯壁、沙克皮尔、" + "狹斯丕爾。[2]莎士比亞編寫過好多作品,佢嗰劇作響西洋文學好有影響," + "哈都拕人翻譯做好多話。"));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LongMath.java
* Each bit is set to 1 for all remainders that indicate divisibility by 2, 3, or 5, so * 1, 7, 11, 13, 17, 19, 23, 29 are set to 0. 30 and up don't matter because they won't be hit. */ private static final int SIEVE_30 = ~((1 << 1) | (1 << 7) | (1 << 11) | (1 << 13) | (1 << 17) | (1 << 19) | (1 << 23) | (1 << 29)); /** * Returns {@code true} if {@code n} is a <a
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 44.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
public void testOfEntriesNull() { Entry<@Nullable Integer, @Nullable Integer> nullKey = entry(null, 23); try { ImmutableMap.ofEntries((Entry<Integer, Integer>) nullKey); fail(); } catch (NullPointerException expected) { } Entry<@Nullable Integer, @Nullable Integer> nullValue = entry(23, null); try { ImmutableMap.ofEntries((Entry<Integer, Integer>) nullValue); fail();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 13:27:08 GMT 2024 - 41.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals(8, queue.capacity()); assertEquals(42, queue.maximumSize); checkNatural(queue); } private static final ImmutableList<Integer> NUMBERS = ImmutableList.of(4, 8, 15, 16, 23, 42); public void testCreation_withContents() { MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create(NUMBERS); assertEquals(6, queue.size()); assertEquals(11, queue.capacity());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 36.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
* block of data for communication purposes. ETB is used for blocking data where the block * structure is not necessarily related to the processing format. * * @since 8.0 */ public static final byte ETB = 23; /** * Cancel: A control character used to indicate that the data with which it is sent is in error or * is to be disregarded. * * @since 8.0 */ public static final byte CAN = 24;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jul 19 15:43:07 GMT 2021 - 21.6K bytes - Viewed (0)