package scheduler;

import os.OperatingSystem;
import readinstruction.ReadInstruction;
import utils.Observer;

/**
 * Created by Karol on 2017-04-20.
 */
public interface Scheduler extends Observer {
    void setOs(OperatingSystem parentOs);
    void push(ReadInstruction instruction);
    String getName();
    boolean isEmpty();
    boolean isFull();
}

package scheduler;

import os.OperatingSystem;
import readinstruction.ReadInstruction;
import utils.Observer;

/**
 * Created by Karol on 2017-04-20.
 */
public interface Scheduler extends Observer {
    void setOs(OperatingSystem parentOs);
    void push(ReadInstruction instruction);
    String getName();
    boolean isEmpty();
    boolean isFull();
    int getHeadWay();
}

Add getHeadWay to the Scheduler interface