/*
GeoGebra - Dynamic Mathematics for Everyone
http://www.geogebra.org
This file is part of GeoGebra.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation.
*/
package org.geogebra.common.kernel.algos;
import org.geogebra.common.kernel.Construction;
import org.geogebra.common.kernel.commands.Commands;
import org.geogebra.common.kernel.geos.GeoInterval;
public class AlgoIntervalMax extends AlgoIntervalAbstract {
public AlgoIntervalMax(Construction cons, String label, GeoInterval s) {
super(cons, label, s);
}
@Override
public Commands getClassName() {
return Commands.Max;
}
@Override
public final void compute() {
result.setValue(interval.getMax());
}
}