Java TreeSet Class

TreeSet is class under Set interface of collection framework. It implements NavigableSet interface which extends SortedSet interface. Elements are ordered by a Comparator which is provided at set creation time or by natural ordering. It maintains the ascending sorting order. TreeSet is not synchronized so if multiple threads accessing it concurrently and any one modifies set entry then … Read more

JMeter – Random Order Controller Example

Random order controller in apache jmeter is used to execute requests of jmeter software load test plan in random order. This is the only difference between simple controller and random order controller. We will learn usage of random order controller in jmeter software load test plan with example. Add Random Order Controller In Load Test … Read more

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