@Test public void toStringTest() { final ChannelAddress address = new ChannelAddress( 1, 2, 1 ); assertEquals( address.toString(), "1.2.1" ); }
@Override public String toString() { if ( Replicant.areNamesEnabled() ) { return getName(); } else { return super.toString(); } }
ChannelAddress implements Comparable<ChannelAddress> { @Override public String toString() { if ( Replicant.areNamesEnabled() ) { return getName(); } else { return super.toString(); } } }
ChannelAddress implements Comparable<ChannelAddress> { @Override public String toString() { if ( Replicant.areNamesEnabled() ) { return getName(); } else { return super.toString(); } } ChannelAddress( final int systemId, final int channelId );  ChannelAddress( final int systemId, final int channelId, @Nullable final Integer id ); }
ChannelAddress implements Comparable<ChannelAddress> { @Override public String toString() { if ( Replicant.areNamesEnabled() ) { return getName(); } else { return super.toString(); } } ChannelAddress( final int systemId, final int channelId );  ChannelAddress( final int systemId, final int channelId, @Nullable final Integer id ); int getSystemId(); int getChannelId(); @Nullable Integer getId(); @Override String toString(); @Nonnull String getName(); @Nonnull String asChannelDescriptor(); @Nonnull String getCacheKey(); @Nonnull static ChannelAddress parse( final int schema, @Nonnull final String channel ); @Override boolean equals( final Object o ); @Override int hashCode(); @Override int compareTo( @Nonnull final ChannelAddress o ); }
ChannelAddress implements Comparable<ChannelAddress> { @Override public String toString() { if ( Replicant.areNamesEnabled() ) { return getName(); } else { return super.toString(); } } ChannelAddress( final int systemId, final int channelId );  ChannelAddress( final int systemId, final int channelId, @Nullable final Integer id ); int getSystemId(); int getChannelId(); @Nullable Integer getId(); @Override String toString(); @Nonnull String getName(); @Nonnull String asChannelDescriptor(); @Nonnull String getCacheKey(); @Nonnull static ChannelAddress parse( final int schema, @Nonnull final String channel ); @Override boolean equals( final Object o ); @Override int hashCode(); @Override int compareTo( @Nonnull final ChannelAddress o );  }