Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 94 for inOrder (0.17 sec)

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

            NavigableSet<Integer> unfiltered = createUnfiltered(filtered);
    
            assertThat(filtered.descendingSet())
                .containsExactlyElementsIn(unfiltered.descendingSet())
                .inOrder();
          }
        }
    
        public void testPollFirst() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            NavigableSet<Integer> filtered = filter(createUnfiltered(contents), EVEN);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/BytesTest.java

        List<Byte> list = Bytes.asList(array);
        list.set(0, (byte) 2);
        assertThat(array).isEqualTo(new byte[] {(byte) 2, (byte) 1});
        array[1] = (byte) 3;
        assertThat(list).containsExactly((byte) 2, (byte) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        byte[] array = {(byte) 0, (byte) 1, (byte) 2};
        List<Byte> list = Bytes.asList(array);
        byte[] newArray = Bytes.toArray(list);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        List<Character> list = Chars.asList(array);
        list.set(0, (char) 2);
        assertThat(array).isEqualTo(new char[] {(char) 2, (char) 1});
        array[1] = (char) 3;
        assertThat(list).containsExactly((char) 2, (char) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        char[] array = {(char) 0, (char) 1, (char) 2};
        List<Character> list = Chars.asList(array);
        char[] newArray = Chars.toArray(list);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/OrderingTest.java

                Lists.newArrayList(1, 1),
                Lists.newArrayList(1, 2),
                Lists.newArrayList(1),
                Lists.newArrayList(2),
                Lists.newArrayList(),
                null)
            .inOrder();
      }
    
      public void testNatural() {
        Ordering<Integer> comparator = Ordering.natural();
        testComparator(comparator, Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/OrderingTest.java

                Lists.newArrayList(1, 1),
                Lists.newArrayList(1, 2),
                Lists.newArrayList(1),
                Lists.newArrayList(2),
                Lists.newArrayList(),
                null)
            .inOrder();
      }
    
      public void testNatural() {
        Ordering<Integer> comparator = Ordering.natural();
        testComparator(comparator, Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        list.set(0, (double) 2);
        assertThat(array).isEqualTo(new double[] {(double) 2, (double) 1});
        array[1] = (double) 3;
        assertThat(list).containsExactly((double) 2, (double) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        double[] array = {(double) 0, (double) 1, (double) 2};
        List<Double> list = Doubles.asList(array);
        double[] newArray = Doubles.toArray(list);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        makeUnmodifiable(types.interfaces()).containsExactly(TypeToken.of(Interface1.class));
        makeUnmodifiable(types.classes())
            .containsExactly(TypeToken.of(Class1.class), TypeToken.of(Object.class))
            .inOrder();
      }
    
      public <A extends Class1 & Interface1, B extends A>
          void testGetTypes_rawTypes_ignoresTypeVariablesByDefault() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        list.set(0, (float) 2);
        assertThat(array).isEqualTo(new float[] {(float) 2, (float) 1});
        array[1] = (float) 3;
        assertThat(list).containsExactly((float) 2, (float) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        float[] array = {(float) 0, (float) 1, (float) 2};
        List<Float> list = Floats.asList(array);
        float[] newArray = Floats.toArray(list);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        List<Integer> list = Ints.asList(array);
        list.set(0, (int) 2);
        assertThat(array).isEqualTo(new int[] {(int) 2, (int) 1});
        array[1] = (int) 3;
        assertThat(list).containsExactly((int) 2, (int) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        int[] array = {(int) 0, (int) 1, (int) 2};
        List<Integer> list = Ints.asList(array);
        int[] newArray = Ints.toArray(list);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoublesTest.java

        list.set(0, (double) 2);
        assertThat(array).isEqualTo(new double[] {(double) 2, (double) 1});
        array[1] = (double) 3;
        assertThat(list).containsExactly((double) 2, (double) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        double[] array = {(double) 0, (double) 1, (double) 2};
        List<Double> list = Doubles.asList(array);
        double[] newArray = Doubles.toArray(list);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
Back to top