Class SUte


  • public class SUte
    extends java.lang.Object
    Miscellaneous static utility methods that have nowhere else to live.
    • Constructor Summary

      Constructors 
      Constructor Description
      SUte()  
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static java.lang.String allFieldsString​(SRecordMeta<?> meta)
      Deprecated.
      See SFieldReference.toLongerString
      static java.lang.String arrayToString​(java.lang.Object array)
      Makes a string out of elements of an array for tracing.
      static java.lang.String cleanClass​(java.lang.Class<?> cls)
      Pretty class names without package prefixes etc.
      static boolean inBitSet​(long bitSet, long element, long setType)
      Depricated! ` True if element is in bitSet.
      static java.lang.String simpleormVersion()
      The SimpleORM Version.
      static boolean trimStringEquals​(java.lang.Object firstObj, java.lang.Object secondObj)  
      • Methods inherited from class java.lang.Object

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

      • SUte

        public SUte()
    • Method Detail

      • inBitSet

        public static boolean inBitSet​(long bitSet,
                                       long element,
                                       long setType)
        Depricated! ` True if element is in bitSet. Throws exception if lower short does not match the setType indicating mismatched flags.
      • cleanClass

        public static java.lang.String cleanClass​(java.lang.Class<?> cls)
        Pretty class names without package prefixes etc.
      • arrayToString

        public static java.lang.String arrayToString​(java.lang.Object array)
        Makes a string out of elements of an array for tracing. If array is not an object just toString it.
      • simpleormVersion

        public static java.lang.String simpleormVersion()
        The SimpleORM Version. Major.Minor. Guaranteed upward compatibility within all major versions (except 00.*!). Guaranteed that these will sort properly, hence leading zeros.

        Is not a constant because Java will copy the constant into any dependent modules !!!

      • trimStringEquals

        public static boolean trimStringEquals​(java.lang.Object firstObj,
                                               java.lang.Object secondObj)
      • allFieldsString

        @Deprecated
        public static java.lang.String allFieldsString​(SRecordMeta<?> meta)
        Deprecated.
        See SFieldReference.toLongerString