コード例 #1
0
 public List<LatLon> getLocations() {
   return Collections.unmodifiableList(this.locations);
 }
コード例 #2
0
ファイル: Cake.java プロジェクト: cicean/Comp504-FinalProject
 /**
  * Returns the partial cylinders comprising the shape.
  *
  * @return the cylinders comprising the shape, or an empty list if the shape contains no layers.
  */
 public List<Layer> getLayers() {
   return Collections.unmodifiableList(this.layers);
 }