class VClock {

    public void set(String pid, long ticks) {

        // Anything less than 1 does not conform to specification.
        // We automatically set ticks to the lowest possible value.
        if (ticks <= 0) {
            ticks = 1;
        }

        if (this.vc.containsKey(pid)) this.vc.put(pid, ticks);
        else this.vc.put(pid, ticks);
    }

    public  VClock();

}