Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
a6d9389
setting:프로젝트 초기 세팅
jay-so Jun 6, 2023
36af495
setting:프로젝트 초기 세팅
jay-so Jun 7, 2023
08c5860
rename:프로젝트 클래스명 변경
jay-so Jun 8, 2023
2de006b
rename: 프로젝트의 클래스명 재변경
jay-so Jun 8, 2023
4ca6c43
feat:실행 클래스와 콘솔 클래스 분리
jay-so Jun 10, 2023
ea35d5e
feat: 우선순위 클래스 구현
jay-so Jun 10, 2023
aea03c4
Conf 🔧: 프로젝트 .gitinore 설정 수정
jay-so Jun 11, 2023
f00a925
feat:입/출력 I/O 분리
jay-so Jun 11, 2023
708f96d
fix:매직넘버를 enum으로 분리
jay-so Jun 11, 2023
a6a5bb5
Move:Enums 패키지 경로 변경
jay-so Jun 11, 2023
2ccdfb1
feat: 연산 기능을 수행하는 Model 패키지 & 클래스 생성
jay-so Jun 11, 2023
4ed7169
feat: Console 로직 구현
jay-so Jun 11, 2023
18b15de
rename: enum 요소 이름 수정
jay-so Jun 12, 2023
6a15272
fix: ConsoleMenu 추가
jay-so Jun 12, 2023
9f10e57
feat:Parser 구현
jay-so Jun 12, 2023
26d9a53
fix: Application 수정
jay-so Jun 12, 2023
f843bb8
fix: Operator 구현
jay-so Jun 12, 2023
979514d
Remove: Parser 클래스 삭제
jay-so Jun 14, 2023
1172864
fix: enum 클래스 수정
jay-so Jun 14, 2023
36c7c8e
fix: enum 클래스 수정
jay-so Jun 14, 2023
540f883
refactor: 입출력 I/O 수정
jay-so Jun 14, 2023
fbef879
feat: 후위 표기법 & 정규화 구현
jay-so Jun 14, 2023
165784a
feat: Validation 구현
jay-so Jun 14, 2023
32d29a9
refactor: Memorizer 리팩토링
jay-so Jun 14, 2023
987a6d1
refactor: Application 리팩토링
jay-so Jun 14, 2023
fb442a7
refactor: Console 리팩토링
jay-so Jun 14, 2023
63b48e8
feat: Calculator 클래스 구현
jay-so Jun 14, 2023
7729ce5
remove : Operator 클래스 삭제
jay-so Jun 14, 2023
70de99f
remove :파일경로 변경으로 인한 중복된 Application,Console 삭제
jay-so Jun 18, 2023
e97a848
Update README.md
jay-so Jun 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
174 changes: 174 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
# Created by https://www.toptal.com/developers/gitignore/api/java,intellij,gradle
# Edit at https://www.toptal.com/developers/gitignore?templates=java,intellij,gradle

### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# AWS User-specific
.idea/**/aws.xml

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# SonarLint plugin
.idea/sonarlint/

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

### Intellij Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
# https://plugins.jetbrains.com/plugin/7973-sonarlint
.idea/**/sonarlint/

# SonarQube Plugin
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
.idea/**/sonarIssues.xml

# Markdown Navigator plugin
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
.idea/**/markdown-navigator.xml
.idea/**/markdown-navigator-enh.xml
.idea/**/markdown-navigator/

# Cache file creation bug
# See https://youtrack.jetbrains.com/issue/JBR-2257
.idea/$CACHE_FILE$

# CodeStream plugin
# https://plugins.jetbrains.com/plugin/12206-codestream
.idea/codestream.xml

# Azure Toolkit for IntelliJ plugin
# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij
.idea/**/azureSettings.xml

### Java ###
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*

### Gradle ###
.gradle
**/build/
!src/**/build/
build.gradle
settings.gradle
.idea
.gradle

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Avoid ignore Gradle wrappper properties
!gradle-wrapper.properties

# Cache of project
.gradletasknamecache

# Eclipse Gradle plugin generated files
# Eclipse Core
.project
# JDT-specific (Eclipse Java Development Tools)
.classpath

### Gradle Patch ###
# Java heap dump
*.hprof

# End of https://www.toptal.com/developers/gitignore/api/java,intellij,gradle
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
### 요구사항
- 콘솔로 구현입니다.(스윙으로 구현하시는 분들 계실까봐)
- 객체지향적인 코드로 계산기 구현하기
- [ ] 더하기
- [ ] 빼기
- [ ] 곱하기
- [ ] 나누기
- [ ] 우선순위(사칙연산)
- [x] 더하기
- [x] 빼기
- [x] 곱하기
- [x] 나누기
- [x] 우선순위(사칙연산)
- [ ] 테스트 코드 구현하기
- [ ] 계산 이력을 맵으로 데이터 저장기능 만들기
- [x] 계산 이력을 맵으로 데이터 저장기능 만들기
- 애플리케이션이 동작하는 동안 데이터베이스 외에 데이터를 저장할 수 있는 방법을 고안해보세요.
- (선택) 정규식 사용
- [x] 정규식 사용

### 실행결과(콘솔)
```
Expand Down
19 changes: 19 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
plugins {
id 'java'
}

group 'org.example'
version '1.0-SNAPSHOT'

repositories {
mavenCentral()
}

dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}

test {
useJUnitPlatform()
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading