PartyInfo.SingleNode
Keywords: net.corda.core.node.services.PartyInfo.SingleNode class
Date: 2023-09-18

net.corda.core.node.services

## Class PartyInfo.SingleNode

- PartyInfo
- - net.corda.core.node.services.PartyInfo.SingleNode

- Enclosing class:
    PartyInfo

      public static class PartyInfo.SingleNode
      extends PartyInfo

- - ### Constructor Detail

    - #### SingleNode

          public SingleNode(@NotNull
                            Party party,
                            @NotNull
                            java.util.List<net.corda.core.utilities.NetworkHostAndPort> addresses)

  - ### Method Detail

    - #### getParty

          @NotNull
          public Party getParty()

    - #### getAddresses

          @NotNull
          public java.util.List<net.corda.core.utilities.NetworkHostAndPort> getAddresses()

    - #### component1

          @NotNull
          public Party component1()

    - #### component2

          @NotNull
          public java.util.List<net.corda.core.utilities.NetworkHostAndPort> component2()

    - #### copy

          @NotNull
          public net.corda.core.node.services.PartyInfo.SingleNode copy(@NotNull
                                                                                 Party party,
                                                                                 @NotNull
                                                                                 java.util.List<net.corda.core.utilities.NetworkHostAndPort> addresses)

    - #### toString

          @NotNull
          public java.lang.String toString()

    - #### hashCode

          public int hashCode()

    - #### equals

          public boolean equals(@Nullable
                                java.lang.Object p)