net.sf.javagimmicks.collections8.diff.DefaultDifferenceList Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gimmicks Show documentation
Show all versions of gimmicks Show documentation
Utility classes, APIs and tools for Java
package net.sf.javagimmicks.collections8.diff;
import java.util.ArrayList;
import java.util.List;
import net.sf.javagimmicks.collections8.decorators.AbstractUnmodifiableListDecorator;
/**
* Provides a default implementation for {@link DifferenceList}.
*
* Note: a modifiable view to this {@link DifferenceList} can be obtained
* via the inherited {@link #getDecorated()} method - but this should
* never be called by non-API clients!
*/
public class DefaultDifferenceList extends AbstractUnmodifiableListDecorator> implements
DifferenceList
{
private static final long serialVersionUID = -8782622138787742405L;
/**
* Creates a new empty instance
*/
public DefaultDifferenceList()
{
super(new ArrayList>());
}
@Override
protected List> getDecorated()
{
return super.getDecorated();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy