Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Two (0.16 sec)

  1. 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)
  2. 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)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         *
         * @throws IllegalArgumentException if any two keys are equal according to the comparator (which
         *     might be the keys' natural order)
         */
        @Override
        public ImmutableSortedMap<K, V> build() {
          return buildOrThrow();
        }
    
        /**
         * Returns a newly-created immutable sorted map, or throws an exception if any two keys are
         * equal.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMap.java

         *
         * @throws IllegalArgumentException if any two keys are equal according to the comparator (which
         *     might be the keys' natural order)
         */
        @Override
        public ImmutableSortedMap<K, V> build() {
          return buildOrThrow();
        }
    
        /**
         * Returns a newly-created immutable sorted map, or throws an exception if any two keys are
         * equal.
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/IteratorsTest.java

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

        assertSame(two, cache.getUnchecked(key));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
        assertEquals(2, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(1, stats.hitCount());
      }
    
      public void testRefresh() {
        final Object one = new Object();
        final Object two = new Object();
    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)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      /**
       * The maximum capacity, used if a higher value is implicitly specified by either of the
       * constructors with arguments. MUST be a power of two no greater than {@code 1<<30} to ensure
       * that entries are indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = Ints.MAX_POWER_OF_TWO;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

         */
        @Override
        public abstract UnmodifiableIterator<E> iterator();
      }
    
      /**
       * Returns an unmodifiable <b>view</b> of the union of two sets. The returned set contains all
       * elements that are contained in either backing set. Iterating over the returned set iterates
       * first over all the elements of {@code set1}, then over each element of {@code set2}, in order,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertSame(two, cache.getUnchecked(key));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
        assertEquals(2, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(1, stats.hitCount());
      }
    
      public void testRefresh() {
        final Object one = new Object();
        final Object two = new Object();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SetsTest.java

        ImmutableSet<SomeEnum> one = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.B));
        assertThat(one).contains(SomeEnum.B);
    
        ImmutableSet<SomeEnum> two = Sets.immutableEnumSet(MinimalIterable.of(SomeEnum.D, SomeEnum.B));
        assertThat(two).containsExactly(SomeEnum.B, SomeEnum.D).inOrder();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // java serialization not supported in GWT.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
Back to top