.. java:import:: java.util ArrayList AMPLOutputs =========== .. java:package:: com.ampl :noindex: .. java:type:: class AMPLOutputs extends ArrayList Represents a set of AMPL textual outputs (represented by a list of \code AMPLOutput \endcode ) Constructors ------------ AMPLOutputs ^^^^^^^^^^^ .. java:constructor:: AMPLOutputs(int i) :outertype: AMPLOutputs Constructor :param i: Initial capacity Methods ------- containsError ^^^^^^^^^^^^^ .. java:method:: public boolean containsError() :outertype: AMPLOutputs Check whether the sequence contains an error of any kind :return: True if an error is present containsErrorIgnorePresolve ^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: boolean containsErrorIgnorePresolve() :outertype: AMPLOutputs Check whether the sequence contains an error of any kind BUT 'error_presolve' :return: True if an error is present (but 'error_presolve') containsErrorIgnorePresolveAndInvalidSubscripts ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: boolean containsErrorIgnorePresolveAndInvalidSubscripts() :outertype: AMPLOutputs Check whether the sequence contains an error of any kind BUT 'error_presolve' :return: True if an error is present (but 'error_presolve') containsString ^^^^^^^^^^^^^^ .. java:method:: public boolean containsString(String what) :outertype: AMPLOutputs containsWarning ^^^^^^^^^^^^^^^ .. java:method:: public boolean containsWarning() :outertype: AMPLOutputs Check whether the sequence contains an error of any kind :return: True if an error is present firstDisplayResultIndex ^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: public int firstDisplayResultIndex() :outertype: AMPLOutputs Get the index of the first display message :return: Index of the display message, -1 if not existent firstOfKind ^^^^^^^^^^^ .. java:method:: public AMPLOutput firstOfKind(AMPLOutput.Kind kind) :outertype: AMPLOutputs Get the index of the first display message :return: Index of the display message, -1 if not existent getErrors ^^^^^^^^^ .. java:method:: public AMPLOutputs getErrors() :outertype: AMPLOutputs Get the errors in the sequence :return: Errors sequence, empty AMPLOutputs if none getMessages ^^^^^^^^^^^ .. java:method:: public String getMessages() :outertype: AMPLOutputs Get all messages in this output :return: Messages in the outputs here embedded getMessages ^^^^^^^^^^^ .. java:method:: public AMPLOutputs getMessages(String type) :outertype: AMPLOutputs Get messages of the specified type :param type: Type of messages :return: Filtered structure toString ^^^^^^^^ .. java:method:: @Override public String toString() :outertype: AMPLOutputs String representation (string concatenation of all the messages)