October 11th, 2012, 05:54 PM
Usage of API
I downloaded the commons-collections-3.2.1 located in the API under MultiHashMap. It says it has an interface class MultiMap.
I declared a variable MultiMap caves = new MultiHashMap(); which should grant me access to the Method containsValue(java.lang.Object key, java.lang.Object value) (Depreciated). However when I try to call it using cave.containsValue(Object key) is the only one that is listed and not the second one with (Object Key, Value);
Is there another way to use an if statement for:
If Object Key is equal to x and x contains value y is true.