Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for Live (0.33 sec)

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

            3,
            "four",
            4);
        assertMultimapEquals(
            ImmutableSetMultimap.of("one", 1, "two", 2, "three", 3, "four", 4, "five", 5),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4,
            "five",
            5);
      }
    
      public void testInverse() {
        assertEquals(
            ImmutableSetMultimap.<Integer, String>of(),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = asList("one", "two", "three", "four", "five").iterator();
        try {
          Iterators.getOnlyElement(iterator);
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected)
              .hasMessageThat()
              .isEqualTo("expected one element but was: <one, two, three, four, five>");
        }
      }
    
    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)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

          @Override
          public void run() {
            thirdSignal.countDown();
            result.set(1, cache.getUnchecked(key));
            doneSignal.countDown();
          }
        }.start();
    
        // give the second get a chance to run; it is okay for this to be racy
        // as the end result should be the same either way
        thirdSignal.await();
        Thread.yield();
    
        // Expand!
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/LongMath.java

           * lossless. In that case we can compare x to roundArbitrarily using Longs.compare(x,
           * roundArbitrarilyAsLong). The exception is for values where the conversion to double rounds
           * up to give roundArbitrarily equal to 2^63, so the conversion back to long overflows and
           * roundArbitrarilyAsLong is Long.MAX_VALUE. (This is the only way this condition can occur as
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

                .put("two", 2)
                .put("three", 3)
                .put("four", 4)
                .put("five", 5)
                .build();
        assertMapEquals(map, "one", 1, "two", 2, "three", 3, "four", 4, "five", 5);
        assertMapEquals(map.inverse(), 1, "one", 2, "two", 3, "three", 4, "four", 5, "five");
      }
    
      @GwtIncompatible
      public void testBuilderExactlySizedReusesArray() {
    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

            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4,
            "five",
            5);
        assertMapEquals(
            ImmutableMap.of(
                "one", 1,
                "two", 2,
                "three", 3,
                "four", 4,
                "five", 5,
                "six", 6),
            "one",
    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/src/com/google/common/base/MoreObjects.java

         * readable name.
         */
        @CanIgnoreReturnValue
        public ToStringHelper addValue(@CheckForNull Object value) {
          return addHolder(value);
        }
    
        /**
         * Adds an unnamed value to the formatted output.
         *
         * <p>It is strongly encouraged to use {@link #add(String, boolean)} instead and give value a
         * readable name.
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

            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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(ImmutableSortedMap.of("four", 4, "one", 3, "three", 5), headMap);
        strings.add("five");
        strings.remove("one");
        assertEquals(ImmutableSortedMap.of("five", 4, "four", 4, "three", 5), headMap);
        assertThat(map.entrySet())
            .containsExactly(
                mapEntry("five", 4), mapEntry("four", 4), mapEntry("three", 5), mapEntry("two", 3))
            .inOrder();
      }
    
    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

        assertEquals(ImmutableSortedMap.of("four", 4, "one", 3, "three", 5), headMap);
        strings.add("five");
        strings.remove("one");
        assertEquals(ImmutableSortedMap.of("five", 4, "four", 4, "three", 5), headMap);
        assertThat(map.entrySet())
            .containsExactly(
                mapEntry("five", 4), mapEntry("four", 4), mapEntry("three", 5), mapEntry("two", 3))
            .inOrder();
      }
    
    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