Class Alarm


  • public class Alarm
    extends java.lang.Object
    An Alarm set by AlarmClock
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.concurrent.ScheduledFuture<?> future  
      java.lang.Runnable task  
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • task

        public final java.lang.Runnable task
      • future

        public final java.util.concurrent.ScheduledFuture<?> future