1-20 of 416
Previous
Next |
Random Number Generation Using Java
by M S Sridhar
Language: Java, Level: Intermediate: - Learn how to use the Random class available in the java.util package to generate random numbers.
|
Clearing the Contents of a StringBuffer
by M S Sridhar
Language: Java, Level: Intermediate: - StringBuffer is a class that facilitates string operations and also helps reduce memory usage.
|
Case Insensitive Comparison of Two Strings
by Srinath M S
Language: .NET, Expertise: Intermediate - We often compare two strings to the same case and then compare them to see if they are the same. Learn an easier way.
|
Identifying the Unicode of Characters in a Given String
by M S Sridhar
Language: Java, Expertise: Intermediate - Learn how the String class facilitates finding the unicode of characters in a String.
|
Quick Way to Create Class Diagrams for a Project
by Srinath M S
Language: .NET, Expertise: Intermediate - Class diagrams help you to understand code quickly through visual representation.
|
Understanding Optional
by M S Sridhar
Language: Java, Expertise: Intermediate - Get to know optional. This example can be fine-tuned as needed to explore all of the methods supported.
|
Exporting to CSV with Leading Zeroes from a StreamWriter
by Srinath M S
Language: .NET, Expertise: Enterprise — Learn how to prevent the deletion of leading zeros when transferring data.
|
Adding a ShowDesktop Feature to Your Applications
by Hannes du Preez
Language: .NET||Expertise: Intermediate
|
Java Tip: Optimization Technique for Lists
by Deepak Tyagi
An ArrayList that is not initialized with the proper size can slow your Java application's performance.
|
Create an Interface from a Class in Visual Studio
by Srinath MS
Use Visual Studio's refactoring features to extract class methods into an interface.
|
A Quick Way to Generate Properties in Visual Studio C# Projects
by Srinath MS
Don't write property setters and getters by hand--generate them!
|
Obtain the Local Absolute Path of a Class File
by
This tip shows how to obtain the local absolute path of a class file containing the specified class name, as prescribed by the current classpath.
|
Using a Built-In Shortcut to Add Properties to a Class
by Bill Harmon
After declaring your class, suppose you want to add individual element properties to that class. This process has been simplified in Visual Studio when working in C#.
|
Make an Immutable Class
by Devesh Gote
The code in this tip shows how to make an immutable class.
|
Loading Classes Directly from .jar Archives
by Leonard Anghel
Find out how to make a custom class loader to load classes directly from your .jar archives.
|
Prevent Inheritance from a Base Class
by Venkata Edara
Use the code in this tip to avoid deriving from your base class.
|
Obtain Class Methods Using Reflection
by Leonard Anghel
Learn how to obtain all methods, all declared methods, and one specific method for the java.lang.reflect.Method class.
|
Override a Child Class' Parent Method
by Anthony Burke
Here's a workaround to override a child class' parent method with a more granular return type.
|
Extending the Existing CLR Type
by Naresh Rohra
With .NET 3.0, you can extend any existing CLR type by adding one or more public methods to itwithout recompiling the library
|
Potential Problems with Friend Classes and Functions in C++
by Alexander Ocher
In C++, it is possible to declare as a friend a class which was not declared anywhere else. This behavior is specified in the C++ Standard (11.4), but it can lead to problems if used incorrectly.
|
1-20 of 416
Previous
Next |