Class Constant

Object
AnchorBean<CalculateLevel>
InitializableBean<CalculateLevel, NullInitialization>
NullParametersBean<CalculateLevel>
CalculateLevel
Constant

public class Constant extends CalculateLevel
A constant value for thresholding.
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Constant(int level)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    calculateLevel(Histogram histogram)
     
    protected boolean
     
    boolean
     
    int
     
    int
     
    void
    setLevel(int level)
     

    Methods inherited from class org.anchoranalysis.bean.NullParametersBean

    initializeRecursive, onInitialization, onInitialization

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Constant

      public Constant()
    • Constant

      public Constant(int level)
  • Method Details

    • calculateLevel

      public int calculateLevel(Histogram histogram)
      Specified by:
      calculateLevel in class CalculateLevel
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class CalculateLevel
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class CalculateLevel
    • getLevel

      public int getLevel()
    • setLevel

      public void setLevel(int level)