Changeset 294 for trunk/hiptop/pester/net/sabi/pester/Alarms.java
- Timestamp:
- 07/28/06 04:17:42 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hiptop/pester/net/sabi/pester/Alarms.java
r284 r294 13 13 public class Alarms extends StdActiveList { 14 14 // max # records in a datastore 15 p rivatestatic final int MAX_ALARM_COUNT = 50;15 public static final int MAX_ALARM_COUNT = 50; 16 16 17 17 private static Alarms sAlarmList = null; … … 62 62 } 63 63 64 public static boolean canCreateAlarm() { 65 return (sAlarmList.size() < MAX_ALARM_COUNT); 66 } 64 67 public static void addAlarm(Alarm alarm) { 65 68 sAlarmList.insertItemSorted(alarm, alarm);
Note:
See TracChangeset
for help on using the changeset viewer.