public final class SpwlaLogSet extends Object
Constructor and Description |
---|
SpwlaLogSet()
Create a nameless, empty log set.
|
SpwlaLogSet(SpwlaLogSet logSet)
Create a log set as a copy of the specified one.
|
SpwlaLogSet(SpwlaLogSet logSet,
String name)
Create a log set as a copy of the specified one and with
the given name.
|
SpwlaLogSet(String name)
Create an empty log set.
|
Modifier and Type | Method and Description |
---|---|
void |
addCurve(SpwlaCurve curve)
Add the specified curve to this log set.
|
void |
addMultiValues(List<?> values)
Add multi values to this log set.
|
void |
addValues(List<?> values)
Add values to the curves of this log set.
|
SpwlaCurve |
findCurve(String curveName,
String testName,
String curveDescription)
Find curve with the given name and description.
|
List<SpwlaCurve> |
getCurves()
Return all the curves of this log set.
|
String |
getName()
Return name of this log set.
|
int |
getNCurves()
Return number of curves of this log set.
|
int |
getNValues()
Return number of values in the curves of this log set.
|
String |
toString() |
public SpwlaLogSet(String name)
name
- Log set name. Null if N/A.public SpwlaLogSet()
public SpwlaLogSet(SpwlaLogSet logSet)
logSet
- Log set to copy. Non-null.IllegalArgumentException
- If logSet is null.public SpwlaLogSet(SpwlaLogSet logSet, String name)
logSet
- Log set to copy. Non-null.name
- Name of log set to create. Non-null.IllegalArgumentException
- If logSet or name is null.public String getName()
public void addCurve(SpwlaCurve curve)
curve
- Curve to add. Non-null.IllegalArgumentException
- If curve is null.public List<SpwlaCurve> getCurves()
public int getNCurves()
public SpwlaCurve findCurve(String curveName, String testName, String curveDescription)
curveName
- Name of curve to find. May be null.testName
- Name of test. of curve to find. May be null.curveDescription
- Description of curve to find. May be null.public int getNValues()
public void addValues(List<?> values)
First value is added to the first curve, second value to the second and so on. If there are more values than curves, the process restarts at the first curve. At the end, nulls are added any missing curves so that equal number of values have been added to all the curves.
values
- Values to add. Non-null.IllegalArgumentException
- If values is null.public void addMultiValues(List<?> values)
All the values are added to the same curve, the first curve that have less values than its predecessor. If curves have the same number of values, the specified values are added to the first curve.
values
- Values to add. Non-null.IllegalArgumentException
- If values is null.Copyright © 2024 Petroware AS - https://petroware.no