Package bridge

Class Label

java.lang.Object
bridge.Label

public final class Label extends Object
A class for creating labels with persistent identifiers
See Also:
Notes:
The constructor for this class does not actually construct anything – so, the imaginary object must be immediately disposed of for your code to compile correctly.
  • Constructor Details

    • Label

      public Label(int id)
      Creates a persistent label at this location
      Parameters:
      id - Label ID constant – no dynamic values or mathematics is permitted here.
    • Label

      public Label(String name)
      Creates a persistent label at this location
      Parameters:
      name - Label name constant – no dynamic values or string manipulation is permitted here.