All Downloads are FREE. Search and download functionalities are using the official Maven repository.

querqy.rewrite.commonrules.model.PositionSequence Maven / Gradle / Ivy

There is a newer version: 3.18.1
Show newest version
/**
 * 
 */
package querqy.rewrite.commonrules.model;

import java.util.LinkedList;
import java.util.List;

/**
 * @author rene
 *
 */
public class PositionSequence extends LinkedList> {

   /**
     * 
     */
   private static final long serialVersionUID = 1L;

   public PositionSequence() {
   }

   public void nextPosition() {
      super.add(new LinkedList());
   }

   /**
    * 
    * Adds an element at the current position
    * 
    * @param element The element to be added.
    */
   public void addElement(T element) {
      getLast().add(element);
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy