Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 129 for E0 (0.01 sec)

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

      @Override
      protected Map<Integer, UnhashableObject> makePopulatedMap() {
        Unhashables unhashables = new Unhashables();
        return ImmutableMap.of(0, unhashables.e0());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/RegularImmutableMapWithUnhashableValuesMapInterfaceTest.java

        return ImmutableMap.of();
      }
    
      @Override
      protected Map<Integer, UnhashableObject> makePopulatedMap() {
        Unhashables unhashables = new Unhashables();
        return ImmutableMap.of(0, unhashables.e0(), 1, unhashables.e1(), 2, unhashables.e2());
      }
    
      @Override
      protected Integer getKeyNotInPopulatedMap() {
        return 3;
      }
    
      @Override
      protected UnhashableObject getValueNotInPopulatedMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapWithBadHashesMapInterfaceTest.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Map<Object, Integer> makePopulatedMap() {
        Colliders colliders = new Colliders();
        return ImmutableMap.of(
            colliders.e0(), 0,
            colliders.e1(), 1,
            colliders.e2(), 2,
            colliders.e3(), 3);
      }
    
      @Override
      protected Object getKeyNotInPopulatedMap() {
        return new Colliders().e4();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        assertEquals(values.size() > 0, multimap().keySet().contains(key));
        assertEquals(values.size() > 0, multimap().keys().contains(key));
      }
    
      protected final K k0() {
        return e0().getKey();
      }
    
      protected final V v0() {
        return e0().getValue();
      }
    
      protected final K k1() {
        return e1().getKey();
      }
    
      protected final V v1() {
        return e1().getValue();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_supportedPresent() {
        assertTrue(getMap().remove(k0(), v0()));
        expectMissing(e0());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_supportedPresentKeyWrongValue() {
        assertFalse(getMap().remove(k0(), v3()));
        expectUnchanged();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.java

      @CollectionFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
    
        expectContents(array);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedPresent() {
        assertFalse("add(present) should return false", getSet().add(e0()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testAdd_supportedNullPresent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testSingletonMultisetNearby() {
        assertNull(sortedMultiset.headMultiset(e0(), OPEN).lastEntry());
        assertNull(sortedMultiset.tailMultiset(e0(), OPEN).lastEntry());
    
        assertEquals(a, sortedMultiset.headMultiset(e0(), CLOSED).lastEntry());
        assertEquals(a, sortedMultiset.tailMultiset(e0(), CLOSED).firstEntry());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMultisetLast() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMapWithBadHashesMapInterfaceTest.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Map<Object, Integer> makePopulatedMap() {
        Colliders colliders = new Colliders();
        return ImmutableMap.of(
            colliders.e0(), 0,
            colliders.e1(), 1,
            colliders.e2(), 2,
            colliders.e3(), 3);
      }
    
      @Override
      protected Object getKeyNotInPopulatedMap() {
        return new Colliders().e4();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 09 02:18:08 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/MapToStringTester.java

      }
    
      @CollectionSize.Require(ONE)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size1() {
        assertEquals("size1Map.toString should return {entry}", "{" + e0() + "}", getMap().toString());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testToStringWithNullKey() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top