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

cdc.applic.expressions.content.AbstractDomain Maven / Gradle / Ivy

There is a newer version: 0.13.3
Show newest version
package cdc.applic.expressions.content;

import java.io.PrintStream;

public abstract class AbstractDomain,
                                     R extends AbstractRange>
        implements Domain {
    @Override
    public void print(PrintStream out,
                      int level) {
        indent(out, level);
        out.println(getClass().getSimpleName() + " <" + getValueClass().getSimpleName()
                + ", " + getRangeClass().getSimpleName() + ">");
        indent(out, level + 1);
        out.println("min: " + min());
        indent(out, level + 1);
        out.println("max: " + max());
    }

    @Override
    public String toString() {
        return getClass().getSimpleName();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy