Changed LinkedList<String> to LinkedList<Constant> in ListConstant.