code: public void fromShort(short n) {
      Bits[] v = Bits.values();
      set(v[(n >>> 6) & 7], v[(n >>> 3) & 7], v[n & 7]);
    }
docs: Sets {@link Mode} bits using a digital representation.
  
  @param n the digital representation of a {@link Mode}