Claire's Study Note

[Think Data Structures] 00. ๊ณต๋ถ€ ์ค€๋น„ํ•˜๊ธฐ

by Hi.Claire
๋ฐ˜์‘ํ˜•

[Think Data Structures : ์ž๋ฐ”๋กœ ๋ฐฐ์šฐ๋Š” ํ•ต์‹ฌ ์ž๋ฃŒ๊ตฌ์กฐ์™€ ์•Œ๊ณ ๋ฆฌ์ฆ˜]

๐Ÿ“š ์›น ๊ฒ€์ƒ‰์ด๋ผ๋Š” ์ฃผ์ œ ์•„๋ž˜ ์ž๋ฐ” ์ž๋ฃŒ๊ตฌ์กฐ์˜ ํ™œ์šฉ ๋ฐฉ๋ฒ•(์ธํ„ฐํŽ˜์ด์Šค)๊ณผ ๋™์ž‘ ๋ฐฉ์‹(๊ตฌํ˜„์‚ฌํ•ญ)์— ๋Œ€ํ•ด ๋‹ค๋ฃจ๋Š” ์ฑ…

โœ๏ธ ์ฑ… ์ฝ์œผ๋ฉฐ ๊ณต๋ถ€ํ•œ ๋‚ด์šฉ์„ ๋ธ”๋กœ๊ทธ์— ์ •๋ฆฌํ•˜๊ณ ์ž ํ•œ๋‹ค.

 

00. ๊ณต๋ถ€ ์ค€๋น„ํ•˜๊ธฐ

00-1. ์‚ฌ์ „ ์ค€๋น„์‚ฌํ•ญ

์ด ์ฑ…์„ ์ฝ๊ธฐ ์ „์— ์‚ฌ์ „ ์ง€์‹์œผ๋กœ ์•Œ๊ณ  ์žˆ์–ด์•ผ ํ•  ๋‚ด์šฉ๋“ค์„ ์ •๋ฆฌํ–ˆ๋‹ค.

๋งŒ์•ฝ ์ž๋ฐ” ์–ธ์–ด๊ฐ€ ์ต์ˆ™ํ•˜์ง€ ์•Š๋‹ค๋ฉด ๋‹ค์Œ ๋‘ ์ฑ…์„ ์ฐธ๊ณ ํ•˜๋ฉด ๋œ๋‹ค.

 

  • Think Java(2016, O'Reilly Media)
  • Head First Java(2005, ํ•œ๋น›๋ฏธ๋””์–ด)

 

1. ์ธํ„ฐํŽ˜์ด์Šค๋ž€ ๋ฌด์—‡์ธ๊ฐ€?

http://thinkdast.com/interface

 

What Is an Interface? (The Java™ Tutorials > Learning the Java Language > Object-Oriented Programming Conc

The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available. See Java Language Changes for a summary of updated

docs.oracle.com

 

2. ํƒ€์ž… ํŒŒ๋ผ๋ฏธํ„ฐ์™€ ์ œ๋„ค๋ฆญ ํƒ€์ž…

http://thinkdast.com/types

 

Generic Types (The Java™ Tutorials > Learning the Java Language > Generics (Updated))

The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available. See Java Language Changes for a summary of updated

docs.oracle.com

 

3. ์ž๋ฐ” ์ปฌ๋ ‰์…˜ ํ”„๋ ˆ์ž„์›Œํฌ(JCF : Java Collections Framework)

http://thinkdast.com/collections

 

Collections (Java Platform SE 8 )

Rotates the elements in the specified list by the specified distance. After calling this method, the element at index i will be the element previously at index (i - distance) mod list.size(), for all values of i between 0 and list.size()-1, inclusive. (Thi

docs.oracle.com

ํŠนํžˆ List ์ธํ„ฐํŽ˜์ด์Šค์™€ ArrayList, LinkedList ํด๋ž˜์Šค๋ฅผ ์•Œ์•„์•ผ ํ•œ๋‹ค.

 

4. ์ž๋ฐ” ์ž๋™ํ™” ๋นŒ๋“œ ๋„๊ตฌ, ์•„ํŒŒ์น˜ ์•คํŠธ(Apache Ant)

http://thinkdast.com/anttut

 

Tutorial: Hello World with Apache Ant

Tutorial: Hello World with Apache Ant This document provides a step by step tutorial for starting Java programming with Apache Ant. It does not contain deeper knowledge about Java or Ant. This tutorial has the goal to let you see, how to do the easiest ste

ant.apache.org

 

5. ์ž๋ฐ” ์œ ๋‹› ํ…Œ์ŠคํŠธ ํ”„๋ ˆ์ž„์›Œํฌ, JUnit

http://thinkdast.com/junit

 

Getting started

A programmer-oriented testing framework for Java. Contribute to junit-team/junit4 development by creating an account on GitHub.

github.com

 

00-2. ์˜ˆ์ œ ์ฝ”๋“œ

https://github.com/yudong80/ThinkDataStructures

 

GitHub - yudong80/ThinkDataStructures: LaTeX source and supporting code for Think Data Structures: Algorithms and Information Re

LaTeX source and supporting code for Think Data Structures: Algorithms and Information Retrieval in Java - GitHub - yudong80/ThinkDataStructures: LaTeX source and supporting code for Think Data Str...

github.com

์˜ˆ์ œ ์ฝ”๋“œ์—์„œ ์‚ฌ์šฉํ•œ ์ž๋ฐ” ๋ฒ„์ „ : 7

์‹ค์Šต์šฉ ์ฝ”๋“œ๋Š” Ant๋ฅผ ํ™œ์šฉํ•˜๊ฑฐ๋‚˜ IntelliJ IDEA๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋„๋ก 2๊ฐ€์ง€ ๋ฒ„์ „์œผ๋กœ ์ œ๊ณต๋˜๋ฉฐ ํ•ด๋‹ต ์ฝ”๋“œ๋„ ํฌํ•จ๋˜์–ด ์žˆ๋‹ค.

 

00-3. ์ด ์ฑ…์—์„œ ๋‹ค๋ฃจ๋Š” ์ฃผ์ œ

  • ์ž๋ฃŒ๊ตฌ์กฐ : ์ž๋ฐ” ์ปฌ๋ ‰์…˜ ํ”„๋ ˆ์ž„์›Œํฌ ๊ตฌ์กฐ๋กœ ์‹œ์ž‘ํ•˜์—ฌ List, Map๊ณผ ๊ฐ™์€ ์ž๋ฃŒ๊ตฌ์กฐ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๋ฐฉ๋ฒ•๊ณผ ์ด๋“ค์ด ์–ด๋–ป๊ฒŒ ๋™์ž‘ํ•˜๋Š”์ง€๋ฅผ ์•Œ์•„๋ณธ๋‹ค.
  • ์•Œ๊ณ ๋ฆฌ์ฆ˜ : ์ฝ”๋“œ๋ฅผ ๋ถ„์„ํ•˜๊ณ  ์ด ์ฝ”๋“œ๊ฐ€ ์–ผ๋งˆ๋‚˜ ๋น ๋ฅด๊ฒŒ ๋™์ž‘ํ•˜๋Š”์ง€(์‹œ๊ฐ„๋ณต์žก๋„)์™€ ์–ผ๋งˆ๋‚˜ ๋งŽ์€ ๊ณต๊ฐ„(๋ฉ”๋ชจ๋ฆฌ)์ด ํ•„์š”ํ•œ์ง€(๊ณต๊ฐ„๋ณต์žก๋„)๋ฅผ ์˜ˆ์ธกํ•ด ๋ณธ๋‹ค.
  • ์ •๋ณด ๊ฒ€์ƒ‰ : ์ž๋ฃŒ๊ตฌ์กฐ์™€ ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ํ™œ์šฉํ•˜์—ฌ ๊ฐ„๋‹จํ•œ ์›น ๊ฒ€์ƒ‰ ์—”์ง„์„ ๋งŒ๋“ค์–ด ๋ณธ๋‹ค. ์ด ๊ฒ€์ƒ‰ ์—”์ง„์€ ํŽ˜์ด์ง€๋ฅผ ์ฐพ๊ณ  ์ฝ๋Š” ํฌ๋กค๋Ÿฌ(Crawler)์™€ ํšจ์œจ์ ์œผ๋กœ ์ฐพ์„ ์ˆ˜ ์žˆ๋„๋ก ์›น ํŽ˜์ด์ง€ ๋‚ด์šฉ์„ ์ €์žฅํ•˜๋Š” ์ธ๋ฑ์„œ(Indexer), ์‚ฌ์šฉ์ž ์งˆ์˜๋ฅผ ๋ฐ›์•„์„œ ์—ฐ๊ด€ ๊ฒฐ๊ณผ๋ฅผ ๊ฐ€์ ธ์˜ค๋Š” ๊ฒ€์ƒ‰๊ธฐ(Retriever)๋ฅผ ํฌํ•จํ•œ๋‹ค.

 

๊ธฐ๋ณธ๋ถ€ํ„ฐ ์ฐจ๊ทผ์ฐจ๊ทผ ์—ด์‹ฌํžˆ ํ•˜์ž๐Ÿ‘Š

๋ฐ˜์‘ํ˜•

๋ธ”๋กœ๊ทธ์˜ ์ •๋ณด

Claire's Study Note

Hi.Claire

ํ™œ๋™ํ•˜๊ธฐ