Class IdUtilsKt

  • All Implemented Interfaces:

    
    public final class IdUtilsKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit validateExchangeId(String id) Validates the given exchange ID to ensure it conforms to a specific format and prefix.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • validateExchangeId

         final static Unit validateExchangeId(String id)

        Validates the given exchange ID to ensure it conforms to a specific format and prefix.

        This function checks if the provided id is a valid TypeId and whether its prefix matches the expected "rfq" prefix.

        Parameters:
        id - The exchange ID string that needs to be validated.