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:
Labels must be constructed and disposed of in a single statement. They may not be stored. Usages of these constructors are counted as removals.
  • 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.