Beispiel #1
0
        public void handle()
        {
            int          startIndex = input.readInt();
            int          endIndex   = input.readInt();
            IntervalRole interval   = intervalFactory.build(startIndex, endIndex);

            array.mirrorInterval(interval);
        }
Beispiel #2
0
 public void mirrorInterval(IntervalRole interval)
 {
     innerArray = arrayFactory.build(innerArray, interval);
 }