- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 176 for reorder (0.22 sec)
-
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
/** Return type from "contains the following elements" assertions. */ public interface Ordered { /** * Attests that the expected values must not just be present but must be present in the order * they were given. */ void inOrder(); } private abstract static class GeneralSpliterator<E extends @Nullable Object> { final Spliterator<E> spliterator; GeneralSpliterator(Spliterator<E> spliterator) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 18:19:31 GMT 2024 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
assertThat(copy).containsExactly("a", "a", "b").inOrder(); } public void testSerialization_elementSet() { Multiset<String> c = ImmutableSortedMultiset.of("a", "b", "a"); Collection<String> copy = SerializableTester.reserializeAndAssert(c.elementSet()); assertThat(copy).containsExactly("a", "b").inOrder(); } public void testSerialization_entrySet() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 19.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
CollectionFeature.KNOWN_ORDER, CollectionFeature.ALLOWS_NULL_QUERIES) .createTestSuite()); suite.addTest( SetTestSuiteBuilder.using(new DegeneratedImmutableSetGenerator()) .named(ImmutableSetTest.class.getName() + ", degenerate") .withFeatures( CollectionSize.ONE, CollectionFeature.KNOWN_ORDER,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ValueGraphTest.java
graph.putEdgeValue(1, 2, "1-2"); assertThat(graph.incidentEdges(2)) .containsExactly( EndpointPair.ordered(2, 1), EndpointPair.ordered(2, 3), EndpointPair.ordered(1, 2)) .inOrder(); } @Test public void incidentEdges_stableIncidentEdgeOrder_preservesIncidentEdgesOrder_undirected() { graph = ValueGraphBuilder.undirected().incidentEdgeOrder(ElementOrder.stable()).build();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 18:35:19 GMT 2024 - 20K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
Iterable<Integer> result = Traverser.forGraph(fixedSuccessors(Iterables.cycle(1, 2, 3))).breadthFirst(0); assertThat(Iterables.limit(result, 4)).containsExactly(0, 1, 2, 3).inOrder(); } @Test public void forGraph_breadthFirst_diamond() { Traverser<Character> traverser = Traverser.forGraph(DIAMOND_GRAPH); assertEqualCharNodes(traverser.breadthFirst('a'), "abcd");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
assertEquals("Iterators.consumingIterator(...)", consumingIterator.toString()); assertThat(list).containsExactly("a", "b").inOrder(); assertTrue(consumingIterator.hasNext()); assertThat(list).containsExactly("a", "b").inOrder(); assertEquals("a", consumingIterator.next()); assertThat(list).contains("b"); assertTrue(consumingIterator.hasNext());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 55.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/Cache.java
* created using {@link CacheBuilder} only does so if the {@link CacheBuilder#recordStats} method * was called. If statistics are not being recorded, a {@code CacheStats} instance with zero for * all values is returned. * */ CacheStats stats(); /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sun Aug 07 02:38:22 GMT 2022 - 7.9K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
assertThat(read).isEqualTo(bf); assertThat(read.expectedFpp()).isGreaterThan(0); } /** * This test will fail whenever someone updates/reorders the BloomFilterStrategies constants. Only * appending a new constant is allowed. */ public void testBloomFilterStrategies() { assertThat(BloomFilterStrategies.values()).hasLength(2);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 21.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
/** * Records an exception so that it can be rethrown later in the test harness thread, triggering a * test case failure. Only the first failure is recorded; subsequent calls to this method from * within the same test have no effect. */ public void threadRecordFailure(Throwable t) { threadFailure.compareAndSet(null, t); } @Override
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
/** * End of Medium: A control character associated with the sent data which may be used to identify * the physical end of the medium, or the end of the used, or wanted, portion of information * recorded on a medium. (The position of this character does not necessarily correspond to the * physical end of the medium.) * * @since 8.0 */ public static final byte EM = 25; /**
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)