as below, "n.getNodeData().getAttributes().getValue("sex")" will return a Object value, but how can i match it with String value "male"? so that i can extract out all value in the column who is male?
for (Node n : graphModel.getGraph().getNodes()) {
if(n.getNodeData().getAttributes().getValue("sex") == "male")
System.out.println(n.getNodeData().getAttributes().getValue("sex"));
}