This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<body> | |
<div id="notice"> | |
이 기능을 이용하기 위해서는 facebook에서 권한을 승인해야 합니다. | |
<a href="https://www.facebook.com/v3.2/dialog/oauth? | |
client_id={app-id} | |
&redirect_uri={redirect-uri} | |
&state={state-param} | |
&scope=email"> <!-- 이메일 권한 추가 --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class StringVsSringBuilder { | |
public static void main(String[] args) { | |
String string = ""; | |
StringBuilder stringBuilder = new StringBuilder(); | |
String value = "abcd"; | |
/* String의 '+' 연산 */ | |
long start = System.currentTimeMillis(); | |
for (int i = 0; i < 100000; i++) { | |
string += value; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package _workspace; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import java.util.List; | |
public class Main { | |
public static void main(String[] args) { |