Java Doc for ScheduleUtils.java in  » Science » Cougaar12_4 » org » cougaar » logistics » plugin » utils » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » Cougaar12_4 » org.cougaar.logistics.plugin.utils 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.cougaar.logistics.plugin.utils.ScheduleUtils

ScheduleUtils
public class ScheduleUtils (Code)
Provide convenience methods for creating objects.


Field Summary
final protected static  longMSEC_PER_DAY
    
final protected static  longSECOND_IN_MS
    

Constructor Summary
public  ScheduleUtils(UtilsProvider provider)
    

Method Summary
public static  ScheduleadjustSchedule(Schedule sched, long start, long end, int amount, long time_incr)
    
public static  ScheduleadjustSchedule(Schedule sched, long start, long end, int amount)
    
public static  ScheduleadjustSchedule(Schedule sched, long start, int amount)
    
public static  QuantityScheduleElementbuildQuantityScheduleElement(double qty, long start, long end)
    
public static  QuantityScheduleElementbuildQuantityScheduleElement(double qty, long start, long end, long time_incr)
    
public static  SchedulebuildSimpleQuantitySchedule(double qty, long start, long end)
    
public static  SchedulebuildSimpleQuantitySchedule(int qty, long start, long end, long time_incr)
    
public static  VectorconvertEnumToVector(Enumeration e)
    
public  ScheduleconvertQuantitySchedule(Schedule qty_sched)
    
public  SchedulecreateConsumerSchedule(Collection col)
    
public  SchedulecreateOrgActivitySchedule(Collection col)
    
public static  ScheduledContentPGcreateScheduledContentPG(Asset a, Schedule s)
    
public static  ScheduleElementgetElementWithTime(Schedule s, long time)
    
public  SchedulegetMergedSchedule(Vector parameterSchedules)
     Here is what this method does (Ray Tomlinson).
public static  booleanisOffendingSchedule(Schedule sched)
    
public static  SchedulenewObjectSchedule(Enumeration elements)
    
public static  SchedulesimplifyObjectSchedule(Schedule sched)
    
public static  ScheduletrimObjectSchedule(Schedule schedule, TimeSpan span)
    
public static  longtruncTime(long time, long time_incr)
    

Field Detail
MSEC_PER_DAY
final protected static long MSEC_PER_DAY(Code)



SECOND_IN_MS
final protected static long SECOND_IN_MS(Code)




Constructor Detail
ScheduleUtils
public ScheduleUtils(UtilsProvider provider)(Code)




Method Detail
adjustSchedule
public static Schedule adjustSchedule(Schedule sched, long start, long end, int amount, long time_incr)(Code)



adjustSchedule
public static Schedule adjustSchedule(Schedule sched, long start, long end, int amount)(Code)



adjustSchedule
public static Schedule adjustSchedule(Schedule sched, long start, int amount)(Code)



buildQuantityScheduleElement
public static QuantityScheduleElement buildQuantityScheduleElement(double qty, long start, long end)(Code)



buildQuantityScheduleElement
public static QuantityScheduleElement buildQuantityScheduleElement(double qty, long start, long end, long time_incr)(Code)



buildSimpleQuantitySchedule
public static Schedule buildSimpleQuantitySchedule(double qty, long start, long end)(Code)



buildSimpleQuantitySchedule
public static Schedule buildSimpleQuantitySchedule(int qty, long start, long end, long time_incr)(Code)



convertEnumToVector
public static Vector convertEnumToVector(Enumeration e)(Code)



convertQuantitySchedule
public Schedule convertQuantitySchedule(Schedule qty_sched)(Code)



createConsumerSchedule
public Schedule createConsumerSchedule(Collection col)(Code)



createOrgActivitySchedule
public Schedule createOrgActivitySchedule(Collection col)(Code)



createScheduledContentPG
public static ScheduledContentPG createScheduledContentPG(Asset a, Schedule s)(Code)



getElementWithTime
public static ScheduleElement getElementWithTime(Schedule s, long time)(Code)



getMergedSchedule
public Schedule getMergedSchedule(Vector parameterSchedules)(Code)
Here is what this method does (Ray Tomlinson). Merges a number of parameter schedules into a combined schedule. In the combined schedule, the "parameter" of each element is a Vector of the parameters from each of the input schedules. For elements not covered by the input schedule, the corresponding Vector element is null. The output schedule elements correspond to the intersections of the elements or inter-element gaps of the input schedules. No schedule element is generated for time spans where none of the input schedules has an element. Conversely, all elements of the merged schedule have at least one non-null parameter. There is an assumption that the elements of the input schedules and the output schedule are non-overlapping.



isOffendingSchedule
public static boolean isOffendingSchedule(Schedule sched)(Code)



newObjectSchedule
public static Schedule newObjectSchedule(Enumeration elements)(Code)



simplifyObjectSchedule
public static Schedule simplifyObjectSchedule(Schedule sched)(Code)



trimObjectSchedule
public static Schedule trimObjectSchedule(Schedule schedule, TimeSpan span)(Code)



truncTime
public static long truncTime(long time, long time_incr)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.