
//DNALinkedList
package linked;
public class DNALinkedList
{
private Node head; // head.prev is alwaysnull
private Node tail; // tail.next is alwaysnull
public DNALinkedList(String s)
{
append(s);
}
// Used by extraction methods. Not for publicuse.
private DNALinkedList(Node head, Node tail)
{
this.head = head;
head.setPrev(null);
this.tail = tail;
tail.setNext(null);
}
// Converts arg to nodes which are appended to end ofthis list.
public void append(String s)
{
for (int i=0;
PayPal Gateway not configured
PayPal Gateway not configured