com.northconcepts.datapipeline.core
Class RecordList

java.lang.Object
  extended by com.northconcepts.datapipeline.core.RecordList
All Implemented Interfaces:
Cloneable

public class RecordList
extends Object
implements Cloneable


Field Summary
static org.apache.log4j.Logger log
           
 
Constructor Summary
RecordList()
           
RecordList(int initialCapacity)
           
RecordList(Record... records)
           
 
Method Summary
 RecordList add(int index, Record record)
           
 RecordList add(Record... records)
           
 void clear()
           
 Object clone()
           
 RecordList findAll(Filter filter)
           
 int findFirst(Filter filter, int from)
           
 int findLast(Filter filter, int from)
           
 Record get(int index)
           
 int getRecordCount()
           
 List<Record> getRecords()
           
 long getSizeInBytes()
           
 RecordList move(int oldIndex, int newIndex)
           
 RecordList set(int index, Record record)
           
 RecordList sort(RecordComparator comparator)
           
 RecordList sort(RecordComparator comparator, boolean cacheFieldIndexes)
           
 RecordList sublist(int fromIndex, boolean cloneRecords)
           
 RecordList sublist(int fromIndex, int toIndex, boolean cloneRecords)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Logger log
Constructor Detail

RecordList

public RecordList()

RecordList

public RecordList(int initialCapacity)

RecordList

public RecordList(Record... records)
Method Detail

clone

public Object clone()
Overrides:
clone in class Object

getRecords

public List<Record> getRecords()

getRecordCount

public int getRecordCount()

get

public Record get(int index)

add

public RecordList add(Record... records)

add

public RecordList add(int index,
                      Record record)

set

public RecordList set(int index,
                      Record record)

move

public RecordList move(int oldIndex,
                       int newIndex)

sublist

public RecordList sublist(int fromIndex,
                          int toIndex,
                          boolean cloneRecords)

sublist

public RecordList sublist(int fromIndex,
                          boolean cloneRecords)

clear

public void clear()

sort

public RecordList sort(RecordComparator comparator,
                       boolean cacheFieldIndexes)

sort

public RecordList sort(RecordComparator comparator)

findFirst

public int findFirst(Filter filter,
                     int from)

findLast

public int findLast(Filter filter,
                    int from)

findAll

public RecordList findAll(Filter filter)

getSizeInBytes

public long getSizeInBytes()


Copyright (c) 2007-2012 North Concepts Inc. All Rights Reserved.