Package universalelectricity.api.energy

Examples of universalelectricity.api.energy.IEnergyNetwork


    }

    @Override
    public IEnergyNetwork merge(IEnergyNetwork network)
    {
        IEnergyNetwork newNetwork = super.merge(network);

        if (newNetwork != null)
        {
            long newBuffer = getBuffer() + ((EnergyNetwork) network).getBuffer();
            newNetwork.setBuffer(newBuffer);
            return newNetwork;
        }

        return null;
    }
View Full Code Here

TOP

Related Classes of universalelectricity.api.energy.IEnergyNetwork

Copyright © 2018 www.massapicom. 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.