Am I developer?!

  • 홈
  • Docker

BACK-END/Java 3

How to get the foreach index in java.

1. Array with Index Generate the index with IntStream.range. JavaListWithIndex.java package com.mkyong.java8; import java.util.List; import java.util.stream.Collectors; import java.util.stream.IntStream; public class JavaArrayWithIndex { public static void main(String[] args) { String[] names = {"Java", "Node", "JavaScript", "Rust", "Go"}; List collect = IntStream.range(0, names.length) .mapToOb..

BACK-END/Java 2022.01.15

replace what?!

여러 정보를 취합할때 ":" 혹은 "."과 같은 정보를 빼고 PlainText정보만 취합하고자 할때가 있다. toString().replace("-",""); 이런식으로 해도 무방하다. 여러개 하고 싶다면 .replace("타켓","변경하고자하는 text") public static String localDateTimeToPlainText(LocalDateTime localDateTime) { return localDateTime.toString() .replace("-", "") .replace(":", "") .replace(".", ""); } 이런식으로 하면 LocalDateTime에 빼고 싶은 내용을 없앨수 있다.

BACK-END/Java 2022.01.14

Qrcode & barcode 생성

--참고 https://www.baeldung.com/java-generating-barcodes-qr-codes https://github.com/zxing/zxing GitHub - zxing/zxing: ZXing ("Zebra Crossing") barcode scanning library for Java, Android ZXing ("Zebra Crossing") barcode scanning library for Java, Android - GitHub - zxing/zxing: ZXing ("Zebra Crossing") barcode scanning library for Java, Android github.com https://iheeeee6-6.tistory.com/5

BACK-END/Java 2022.01.12
이전
1
다음
더보기
프로필사진

Am I developer?!

#Java #React #JavaScript 개발쪽에 관심이 있습니다.

공지사항

최근글과 인기글

  • 최근글
  • 인기글
  • 분류 전체보기 (51)
    • BACK-END (7)
      • Spring boot (2)
      • Java (3)
      • JPA (1)
      • Python (0)
      • NodeJs (0)
    • FRONT-END (2)
      • React (2)
      • JavaScript (0)
      • HTML (0)
      • jQuery (0)
      • Thymeleaf (0)
    • NETWORK (1)
      • CI (0)
    • ERROR (18)
      • Security (1)
      • react (4)
    • DBMS (1)
      • ORACLE (0)
      • MySQL (0)
    • TIPS (2)
    • STUDY (11)
      • SQLD (5)
      • 자격증 (2)
    • NAS (0)
    • DOCKER (9)

Calendar

«   2025/08   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • Github
  • React
  • 모던 JavaScript
  • netlify
  • mui

티스토리툴바