Class SubmissionMatchItem

  • All Implemented Interfaces:
    ISubmissionMatchItem

    public class SubmissionMatchItem
    extends java.lang.Object
    implements ISubmissionMatchItem
    Stored by SubmissionMatch to ensure data for a given file remains together.
    • Constructor Summary

      Constructors 
      Constructor Description
      SubmissionMatchItem​(ISourceFile file, float score, java.util.List<ITuple<java.lang.Integer,​java.lang.Integer>> lineNumbers)
      Initialise a new SubmissionMatchItem.
    • Constructor Detail

      • SubmissionMatchItem

        public SubmissionMatchItem​(ISourceFile file,
                                   float score,
                                   java.util.List<ITuple<java.lang.Integer,​java.lang.Integer>> lineNumbers)
        Initialise a new SubmissionMatchItem.
        Parameters:
        file - The file the match was found in
        score - The score assigned to this match
        lineNumbers - The location of the match in the file