public static < K , V > BiMap < K , V > constrainedBiMap ( BiMap < K , V > map , MapConstraint < ? super K , ? super V > constraint ) { return new ConstrainedBiMap < K , V > ( map , null , constraint ) ; }
Returns a constrained view of the specified bimap using the specified constraint . Any operations that modify the bimap will have the associated keys and values verified with the constraint .