@Test public void testIdentities() { assertThat(RENAMER.apply(UniverseIpSpace.INSTANCE), equalTo(UniverseIpSpace.INSTANCE)); assertThat(RENAMER.apply(EmptyIpSpace.INSTANCE), equalTo(EmptyIpSpace.INSTANCE)); assertThat(RENAMER.apply(IP_IP_SPACE), equalTo(IP_IP_SPACE)); assertThat(RENAMER.apply(PREFIX_IP_SPACE), equalTo(PREFIX_IP_SPACE)); assertThat(RENAMER.apply(IP_WILDCARD_IP_SPACE), equalTo(IP_WILDCARD_IP_SPACE)); assertThat(RENAMER.apply(IP_WILDCARD_SET_IP_SPACE), equalTo(IP_WILDCARD_SET_IP_SPACE)); }
@Override public IpSpace apply(@Nonnull IpSpace ipSpace) { return _visitor.visit(ipSpace); }
IpSpaceRenamer implements Function<IpSpace, IpSpace> { @Override public IpSpace apply(@Nonnull IpSpace ipSpace) { return _visitor.visit(ipSpace); } }
IpSpaceRenamer implements Function<IpSpace, IpSpace> { @Override public IpSpace apply(@Nonnull IpSpace ipSpace) { return _visitor.visit(ipSpace); } IpSpaceRenamer(Function<String, String> renamer); }
IpSpaceRenamer implements Function<IpSpace, IpSpace> { @Override public IpSpace apply(@Nonnull IpSpace ipSpace) { return _visitor.visit(ipSpace); } IpSpaceRenamer(Function<String, String> renamer); @Override IpSpace apply(@Nonnull IpSpace ipSpace); }
IpSpaceRenamer implements Function<IpSpace, IpSpace> { @Override public IpSpace apply(@Nonnull IpSpace ipSpace) { return _visitor.visit(ipSpace); } IpSpaceRenamer(Function<String, String> renamer); @Override IpSpace apply(@Nonnull IpSpace ipSpace);  }