equal
deleted
inserted
replaced
212 } yield (sym, ch) |
212 } yield (sym, ch) |
213 (new Recoder(mapping), |
213 (new Recoder(mapping), |
214 new Recoder(mapping map { case (x, y) => (y, x) })) |
214 new Recoder(mapping map { case (x, y) => (y, x) })) |
215 } |
215 } |
216 |
216 |
217 def decode(text: String) = decoder.recode(text) |
217 def decode(text: String): String = decoder.recode(text) |
218 def encode(text: String) = encoder.recode(text) |
218 def encode(text: String): String = encoder.recode(text) |
219 } |
219 } |
220 } |
220 } |