Java Tuning 이야기2

Reading time ~1 minute

Java 클래스의 정보 추출하기

public static void printClasDetial(Object object) {
  	Class clas = object.getClass();

  	System.out.println("Class Name : "+clas.getName());

  	System.out.println("\n====Class Fields====");
  	Field[] fields = clas.getFields();
  	for ( Field f : fields )
  		System.out.println(f.getName());

  	System.out.println("\n====Class Methods====");
  	Method[] methods = clas.getMethods();
  	for (Method method : methods )
  		System.out.println(method);
}

List Map 연산 속도 측정

  • 측정환경
  • Mac OS 10.12.3
  • Intel i5 2.7 GHz
  • 8 GB

java_benchmark

Dooray!

Dooray CalDav, IMAP 사용법 Continue reading

Vue.js

Published on February 10, 2018

Java_tuning5

Published on March 06, 2017