Returns a new instance of PersistentStructMap using the given parameters. This function is used instead of the PersistentStructMap constructor by all methods that return a new PersistentStructMap. This is done so as to allow subclasses to return instances of their class from all PersistentStructMap
(IPersistentMap meta, Def def, Object[] vals, IPersistentMap ext)
| 113 | * PersistentStructMap methods. |
| 114 | */ |
| 115 | protected PersistentStructMap makeNew(IPersistentMap meta, Def def, Object[] vals, IPersistentMap ext){ |
| 116 | return new PersistentStructMap(meta, def, vals, ext); |
| 117 | } |
| 118 | |
| 119 | public IObj withMeta(IPersistentMap meta){ |
| 120 | if(meta == _meta) |