Class ImageLabelAnnotation

Object
ImageLabelAnnotation
All Implemented Interfaces:
Annotation

public final class ImageLabelAnnotation extends Object implements Annotation
A single label that is associated with an image.
Author:
Owen Feehan
  • Constructor Details

    • ImageLabelAnnotation

      public ImageLabelAnnotation(String label)
      Creates a new ImageLabelAnnotation instance.
      Parameters:
      label - The label that applies to the image.
  • Method Details

    • getLabel

      public String getLabel()
      The label that applies to the image.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object