Interface LabelHandler<VALUE,MODIFIER>

Type Parameters:
VALUE - this generic argument represents the type of value to be transformed.
MODIFIER - this generic argument represents the type of object used to define the transformation of the passed-in object.
All Known Implementing Classes:
PriceLabelHandler

public interface LabelHandler<VALUE,MODIFIER>
This interface allows to obtain labels for objects using transformation object.
  • Method Summary

    Modifier and Type
    Method
    Description
    getLabel(VALUE value, MODIFIER modifier)
     
  • Method Details

    • getLabel

      String getLabel(VALUE value, MODIFIER modifier)
      Parameters:
      value - object to be labelled with the .
      modifier - object used to define how the label should be calculated.
      Returns:
      a string that represents the passed-in object using the given modifier.