일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- JavaScript
- Network
- kubeadm
- java
- PostgreSQL
- tcp
- ip
- Kafka
- EC2
- AWS
- log
- Packet
- Trino
- zookeeper
- airflow
- CVAT
- kubernetes
- Python
- Operating System
- grafana
- CSV
- kubectl
- Spring
- helm
- MAC address
- aws s3
- OS
- docker
- Vision
- jvm
- Today
- Total
목록ArrayList (2)
JUST WRITE

이 글은 Baeldung 사이트 'A Guide to the Java LinkedList'를 해석, 정리한 글입니다. LinkedList LinkedList는 Java Collections Framework 중에 하나이다. List와 Deque Interface를 상속받아 구현된 Class이다. LinkedList 특징 Indexing을 할 때 시작이나 끝 중 가까운 곳에서 실행 비동기(not synchronized) Iterator, ListIterator 모두 fail-fast 모든 Element가 이전, 다음 Element를 참조 삽입된 순서를 유지 LinkedList가 Collections.synchronizedList Method를 사용하면 synchronized 하게 할 수 있다. List l..

이 글은 Baeldung 사이트 'Guide to the Java ArrayList'를 해석, 정리한 글입니다. ArrayList ArrayList는 Java Collections Framework 중에 하나이다. Java Core Library로 사용하려면 import문만 추가해주면 된다. import java.util.ArrayList; List Interface를 상속받아 Array를 기반으로 정의된 Class이다. ArrayList의 Element를 추가/삭제할 때마다 동적으로 크기가 변합니다. ArrayList 시간복잡도 Random Access => O(1) 할부 시간 복잡도(amortized time complexity) 관점에서 Element 추가 => O(1) Element 추가/삭제 =..