//For better O.O design this should be private allows for better black box design
privateintsize;
//this will point to dummy node;
privateNode<E>head;
//constructer for class.. here we will make a dummy node for circly linked list implementation with reduced error catching as our list will never be empty;
// getter for the size... needed because size is private.
publicintgetSize(){returnsize;}
// for the sake of simplistiy this class will only contain the append function or addLast other add functions can be implemented however this is the basses of them all really.