Searched refs:MapConstraints (Results 1 – 12 of 12) sorted by relevance
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapConstraintsTest.java | 84 MapConstraint<Object, Object> constraint = MapConstraints.notNull(); in testNotNull() 103 Map<String, Integer> constrained = MapConstraints.constrainedMap( in testConstrainedMapLegal() 127 Map<String, Integer> constrained = MapConstraints.constrainedMap( in testConstrainedMapIllegal() 153 BiMap<String, Integer> constrained = MapConstraints.constrainedBiMap( in testConstrainedBiMapLegal() 177 BiMap<String, Integer> constrained = MapConstraints.constrainedBiMap( in testConstrainedBiMapIllegal() 213 Multimap<String, Integer> constrained = MapConstraints.constrainedMultimap( in testConstrainedMultimapLegal() 266 = MapConstraints.constrainedListMultimap( in testConstrainedTypePreservingList() 279 = MapConstraints.constrainedListMultimap( in testConstrainedTypePreservingRandomAccessList() 292 = MapConstraints.constrainedSetMultimap( in testConstrainedTypePreservingSet() 306 = MapConstraints.constrainedSortedSetMultimap(delegate, in testConstrainedTypePreservingSortedSet() [all …]
|
D | ConstrainedMapTest.java | 69 Map<String, String> map = MapConstraints.constrainedMap( in testPutWithForbiddenKeyForbiddenValue() 81 Map<String, String> map = MapConstraints.constrainedMap( in testPutWithForbiddenKeyAllowedValue() 93 Map<String, String> map = MapConstraints.constrainedMap( in testPutWithAllowedKeyForbiddenValue() 107 Map<String, String> map = MapConstraints.constrainedMap( in create()
|
D | ConstrainedBiMapTest.java | 70 BiMap<String, String> map = MapConstraints.constrainedBiMap( in testPutWithForbiddenKeyForbiddenValue() 82 BiMap<String, String> map = MapConstraints.constrainedBiMap( in testPutWithForbiddenKeyAllowedValue() 94 BiMap<String, String> map = MapConstraints.constrainedBiMap( in testPutWithAllowedKeyForbiddenValue() 108 BiMap<String, String> bimap = MapConstraints.constrainedBiMap( in create()
|
D | ConstrainedMultimapAsMapImplementsMapTest.java | 40 return MapConstraints.constrainedMultimap( in makeEmptyMap() 49 return MapConstraints.constrainedMultimap( in makePopulatedMap()
|
D | ConstrainedMapImplementsMapTest.java | 35 return MapConstraints.constrainedMap(new HashMap<String, Integer>(), in makeEmptyMap() 40 final Map<String, Integer> sortedMap = MapConstraints.constrainedMap( in makePopulatedMap()
|
D | ConstrainedSetMultimapTest.java | 60 return MapConstraints.constrainedSetMultimap(multimap, Constraint.INSTANCE); in suite()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | MapConstraintsTest.java | 82 MapConstraint<Object, Object> constraint = MapConstraints.notNull(); in testNotNull() 101 Map<String, Integer> constrained = MapConstraints.constrainedMap( in testConstrainedMapLegal() 125 Map<String, Integer> constrained = MapConstraints.constrainedMap( in testConstrainedMapIllegal() 151 BiMap<String, Integer> constrained = MapConstraints.constrainedBiMap( in testConstrainedBiMapLegal() 175 BiMap<String, Integer> constrained = MapConstraints.constrainedBiMap( in testConstrainedBiMapIllegal() 211 Multimap<String, Integer> constrained = MapConstraints.constrainedMultimap( in testConstrainedMultimapLegal() 264 = MapConstraints.constrainedListMultimap( in testConstrainedTypePreservingList() 277 = MapConstraints.constrainedListMultimap( in testConstrainedTypePreservingRandomAccessList() 290 = MapConstraints.constrainedSetMultimap( in testConstrainedTypePreservingSet() 304 = MapConstraints.constrainedSortedSetMultimap(delegate, in testConstrainedTypePreservingSortedSet() [all …]
|
D | ConstrainedBiMapTest.java | 44 BiMap<String, String> map = MapConstraints.constrainedBiMap( in testPutWithForbiddenKeyForbiddenValue() 56 BiMap<String, String> map = MapConstraints.constrainedBiMap( in testPutWithForbiddenKeyAllowedValue() 68 BiMap<String, String> map = MapConstraints.constrainedBiMap( in testPutWithAllowedKeyForbiddenValue() 82 BiMap<String, String> bimap = MapConstraints.constrainedBiMap( in create()
|
D | ConstrainedMapTest.java | 44 Map<String, String> map = MapConstraints.constrainedMap( in testPutWithForbiddenKeyForbiddenValue() 56 Map<String, String> map = MapConstraints.constrainedMap( in testPutWithForbiddenKeyAllowedValue() 68 Map<String, String> map = MapConstraints.constrainedMap( in testPutWithAllowedKeyForbiddenValue() 82 Map<String, String> map = MapConstraints.constrainedMap( in create()
|
/external/guava/guava/src/com/google/common/collect/ |
D | MutableClassToInstanceMap.java | 19 import com.google.common.collect.MapConstraints.ConstrainedMap;
|
D | MapConstraints.java | 46 public final class MapConstraints { class 47 private MapConstraints() {} in MapConstraints() method in MapConstraints
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | ArbitraryInstances.java | 52 import com.google.common.collect.MapConstraints; 277 .put(MapConstraint.class, MapConstraints.notNull())
|