Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 681 for t_order (0.19 sec)

  1. guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

          }
    
          @Override
          public List<String> order(List<String> insertionOrder) {
            List<String> order = Lists.newArrayList();
            for (String s : insertionOrder) {
              int index = order.indexOf(s);
              if (index == -1) {
                order.add(s);
              } else {
                order.add(index, s);
              }
            }
            return order;
          }
        };
      }
    
      public void testCreate() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThat(set.headSet(2)).containsExactly(1).inOrder();
        assertThat(set.headSet(3)).containsExactly(1, 2).inOrder();
        assertThat(set.headSet(4)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.headSet(Integer.MAX_VALUE)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.headSet(1, true)).containsExactly(1).inOrder();
        assertThat(set.headSet(2, true)).containsExactly(1, 2).inOrder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThat(set.headSet(2)).containsExactly(1).inOrder();
        assertThat(set.headSet(3)).containsExactly(1, 2).inOrder();
        assertThat(set.headSet(4)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.headSet(Integer.MAX_VALUE)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.headSet(1, true)).containsExactly(1).inOrder();
        assertThat(set.headSet(2, true)).containsExactly(1, 2).inOrder();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        assertThat(multimap.keySet()).containsExactly("foo", "bar", "cow").inOrder();
        assertThat(multimap.removeAll("foo")).containsExactly(6, 7).inOrder();
        assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder();
        assertTrue(multimap.remove("bar", 4));
        assertThat(multimap.keySet()).containsExactly("bar", "cow").inOrder();
        assertTrue(multimap.remove("bar", 1));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        writeLockC = readWriteLockC.writeLock();
    
        CycleDetectingLockFactory.WithExplicitOrdering<MyOrder> factory2 =
            newInstanceWithExplicitOrdering(MyOrder.class, Policies.THROW);
        lock1 = factory2.newReentrantLock(MyOrder.FIRST);
        lock2 = factory2.newReentrantLock(MyOrder.SECOND);
        lock3 = factory2.newReentrantLock(MyOrder.THIRD);
    
        CycleDetectingLockFactory.WithExplicitOrdering<OtherOrder> factory3 =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                      public List<String> order(List<String> insertionOrder) {
                        List<String> order = new ArrayList<>();
                        for (String s : insertionOrder) {
                          int index = order.indexOf(s);
                          if (index == -1) {
                            order.add(s);
                          } else {
                            order.add(index, s);
                          }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testSpliteratorUnknownOrder() {
        synchronized (collection) {
          SpliteratorTester.of(collection::spliterator).expect(getSampleElements());
        }
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testSpliteratorKnownOrder() {
        synchronized (collection) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        multimap.put("foo", 2);
        LinkedListMultimap<String, Integer> copy = LinkedListMultimap.create(multimap);
        assertEquals(multimap, copy);
        assertThat(copy.entries()).containsExactlyElementsIn(multimap.entries()).inOrder();
      }
    
      public void testCreateFromSize() {
        LinkedListMultimap<String, Integer> multimap = LinkedListMultimap.create(20);
        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FluentIterableTest.java

            .containsExactly(4, 3, 2, 1)
            .inOrder();
      }
    
      public void testToSortedSet_removeDuplicates() {
        assertThat(fluent(1, 4, 1, 3).toSortedSet(Ordering.<Integer>natural().reverse()))
            .containsExactly(4, 3, 1)
            .inOrder();
      }
    
      public void testToMultiset() {
        assertThat(fluent(1, 2, 1, 3, 2, 4).toMultiset()).containsExactly(1, 1, 2, 2, 3, 4).inOrder();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 31.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

            .inOrder();
      }
    
      public void testSubMapExclusiveInclusive() {
        Map<String, Integer> map =
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).subMap("one", false, "two", true);
        assertThat(map.entrySet())
            .containsExactly(Maps.immutableEntry("three", 3), Maps.immutableEntry("two", 2))
            .inOrder();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
Back to top