core/src/main/java/com/orientechnologies/orient/core/tx/OTransactionIndexChangesPerKey.java
public Iterable<OTransactionIndexEntry> interpret(Interpretation interpretation) {
    synchronized (this) {
      switch (interpretation) {
      case Unique:
        return interpretAsUnique();
      case Dictionary:
        return interpretAsDictionary();
      case NonUnique:
        return interpretAsNonUnique();
      default:
        throw new IllegalStateException("Unexpected interpretation '" + interpretation + "'");
      }
    }
  }
public Iterable<OTransactionIndexEntry> interpret(Interpretation interpretation) {
    synchronized (this) {
      switch (interpretation) {
      case Unique:
        return interpretAsUnique();
      case Dictionary:
        return interpretAsDictionary();
      case NonUnique:
        return interpretAsNonUnique();
      default:
        throw new IllegalStateException("Unexpected interpretation '" + interpretation + "'");
      }
    }
  }
public Iterable < OTransactionIndexEntry > interpret ( Interpretation interpretation ) { synchronized ( this ) { switch ( interpretation ) { case Unique : return interpretAsUnique ( ) ; case Dictionary : return interpretAsDictionary ( ) ; case NonUnique : return interpretAsNonUnique ( ) ; default : throw new IllegalStateException ( "Unexpected interpretation '" + interpretation + "'" ) ; } } }
Interprets this key changes using the given {@link Interpretation interpretation}.

@param interpretation the interpretation to use.

@return the interpreted changes.
Interprets this key changes using the given { @link Interpretation interpretation } .