(Object... init)
| 1614 | } |
| 1615 | |
| 1616 | static public IPersistentMap mapUniqueKeys(Object... init){ |
| 1617 | if(init == null) |
| 1618 | return PersistentArrayMap.EMPTY; |
| 1619 | else if(init.length <= PersistentArrayMap.HASHTABLE_THRESHOLD) |
| 1620 | return new PersistentArrayMap(init); |
| 1621 | return PersistentHashMap.create(init); |
| 1622 | } |
| 1623 | |
| 1624 | static public IPersistentSet set(Object... init){ |
| 1625 | return PersistentHashSet.createWithCheck(init); |