All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.rschmitt.dynamicobject.RecordReader Maven / Gradle / Ivy

package com.github.rschmitt.dynamicobject;

import clojure.lang.AFn;

public final class RecordReader> extends AFn {
    private final Class type;

    RecordReader(Class type) {
        this.type = type;
    }

    /**
     * For use by clojure.edn/read only. Do not call directly.
     */
    @Override
    public Object invoke(Object mapWithMeta) {
        return Metadata.withTypeMetadata(mapWithMeta, type);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy