Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/VDM/VDMPP/BuslinesPP/src/gui/     Datei vom 13.4.2020 mit Größe 564 B image not shown  

Quelle  Waypoint.java   Sprache: JAVA

 

package gui;

import java.awt.Point;

public class Waypoint {

 boolean stop;
 String name;
 Point point;
 
 public Waypoint(String wpName, Point location) {
  this(wpName, location, false);
 }
 
 public Waypoint(String wpName, Point location, boolean isStop) {
  
  name = wpName;
  stop = isStop;
  point = location;
 }
 
 public int X(){
  return (int) point.getX();
 }
 
 public int Y(){
  return (int) point.getY();
 }
 
 public Point point(){
  return  point;
 }
 
 public String Name(){
  return name;
 }
 
 public boolean IsStop()
 {
  return stop;
 }
 
}

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland