org.aksw.commons.collections.diff
Class CollectionDiff<T,C extends Collection<T>>

java.lang.Object
  extended by org.aksw.commons.collections.diff.Diff<C>
      extended by org.aksw.commons.collections.diff.CollectionDiff<T,C>
All Implemented Interfaces:
IDiff<C>
Direct Known Subclasses:
HashSetDiff, ListDiff, SetDiff, TreeSetDiff

public abstract class CollectionDiff<T,C extends Collection<T>>
extends Diff<C>

Author:
Claus Stadler

Date: 7/12/11 Time: 10:51 PM


Constructor Summary
CollectionDiff(C added, C removed, C retained)
           
 
Method Summary
 void add(T item)
           
 void clear()
           
 void remove(T item)
           
 int size()
           
 
Methods inherited from class org.aksw.commons.collections.diff.Diff
getAdded, getRemoved, getRetained
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionDiff

public CollectionDiff(C added,
                      C removed,
                      C retained)
Method Detail

add

public void add(T item)

remove

public void remove(T item)

clear

public void clear()

size

public int size()


Copyright © 2012. All Rights Reserved.