 to produce six pipers who performed for the first time on St Patrick's Day of that year. A subsequent posting to Cyprus for part of the emergent band prevented future development. This and a general disapproval of the concept by some senior officers meant that the band declined. An attempt by SNCOs to rejuvenate the band in 1982 failed. The regiment moved to Muenster and had access to instruction from the locally based Irish Guards pipes and drums but lack of support at senior level meant the attempt foundered leaving only two pipers properly clothed and able to parade. It wasn't until Lt Col Sir Charles Lowther Bt, took command in 1987 that a further effort was made. RSM McLucas (by now a major and quartermaster) had expressed the wish that the Pipes and drums could be reformed and Col Lowther agree and organised a plan. It is as a result of his efforts that a corps exists today and is on the establishment.
The pipe band originally consisted of just two pipers but no drums, the uniform was a saffron kilt with a green piper's jacket,and a Saffron Cloak, after two years the band grew by adding four drummers and was now in a position to carry out more challenging engagements.
By the end of the 1970s and the start of the 1980s the pipe band received its first Pipe Major, Pipe Major Jimmy Walker, which in turn helped to improve the musical talents within the pipe band. To perform at the Royal Tournament in London was one of the main driving focus's at the time. Sadly this was not achieved until 1996 Under Pipe Major Walker's Successor, Pipe Major David Johnson who joined the regiment and the Pipe Band from the Irish Guards in Munster in 1988.
Once the Pipe Band achieved its goal of playing at London the Military School of Piping in Scotland then started to use the Pipes and Drums more frequently thus helping the Pipe Band immensely because a young Trooper from the Royal Scots Dragoon Guards joined the Regiment and the Pipe Band in 1991 to help and encourage the younger members of the band. He Became the Pipe Major before being replaced in 2008 by the first true Queen's Royal Hussar Pipe Major, Nicolas Colwell.
Under Pipe Major Massie in 1999 the Pipe Band was requested to appear at the Royal Tournament and the Edinburgh Tattoo. Some changes were made to the dress and the Band then wore a Saffron Kilt with a green but gold braided Pipers jacket and a garter blue and green shawl with the White Horse of Hannover as a brooch, the drummers wearing traditional Hussars ceremonial dress.
Recent engagements have included the south of France and South Africa supporting the Army Sales team, Pipers are also being sent to Brazil and Korea.
All the soldiers currently serving in the Pipe Band are not just Pipers and Drummers but are also full crewmen of the regimental workhorse "the Challenger 2 Main Battle Tank".
There has been no formal adoption of pipe music by the regiment, but the pipe tunes have become very much a part of Regimental Parades, the following tunes have become part of the Regiment's Music.
Retrieved from "https://military.wikia.org/wiki/Queen%27s_Royal_Hussars?oldid=5249221"The fastest way to swim on your back is using a stroke called back crawl.
Back crawl is different to most strokes because you cannot see where you are going.
This is why it is important to be careful to check who is behind you before you start.
Practice counting how many strokes it takes you to swim a length.
This should help to avoid any accidents.
Try and swim with all of your body close to the surface of the water and keep your hips and legs behind your shoulders.
The way to do this is to make sure that your head is resting in the water, almost like lying on your back in bed and putting your head on a pillow./*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package solution;

import java.io.File;
import java.util.List;
import java.util.*;
import java.text.*;

/**
 *
 * @author limei
 */
public class PerformanceMonitor {

    Set<List<Integer>> premuteSet = new HashSet<>();

    private void permute(List<Integer> arr, int k) {
        for (int i = k; i < arr.size(); i++) {
            Collections.swap(arr, i, k);
            permute(arr, k + 1);
            Collections.swap(arr, k, i);
        }
        if (k == arr.size() - 1) {
            List<Integer> newObject = new ArrayList<>();
            newObject.addAll(arr);
            premuteSet.add(newObject);
        }
    }

    private List<List<Integer>> createDetaGrid(Set<List<Integer>> set) {
        List<List<Integer>> detaGridSet = new ArrayList<>();

        for (List<Integer> arr : set) {
            detaGridSet.add(createDeta(arr));
        }

        return detaGridSet;
    }

    private List<Integer> createDeta(List<Integer> arr) {
        List<Integer> newObject = new ArrayList<>();

        for (int i = 0; i < arr.size(); i++) {
            int currentInt = arr.get(i);
            int detaValue = i + 1;
            for (int j = i - 1; j >= 0; j--) {
                int previousInt = arr.get(j);
                if (previousInt >= currentInt) {
                    detaValue = i - j;
                    break;
                }
            }
            newObject.add(detaValue);
        }

        //System.out.println("posi: " + arr);
        //System.out.println("deta: " + newObject);
        //System.out.println("\n ");
        return newObject;
    }

    private double averageDeta(List<List<Integer>> set) {
        int number = set.size();
        double sumDeta = 0.0;

        Iterator iterator = set.iterator();
        for (List<Integer> set1 : set) {
            List<Integer> arr = (List<Integer>) set1;
            sumDeta = sumDeta + sumDeta(arr);
        }

        return sumDeta / number;
    }

    private int sumDeta(List<Integer> arr) {
        int currentInt = 0;
        for (Integer arr1 : arr) {
            currentInt = currentInt + arr1;
        }
        //System.out.println("currentInt: " + currentInt);
        return currentInt;
    }

    public static void main(String[] args) {
        PerformanceMonitor pm = new PerformanceMonitor();
        pm.permute(Arrays.asList(1, 2, 3, 4, 5, 6), 0);
        System.out.println(pm.premuteSet);
        System.out.println("\n");

        List<List<Integer>> detaGridSet = pm.createDetaGrid(pm.premuteSet);
        System.out.println(detaGridSet);
        System.out.println("\n");

        double averageDeta = pm.averageDeta(detaGridSet);
        System.out.println(pm.roundTo2Decimals(averageDeta));
        //System.out.println("\n");

    }

    private double roundTo2Decimals(double val) {
        DecimalFormat df2 = new DecimalFormat("###.##");
        return Double.valueOf(df2.format(val));
    }

    public static void main1(String[] args) {
        /* Total number of processors or cores available to the JVM */
        System.out.println("Available processors (cores): "
                + Runtime.getRuntime().availableProcessors());

        /* Total amount of free memory available to the JVM */
        System.out.println("Free memory (bytes): "
                + Runtime.getRuntime().freeMemory() / (1024 * 1024));

        /* This will return Long.MAX_VALUE if there is no preset limit */
        long maxMemory = Runtime.getRuntime().maxMemory() / (1024 * 1024);
        /* Maximum amount of memory the JVM will attempt to use */
        System.out.println("Maximum memory (bytes): "
                + (maxMemory == Long.MAX_VALUE? "no limit" : maxMemory));

        /* Total memory currently in use by the JVM */
        System.out.println("Total memory (bytes): "
                + Runtime.getRuntime().totalMemory() / (1024 * 1024));

        /* Get a list of all filesystem roots on this system */
        File[] roots = File.listRoots();

        /* For each filesystem root, print some info */
        for (File