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

com.github.leeonky.interpreter.ObjectParser Maven / Gradle / Ivy

The newest version!
package com.github.leeonky.interpreter;

public interface ObjectParser

, T> extends Parser, ObjectParser.Mandatory, T> { @Override default ObjectParser castParser(Parser, Mandatory, T> parser) { return parser::parse; } @Override default Mandatory castMandatory(Parser.Mandatory, Mandatory, T> mandatory) { return mandatory::parse; } interface Mandatory

, T> extends Parser.Mandatory, ObjectParser.Mandatory, T> { @Override default ObjectParser castParser(Parser, Mandatory, T> parser) { return parser::parse; } @Override default Mandatory castMandatory(Parser.Mandatory, Mandatory, T> mandatory) { return mandatory::parse; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy