Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More consistent responsibilities in GenericKey
- GenericLayout has no logic at all, forwards all to GenericKey - GenericKey accessor methods like: size, put, read, toString have "global" key state handling and calls internal versions of those methods for value logic - CompositeGenericKey overrides internal methods and essentially just loops over all state slots, calling the internal method in each slot instead
- Loading branch information
Showing
3 changed files
with
51 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters