de.regnis.q.sequence.line.simplifier.QSequenceLineTeeSimplifier Maven / Gradle / Ivy
The newest version!
package de.regnis.q.sequence.line.simplifier;
/**
* @author Marc Strapetz
*/
public class QSequenceLineTeeSimplifier implements QSequenceLineSimplifier {
// Fields =================================================================
private final QSequenceLineSimplifier first;
private final QSequenceLineSimplifier second;
// Setup ==================================================================
public QSequenceLineTeeSimplifier(QSequenceLineSimplifier first, QSequenceLineSimplifier second) {
this.first = first;
this.second = second;
}
// Implemented ============================================================
public byte[] simplify(byte[] bytes) {
return second.simplify(first.simplify(bytes));
}
}