コード例 #1
0
 /**
  * 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;
 }
コード例 #2
0
 /** 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()];
 }