Package io.foldright.inspectablewrappers
package io.foldright.inspectablewrappers
🪐 Inspectable Wrappers Specification provides a standard for wrapper chain with the inspection ability.
- The specification interfaces:
Wrapper
interface is used to be implemented by wrapper classes, make an inspectable wrapper chain(linked list).Attachable
interface is used to enhance the wrapper instances with the attachment storage abilityWrapperAdapter
interface is used to adapt an existed wrapper instance to typeWrapper
without modifying it.
- The
Inspector
class 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> ThisAttachable
interface is used to be implemented by wrapper classes, provide the attachment storage ability.ThisInspector
class is used to inspect the wrapper chain.Wrapper<T>ThisWrapper
interface is used to be implemented by wrapper classes, make an inspectable wrapper chain(linked list).ThisWrapperAdapter
interface is used to adapt an existed wrapper instance to typeWrapper
without modifying it.