Interface LongConverter<T>

  • Type Parameters:
    T - The number type

    public interface LongConverter<T>
    Interface used by number constraints. This allows all the integer number constraints (byte,short int, long) to share the same editor (which uses long values). This interface allows the editor values to be converted back to T.
    • Method Detail

      • fromLong

        T fromLong​(long value)
        Converts a long value back to a T
        Parameters:
        value - the long value.
        Returns:
        the long value converted to T