@Override
	public int compareClock(Clock otherClock) {
		VectorClock otherVectorClock = (VectorClock)otherClock;
		boolean greater = true;
		boolean less = true;
		for (String tmpKey : this.clock.keySet()) {
			if (otherVectorClock.clock.containsKey(tmpKey)) {
				if (this.clock.get(tmpKey) > otherVectorClock.clock.get(tmpKey)) {
					less = false;
				}
				if (this.clock.get(tmpKey) < otherVectorClock.clock.get(tmpKey)) {
					greater = false;
				}
			} else {
				System.out.println("ERROR, NO THIS HOST VECTORCLOCK");
			}
		}

		// thisClock < otherClock
		
		if (less && !greater)
			return -1;
		// thisClock < otherClock
		if (greater && !less)
			return 1;
		// thisClock = otherClock
		return 0;
	}