Home
last modified time | relevance | path

Searched refs:MapConstraints (Results 1 – 12 of 12) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DMapConstraintsTest.java84 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 …]
DConstrainedMapTest.java69 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()
DConstrainedBiMapTest.java70 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()
DConstrainedMultimapAsMapImplementsMapTest.java40 return MapConstraints.constrainedMultimap( in makeEmptyMap()
49 return MapConstraints.constrainedMultimap( in makePopulatedMap()
DConstrainedMapImplementsMapTest.java35 return MapConstraints.constrainedMap(new HashMap<String, Integer>(), in makeEmptyMap()
40 final Map<String, Integer> sortedMap = MapConstraints.constrainedMap( in makePopulatedMap()
DConstrainedSetMultimapTest.java60 return MapConstraints.constrainedSetMultimap(multimap, Constraint.INSTANCE); in suite()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DMapConstraintsTest.java82 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 …]
DConstrainedBiMapTest.java44 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()
DConstrainedMapTest.java44 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/
DMutableClassToInstanceMap.java19 import com.google.common.collect.MapConstraints.ConstrainedMap;
DMapConstraints.java46 public final class MapConstraints { class
47 private MapConstraints() {} in MapConstraints() method in MapConstraints
/external/guava/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java52 import com.google.common.collect.MapConstraints;
277 .put(MapConstraint.class, MapConstraints.notNull())