001 // License: GPL. For details, see LICENSE file. 002 package org.openstreetmap.josm.data.osm; 003 004 public interface IWay extends IPrimitive { 005 006 int getNodesCount(); 007 long getNodeId(int idx); 008 boolean isClosed(); 009 010 }