Package water.api

Source Code of water.api.RemoveV1

package water.api;

import water.Key;
import water.util.DocGen;
import water.api.RemoveHandler.Remove;

public class RemoveV1 extends Schema<Remove,RemoveV1> {
  //Input
  @API(help="Key to be removed.")
  Key key;
  @Override public Remove createImpl() { Remove r = new Remove(); r.key = key; return r; }
  @Override public RemoveV1 fillFromImpl(Remove u ) { key = u.key; return this; }
  @Override public DocGen.HTML writeHTML_impl( DocGen.HTML ab ) {
    ab.p("Key "+key+" has been removed.");
    return ab;
  }
}
TOP

Related Classes of water.api.RemoveV1

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.