자바 HashMap.remove()

1 개요[ | ]

자바 HashMap.remove()
HashMap<String,Object> member = new HashMap<String,Object>();
member.put("ID", "102");
member.put("Name", "YONEZAWA Akinori");
member.put("Address", "Naha, Okinawa");

System.out.println( member );
// {Address=Naha, Okinawa, ID=102, Name=YONEZAWA Akinori}
member.remove("Name");
System.out.println( member );
// {Address=Naha, Okinawa, ID=102}

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}