jdk/test/java/util/TreeMap/ContainsValue.java
changeset 32649 2ee9017c7597
parent 5506 202f599c92aa
child 32991 b27c76b82713
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
    28  */
    28  */
    29 
    29 
    30 import java.util.*;
    30 import java.util.*;
    31 
    31 
    32 public class ContainsValue {
    32 public class ContainsValue {
    33     static public void main (String[] args) {
    33     public static void main (String[] args) {
    34         Map map = new TreeMap();
    34         Map map = new TreeMap();
    35 
    35 
    36         if (map.containsValue ("gemutlichkeit"))
    36         if (map.containsValue ("gemutlichkeit"))
    37             throw new RuntimeException("containsValue optimistic (non-null)");
    37             throw new RuntimeException("containsValue optimistic (non-null)");
    38 
    38