public class ToSpaceEncoderDecoder extends Object implements EncoderDecoder
decode(String)
method simply returns the argument unmodified.Constructor and Description |
---|
ToSpaceEncoderDecoder() |
Modifier and Type | Method and Description |
---|---|
String |
decode(String s) |
String |
encode(String s) |
boolean |
isSymmetrical() |
public boolean isSymmetrical()
isSymmetrical
in interface EncoderDecoder
public String decode(String s)
decode
in interface EncoderDecoder
s
- The string to decodepublic String encode(String s)
encode
in interface EncoderDecoder
s
- The string to encode