/** * Sets the index of the default clearance class of the input item class in the clearance matrix * to p_index. */ public void set(ItemClass p_item_class, int p_index) { this.arr[p_item_class.ordinal()] = p_index; }
/** Returns the number of the default clearance class for the input item class. */ public int get(ItemClass p_item_class) { return this.arr[p_item_class.ordinal()]; }