docs: public static <T extends Object> List<T> getUniques(final List<T> list) {
          //Initiate the necessary variables.
          final List<T> uniques = new ArrayList<T>();
          //We declare the map to be final and it will be garbage
          //collected at the end of this method's execution, making
          //the space used by the map temporary.
          final HashMap<T,T> hm = new HashMap<T,T>();
          //Loop through all of the elements.
          for (T t : list) {
              //If you don't find the object in the map, it is
              //unique and we add it to the uniques list.
              if (hm.get(t) == null) {
                  hm.put(t,t);
                  uniques.add(t);
              }
          }
          return uniques;
      }