|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cilib.problem.dataset.DataSet
public abstract class DataSet
This interface provides an abstraction for accessing data sets. The underlying data set can be
accessed using either an InputStream or a byte[]
| Field Summary | |
|---|---|
protected String |
patternExpression
Deprecated. |
| Constructor Summary | |
|---|---|
DataSet()
|
|
DataSet(DataSet rhs)
|
|
| Method Summary | |
|---|---|
abstract DataSet |
getClone()
Create a cloned copy of the current object and return it. |
abstract byte[] |
getData()
Returns the data set as a byte array. |
abstract InputStream |
getInputStream()
Returns the data set as an input stream. |
String |
getPatternExpression()
Get the regular expression that has been set for this DataSet. |
void |
setPatternExpression(String regexp)
Set the regular expression that will be used to split the patterns in the provided DataSet file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Deprecated protected String patternExpression
| Constructor Detail |
|---|
public DataSet()
public DataSet(DataSet rhs)
| Method Detail |
|---|
public abstract DataSet getClone()
Cloneable
getClone in interface CloneableObject.clone()public abstract byte[] getData()
byte[]public abstract InputStream getInputStream()
InputStreampublic void setPatternExpression(String regexp)
regexp - The regex to usepublic String getPatternExpression()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||