Class SegmentsAndScores

    • Constructor Detail

      • SegmentsAndScores

        public SegmentsAndScores​(Set<String> segments,
                                 Map<String,​Integer> scores)
        Instantiates a new SegmentsAndScores.
        Parameters:
        segments - the set of segment identifiers
        scores - the scores as a Map of scoring name - associated score pairs
    • Method Detail

      • getSegments

        public Set<String> getSegments()
        Retrieves the segments identifiers.
        Returns:
        the segments identifiers
      • getScores

        public Map<String,​Integer> getScores()
        Retrieves the scores as a Map of scoring name - associated score pairs.
        Returns:
        the scores as a Map of scoring name - associated score pairs