![JAR search and dependency download from the Maven repository](/logo.png)
us.bpsm.edn.protocols.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edn-java Show documentation
Show all versions of edn-java Show documentation
edn-java is an parser and printer for 'edn' written in Java, for Java and
requiring no external dependencies.
/**
* This package provides the basis for implementing the printer.
*
* A protocol is a function (method) of which implementations can
* be provided for any number of types.
*
*
What this package provides is not quite a protocol, but
* something a bit more general: a kind of Map which looks up values
* by keys. The values can be of any type, but the keys must be of
* type {@link java.lang.Class}. The trick here is that lookup takes
* inheritance into account such that we don't need to specify an
* implementation for every concrete type we expect to encounter.
*/
package us.bpsm.edn.protocols;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy