code: public void setOption(Option option) {
          switch (option) {
              case ARRAY_ORDER_SIGNIFICANT:
                  arrayComparator = new DefaultArrayNodeComparator();
                  break;
              case ARRAY_ORDER_INSIGNIFICANT:
                  arrayComparator = new SetArrayNodeComparator();
                  break;
              case RETURN_PARENT_DIFFS:
                  returnParentDiffs = true;
                  break;
              case RETURN_LEAVES_ONLY:
                  returnParentDiffs = false;
                  break;
          }
  
      }
docs: Sets an option