Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4b19e01

Browse files
author
Ram swaroop
committed
tree initial commit
1 parent 4d296b7 commit 4b19e01

File tree

4 files changed

+40
-1
lines changed

4 files changed

+40
-1
lines changed

src/me/ramswaroop/common/Stack.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package me.ramswaroop.common;
2+
3+
/**
4+
* Created by IntelliJ IDEA.
5+
* User: ramswaroop
6+
* Date: 3/24/15
7+
* Time: 3:02 PM
8+
* To change this template go to Preferences | IDE Settings | File and Code Templates
9+
*/
10+
public class Stack {
11+
}

src/me/ramswaroop/BotTesting.java renamed to src/me/ramswaroop/rough/BotTesting.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package me.ramswaroop;
1+
package me.ramswaroop.rough;
22

33
/**
44
* Created by IntelliJ IDEA.

src/me/ramswaroop/rough/Equals.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package me.ramswaroop.rough;
2+
3+
/**
4+
* Created by IntelliJ IDEA.
5+
* User: ramswaroop
6+
* Date: 3/14/15
7+
* Time: 4:38 PM
8+
* To change this template go to Preferences | IDE Settings | File and Code Templates
9+
*/
10+
public class Equals {
11+
public static void main(String[] a) {
12+
Short i = new Short((short) 12);
13+
Short j = new Short((short) 12);
14+
System.out.print(j == i); // prints false as compiler compares 2 references instead of their values
15+
System.out.print(12 == i); // prints true as the compiler unboxes "i" and then compares the value
16+
}
17+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package me.ramswaroop.trees;
2+
3+
/**
4+
* Created by IntelliJ IDEA.
5+
* User: ramswaroop
6+
* Date: 3/24/15
7+
* Time: 3:02 PM
8+
* To change this template go to Preferences | IDE Settings | File and Code Templates
9+
*/
10+
public class ImplicitTreeTraversal {
11+
}

0 commit comments

Comments
 (0)