package prj190716; import java.lang.reflect.Array; import java.util.*; class Student implements Comparable{ String name= ""; int id = 0; double score = 0; boolean test = false; @Override public int compareTo(Student stu) {//Type object를 받아서 return값을 던지는데 if(test != true) return (int)score - (int)stu.score; // id순으로 정렬할거라 어떤것이 큰지 비교한다. 양수/0/음수 로 비교함. 0이면 같다, 양수면 크다, 음수면 작다 판단, 기본 오름차순 else return..
package prj190716; //@FunctionalInterface //interface F { //functional Interface 함수형 인터페이스 //int p(int b, int c); //} @FunctionalInterface interface Myf{ public abstract void myMethod(int a); } public class RamdaTest { public static void aMethod(Myf f) { f.myMethod(5); } public static void main(String[] args) { ////F a = (int b) -> System.out.println("호출"); //함수형 자료타입 , 함수를 가리키는 주소 저장 (함수의 파라미터 ..
package prj190716; import java.util.*; import java.util.stream.*; public class RamdaListtest { public static void main(String[] args) { List numberList = new ArrayList(); numberList.add(10); numberList.add(11); numberList.add(12); numberList.add(13); numberList.add(14); numberList.add(15); //List evenNumerListObj = numberList.stream() stream 객체 생성하는 구문 // 뒤에 따라오는 기능을 할 수 있도록 하는 것. List evenNumer..
- Total
- Today
- Yesterday
- IntelliJ #gradle #tomcat #spring #springmvc
- 정규식 숫자만
- POI EXCEL
- 엑셀다운로드
- mybatis
- jQuery
- Failed to load resource: the server responded with a status of 404 (Not Found)
- spring error #
- JSON날짜
- Regex
- PageNotFound - No mapping for GET
- spring 엑셀
- js
- 이메일 정규식
- 공백찾기
- ''찾기
- JSON
- poi 엑셀
- Spring
- no getter for property named
- 정규식 특수문자
- poi
- JSON파싱
- 계좌번호정규식
- select제어
- 인텔리제이
- 정규식 한글만
- selectbox
- SpringXmlModelInspection
- 정규식
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |