|
|
@ -86,7 +86,17 @@ public class SimpleArrayMap<K, V> implements ISimpleMap<K, V> { |
|
|
|
|
|
|
|
@Override |
|
|
|
public boolean contains(V v) { |
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
if (v == null) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
for (int i = 0; i < values.length; i++) { |
|
|
|
if (v.equals(values[i])) { |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|