// Tim Hutcheson // COP 4331 Mon. & Wed. 3:30 // Stud. ID. 999-99-9999 // Homework #4 // ShiftBuffer.java // The ShiftBuffer class encapsulates a character array used for sequentially // shifting the plays of the game for the purpose of time series predicition. public class ShiftBuffer { private char[] shiftBuffer; public ShiftBuffer(int size) { shiftBuffer = new char[size]; } // shift will move the shift buffer one place and insert the new move. public char shift(char x) { int i; char c = shiftBuffer[0]; for( i=1; i