๊ธฐ์กด ์ฝ๋๋ฅผ ํด๋ผ์ด์ธํธ๊ฐ ์ฌ์ฉํ๋ ์ธํฐํ์ด์ค์ ๊ตฌํ์ฒด๋ก ๋ฐ๊ฟ์ฃผ๋ ํจํด

์ฅ์
- ๊ธฐ์กด ์ฝ๋๋ฅผ ๋ณ๊ฒฝํ์ง ์๊ณ ์ํ๋ ์ธํฐํ์ด์ค ๊ตฌํ์ฒด๋ฅผ ๋ง๋ค์ด ์ฌ์ฌ์ฉํ ์ ์๋ค
- ๊ธฐ์กด ์ฝ๋๊ฐ ํ๋ ์ผ๊ณผ ํน์ ์ธํฐํ์ด์ค ๊ตฌํ์ฒด๋ก ๋ณํํ๋ ์์ ์ ๊ฐ๊ธฐ ๋ค๋ฅธ ํด๋์ค๋ก ๋ถ๋ฆฌํ์ฌ ๊ด๋ฆฌํ ์ ์๋ค.
๋จ์
- ์ ํด๋์ค๊ฐ ์๊ฒจ ๋ณต์ก๋๊ฐ ์ฆ๊ฐํ ์ ์๋ค. ๊ฒฝ์ฐ์ ๋ฐ๋ผ์๋ ๊ธฐ์กด ์ฝ๋๊ฐ ํด๋น ์ธํฐํ์ด์ค๋ฅผ ๊ตฌํํ๋๋ก ์์ ํ๋ ๊ฒ์ด ์ข์ ์ ํ์ด ๋ ์๋ ์๋ค.
// collections
List<String> strings = Arrays.asList("a","b","c");
Enumeration<String> enumeration = Collections.enumeration(strings);
ArrayList<String> list = Collections.list(enumeration);
// io
try(InputStream is = new FileInputStream("input.txt");
InputStreamReader isr = new InputStreamReader(is);
BufferedReader reader = new BufferedReader(isr)){
}catch(IOException e){
throw new RuntimeException(e);
}
// Spring Security
Spring MVC
HandlerAdapter handlerAdapter = new RequestMappingHandlerAdapter();


| ๋น๋ํจํด ์ง์ ๊ตฌํํด๋ณด๊ธฐ (0) | 2024.11.05 |
|---|---|
| [๋์์ธํจํด] ํฉํฐ๋ฆฌํจํด (0) | 2024.05.05 |
| [๋์์ธํจํด] ์ฑ๊ธํด ํจํด (0) | 2024.05.01 |
| [๋์์ธํจํด์ ์๋ฆ๋ค์] 3์ฅ. ์ค๊ณ ์์น : ๋จ์ผ์ฑ ์์์น, ๊ฐ๋ฐฉํ์ ์์น (0) | 2024.04.20 |