Class LLJava.Slot

java.lang.Object
eu.bandm.tools.lljava.absy.LLJava.Slot
All Implemented Interfaces:
Formattable, Cloneable
Enclosing class:
LLJava

public static class LLJava.Slot extends Object implements Cloneable, Formattable
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":126.1, see this pretty print.)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final int
     
    protected int
    The index is base ONE and maximally 2 ^ 222
    (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":824.9-825.9, see this pretty print.)
    The type of this field is int(never null)
    It is set by every possible constructor.

    protected LLJava.Type
    Generated by umod; model author's documentation MISSING.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Slot(LLJava.Type type, int index)
    Constructor generated according to specification #0
    Constructor defined according to directive "C 0/..".

  • Method Summary

    Modifier and Type
    Method
    Description
    Clones this object.
    boolean
    Generated by umod because this class is ALGEBRAIC.
    Delivers a format object for pretty-printing by inheritance from some ancestor class.
    int
    The index is base ONE and maximally 2 ^ 222
    (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":824.9-825.9, see this pretty print.)
    Generated getter method.
    Lifts a pattern which matches the field value to one which matches this whole object.
    Generated by umod; model author's documentation MISSING.
    Lifts a pattern which matches the field value to one which matches this whole object.
    int
    Generated by umod because this class is ALGEBRAIC.
    Copies values of all common fields from the argument.
     
    with_index(int val)
    The index is base ONE and maximally 2 ^ 222
    (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":824.9-825.9, see this pretty print.)
    Generated by umod; model author's documentation MISSING.
    boolean
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • BASE_HASH

      protected static final int BASE_HASH
    • type

      protected LLJava.Type type
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":823.9-55, see this pretty print.)
      The type of this field is LLJava.Type(never null)
      It is set by every possible constructor.

      See Also:
    • index

      protected int index
      The index is base ONE and maximally 2 ^ 222
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":824.9-825.9, see this pretty print.)
      The type of this field is int(never null)
      It is set by every possible constructor.

      See Also:
  • Constructor Details

    • Slot

      public Slot(LLJava.Type type, int index)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".

      Parameters:
      type - is copied to field type
      index - is copied to field index
  • Method Details

    • doclone

      public LLJava.Slot doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Returns:
      a fresh copy.

    • format

      public Format format()
      Delivers a format object for pretty-printing by inheritance from some ancestor class.
      Specified by:
      format in interface Formattable
      Returns:
      a format that represents this object in a pretty-printable way
    • toString

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

      public boolean equals(Object e0)
      Generated by umod because this class is ALGEBRAIC.
      Overrides:
      equals in class Object
    • x_equals

      public boolean x_equals(LLJava.Slot e0)
    • hashCode

      public int hashCode()
      Generated by umod because this class is ALGEBRAIC.
      Overrides:
      hashCode in class Object
    • initFrom

      public LLJava.Slot initFrom(Object o0)
      Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument.
    • get_type

      public LLJava.Type get_type()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":823.9-55, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type LLJava.Type(never null)
      See Also:
    • with_type

      public LLJava.Slot with_type(LLJava.Type val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":823.9-55, see this pretty print.)
      Parameters:
      val - the new value of type LLJava.Type(never null)
      Returns:
      a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
      See Also:

    • get_index

      public int get_index()
      The index is base ONE and maximally 2 ^ 222
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":824.9-825.9, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type int(never null)
      See Also:
    • with_index

      public LLJava.Slot with_index(int val)
      The index is base ONE and maximally 2 ^ 222
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":824.9-825.9, see this pretty print.)
      Parameters:
      val - the new value of type int(never null)
      Returns:
      a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
      See Also:

    • get_type

      public static Pattern<LLJava.Slot> get_type(Pattern<? super LLJava.Type> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class LLJava.__Patterns.
    • get_index

      public static Pattern<LLJava.Slot> get_index(Pattern<? super Integer> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class LLJava.__Patterns.