Learn Drools: Part II(Cross Product)

Learn Drools: Part  II(Cross Product)
Learn Drools: Part  II(Cross Product) In the previous article, we got a basic idea what is Drools and How it works. In this article, we pay attention to the details how Rule works with facts. When we write Rules Often a question Pops up...

Learn Drools: Part 1

Learn Drools: Part 1
Drools Introduction When we implement a complex software often we require to maintains a set of rules which will be applied on a set of data to take action on them. In a regular term, we called them Rule Engine. If there is a small set of rules we...

EnumSet Efficiency

EnumSet Efficiency
EnumSet Efficiency  EnumSet is Specialized Set which only takes Enum elements. Look at the signature of this class. public abstract class EnumSet<E extends Enum<E>>extends AbstractSet<E>implements Cloneable, Serializable The...

Java : Extensible Enum with Interface

Java : Extensible Enum with Interface
 Extensible Enum with Interface   Overview In Java Enum is a powerful data type. Many places user uses Enum To get advantages from Enum type. Like In a Static Factory method it wise decision to pass Enum type rather than pass String....