/** * Record to hold all our choices of implementations of interfaces. * * @author Alexander Schaap * */ public class KWICRecord { StorageInterface>> ls; StorageInterface>>> sls; StorageInterface>>> ssls; InputInterface input; WordCommandInterface wc; CircularShifterInterface shift; AlphabetizerInterface alpha; OutputInterface output; String filename = "test.txt"; public KWICRecord( StorageInterface>> ls, StorageInterface>>> sls, StorageInterface>>> ssls, InputInterface input, WordCommandInterface wc, CircularShifterInterface shift, AlphabetizerInterface alpha, OutputInterface output, String filename) { this.ls = ls; this.sls = sls; this.ssls = ssls; this.input = input; this.wc = wc; this.shift = shift; this.alpha = alpha; this.output = output; this.filename = filename; } }