MCPcopy Index your code
hub / github.com/clojure/clojure / makeNew

Method makeNew

src/jvm/clojure/lang/PersistentStructMap.java:115–117  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

113 * PersistentStructMap methods.
114 */
115protected PersistentStructMap makeNew(IPersistentMap meta, Def def, Object[] vals, IPersistentMap ext){
116 return new PersistentStructMap(meta, def, vals, ext);
117}
118
119public IObj withMeta(IPersistentMap meta){
120 if(meta == _meta)

Callers 3

withMetaMethod · 0.95
assocMethod · 0.95
withoutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected