Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 144 for e0 (0.16 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

      public static ImmutableDoubleArray of(double e0) {
        return new ImmutableDoubleArray(new double[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableDoubleArray of(double e0, double e1) {
        return new ImmutableDoubleArray(new double[] {e0, e1});
      }
    
      /** Returns an immutable array containing the given values, in order. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        assertEquals(1, multimap.get(0).size());
        assertTrue(multimap.get(0).contains(unhashables.e0()));
      }
    
      public void testUnhashableMixedValues() {
        SampleElements<UnhashableObject> unhashables = new Unhashables();
        Multimap<Integer, Object> multimap =
            ImmutableMultimap.<Integer, Object>of(
                0, unhashables.e0(), 2, "hey you", 0, unhashables.e1());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

            getMultiset().setCount(e0(), 2, 3));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_oldCountTooSmallZero() {
        assertFalse(
            "setCount() with a too-small oldCount should return false",
            getMultiset().setCount(e0(), 0, 2));
        expectUnchanged();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        getSet().remove(e0());
        assertFalse(
            "After remove(present) a set should not contain the removed element.",
            getSet().contains(e0()));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      /** Returns an immutable array containing a single value. */
      public static ImmutableLongArray of(long e0) {
        return new ImmutableLongArray(new long[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray of(long e0, long e1) {
        return new ImmutableLongArray(new long[] {e0, e1});
      }
    
      /** Returns an immutable array containing the given values, in order. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

        assertTrue("should contain " + e3(), collection.contains(e3()));
        assertTrue("should contain " + e0(), collection.contains(e0()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_unsupportedSomePresent() {
        try {
          collection.addAll(MinimalCollection.of(e3(), e0()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        assertEquals(1, multimap.get(0).size());
        assertTrue(multimap.get(0).contains(unhashables.e0()));
      }
    
      public void testUnhashableMixedValues() {
        SampleElements<UnhashableObject> unhashables = new Unhashables();
        Multimap<Integer, Object> multimap =
            ImmutableMultimap.<Integer, Object>of(
                0, unhashables.e0(), 2, "hey you", 0, unhashables.e1());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java

      public void testLastIndexOf_duplicate() {
        E[] array = createSamplesArray();
        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "lastIndexOf(duplicate) should return index of last occurrence",
            getNumElements() / 2,
            getList().lastIndexOf(e0()));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

      public void testCount_1() {
        assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCount_3() {
        initThreeCopies();
        assertEquals("multiset.count(thriceContained) didn't return 3", 3, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testCount_nullAbsent() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

      public void testCount_1() {
        assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCount_3() {
        initThreeCopies();
        assertEquals("multiset.count(thriceContained) didn't return 3", 3, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testCount_nullAbsent() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top