@@ -0,0 +1,423 @@
+package com.kundan.binpacking.utils;%0A%0Aimport java.util.Comparator;%0A%0Aimport com.kundan.binpacking.core.Item;%0A%0Apublic class DecresingHeightComparator implements Comparator%3CObject%3E %7B%0A%0A%09@Override%0A%09public int compare(Object arg0, Object arg1) %7B%0A%09%09Item one = (Item)arg0;%0A%09%09Item two = (Item)arg1;%0A%09%09if(one.mHieght == two.mHieght)%7B%0A%09%09%09return 0;%0A%09%09%7Delse if(one.mHieght %3E two.mHieght)%7B%0A%09%09%09return -1;%0A%09%09%7Delse%7B%0A%09%09%09return +1;%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Create DecresingHeightComparator.java