@Test public void shouldReturnFalseIfKeyIsNotPresent() { final Map<String, String> buildFrom = new HashMap<>(); buildFrom.put("0", "_0"); buildFrom.put("A", "_A"); buildFrom.put("AA", "_AAA"); final CharArrayMap<String> charArrayMap = new CharArrayMap<>(buildFrom); final char[] data = {'0', ' ', 'A', 'B'}; final CharArrayWrapper wrapper = new CharArrayWrapper(); wrapper.wrap(data, 2, 2); assertFalse(charArrayMap.containsKey(wrapper)); }
public boolean containsKey(final CharArrayWrapper key) { return map.containsKey(key); }
CharArrayMap { public boolean containsKey(final CharArrayWrapper key) { return map.containsKey(key); } }
CharArrayMap { public boolean containsKey(final CharArrayWrapper key) { return map.containsKey(key); } CharArrayMap(final Map<String, V> buildFrom); }
CharArrayMap { public boolean containsKey(final CharArrayWrapper key) { return map.containsKey(key); } CharArrayMap(final Map<String, V> buildFrom); V get(final CharArrayWrapper key); boolean containsKey(final CharArrayWrapper key); }
CharArrayMap { public boolean containsKey(final CharArrayWrapper key) { return map.containsKey(key); } CharArrayMap(final Map<String, V> buildFrom); V get(final CharArrayWrapper key); boolean containsKey(final CharArrayWrapper key);  }