자료구조 직접 구현 해보기2 - ArrayList (Feat. Java)


지난번에 이어서, 이번에는 ArrayList를 허접하게 구현해보았다.
제너릭을 사용했고, Iterable 인터페이스를 구현하여, iterator를 오버라이딩하여
foreach문을 사용할 수 있도록 했다.
제너릭이기 때문에 static class로 Developer 클래스를 만들어서 테스트를 해보았다.
이상 허접한 블로깅..



댓글

이 블로그의 인기 게시물

Spring Boot Actuator readiness, liveness probes on k8s

About idempotent

About JVM Warm up

About G1 GC

About Kafka Basic

sneak peek jitpack

About ZGC

HackerRank Java Between Two Sets

Optimistic Concurrency Control VS Pessimistic Concurrency Control - What should i choose?

I need to know a little JVM