Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,104 for Four (0.16 sec)

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

            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "four",
            4,
            "one",
            1,
            "three",
            3,
            "two",
            2);
        assertMapEquals(
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3, "four", 4, "five", 5),
            "five",
            5,
            "four",
            4,
            "one",
            1,
            "three",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

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

            4,
            "four");
        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3, "four", 4, "five", 5),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4,
            "five",
            5);
        assertMapEquals(
            ImmutableBiMap.of("one", 1, "two", 2, "three", 3, "four", 4, "five", 5).inverse(),
            1,
            "one",
    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)
  4. android/guava-tests/test/com/google/common/base/Utf8Test.java

              // Three byte characters
              THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 1,048,576 [chars 0x10000L to 0x10FFFF]
      private static final long FOUR_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0x10FFFF - 0x10000L + 1;
    
      // 289,571,839
      private static final long EXPECTED_FOUR_BYTE_ROUNDTRIPPABLE_COUNT =
          // All one byte characters
          (long) Math.pow(EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT, 4)
              +
    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. guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        assertEquals("one", queue.element());
        assertEquals("one", queue.peek());
        assertEquals(3, queue.size());
        assertEquals(0, queue.remainingCapacity());
    
        assertTrue(queue.add("four"));
        assertEquals("two", queue.element());
        assertEquals("two", queue.peek());
        assertEquals(3, queue.size());
        assertEquals(0, queue.remainingCapacity());
    
        assertEquals("two", queue.remove());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

            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
      public SampleElements<String> sampleValues() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                .put("three", 3)
                .put("one", 1)
                .put("five", 5)
                .put("four", 3)
                .put("four", 5)
                .put("four", 4) // this should win because it's last
                .put("two", 2);
        assertMapEquals(
            builder.buildKeepingLast(), "one", 1, "two", 2, "three", 3, "four", 4, "five", 5);
        try {
          builder.buildOrThrow();
    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)
  8. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

        public void testPutAll() throws Exception {
            final Map<String, String> m = new HashMap<String, String>();
            m.put("three", "3");
            m.put("four", "4");
            map.putAll(m);
            assertThat(map.get("THREE"), is("3"));
            assertThat(map.get("FOUR"), is("4"));
            assertThat(map.size(), is(4));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

        assertNull(map.get("four"));
        strings.add("four");
        assertEquals(ImmutableSortedMap.of("one", 3, "two", 3, "three", 5, "four", 4), map);
        assertEquals(Integer.valueOf(4), map.get("four"));
        SortedMap<String, Integer> headMap = map.headMap("two");
        assertEquals(ImmutableSortedMap.of("four", 4, "one", 3, "three", 5), headMap);
        strings.add("five");
    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)
  10. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertNull(map.get("four"));
        strings.add("four");
        assertEquals(ImmutableSortedMap.of("one", 3, "two", 3, "three", 5, "four", 4), map);
        assertEquals(Integer.valueOf(4), map.get("four"));
        SortedMap<String, Integer> headMap = map.headMap("two");
        assertEquals(ImmutableSortedMap.of("four", 4, "one", 3, "three", 5), headMap);
        strings.add("five");
    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)
Back to top