Class VoidIndexable

  • All Implemented Interfaces:
    Indexable

    public final class VoidIndexable
    extends Object
    implements Indexable
    Represents an index-able model, when used as return type of a method, it indicates invocation of the method may cause side-effect but does not produce a value.
    • Constructor Detail

      • VoidIndexable

        public VoidIndexable​(String key)
        Creates VoidIndexable.
        Parameters:
        key - the key.
    • Method Detail

      • key

        public String key()
        Specified by:
        key in interface Indexable
        Returns:
        the index key.