// If there was an edge of that type, remove it and update the
// "connected" set as necessary
if (types.get(index)) {
types.set(index, false);
// If this was the last edge to that vertex, remove this BitMap
if (types.cardinality() == 0) {
edges.remove(i);
size--;
// Check whether the other set has this edge, and if not, remove
// it from the cache of connected vertices
TIntObjectHashMap<BitSet> other = (edges == inEdges)