http://chans.tistory.com/58 java.sun.com에 아래와 같은 java의 Gerneric에 대한 설명 문서가 있습니다. Generics in the Java Programming Language -------------------------------------------------------------------- 아래는 문서를 읽고 그냥 적어본 것이니 내용이 반드시 정확한 것은 아닙니다. 틀린 부분이 있다면 지적해주세요. 위 문서는 java의 generics에 대한 설명입니다. JDK 1.5부터 Gernerics라는 개념이 추가되었습니다. type을 명확하게 정하지 않고도 type을 처리할 수 있는 C++의 템플릿과 비슷한 기능으로 사용법은 비슷합니만 다른 점은 사이에 들어가..
import java.text.*; String str = new DecimalFormat ( "###,###.###" ).format ( 123456.789 ); //결과 123,456.789 String str = new DecimalFormat ( "###,###.###;-"###,###.###" ).format ( -123456.789 ); //결과 -123,456.789 String str = new DecimalFormat ( "###,###.##" ).format ( 123.456 ); //결과 123.45 String str = new DecimalFormat ( "###.###%" ).format ( 0.123 ); //결과 12.3% String str = new DecimalForma..
import java.io.*; import java.net.*; import java.util.*; import java.util.regex.*; public class GetMac { public static void main(String[] args) throws IOException { String address = new GetMac().getMacAddress(); System.out.println(address); } public String getMacAddress() throws IOException { String macAddress = null; String command = "ipconfig /all"; Process pid = Runtime.getRuntime().exec(comm..
- Total
- Today
- Yesterday
- 한글유니코드
- CSS
- ie6과 ie7 같이 사용하기 multi ie
- erwin Schema Generation 시 필드 순서
- imagemagick
- MySQL
- tomcat
- 구글수표
- 간식송
- 이미지리사이즈
- 커플링
- wii wi-fi 51330
- TinyMCE
- trac
- JEUS
- oracle
- svn
- 연도
- 자블라니
- jQuery
- Java
- 공인구
- eclipse plugin
- ERwin
- 아디다시
- Ant
- java 엑셀
- log4j
- 기아짤방
- 김치송
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |