01: package de.regnis.q.sequence.line.simplifier;
02:
03: /**
04: * @author Marc Strapetz
05: */
06: public class QSequenceLineTeeSimplifier implements
07: QSequenceLineSimplifier {
08:
09: // Fields =================================================================
10:
11: private final QSequenceLineSimplifier first;
12: private final QSequenceLineSimplifier second;
13:
14: // Setup ==================================================================
15:
16: public QSequenceLineTeeSimplifier(QSequenceLineSimplifier first,
17: QSequenceLineSimplifier second) {
18: this .first = first;
19: this .second = second;
20: }
21:
22: // Implemented ============================================================
23:
24: public byte[] simplify(byte[] bytes) {
25: return second.simplify(first.simplify(bytes));
26: }
27: }
|