Java SortedSet Interface

SortedSet interface extends Set interface in collection framework of java. As name suggest, It provides total ordering on elements of Set. Set elements will be ordered using their natural ordering or using a comparator interface. All the elements entries of SortedSet must implement Comparable interface. All the elements of SortedSet must be comparable. So e1.compareTo(e2) … Read more

State Transition Testing

It is the test design technique which help us to find out scenarios based on state transition of the software and also help us to write the effective test cases for software transition from one state to another. Means it is helpful when we want to test different state transition. State Transition is helpful when … Read more

HashSet in Java Collection Example

HashSet is a class of collection framework which extends AbstractSet class and implements the Set interface. HasSet doesn’t guarantee that elements order will remain same over the time and returned in any random order. HasSet doesn’t allow duplicate values. If you try to insert duplicate, It will overwrite. HasSet allows to store null values. HasSet … Read more

What Is Decision Table?

In this article we are going to discuss about decision table. Decision Table : In simple word, Decision table is useful to reduce our test conditions (test cases) by elimination some test cases which has same result/output. Decision table is also called cause-effect table. We know about the techniques called boundary value analysis and equivalence … Read more