Skip to content

Commit

Permalink
naruhodo
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaddict committed Oct 31, 2014
1 parent 8983baa commit 516169a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions fxxkCode/CallByReference.java
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
import java.util.HashMap;
import java.util.Map;

public class CallByReference.java {
public class CallByReference {

public static void main(String[] args) {
System.out.println(111111);
System.out.println(1111112);
fxxk1();
}

private static void fxxk1() {
Map<Integer, String> fxxk = new HashMap<Integer, String>(2);
fxxk.put(0, "素晴らしい格納");
fxxk(fxxk);
Map<Integer, String> viewMap = fxxk();
int i = 0;
while (i < fxxk.size()) {
System.out.println(fxxk.get(i));
while (i < viewMap.size()) {
System.out.println(viewMap.get(i));
System.out.println("foo");
i++;
}
}

public static void fxxk(Map<Integer, String> map) {
private static Map<Integer, String> fxxk() {
Map<Integer, String> map = new Map<Integer, String>();
map.put(0, "fxxk格納");
map.put(1, "fxxk2格納");
return map;
}

}

0 comments on commit 516169a

Please sign in to comment.