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

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

The 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