Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newClassMap (0.09 sec)

  1. 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));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top