org.fluentlenium.core.domain.DelegatingList Maven / Gradle / Ivy
package org.fluentlenium.core.domain;
import java.util.List;
/**
* List that delegates to another list
*
* @param the type of elements in this list
*/
public class DelegatingList extends ListImpl implements List {
protected final List list;
/**
* Creates a new delegating list
*
* @param list underlying list
*/
public DelegatingList(List list) {
super();
this.list = list;
}
public List getList() {
return list;
}
}