Source Code Cross Referenced for MoveMethodSource.java in  » UML » jrefactory » method » 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 » UML » jrefactory » method 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package method;
002:
003:        /**
004:         *  Description of the Class
005:         *
006:         *@author    Chris Seguin
007:         */
008:        public class MoveMethodSource {
009:            /**
010:             *  Description of the Field
011:             */
012:            public int incr1;
013:            private int increment;
014:            private int incr2;
015:
016:            /**
017:             *  Constructor for the MoveMethodSource object
018:             */
019:            public MoveMethodSource() {
020:                incr1 = 5;
021:                incr2 = 1;
022:                increment = 3;
023:            }
024:
025:            /**
026:             *  Gets the Increment attribute of the MoveMethodSource object
027:             *
028:             *@return    The Increment value
029:             */
030:            public int getIncrement() {
031:                return increment;
032:            }
033:
034:            /**
035:             *  Description of the Method
036:             *
037:             *@param  mmd  Description of Parameter
038:             */
039:            public void methodOne(MoveMethodDest mmd) {
040:                int value = mmd.getCode();
041:                value += 2;
042:                mmd.setCode(value);
043:            }
044:
045:            /**
046:             *  Description of the Method
047:             *
048:             *@param  mmd  Description of Parameter
049:             */
050:            public void methodTwo(MoveMethodDest mmd) {
051:                int value = mmd.getCode();
052:                value += incr1;
053:                mmd.setCode(value);
054:            }
055:
056:            /**
057:             *  Description of the Method
058:             *
059:             *@param  mmd  Description of Parameter
060:             */
061:            public void methodThree(MoveMethodDest mmd) {
062:                int value = mmd.getCode();
063:                value += increment;
064:                mmd.setCode(value);
065:            }
066:
067:            /**
068:             *  Description of the Method
069:             *
070:             *@param  mmd  Description of Parameter
071:             */
072:            public void methodFour(MoveMethodDest mmd) {
073:                int value = mmd.getCode();
074:                value += incr2;
075:                mmd.setCode(value);
076:            }
077:
078:            /**
079:             *  Description of the Method
080:             *
081:             *@return    Description of the Returned Value
082:             */
083:            public String publicMethod() {
084:                return "hello";
085:            }
086:
087:            /**
088:             *  Description of the Method
089:             *
090:             *@param  mmd  Description of Parameter
091:             */
092:            public void methodFive(MoveMethodDest mmd) {
093:                mmd.setTitle(publicMethod() + ":  " + mmd.getCode());
094:            }
095:
096:            /**
097:             *  Description of the Method
098:             *
099:             *@param  mmd  Description of Parameter
100:             */
101:            public void methodSix(MoveMethodDest mmd) {
102:                mmd.setTitle(protectedMethod() + ":  " + mmd.getCode());
103:            }
104:
105:            /**
106:             *  Description of the Method
107:             *
108:             *@param  mmd  Description of Parameter
109:             */
110:            public void methodEight(OtherMethodDest mmd) {
111:                mmd.setTitle(packageMethod() + ":  " + mmd.getCode());
112:            }
113:
114:            /**
115:             *  Description of the Method
116:             *
117:             *@param  mmd  Description of Parameter
118:             */
119:            public void methodNine(MoveMethodDest mmd) {
120:                mmd.setTitle(privateMethod() + ":  " + mmd.getCode());
121:            }
122:
123:            /**
124:             *  Description of the Method
125:             *
126:             *@param  mmd  Description of Parameter
127:             */
128:            public void methodSeven(MoveMethodDest mmd) {
129:                mmd.methodSeven(this );
130:            }
131:
132:            /**
133:             *  Description of the Method
134:             *
135:             *@return    Description of the Returned Value
136:             */
137:            protected String protectedMethod() {
138:                return "confidential";
139:            }
140:
141:            /**
142:             *  Description of the Method
143:             *
144:             *@return    Description of the Returned Value
145:             */
146:            String packageMethod() {
147:                return "secret";
148:            }
149:
150:            /**
151:             *  Description of the Method
152:             *
153:             *@return    Description of the Returned Value
154:             */
155:            private String privateMethod() {
156:                return "topSecret";
157:            }
158:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.