jfreerails.util
Class List2DDiff<T>
java.lang.Object
jfreerails.util.ListXDDiffs<T>
jfreerails.util.List2DDiff<T>
- All Implemented Interfaces:
- java.io.Serializable, List2D<T>
public class List2DDiff<T>
- extends ListXDDiffs<T>
- implements List2D<T>
- See Also:
- Serialized Form
|
Constructor Summary |
List2DDiff(java.util.SortedMap<ListKey,java.lang.Object> diffs,
List2D<T> list,
java.lang.Enum listID)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
underlyingList
private final List2D<T> underlyingList
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
List2DDiff
public List2DDiff(java.util.SortedMap<ListKey,java.lang.Object> diffs,
List2D<T> list,
java.lang.Enum listID)
sizeD1
public int sizeD1()
- Specified by:
sizeD1 in interface List2D<T>
sizeD2
public int sizeD2(int d1)
- Specified by:
sizeD2 in interface List2D<T>
get
public T get(int d1,
int d2)
- Specified by:
get in interface List2D<T>
removeLastD2
public T removeLastD2(int d1)
- Specified by:
removeLastD2 in interface List2D<T>
removeLastD1
public int removeLastD1()
- Specified by:
removeLastD1 in interface List2D<T>
addD1
public int addD1()
- Specified by:
addD1 in interface List2D<T>
addD2
public int addD2(int d1,
T element)
- Specified by:
addD2 in interface List2D<T>
set
public void set(int d1,
int d2,
T element)
- Specified by:
set in interface List2D<T>
getUnderlyingList
java.lang.Object getUnderlyingList()
- Specified by:
getUnderlyingList in class ListXDDiffs<T>
uGet
T uGet(int... i)
- Specified by:
uGet in class ListXDDiffs<T>
getUnderlyingSize
int getUnderlyingSize(int... dim)
- Description copied from class:
ListXDDiffs
- Returns the size of the underlying list at the specified dimension or -1
if the underlying list does not have the specified dimension.
- Specified by:
getUnderlyingSize in class ListXDDiffs<T>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object