|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList<Object>
pl.edu.agh.cast.importer.base.data.DataRow
public class DataRow
Class, which represents one analyzed row of data read from the source data file. It extends LinkedList
of Objects, which each represents one analyzed cell.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
DataRow(DataRow row,
TabularData data)
The copying constructor. |
|
DataRow(int inpRowNum,
TabularData data)
The default constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getInputColumnRef(int colIdx)
Retrieves the reference to the input column for the specified column index. |
int |
getInputRowNumber()
Retrieves the input row number. |
List<IImportDataObserver> |
getObservers()
Retrieves the list of all registered observers. |
int |
hashCode()
|
void |
registerObserver(IImportDataObserver observer)
Registers a new observer. |
Object |
set(int index,
Object newValue)
|
String |
toString()
|
void |
unregisterObserver(IImportDataObserver observer)
Unregisters an existing observer. |
| Methods inherited from class java.util.LinkedList |
|---|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, size, toArray, toArray |
| Methods inherited from class java.util.AbstractSequentialList |
|---|
iterator |
| Methods inherited from class java.util.AbstractList |
|---|
listIterator, removeRange, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, isEmpty, removeAll, retainAll |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, size, subList, toArray, toArray |
| Methods inherited from interface java.util.Deque |
|---|
iterator |
| Constructor Detail |
|---|
public DataRow(int inpRowNum,
TabularData data)
inpRowNum - the row number from the input filedata - the tabular data, within which the current data row is contained
public DataRow(DataRow row,
TabularData data)
row - the data row to copy the columns fromdata - the tabular data, within which the current data row is contained| Method Detail |
|---|
public void registerObserver(IImportDataObserver observer)
registerObserver in interface IImportDataMonitorableobserver - the observer to registerIImportDataMonitorable.registerObserver(
pl.edu.agh.cast.importer.base.logging.IImportDataObserver)public void unregisterObserver(IImportDataObserver observer)
unregisterObserver in interface IImportDataMonitorableobserver - the observer to unregisterIImportDataMonitorable.unregisterObserver(
pl.edu.agh.cast.importer.base.logging.IImportDataObserver)public List<IImportDataObserver> getObservers()
getObservers in interface IImportDataMonitorableIImportDataMonitorable.getObservers()
public Object set(int index,
Object newValue)
set in interface List<Object>set in class LinkedList<Object>LinkedList.set(int, java.lang.Object)public boolean equals(Object obj)
equals in interface Collection<Object>equals in interface List<Object>equals in class AbstractList<Object>AbstractList.equals(java.lang.Object)public int hashCode()
hashCode in interface Collection<Object>hashCode in interface List<Object>hashCode in class AbstractList<Object>AbstractList.hashCode()public String toString()
toString in class AbstractCollection<Object>Object.toString()public int getInputRowNumber()
getInputRowNumber in interface IDataRow<Object>IDataRow.getInputRowNumber()public int getInputColumnRef(int colIdx)
colIdx - the column index to retrieve the input reference to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||