Package org.moeaframework.util.format
Interface Displayable
- All Known Subinterfaces:
Formattable<T>
- All Known Implementing Classes:
AdaptiveGridArchive
,Analyzer
,Analyzer.AnalyzerResults
,DefaultEpsilons
,EpsilonBoxDominanceArchive
,FitnessBasedArchive
,FutureSolution
,Indicators.IndicatorValues
,MSOPSRankedPopulation
,NondominatedPopulation
,NondominatedSortingPopulation
,Observations
,Population
,ReferencePointNondominatedSortingPopulation
,ReferenceVectorGuidedPopulation
,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 void
display()
Formats and prints the content of this object to standard output.void
display
(PrintStream out) Displays the contents of this object to the given output stream.
-
Method Details
-
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)
. -
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
-