18 package org.turro.contacts;
20 import java.util.ArrayList;
21 import java.util.Collection;
22 import java.util.HashSet;
35 this.contact = contact;
51 if(c.getComment().contains(key.toString())) {
60 throw new UnsupportedOperationException(
"Not supported yet.");
66 if(!c.isEmpty() && c.getComment().contains(key.toString())) {
75 throw new UnsupportedOperationException(
"Not supported yet.");
80 throw new UnsupportedOperationException(
"Not supported yet.");
84 public void putAll(Map<? extends String, ? extends Comment> m) {
85 throw new UnsupportedOperationException(
"Not supported yet.");
90 throw new UnsupportedOperationException(
"Not supported yet.");
95 throw new UnsupportedOperationException(
"Not supported yet.");
99 public Collection<Comment>
values() {
100 Collection<Comment> list =
new ArrayList<>();
109 HashSet<Entry<String, Comment>>
set =
new HashSet();
111 set.add(
new Entry<String, Comment>() {
113 public String getKey() {
114 return c.getComment();
122 throw new UnsupportedOperationException(
"Not supported yet.");