Class CSVEligibility

    • Constructor Summary

      Constructors 
      Constructor Description
      CSVEligibility​(java.util.Map<java.lang.String,​java.lang.String> inputEligibilities)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isPersonEligible​(Person person, long time)
      Returns whether the given person meets the eligibility criteria of this algorithm at the given time.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CSVEligibility

        public CSVEligibility​(java.util.Map<java.lang.String,​java.lang.String> inputEligibilities)
                       throws java.lang.IllegalArgumentException
        Constructor.
        Parameters:
        inputEligibilities - The row of eligiblity inputs.
        Throws:
        java.lang.IllegalArgumentException
    • Method Detail

      • isPersonEligible

        public boolean isPersonEligible​(Person person,
                                        long time)
        Description copied from interface: IPlanEligibility
        Returns whether the given person meets the eligibility criteria of this algorithm at the given time.
        Specified by:
        isPersonEligible in interface IPlanEligibility
        Parameters:
        person - The person to check against.
        time - The time.
        Returns:
        Whether the person is eligible.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object