Uses of Interface
org.kiwiproject.beta.base.KiwiCasts2.MapCheckStrategy
Packages that use KiwiCasts2.MapCheckStrategy
-
Uses of KiwiCasts2.MapCheckStrategy in org.kiwiproject.beta.base
Classes in org.kiwiproject.beta.base that implement KiwiCasts2.MapCheckStrategyModifier and TypeClassDescriptionstatic classDefault implementation ofKiwiCasts2.MapCheckStrategythat usesKiwiCasts2.DEFAULT_MAX_NON_NULL_CHECKSas the maximum non-null checks and checks only one (non-null) entry in the map.static classStandard implementation ofKiwiCasts2.MapCheckStrategythat allows configuring the number of non-null and type checks to perform.Methods in org.kiwiproject.beta.base with parameters of type KiwiCasts2.MapCheckStrategyModifier and TypeMethodDescriptionstatic <K,V> Map<K, V> KiwiCasts2.castToMapAndCheckEntries(Class<K> keyType, Class<V> valueType, Object object, KiwiCasts2.MapCheckStrategy strategy) Casts the given object to a Map and checks that its keys and values are of the expected types using the specified check strategy.