Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newClassMap (0.18 sec)

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

      }
    
      public void testConstraint() {
    
        /**
         * We'll give ourselves a pass on testing all the possible ways of breaking the constraint,
         * because we know that newClassMap() is implemented using ConstrainedMap which is itself
         * well-tested. A purist would object to this, but what can I say, we're dirty cheaters.
         */
        map.put(Integer.class, new Integer(5));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

      }
    
      public void testConstraint() {
    
        /**
         * We'll give ourselves a pass on testing all the possible ways of breaking the constraint,
         * because we know that newClassMap() is implemented using ConstrainedMap which is itself
         * well-tested. A purist would object to this, but what can I say, we're dirty cheaters.
         */
        map.put(Integer.class, new Integer(5));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top