티스토리 뷰
java.util.Collection 인터페이스
public interface Collection {
public boolean add(Object object);
public boolean addAll(Collection collection);
public void clear();
public boolean contains(Object object);
public boolean containsAll(Collection collection);
public boolean equals(Object object);
public int hashCode();
public boolean isEmpty();
public Iterator iterator();
public boolean remove(Object object);
public boolean removeAll(Collection collection);
public boolean retainAll(Collection collection);
public int size();
public Object[] toArray();
public Object[] toArray(Object[] objects);
}
메소드 | 집합연산 |
x.addAll(y) | 합집합 |
x.contains(y) | 부분집합 |
x.removeAll(y) | 상대 보수 |
x.retainAll(y) | 교집합 |
'기초부터 다지자! > Java' 카테고리의 다른 글
[자료구조] LinkedCollection 클래스 (0) | 2020.01.11 |
---|---|
[자료구조]-Stack (0) | 2019.12.21 |
[자료구조] LinkedList - BigInt클래스 실습 (0) | 2019.12.20 |
Buffer를 이용한 자바 입출력 (0) | 2019.11.18 |
Java Naming Conventions (0) | 2019.06.08 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- CLion 한글
- 복붙하기
- 배열 메모리 할당
- C언어 배열 선언
- C언어 한글 깨짐
- printf문 연산자
- 계산 순서
- python list 팁
- 증감연산자 계산 순서
- 필드 폭 지정
- printf 계산 순서
- MinGW 한글
- printf 스택
- manifest 의미
- c언어 공백 출력
- CLion 한글 깨짐
- 배열 메모리
- 배열 주의사항
- 백준
- 연산 순서
- 모바일 앱 설계
- res 의미
- MinGW 한글 깨짐
- 윈도우 복붙
- c언어 필드 폭지정
- 다이나믹 프로그래밍
- 앱 프로그래밍
- C언어 한글
- 안스 프로젝트 구조
- C언어 printf문
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함