public List < AuditLogChange > getChangesForKeys ( AuditLogKey ... keys ) { Checks . notNull ( keys , "Keys" ) ; List < AuditLogChange > changes = new ArrayList <> ( keys . length ) ; for ( AuditLogKey key : keys ) { AuditLogChange change = getChangeByKey ( key ) ; if ( change != null ) changes . add ( change ) ; } return Collections . unmodifiableList ( changes ) ; }
Filters all changes by the specified keys