core java
-
regex
Check if a string matches a Pattern
In this example we shall show you how to check if a String matches a Pattern. To check if a String…
Read More » -
reflection
Get package name
This is an example of how to get the package name of a class. Getting the package name of a class…
Read More » -
reflection
Get super class of an object
With this example we shall show you how to get the super class of an object. To get the super…
Read More » -
reflection
Get class from an object
In this example we shall show you how to get the class of an Object. To get the class that represents…
Read More » -
reflection
Get methods return type
This is an example of how to get the return type of a classe’s methods. To get the return type of…
Read More » -
reflection
Get Modifiers from an Object
In this example we shall show you how to get the modifiers of a class. To get the modifiers of a…
Read More » -
reflection
Invoke Method with reflection
With this example we are going to demonstrate how to invoke a method using reflection. In short, to invoke a…
Read More » -
reflection
Get Methods from an Object
This is an example of how to get methods of an Object. Getting the methods of an Object implies that…
Read More » -
reflection
Get Fields from an Object
In this example we shall show you how to get the fields of a class represented by an object. To…
Read More » -
reflection
Create Proxy object
With this example we are going to demonstrate how to create a Proxy object. A proxy is a class functioning…
Read More »