1 11 12 package org.eclipse.core.databinding.observable.set; 13 14 import java.util.Set ; 15 16 20 public abstract class SetDiff { 21 22 25 public abstract Set getAdditions(); 26 27 30 public abstract Set getRemovals(); 31 32 35 public String toString() { 36 StringBuffer buffer = new StringBuffer (); 37 buffer 38 .append(getClass().getName()) 39 .append("{additions [") .append(getAdditions() != null ? getAdditions().toString() : "null") .append("], removals [") .append(getRemovals() != null ? getRemovals().toString() : "null") .append("]}"); 45 return buffer.toString(); 46 } 47 } 48 | Popular Tags |