Interface CMessage<Message extends PMessage<Message>>

    • Method Detail

      • values

        java.util.Map<java.lang.Integer,​java.lang.Object> values()
        Method to access all values in the message.
        Returns:
        The values map.
      • get

        default <T> T get​(int key)
        Specified by:
        get in interface PMessageOrBuilder<Message extends PMessage<Message>>
        Type Parameters:
        T - The return type.
        Parameters:
        key - The key of the field.
        Returns:
        The value of the field.
      • compareTo

        default int compareTo​(@Nonnull
                              Message other)
        Specified by:
        compareTo in interface java.lang.Comparable<Message extends PMessage<Message>>
      • asString

        @Nonnull
        default java.lang.String asString()
        Description copied from interface: PMessage
        Pure string representation of content. Does not contain type info.
        Specified by:
        asString in interface PMessage<Message extends PMessage<Message>>
        Specified by:
        asString in interface net.morimekta.util.Stringable
        Returns:
        String representation.