All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mindee.parsing.custom.lineitems.Anchor Maven / Gradle / Ivy

There is a newer version: 4.21.0
Show newest version
package com.mindee.parsing.custom.lineitems;

import lombok.Getter;

/**
 * An anchor column.
 */
@Getter
public final class Anchor {
  private final String name;
  private final double tolerance;

  /**
   * Define an anchor with height tolerance.
   */
  public Anchor(String name, double tolerance) {
    this.name = name;
    this.tolerance = tolerance;
  }

  /**
   * Define an anchor with no tolerance.
   */
  public Anchor(String name) {
    this.name = name;
    this.tolerance = 0.01d;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy