Class Performer

java.lang.Object
org.emrick.project.Performer
All Implemented Interfaces:
Comparable<Performer>

public class Performer extends Object implements Comparable<Performer>
  • Field Details

    • currentLocation

      public Point2D currentLocation
    • symbol

      private String symbol
    • label

      private int label
    • coordinates

      private ArrayList<Coordinate> coordinates
    • performerID

      private int performerID
    • ledStrips

      private ArrayList<Integer> ledStrips
  • Constructor Details

    • Performer

      public Performer()
    • Performer

      public Performer(String symbol, int label, int id)
  • Method Details

    • getLedStrips

      public ArrayList<Integer> getLedStrips()
    • setLedStrips

      public void setLedStrips(ArrayList<Integer> ledStrips)
    • addLEDStrip

      public void addLEDStrip(int ledStrip)
    • getPerformerID

      public int getPerformerID()
    • setPerformerID

      void setPerformerID(int performerID)
    • loadCoordinates

      public void loadCoordinates(ArrayList<Coordinate> coordinates)
    • getCoordinates

      public ArrayList<Coordinate> getCoordinates()
    • setCoordinates

      public void setCoordinates(ArrayList<Coordinate> coordinates)
    • getCoordinateFromSet

      public Coordinate getCoordinateFromSet(String set)
    • addSet

      public void addSet(Coordinate coordinate)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getIdentifier

      public String getIdentifier()
    • getSymbol

      public String getSymbol()
    • setSymbol

      public void setSymbol(String symbol)
    • getLabel

      public int getLabel()
    • setLabel

      public void setLabel(int label)
    • isLeftOnly

      public boolean isLeftOnly()
    • isGDS

      private boolean isGDS()
    • getLEDCount

      public int getLEDCount()
    • compareTo

      public int compareTo(Performer o)
      Compare sections and labels to determine the relative ordering of two performers as they would appear in the CSV file. See Symbol.java for section ordering.
      Specified by:
      compareTo in interface Comparable<Performer>