I would like to check if a Vector\'s size exists and equals 0.
I thought of using the following:
if (vector1 != null && vector1.size() = 0) {