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

com.github.tamnguyenbbt.dom.Position Maven / Gradle / Ivy

Go to download

Find jsoup elements, relative xpath queries, and Selenium web elements for web service and Selenium-based Web UI testing

There is a newer version: 1.1.3
Show newest version
package com.github.tamnguyenbbt.dom;

import java.util.ArrayList;
import java.util.List;

final class Position extends ArrayList
{
    protected Position()
    {
        super();
    }

    protected Position(Position position)
    {
        super(position);
    }

    private Position(List position)
    {
        super(position);
    }

    protected Position getParentPosition()
    {
        int size = this.size();
        return size > 1 ? new Position(this.subList(0, size-1)) : null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy