Class MatchSet

All Implemented Interfaces:
Serializable, Cloneable, Iterable<Match>, Collection<Match>, Set<Match>

public class MatchSet extends HashSet<Match>
class that contains a collection of matches.
See Also:
  • Field Details

    • thisName

      public final String thisName
    • otherName

      public final String otherName
  • Constructor Details

    • MatchSet

      public MatchSet(String thisProgramName, String otherProgramName)
      Parameters:
      thisProgramName - Name of this program (i.e. the program from which the matching was initiated.
      otherProgramName - Name of the program being matched.
  • Method Details

    • getMatches

      public Match[] getMatches()
      Returns:
      The sorted array of matches.
    • getResultsArray

      public Object[] getResultsArray(Match m)
      Returns:
      The match as an Object array.