Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 144 for e0 (0.11 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          SampleElements<V> sampleValues =
              ((TestMultimapGenerator<K, V, M>) multimapGenerator.getInnerGenerator()).sampleValues();
          return new SampleElements<>(
              mapEntry(sampleKeys.e0(), createCollection(sampleValues.e0())),
              mapEntry(sampleKeys.e1(), createCollection(sampleValues.e1())),
              mapEntry(sampleKeys.e2(), createCollection(sampleValues.e2())),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. 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());
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 09 02:18:08 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nonNullDuplicatesNotRejected() {
        E[] array = createSamplesArray();
        array[1] = e0();
        collection = getSubjectGenerator().create(array);
    
        List<E> expectedWithDuplicateRemoved = Arrays.asList(array).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  4. 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() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 25.9K bytes
    - Viewed (0)
  5. 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();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. 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();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  7. 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() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 09 02:18:08 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

        Set<Entry<K, V>> entrySet = getMap().entrySet();
        Iterator<Entry<K, V>> entryItr = entrySet.iterator();
        assertEquals(e0(), entryItr.next());
        entryItr.remove();
        assertTrue(getMap().isEmpty());
        assertFalse(entrySet.contains(e0()));
      }
    
      public void testContainsEntryWithIncomparableKey() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          this.mapGenerator = mapGenerator;
          SampleElements<Entry<K, V>> mapSamples = this.mapGenerator.samples();
          this.samples =
              new SampleElements<>(
                  mapSamples.e0().getKey(),
                  mapSamples.e1().getKey(),
                  mapSamples.e2().getKey(),
                  mapSamples.e3().getKey(),
                  mapSamples.e4().getKey());
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

      }
    
      @Override
      public Collection<E> getSampleElements(int howMany) {
        SampleElements<E> samples = samples();
        List<E> allSampleElements =
            Arrays.asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4());
        return new ArrayList<>(allSampleElements.subList(0, howMany));
      }
    
      @Override
      public CollectionSize getCollectionSize() {
        return collectionSize;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top