Package bankqueue.event

Examples of bankqueue.event.CustomerLeaveEvent


        assert availableWindows[type.ordinal()] > 0;
        --availableWindows[type.ordinal()];
        int leaveAt = now + customer.serviceTime;
        out.printf("time %5d %16s(%5d) sits at %s window, will leave at %d\n",
                now, customer.getTypeName(), customer.id, type, leaveAt);
        simulator.addEvent(new CustomerLeaveEvent(leaveAt, customer, this, type));
    }
View Full Code Here

TOP

Related Classes of bankqueue.event.CustomerLeaveEvent

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.