Class SimpleObjectEqualityRawResult<T extends java.io.Serializable>

    • Constructor Detail

      • SimpleObjectEqualityRawResult

        public SimpleObjectEqualityRawResult​(ISourceFile file1,
                                             ISourceFile file2,
                                             int numObjectsFile1,
                                             int numObjectsFile2)
    • Method Detail

      • getFile1NumObjects

        public int getFile1NumObjects()
      • getFile2NumObjects

        public int getFile2NumObjects()
      • getLocation

        public PairedTuple<java.lang.Integer,​java.lang.Integer,​java.lang.Integer,​java.lang.Integer> getLocation​(int index)
      • getLocations

        public java.util.List<PairedTuple<java.lang.Integer,​java.lang.Integer,​java.lang.Integer,​java.lang.Integer>> getLocations()
      • getObject

        public T getObject​(int index)
      • getObjects

        public java.util.List<T> getObjects()
      • getSize

        public int getSize()
      • put

        public void put​(T object,
                        int file1Loc,
                        int file2Loc)
      • put

        public void put​(T object,
                        int file1BlockStart,
                        int file1BlockEnd,
                        int file2BlockStart,
                        int file2BlockEnd)
      • testType

        public boolean testType​(AbstractModelTaskRawResult baseline)
        Description copied from class: AbstractModelTaskRawResult
        Check that this object is of the same exact type as the baseline, including check any generic types are equal

        TODO: suggested implementation here.....

        Specified by:
        testType in class AbstractModelTaskRawResult
        Parameters:
        baseline - the baseline object, in the set, current instance must be of the same exact type as this
        Returns:
        is same type?
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object