Interface Encoded
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An encoded object has a unique string of
1's and 0's that
uniquely distinguishes it object from others of the same type in the same
story world. Encodings are typically produced by the Encoding.encode(Object) method.- Author:
- Stephen G. Ware
-
Method Summary
-
Method Details
-
getCode
String getCode()Returns a string of1's and0's that uniquely represents this object among other objects of the same type in the same story world. Every encoded object of the same type should return a string of the same length, even if it must be padded with0's.- Returns:
- a string of 1's and 0's
-