1 11 12 package org.eclipse.jface.internal.databinding.provisional.observable.list; 13 14 19 public abstract class ListDiffEntry { 20 21 24 public abstract int getPosition(); 25 26 29 public abstract boolean isAddition(); 30 31 34 public abstract Object getElement(); 35 36 39 public String toString() { 40 StringBuffer buffer = new StringBuffer (); 41 buffer 42 .append(this.getClass().getName()) 43 .append("{position [") .append(getPosition()) 45 .append("], isAddition [") .append(isAddition()) 47 .append("], element [") .append(getElement() != null ? getElement().toString() : "null") .append("]}"); 51 return buffer.toString(); 52 } 53 } 54 | Popular Tags |