Class AttitudeIntervalBean

  • All Implemented Interfaces:

    public class AttitudeIntervalBean
    extends java.lang.Object
    implements java.lang.Comparable<AttitudeIntervalBean>
    A bean that holds the attitude and its activation time. It also has a cache. Created by tsagrista on 02/06/15.
    • Field Detail

      • name

        public java.lang.String name
      • activationTime

        public java.util.Date activationTime
      • file

        public java.lang.String file
      • cache

        public java.util.Map<java.lang.Long,​Attitude> cache
      • hits

        public long hits
      • misses

        public long misses
    • Constructor Detail

      • AttitudeIntervalBean

        public AttitudeIntervalBean​(java.lang.String name,
                                    java.util.Date activationTime,
                                    BaseAttitudeDataServer attitude,
                                    java.lang.String file)
    • Method Detail

      • get

        public Attitude get​(java.util.Date date)
      • toString

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