protectedvoid removeEdge(finalint index)
{
finalint l = size() - 1;
if (index == l)
remove(l);
else set(index, remove(l)); // The last one is remove (no array copy require, then it replace the element to remove)}
protectedvoid removeEdge(finalint index)
{
finalint l = size() - 1;
if (index == l)
remove(l);
else set(index, remove(l)); // The last one is remove (no array copy require, then it replace the element to remove)}