Class ChainableAssignment<V,​C>

    • Constructor Detail

      • ChainableAssignment

        public ChainableAssignment​(Assignment<V> assignment,
                                   C chainReturnObject)
    • Method Detail

      • is

        public C is​(V value)
        Assign the given value and return object to allow chained invocation.
        Parameters:
        value - the value to assign
        Returns:
        the object to allow further chained invocation
      • get

        public V get()
        Specified by:
        get in interface Supplier<V>
      • set

        public void set​(V value)
        Description copied from interface: Assignment
        Assign the given value.
        Specified by:
        set in interface Assignment<V>
        Parameters:
        value - the value to assign.