Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 254 for Two (0.12 sec)

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

                    .put("one", "uno", 1)
                    .put("two", "dos", 6)
                    .put("three", "tres", 3)
                    .build(),
                immutableCell("one", "uno", 1),
                immutableCell("two", "dos", 2),
                immutableCell("three", "tres", 3),
                immutableCell("two", "dos", 4));
      }
    
      public void testToImmutableTableMergingNullRowKey() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        assertMapEquals(ImmutableSortedMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3), "one", 1, "three", 3, "two", 2);
        assertMapEquals(
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "four",
            4,
            "one",
            1,
            "three",
            3,
            "two",
            2);
        assertMapEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/IntMath.java

      @VisibleForTesting static final int MAX_SIGNED_POWER_OF_TWO = 1 << (Integer.SIZE - 2);
    
      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
       * {@code checkedPow(2, log2(x, CEILING))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @throws ArithmeticException of the next-higher power of two is not representable as an {@code
       *     int}, i.e. when {@code x > 2^30}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/Utf8Test.java

              2 * THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS * ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS
              +
              // Two two byte characters
              TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS * TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS
              +
              // Permutations of one and two byte characters
              3
                  * TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS
                  * ONE_BYTE_ROUNDTRIPPABLE_CHARACTERS
    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)
  5. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertMapEquals(ImmutableBiMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(ImmutableBiMap.of("one", 1, "two", 2).inverse(), 1, "one", 2, "two");
        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3).inverse(),
            1,
            "one",
            2,
    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)
  6. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        assertMapEquals(ImmutableMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
            ImmutableMap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMapEquals(
            ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4);
    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)
  7. guava-tests/test/com/google/common/collect/MapsTest.java

            .containsExactly(mapEntry("three", 5), mapEntry("two", 3))
            .inOrder();
        assertThat(map.subMap("one", "two").entrySet())
            .containsExactly(mapEntry("one", 3), mapEntry("three", 5))
            .inOrder();
    
        assertEquals(ImmutableSortedMap.of("two", 3, "three", 5), map.tailMap("three", true));
        assertEquals(ImmutableSortedMap.of("one", 3, "three", 5), map.headMap("two", false));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .containsExactly(mapEntry("three", 5), mapEntry("two", 3))
            .inOrder();
        assertThat(map.subMap("one", "two").entrySet())
            .containsExactly(mapEntry("one", 3), mapEntry("three", 5))
            .inOrder();
    
        assertEquals(ImmutableSortedMap.of("two", 3, "three", 5), map.tailMap("three", true));
        assertEquals(ImmutableSortedMap.of("one", 3, "three", 5), map.headMap("two", false));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

            Helpers.mapEntry("one", "January"),
            Helpers.mapEntry("two", "February"),
            Helpers.mapEntry("three", "March"),
            Helpers.mapEntry("four", "April"),
            Helpers.mapEntry("five", "May"));
      }
    
      @Override
      public SampleElements<String> sampleKeys() {
        return new SampleElements<>("one", "two", "three", "four", "five");
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
       * @throws IllegalArgumentException if two keys have the same value or two values have the same
       *     key
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top