org.eclipse.core.databinding.observable.list
Class ListDiffEntry
java.lang.Object
org.eclipse.core.databinding.observable.list.ListDiffEntry
public abstract class ListDiffEntry
- extends java.lang.Object
A single addition of an element to a list or removal of an element from a list.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ListDiffEntry
public ListDiffEntry()
getPosition
public abstract int getPosition()
- Returns:
- the 0-based position of the addition or removal
isAddition
public abstract boolean isAddition()
- Returns:
- true if this represents an addition, false if this represents a removal
getElement
public abstract java.lang.Object getElement()
- Returns:
- the element that was added or removed
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.