Commit b9924aeb authored by Sebastian Vollbrecht's avatar Sebastian Vollbrecht

Added a utility method to the LayerStructure class.

parent a98ffe98
......@@ -151,6 +151,15 @@ public final class LayerStructure implements Serializable, Iterable<Integer>, Ob
}
/**
* Returns an unmodifiable view of the list of layers, sorted by depth.
*
* @return the list of layers
*/
public List<Set<Integer>> getLayers() {
return Collections.unmodifiableList(layers);
}
/**
* Returns an unmodifiable view of the last layer.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment