atin sood's Library tagged → View Popular
29 May 08
Annotations
-
Annotations
-
Annotations can be read from
source files, class files, or reflectively at run time. - 6 more annotations...
30 Apr 08
Java theory and practice: I have to document THAT?
-
If a package, class, or method is hard to document, it's probably trying to do more than one thing at once, and this should be a clue that perhaps it needs to be re-engineered.
The self-review aspects of documentation make it all the more important that writing Javadoc be done early in the development process and then reviewed periodically as the code evolves, rather than simply waiting until the code is complete and then writing the documentation (if there's any time left).
-
- How the method deals with error conditions or bad inputs
- How error conditions are communicated back to the caller
- Which specific subclasses of exceptions might be thrown
- Which values are valid for inputs
- Class invariants, method preconditions, or method postconditions
- Side effects
- Whether there are important linkages between methods
- How the class deals with an instance being accessed simultaneously from multiple threads
- 2 more annotations...
25 Apr 08
java.net: Add Logging at Class Load Time with Java Instrumentation
-
You can invoke java with a JVM argument
-javaagent:youragent.jaror-javaagent:youragent.jar=argumentto have Java call
thepremain(...)method listed in the manifest of
youragent.jar before trying to run themain
method specified. -
premain(...)method then allows
you to register a class file transformer with the system
class loade - 6 more annotations...
22 Apr 08
Intro to Design Patterns: Factory Method Pattern | Javalobby
-
Define an interface
-
but let subclasses
decide which class to instantiate - 13 more annotations...
Intro to Design Patterns: Builder Pattern | Javalobby
-
Object Creational
-
simplifies the construction of complex objects
- 11 more annotations...
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Top Contributors
Groups interested in java
Related Lists on Diigo
-
Java
Items: 578 | Visits: 146
Created by: Lubos Pochman
-
Java and Java script Programind
Codes and techniques of pro...
Items: 4 | Visits: 113
Created by: stefan stoichev
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
