Class VendorWithTwoPreconditions

  • All Implemented Interfaces:
    Vendor<MyProduct>

    public class VendorWithTwoPreconditions
    extends java.lang.Object
    implements Vendor<MyProduct>
    Author:
    jonas
    • Constructor Detail

      • VendorWithTwoPreconditions

        public VendorWithTwoPreconditions​(int priority)
        Constructor specifying a priority
        Parameters:
        priority - the priority returned on Bid
      • VendorWithTwoPreconditions

        public VendorWithTwoPreconditions()
    • Method Detail

      • bid

        public double bid()