Package io.foldright.inspectablewrappers
package io.foldright.inspectablewrappers
🪐 Inspectable Wrappers Specification provides a standard for wrapper chain with the inspection ability.
- The specification interfaces:
Wrapperinterface is used to be implemented by wrapper classes, make an inspectable wrapper chain(linked list).Attachableinterface is used to enhance the wrapper instances with the attachment storage abilityWrapperAdapterinterface is used to adapt an existed wrapper instance to typeWrapperwithout modifying it.
- The
Inspectorclass is used to inspect the wrapper chain.
- Author:
- Jerry Lee (oldratlee at gmail dot com), Zava Xu (zava dot kid at gmail dot com), Yang Fang (snoop dot fy at gmail dot com)
- See Also:
-
ClassDescriptionAttachable<K,
V> ThisAttachableinterface is used to be implemented by wrapper classes, provide the attachment storage ability.ThisInspectorclass is used to inspect the wrapper chain.Wrapper<T>ThisWrapperinterface is used to be implemented by wrapper classes, make an inspectable wrapper chain(linked list).ThisWrapperAdapterinterface is used to adapt an existed wrapper instance to typeWrapperwithout modifying it.