@Override
        public boolean equals(Object o) {
            if(this == o) return true;
            if(o == null || getClass() != o.getClass()) return false;
            return compareTo((TrafficElement) o) == 0;
        }