Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 348 for Sellers (0.15 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

          boolean expression,
          /*
           * TODO(cpovirk): Consider removing @CheckForNull here, as we've done with the other methods'
           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    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/collect/LinkedListMultimap.java

            node.previousSibling = keyTail;
            keyList.tail = node;
          }
        } else { // non-empty list, insert before nextSibling
          /*
           * requireNonNull is safe as long as callers pass a nextSibling that (a) has the same key and
           * (b) is present in the multimap. (And they do, except maybe in case of concurrent
           * modification, in which case all bets are off.)
           */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

        return !iterable.iterator().hasNext();
      }
    
      /**
       * Returns an iterable over the merged contents of all given {@code iterables}. Equivalent entries
       * will not be de-duplicated.
       *
       * <p>Callers must ensure that the source {@code iterables} are in non-descending order as this
       * method does not sort its input.
       *
       * <p>For any equivalent elements across all {@code iterables}, it is undefined which element is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/Helpers.java

    import junit.framework.Assert;
    import junit.framework.AssertionFailedError;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class Helpers {
      // Clone of Objects.equal
      static boolean equal(@Nullable Object a, @Nullable Object b) {
        return a == b || (a != null && a.equals(b));
      }
    
      // Clone of Lists.newArrayList
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

        expectMissing(Helpers.mapEntry(k0(), v0()));
        assertEquals(getNumElements() - 1, multimap().size());
        assertFalse(multimap().containsEntry(k0(), v0()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRetainAllPropagatesToMultimap() {
        multimap().entries().retainAll(Collections.singleton(Helpers.mapEntry(k0(), v0())));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

    public class MultimapKeysTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(SEVERAL)
      public void testKeys() {
        resetContainer(
            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k0(), v1()), Helpers.mapEntry(k1(), v0()));
        Multiset<K> keys = multimap().keys();
        assertEquals(2, keys.count(k0()));
        assertEquals(1, keys.count(k1()));
        assertEquals(3, keys.size());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

        assertEquals(multimap(), target);
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll() {
        Multimap<K, V> source =
            getSubjectGenerator().create(Helpers.mapEntry(k0(), v3()), Helpers.mapEntry(k3(), v3()));
        assertTrue(multimap().putAll(source));
        assertTrue(multimap().containsEntry(k0(), v3()));
        assertTrue(multimap().containsEntry(k3(), v3()));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

    public class MultimapKeysTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(SEVERAL)
      public void testKeys() {
        resetContainer(
            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k0(), v1()), Helpers.mapEntry(k1(), v0()));
        Multiset<K> keys = multimap().keys();
        assertEquals(2, keys.count(k0()));
        assertEquals(1, keys.count(k1()));
        assertEquals(3, keys.size());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.assertContentsAnyOrder;
    import static com.google.common.collect.testing.Helpers.assertContentsInOrder;
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 5.6K bytes
    - Viewed (0)
Back to top