Class Utils


  • public class Utils
    extends java.lang.Object
    Some utility methods.
    Author:
    Holger Eichelberger
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Utils()
      Prevents creation from outside.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getQualifiedNameString​(de.uni_hildesheim.sse.vil.expressions.expressionDsl.QualifiedName name)
      Returns a string representing a qualified name.
      static java.lang.String getQualifiedNameString​(de.uni_hildesheim.sse.vil.expressions.expressionDsl.QualifiedPrefix name)
      Returns a string representing a qualified name.
      static boolean isEmpty​(de.uni_hildesheim.sse.vil.expressions.expressionDsl.QualifiedPrefix name)
      Returns whether the given qualified name is empty.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Utils

        private Utils()
        Prevents creation from outside.
    • Method Detail

      • getQualifiedNameString

        public static java.lang.String getQualifiedNameString​(de.uni_hildesheim.sse.vil.expressions.expressionDsl.QualifiedPrefix name)
        Returns a string representing a qualified name. (May change in future to structured qualified names.)
        Parameters:
        name - the qualified name
        Returns:
        the corresponding string representation
      • isEmpty

        public static boolean isEmpty​(de.uni_hildesheim.sse.vil.expressions.expressionDsl.QualifiedPrefix name)
        Returns whether the given qualified name is empty.
        Parameters:
        name - the name to be checked
        Returns:
        true if it is empty, false else
      • getQualifiedNameString

        public static java.lang.String getQualifiedNameString​(de.uni_hildesheim.sse.vil.expressions.expressionDsl.QualifiedName name)
        Returns a string representing a qualified name. (May change in future to structured qualified names.)
        Parameters:
        name - the qualified name
        Returns:
        the corresponding string representation