Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for mapvalues (0.22 sec)

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

        // Assert that expectedValues > mapValues and that
        // mapValues > expectedValues; i.e. that expectedValues == mapValues.
        Collection<?> expectedValues = expected.values();
        Collection<?> mapValues = map.values();
        assertEquals(expectedValues.size(), mapValues.size());
        assertTrue(expectedValues.containsAll(mapValues));
        assertTrue(mapValues.containsAll(expectedValues));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        // Assert that expectedValues > mapValues and that
        // mapValues > expectedValues; i.e. that expectedValues == mapValues.
        Collection<?> expectedValues = expected.values();
        Collection<?> mapValues = map.values();
        assertEquals(expectedValues.size(), mapValues.size());
        assertTrue(expectedValues.containsAll(mapValues));
        assertTrue(mapValues.containsAll(expectedValues));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        // Assert that expectedValues > mapValues and that
        // mapValues > expectedValues; i.e. that expectedValues == mapValues.
        Collection<?> expectedValues = expected.values();
        Collection<?> mapValues = map.values();
        assertEquals(expectedValues.size(), mapValues.size());
        assertTrue(expectedValues.containsAll(mapValues));
        assertTrue(mapValues.containsAll(expectedValues));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        // Assert that expectedValues > mapValues and that
        // mapValues > expectedValues; i.e. that expectedValues == mapValues.
        Collection<?> expectedValues = expected.values();
        Collection<?> mapValues = map.values();
        assertEquals(expectedValues.size(), mapValues.size());
        assertTrue(expectedValues.containsAll(mapValues));
        assertTrue(mapValues.containsAll(expectedValues));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/DiscreteDomain.java

     * instances. A discrete domain is one that supports the three basic operations: {@link #next},
     * {@link #previous} and {@link #distance}, according to their specifications. The methods {@link
     * #minValue} and {@link #maxValue} should also be overridden for bounded types.
     *
     * <p>A discrete domain always represents the <i>entire</i> set of values of its type; it cannot
     * represent partial domains such as "prime integers" or "strings of length 5."
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Cut.java

          throw new AssertionError();
        }
    
        @Override
        Comparable<?> greatestValueBelow(DiscreteDomain<Comparable<?>> domain) {
          return domain.maxValue();
        }
    
        @Override
        public int compareTo(Cut<Comparable<?>> o) {
          return (o == this) ? 0 : 1;
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        Table<String, Integer, C> swapValues = create("foo", 1, 'c', "bar", 1, 'b', "foo", 3, 'a');
    
        new EqualsTester()
            .addEqualityGroup(table, hashCopy, reordered)
            .addEqualityGroup(smaller)
            .addEqualityGroup(swapOuter)
            .addEqualityGroup(swapValues)
            .testEquals();
      }
    
      public void testHashCode() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        Table<String, Integer, C> swapValues = create("foo", 1, 'c', "bar", 1, 'b', "foo", 3, 'a');
    
        new EqualsTester()
            .addEqualityGroup(table, hashCopy, reordered)
            .addEqualityGroup(smaller)
            .addEqualityGroup(swapOuter)
            .addEqualityGroup(swapValues)
            .testEquals();
      }
    
      public void testHashCode() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Synchronized.java

          }
        }
    
        @Override
        public Collection<Collection<V>> values() {
          synchronized (mutex) {
            if (asMapValues == null) {
              asMapValues = new SynchronizedAsMapValues<V>(delegate().values(), mutex);
            }
            return asMapValues;
          }
        }
    
        @Override
        public boolean containsValue(@CheckForNull Object o) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        removeFromReplica(replica, replicatedMinValue);
      }
    
      private static void removeMaxFromReplica(
          SortedMap<Integer, AtomicInteger> replica, int maxValue) {
        Integer replicatedMaxValue = replica.lastKey();
        assertTrue("maxValue is incorrect", replicatedMaxValue == maxValue);
        removeFromReplica(replica, replicatedMaxValue);
      }
    
      private static void removeFromReplica(Map<Integer, AtomicInteger> replica, int value) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
Back to top