private static byte cmdMap(StoreType t) {
    byte rv;
    switch (t) {
    case set:
      rv = StoreOperationImpl.SETQ;
      break;
    case add:
      rv = StoreOperationImpl.ADDQ;
      break;
    case replace:
      rv = StoreOperationImpl.REPLACEQ;
      break;
    default:
      rv = DUMMY_OPCODE;
    }
    // Check fall-through.
    assert rv != DUMMY_OPCODE : "Unhandled store type:  " + t;
    return rv;
  }
Construct an optimized get starting with the given get operation.
src/main/java/net/spy/memcached/protocol/binary/OptimizedSetImpl.java