Class FeatureExtractionResult


  • public final class FeatureExtractionResult
    extends Object
    Features Collection
    Author:
    Maksim Bezrukov
    • Constructor Detail

      • FeatureExtractionResult

        public FeatureExtractionResult()
        Constructs new object
    • Method Detail

      • addNewFeatureTree

        public void addNewFeatureTree​(FeatureObjectType type,
                                      FeatureTreeNode root)
        Add new feature tree for a type
        Parameters:
        type - type of feature object
        root - root element of a feature tree
      • getFeatureTreesForType

        public List<FeatureTreeNode> getFeatureTreesForType​(FeatureObjectType type)
        Gets list of feature trees for the type
        Parameters:
        type - type of the feature object
        Returns:
        list of feature trees for the given type
      • addNewError

        public void addNewError​(FeatureObjectType type,
                                String errorID)
        Add new error to feature type
        Parameters:
        type - type of feature object
        errorID - errorID
      • getErrorsForType

        public List<String> getErrorsForType​(FeatureObjectType type)
        Gets list of feature trees for the type
        Parameters:
        type - type of the feature object
        Returns:
        list of errorss for the given type
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object