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

net.sf.javagimmicks.collections8.diff.DefaultDifferenceList Maven / Gradle / Ivy

There is a newer version: 0.99-alpha1
Show newest version
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