Package org.moeaframework.util.format
Interface Displayable
- All Known Subinterfaces:
DataStream<V>,FirstOrderSensitivity,Formattable<T>,Partition<K,,V> SecondOrderSensitivity,SensitivityResult,TotalOrderSensitivity
- All Known Implementing Classes:
AdaptiveGridArchive,DataStoreURI,DefaultEpsilons,EpsilonBoxDominanceArchive,FitnessBasedArchive,FutureSolution,Groups,ImmutableDataStream,ImmutablePartition,Indicators.IndicatorValues,IndicatorStatistics,MSOPSRankedPopulation,NondominatedPopulation,NondominatedSortingPopulation,Population,ReferencePointNondominatedSortingPopulation,ReferenceVectorGuidedPopulation,ResultSeries,Sample,SampledResults,Samples,SobolSensitivityAnalysis.SobolSensitivityResult,Solution,TabularData,Timer,TypedProperties
public interface Displayable
Interface used by classes that display content, either to standard output or an output stream.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddisplay()Formats and prints the content of this object to standard output.voiddisplay(PrintStream out) Displays the contents of this object to the given output stream.
-
Method Details
-
display
Displays the contents of this object to the given output stream. This method does not close the underlying stream; the caller is responsible for disposing it.- Parameters:
out- the output stream
-
display
default void display()Formats and prints the content of this object to standard output. Avoid overriding this method, instead implements the display logic indisplay(PrintStream).
-