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

net.hamnaberg.json.OptionalFolder Maven / Gradle / Ivy

There is a newer version: 8.0.0-RC1
Show newest version
package net.hamnaberg.json;

import java.util.Optional;

public class OptionalFolder implements Folder> {
    @Override
    public Optional onNull() {
        return Optional.empty();
    }

    @Override
    public Optional onBoolean(Json.JBoolean b) {
        return Optional.empty();
    }

    @Override
    public Optional onNumber(Json.JNumber n) {
        return Optional.empty();
    }

    @Override
    public Optional onString(Json.JString s) {
        return Optional.empty();
    }

    @Override
    public Optional onArray(Json.JArray a) {
        return Optional.empty();
    }

    @Override
    public Optional onObject(Json.JObject o) {
        return Optional.empty();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy