code: public void registerGetModifier(GetModifier getModifier) {
      int currentIndex = getModifiers.indexOf(getModifier);
      if(currentIndex == -1) {
        getModifiers.add(getModifier);
      } else {
        getModifiers.set(currentIndex, getModifier);
      }
    }
docs: Register a GetModifier to be called before every Get is executed on HBase.
  This GetModifier will be replaced if already registered and added if not.
  Equality is checked by calling the equals() on the getModifier passed.
  GetModifiers will be called in the order they are added to the
  template, so if any modifier is destructive, it must be added in the right
  order.
  
  Not Thread Safe
  @param getModifier The GetModifier to register.