-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trivial operations with HashMap (including new ops and bugfixes)
- Loading branch information
1 parent
ff0e682
commit b1c4c8c
Showing
5 changed files
with
121 additions
and
40 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package samples.javabase.util.hashmap.trivial; | ||
|
||
import java.util.Map; | ||
import java.util.HashMap; | ||
|
||
public class TrivialHashMap { | ||
|
||
public static void main(String[] args) { | ||
Map<Integer, Integer> map = new HashMap<>(); | ||
map.put(13, -999); | ||
|
||
int result = map.get(13); | ||
} | ||
} |
Binary file added
BIN
+641 Bytes
tests/test_data/samples/javabase/util/hashmap/trivial/TrivialHashMap.class
Binary file not shown.
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
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