Login
|
Signup
langref.org
-
java
add..
all
clojure
cpp
csharp
erlang
fantom
fsharp
go
groovy
haskell
ocaml
perl
php
python
ruby
scala
Home
All
Solved
Unsolved
Strings
Numbers
Regex
Lists
Maps
Structure
Files
Dates
OOP
Networking
XML
Algorithms
Misc
Parallel
View Problem
Maps
Declaration
Define an unmodifiable empty map
java
Map empty = Collections.EMPTY_MAP;
public class Solution11 {
public static void main(String[] args) {
Map empty = Collections.EMPTY_MAP;
}
}
java
org.apache.commons
SortedMap empty = MapUtils.EMPTY_SORTED_MAP;
import org.apache.commons.collections.MapUtils;
public class SolutionXX {
public static void main(String[] args) {
SortedMap empty = MapUtils.EMPTY_SORTED_MAP;
}
}
Submit a new solution for
java
There are 19 other solutions in
additional
languages (
clojure
,
cpp
,
erlang
,
fantom
...)