Package org.ojalgo.optimisation
Interface FileFormatMPS.FieldPredicate
-
- Enclosing class:
- FileFormatMPS
static interface FileFormatMPS.FieldPredicate
-
-
Field Summary
Fields Modifier and Type Field Description static FileFormatMPS.FieldPredicate
BOUND_TYPE
static FileFormatMPS.FieldPredicate
COLUMN_NAME
static FileFormatMPS.FieldPredicate
EMPTY
static FileFormatMPS.FieldPredicate
NOT_USED
static FileFormatMPS.FieldPredicate
NUMBER
static FileFormatMPS.FieldPredicate
ROW_NAME
static FileFormatMPS.FieldPredicate
ROW_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
test(java.lang.String line, int start, int index, java.lang.String field)
Test if the field is "correct".
-
-
-
Field Detail
-
BOUND_TYPE
static final FileFormatMPS.FieldPredicate BOUND_TYPE
-
COLUMN_NAME
static final FileFormatMPS.FieldPredicate COLUMN_NAME
-
EMPTY
static final FileFormatMPS.FieldPredicate EMPTY
-
NOT_USED
static final FileFormatMPS.FieldPredicate NOT_USED
-
NUMBER
static final FileFormatMPS.FieldPredicate NUMBER
-
ROW_NAME
static final FileFormatMPS.FieldPredicate ROW_NAME
-
ROW_TYPE
static final FileFormatMPS.FieldPredicate ROW_TYPE
-
-
Method Detail
-
test
boolean test(java.lang.String line, int start, int index, java.lang.String field)
Test if the field is "correct".- Parameters:
line
- The full line being parsedstart
- The styart index of the current field as specified in the original MPS formatindex
- The current index of that full linefield
- The part of the line that being investigated- Returns:
- true if the field is correct/complete
-
-