code: public void remove(String key) {
          String processedKey = processKey(key);
          String orderKey = null;
  
          // removing key set for all positions
          for (int i = 0; i < this.order.size(); i++) {
              orderKey = this.order.get(i);
  
              if (orderKey != null && orderKey.equals(processedKey) == true) {
                  this.order.remove(i);
              }
          }
  
          this.types.remove(processedKey);
          this.direction.remove(processedKey);
          this.values.remove(processedKey);
      }
docs: Removes specified key
  
  @param key Key which would be removed