// javastubs/Tutorial2/Operation.java
// Stubs for "Tutorial2"
//
// This file was automatically generated with ILU (version 2.0beta1) tools
// at Tue Sep 21 11:46:27 1999 by `nobody'
// running "c:/iluwin/bin/java-stubber.exe" of Tue Sep 21 10:50:42 1999
// on "C:/iluwin/examples/tutorial/Tutorial2.isl" of Mon Sep 20 15:53:54 1999,
// and "C:/iluwin/examples/tutorial/Tutorial.isl" of Mon Sep 20 15:53:52 1999,
// and "c:/iluwin/interfaces/ilu.isl" of Mon Sep 20 15:51:47 1999.
//
// ILU is Copyright 1991-1999 Xerox Corporation, All Rights Reserved.
// ILU information:  ftp://ftp.parc.xerox.com/pub/ilu/ilu.html.



package Tutorial2;


/** 
 * Class representing an ILU record type.
 */
public class Operation { 

    public OpType op = null;
    public double value = 0D;
    public double accumulator = 0D;

    //to force ILU to allocate subclasses
    protected static java.lang.Class _theClass = null;

    public void _touch() {
    } //_touch

    //avoid unless corba compatibility required
    public Operation() {
    } //Operation

    //not standard corba
    public static Operation alloc_Operation() {
        if (_theClass!=null) {
            try {
                return (Operation) _theClass.newInstance();
            } catch (java.lang.Exception _e) {
            }
        }
        return new Operation();
    } //alloc_Operation

    //avoid unless corba compatibility required
    public Operation(OpType op, double value, double accumulator) {
        this.op = op;
        this.value = value;
        this.accumulator = accumulator;
    } //constructor

    //not standard corba
    public static Operation alloc_Operation(OpType op, double value, double accumulator) {
        Operation _r = alloc_Operation();
        _r.op = op;
        _r.value = value;
        _r.accumulator = accumulator;
        _r._touch();
        return _r;
    } //alloc_Operation

} //Operation
