Package com.mindee.product.cropper
Class CropperV1Page
- java.lang.Object
-
- com.mindee.parsing.common.Prediction
-
- com.mindee.product.cropper.CropperV1Document
-
- com.mindee.product.cropper.CropperV1Page
-
public class CropperV1Page extends CropperV1Document
Cropper API version 1.1 page data.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PositionField>
cropping
List of documents found in the image.
-
Constructor Summary
Constructors Constructor Description CropperV1Page()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<PositionField>
getCropping()
List of documents found in the image.int
hashCode()
boolean
isEmpty()
Returnstrue
if there are no predictions values.String
toString()
-
-
-
Field Detail
-
cropping
protected List<PositionField> cropping
List of documents found in the image.
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:Prediction
Returnstrue
if there are no predictions values. Accessing prediction values when this istrue
may result in aNullPointerException
- Overrides:
isEmpty
in classCropperV1Document
-
toString
public String toString()
- Overrides:
toString
in classCropperV1Document
-
getCropping
public List<PositionField> getCropping()
List of documents found in the image.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classCropperV1Document
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classCropperV1Document
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCropperV1Document
-
-