Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Simon Hunt
2015-11-16 09:12:09 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8f39cfbe531202523e591cae4663c7f0c3c75c9f
8f39cfbe
1 parent
f5638302
Make DefaultHashMap class final.
Change-Id: Ia651b5aa098b584559e5ef2556dcac3178da615b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
utils/misc/src/main/java/org/onlab/util/DefaultHashMap.java
utils/misc/src/main/java/org/onlab/util/DefaultHashMap.java
View file @
8f39cfb
...
...
@@ -21,10 +21,10 @@ import java.util.HashMap;
/**
* HashMap that returns a default value for unmapped keys.
*/
public
class
DefaultHashMap
<
K
,
V
>
extends
HashMap
<
K
,
V
>
{
public
final
class
DefaultHashMap
<
K
,
V
>
extends
HashMap
<
K
,
V
>
{
/** Default value to return when no key binding exists. */
protected
V
defaultValue
;
protected
final
V
defaultValue
;
/**
* Constructs an empty map with the given default value.
...
...
Please
register
or
login
to post a comment