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 Type
    Method
    Description
    default void
    Formats and prints the content of this object to standard output.
    void
    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 in display(PrintStream).
    • display

      void display(PrintStream out)
      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