I want to initialize my set to be empty (not null), can anyone help me? Here is my code
public class Graph {
private Set<Vertex> vertices;
public Graph() {
vertices = {};
}
I know that this is a wrong way to do that, but couldn't do anything else