/** * Gets a static instance of this class. * * @return * A static instance of this class. */ public static WeightComparator getInstance() { if (INSTANCE == null) { INSTANCE = new WeightComparator(); } return INSTANCE; }
/** * Gets a static instance of this class. * * @return * A static instance of this class. */ public static WeightComparator getInstance() { if (INSTANCE == null) { INSTANCE = new WeightComparator(); } return INSTANCE; }
/** * Gets a static instance of this class. * * @return * A static instance of this class. */ public static WeightComparator getInstance() { if (INSTANCE == null) { INSTANCE = new WeightComparator(); } return INSTANCE; }