Remove unnecessary addition of new Constructor for vertex ID
package io.improbable.keanu.vertices;
import com.google.common.primitives.Ints;
-import com.google.common.primitives.Longs;
import lombok.EqualsAndHashCode;
import java.util.Arrays;
-import java.util.List;
import java.util.concurrent.atomic.AtomicLong;
/**
@@ -27,10 +25,6 @@ public class VertexId implements Comparable<VertexId> {
idValues[0] = ID_GENERATOR.getAndIncrement();
}
- public VertexId(List<Long> ids) {
- idValues = Longs.toArray(ids);
- }
-
public void addPrefix(VertexId prefix) {
long[] newIdValues = new long[idValues.length + prefix.idValues.length];
System.arraycopy(prefix.idValues, 0, newIdValues, 0, prefix.idValues.length);
