public class PartyAndAmount<T>
A simple holder for a (possibly anonymous) class AbstractParty and a quantity of tokens
class AbstractPartypublic PartyAndAmount(@NotNull
AbstractParty party,
@NotNull
Amount<T> amount)
A simple holder for a (possibly anonymous) class AbstractParty and a quantity of tokens
class AbstractParty@NotNull public AbstractParty getParty()
@NotNull public Amount<T> getAmount()
@NotNull public AbstractParty component1()
@NotNull public Amount<T> component2()
@NotNull public PartyAndAmount<T> copy(@NotNull AbstractParty party, @NotNull Amount<T> amount)
A simple holder for a (possibly anonymous) class AbstractParty and a quantity of tokens
class AbstractParty@NotNull public java.lang.String toString()
A simple holder for a (possibly anonymous) class AbstractParty and a quantity of tokens
class AbstractPartypublic int hashCode()
A simple holder for a (possibly anonymous) class AbstractParty and a quantity of tokens
class AbstractPartypublic boolean equals(@Nullable
java.lang.Object p)
A simple holder for a (possibly anonymous) class AbstractParty and a quantity of tokens
class AbstractParty