(Object... init)
| 1606 | } |
| 1607 | |
| 1608 | static public IPersistentMap map(Object... init){ |
| 1609 | if(init == null || init.length == 0) |
| 1610 | return PersistentArrayMap.EMPTY; |
| 1611 | else if(init.length <= PersistentArrayMap.HASHTABLE_THRESHOLD) |
| 1612 | return PersistentArrayMap.createWithCheck(init); |
| 1613 | return PersistentHashMap.createWithCheck(init); |
| 1614 | } |
| 1615 | |
| 1616 | static public IPersistentMap mapUniqueKeys(Object... init){ |
| 1617 | if(init == null) |
no test coverage detected