RISC JKU

at.jku.risc.stout.nau.data.atom

Class Sort

  • Direct Known Subclasses:
    SortAtom, SortData


    public abstract class Sort
    extends Object
    The super class for the different sets of sorts (e.g. SortAtom, SortData).
    Author:
    Alexander Baumgartner
    • Constructor Detail

      • Sort

        public Sort(String name)
        Instantiates a type of the specified name. Use the NodeFactory to create new Sorts! The use of NodeFactory guarantees the uniqueness of equal Sorts. This uniqueness enables very fast equality testing, hash-code generation, comparison of types,... and it keeps the memory overhead as small as possible.