HashMap HashMap is not thread-safe which allows you faster speed than HashTable. HashMap doesn't allow insertion order. *Use LinkedHashMap to preserve the fixed order. key doesn't allow duplicate key, but for value, duplication is allowed. put() - key, value map에 입력 get() - key를 전달해야 그 key의 value가 반환된다. remove() - 해당 key의 key와 value 삭제 Example Code import java.util.*; public class Main { public ..
Collection Framework collection framework is a collection providing an architecture to store the group of objects.Java primitive types are not considered objects. Since Java collections only store objects, primitive types are not allowed to store. Thus, we need wrapper class or autoboxing to store data. Interfaces - Set,List,Queue,DequeClasses - ArrayList, Vector, LinkedList,HashSet,LinkedHashSe..
- Total
- Today
- Yesterday
- algorithm
- 프로그래머스 알고리즘
- HackerRank Algorithm
- hackerrank solution
- HashMap
- hackerrank
- Collection Framework
- rest parameter
- 알고리즘
- C++
- ... in Javascript
- math.abs
- repeat()
- spring boot application
- compareTo()
- java
- code refactoring
- substring()
- string class in java
- Javascript Algorithm
- 프로그래머스 알고리즘문제
- javascript
- 프로그래머스
- hackerrank javascript solution
- easy algorithm
- equals()
- Object type casting
- math.max
- hackerrank javascript
- easy javascript algorithm
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |