Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- ElasticSearch 동의어 사전
- 인텔리제이
- Spring Handler
- Servlet Container란
- 자바
- ElasticSearch EdgeNGram
- Java
- ElasticSearch 동의어 파일
- 안드로이드
- H2
- 토큰필터
- Servlet 멀티 스레딩
- 동의어 파일
- spring 장점
- layout
- Dispathcher Servlet이란
- Spring Container란
- ContextLoaderListener란
- ElasticSearch 토큰필터
- ElasticSearch Shingle
- Bean Factory란
- Servlet Life Cycle
- elasticSearch
- ApplicationContext란
- ElasticSearch NGram
- 안드로이드스튜디오
- Servlet과 Thread
- Spring Servlet이란
- H2 DB
- 계산기
Archives
- Today
- Total
목록queue (1)
결국 무엇이든 해내는 사람
Java - queue 구현하기
package queue; public class MyQueue { private Object[] queue; private int size = 0; private int rear = -1; private int front = -1; public MyQueue(int size) { this.size = size; this.queue = new Object[size];// 사이즈 만큼 큐 생성 } public void enQueue(Object data) { // 먼저 큐가 꽉 차있는지를 검사 if(isFull()) { throw new QueueOverflow(); } queue[++rear] = data; } public Object deQueue() { // 먼저 큐가 비어있는지를 검사 if(isEm..
두서없는 공부 노트/JAVA
2021. 3. 1. 01:15