Seemingly Online
close
프로필 배경
프로필 로고

Seemingly Online

  • 카테고리 (571)
    • Language (250)
      • 알고리즘 (100)
      • Java (144)
      • python (2)
      • Kotlin (4)
    • WEB (141)
      • Spring (24)
      • Spring Security (3)
      • Next.js (3)
      • TypeScript (3)
      • JavaScript (45)
      • jQuery (7)
      • CSS (25)
      • XML (3)
      • Maven (1)
      • Gradle (1)
      • JSP (1)
      • Thymeleaf (10)
      • HTML (11)
      • MyBatis (1)
      • JPA (3)
    • App (45)
      • Flutter (34)
      • Dart (4)
      • Android (2)
      • IOS (3)
      • Firebase (2)
    • Git (6)
      • GitHub (6)
    • AWS (15)
      • SCT (2)
      • Amazon Aurora (1)
      • S3 (2)
      • EventBridge (1)
      • EC2 (7)
      • EFS (1)
    • DataBase (44)
      • MySQL (19)
      • Oracle SQL (19)
      • Postgre-SQL (6)
    • OS (33)
      • Linux (27)
      • Windows (1)
      • Mac (5)
    • Tool (15)
      • DocKer (6)
      • Intellij (7)
      • VScode (2)
    • IT (17)
      • Developer-etc (13)
      • 개발상식 (4)
    • CodePen (2)
      • 캐러셀 (2)
  • 홈
  • 방명록
[Java] 중첩된 구조의 JSON 데이터를 DTO 맵핑 방법

[Java] 중첩된 구조의 JSON 데이터를 DTO 맵핑 방법

2023-05-09 1. 방법 사용 라이브러리 : Jackson: https://github.com/FasterXML/jackson GitHub - FasterXML/jackson: Main Portal page for the Jackson project Main Portal page for the Jackson project. Contribute to FasterXML/jackson development by creating an account on GitHub. github.com // https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind implementation group: 'com.fasterxml.jacks..

  • format_list_bulleted Language/Java
  • · 2023. 5. 9.
  • textsms
[Java] DTO to Json 시 null값 제외시키는 방법

[Java] DTO to Json 시 null값 제외시키는 방법

2023-05-08 1. 방법 라이브러리 정보를 추가한다. /* 메이븐 */ com.fasterxml.jackson.core jackson-databind 2.12.3 /* 그레이들 */ dependencies { implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.3' } @JsonInclude 어노테이션을 import 합니다. import com.fasterxml.jackson.annotation.JsonInclude; @JsonInclude 어노테이션을 DTO 클래스에 추가합니다. @JsonInclude(JsonInclude.Include.NON_NULL) public class MyDTO { private String name; pr..

  • format_list_bulleted Language/Java
  • · 2023. 5. 8.
  • textsms
[Java] ConcurrentModificationException 예외 처리 및 원인

[Java] ConcurrentModificationException 예외 처리 및 원인

2023-04-28 1. 원인 This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible. 이 예외는 객체의 동시 수정이 허용되지 않을 때 객체의 동시 수정을 탐지한 방법에 의해 발생할 수 있습니다. For example, it is not generally permissible for one thread to modify a Collection while another thread is iterating over it. In general, the results of the iteration are undefined ..

  • format_list_bulleted Language/Java
  • · 2023. 4. 28.
  • textsms
[Kotlin] 코틀린 Null Safe 알아보기 (null 연산자)

[Kotlin] 코틀린 Null Safe 알아보기 (null 연산자)

2023-04-07 1.?(Elvis Operation) 엘비스 연산자 코틀린에? 엘비스 연산자라고 불리며, 변수의 안전한 호출을 가능하게 해 준다. 아래의 코드에서 str 변수는 타입에? 기호 없이 선언하여 컴파일 단계에서 에러가 발생하는 반면 str_1의 경우 타입에? 를 붙여 에러가 발생하지 않는다. fun main() { var str : String = "Hello World" str = null //error var str_1: String? = "Hello World" str_1 = null //Nullable // val str_2: String? = null print(str_2.toString()) // Logs "null", does not throw an exception } 2. ..

  • format_list_bulleted Language/Kotlin
  • · 2023. 4. 7.
  • textsms
[Java] 자바 구간합 구하는 방법 알아보기

[Java] 자바 구간합 구하는 방법 알아보기

2023-03-24 1. 방법 우선 주어진 배열과 동일한 크기의 배열을 생성해 준다. 해당 주어진 배열을 1회 순회하며, 새로운 배열(sumArr)에 sumArr [i-1] + arr [i] 공식으로 대입해 주면 된다. 이후에 주어진 구간합을 구할때는 구간 끝 - 구간시작-1 공식을 이용하면 기존 배열을 다시 반복 순회하지 않아도 답을 도출할 수 있다. static int [] sumArr; @Test public void test(){ int [] arr = new int [] {4,5,13,43,22,1,5,7,8}; sumArr = new int [arr.length]; sumArr[0] = arr[0];//구간합 첫번째 인자 셋팅 //구간합 구하기 for(int i = 1; i < arr.leng..

  • format_list_bulleted Language/Java
  • · 2023. 3. 24.
  • textsms
[Java] 숫자형 배열에서 다음 큰 수 찾는 방법

[Java] 숫자형 배열에서 다음 큰 수 찾는 방법

2023-03-23 1. 방법 스택을 사용하면 해결을 할 수 있다. 주어진 숫자형 배열의 인덱스를 스택에 저장하고 각 인덱스 마다 비교하여 다음 큰 수를 찾을 수 있다. public int[] test(int[] numbers) { Stack stack = new Stack(); int[] answer = new int[numbers.length]; for (int i = 0; i 스택최상단인덱..

  • format_list_bulleted Language/Java
  • · 2023. 3. 23.
  • textsms
  • navigate_before
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • ···
  • 42
  • navigate_next
공지사항
전체 카테고리
  • 카테고리 (571)
    • Language (250)
      • 알고리즘 (100)
      • Java (144)
      • python (2)
      • Kotlin (4)
    • WEB (141)
      • Spring (24)
      • Spring Security (3)
      • Next.js (3)
      • TypeScript (3)
      • JavaScript (45)
      • jQuery (7)
      • CSS (25)
      • XML (3)
      • Maven (1)
      • Gradle (1)
      • JSP (1)
      • Thymeleaf (10)
      • HTML (11)
      • MyBatis (1)
      • JPA (3)
    • App (45)
      • Flutter (34)
      • Dart (4)
      • Android (2)
      • IOS (3)
      • Firebase (2)
    • Git (6)
      • GitHub (6)
    • AWS (15)
      • SCT (2)
      • Amazon Aurora (1)
      • S3 (2)
      • EventBridge (1)
      • EC2 (7)
      • EFS (1)
    • DataBase (44)
      • MySQL (19)
      • Oracle SQL (19)
      • Postgre-SQL (6)
    • OS (33)
      • Linux (27)
      • Windows (1)
      • Mac (5)
    • Tool (15)
      • DocKer (6)
      • Intellij (7)
      • VScode (2)
    • IT (17)
      • Developer-etc (13)
      • 개발상식 (4)
    • CodePen (2)
      • 캐러셀 (2)
최근 글
인기 글
최근 댓글
태그
  • #자바알고리즘
  • #backjoon
  • #백준알고리즘
  • #BOJ
  • #백준
  • #Java
  • #Java8
  • #자바기초
  • #자바
  • #자바공부
전체 방문자
오늘
어제
전체
Copyright © seemingljy All rights reserved.

티스토리툴바