javolution.lang

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 » javolution 5.2 » javolution.lang 
javolution.lang

Provides fundamental classes and interfaces; some of which are either missing from the java.lang package or are not available for all platforms (including J2ME CLDC).

Java Source File NameTypeComment
ClassInitializer.javaClass

This utility class allows for initialization of all classes at startup to avoid initialization delays at an innapropriate time.

Note: Users might want to disable logging when initializing run-time classes at start-up because of the presence of old classes (never used) in the jar files for which initialization fails.

Configurable.javaClass

This class facilitates separation of concerns between the configuration logic and the application code.

Does your class need to know or has to assume that the configuration is coming from system properties ??

The response is obviously NO!

Let's compare the following examples:[code] class Document { private static final Font DEFAULT_FONT = Font.decode(System.getProperty("DEFAULT_FONT") != null ? System.getProperty("DEFAULT_FONT") : "Arial-BOLD-18"); ... }[/code] With the following (using this class):[code] class Document { public static final Configurable DEFAULT_FONT = new Configurable(new Font("Arial", Font.BOLD, 18)); ... }[/code] Not only the second example is cleaner, but the actual configuration data can come from anywhere (even remotely).

Enum.javaClass
Immutable.javaInterface

This interface identifies classes whose instances are not subject or susceptible to change or variation after creation.

MathLib.javaClass

This utility class ensures cross-platform portability of the math library.

Realtime.javaInterface

This interface identifies RTSJ safe classes with predictable response time and supporting custom javolution.context.AllocatorContext allocation policies (e.g.  javolution.context.StackContext "stack" allocations).

Instances of this class are typically created through an javolution.context.ObjectFactory ObjectFactory .

Reference.javaInterface

This interface represents an object reference, the reachability level of a reference varies based on the actual reference implementation.

Reflection.javaClass

This utility class greatly facilitates the use of reflection to invoke constructors or methods which may or may not exist at runtime.

The constructors/methods are identified through their signatures represented as a String .

Reusable.javaInterface

This interfaces identifies mutable objects capable of being used again or repeatedly; once Reusable.reset reset , reusable objects behave as if they were brand-new.

Reusable instances should not allocate new internal objects after creation except for the purpose of increasing their internal capacities.

ValueType.javaInterface

This interface identifies objects which can be manipulated by value; a JVM implementation may allocate instances of this class on the stack and pass references by copy.

Realtime instances can be "explicitly" allocated on the "stack" by executing within a javolution.context.StackContext StackContext and creating new instances with an javolution.context.ObjectFactory ObjectFactory .

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