@Test public void testUnion() { IpIpSpace ipSpace = Ip.parse("1.2.3.4").toIpSpace(); assertThat(union(null, null), nullValue()); assertThat(union(EmptyIpSpace.INSTANCE), equalTo(EmptyIpSpace.INSTANCE)); assertThat(union(EmptyIpSpace.INSTANCE, ipSpace), equalTo(ipSpace)); }
public static @Nullable IpSpace union(IpSpace... ipSpaces) { return union(Arrays.asList(ipSpaces)); }
AclIpSpace extends IpSpace { public static @Nullable IpSpace union(IpSpace... ipSpaces) { return union(Arrays.asList(ipSpaces)); } }
AclIpSpace extends IpSpace { public static @Nullable IpSpace union(IpSpace... ipSpaces) { return union(Arrays.asList(ipSpaces)); } @JsonCreator private  AclIpSpace(@Nullable @JsonProperty(PROP_LINES) List<AclIpSpaceLine> lines); }
AclIpSpace extends IpSpace { public static @Nullable IpSpace union(IpSpace... ipSpaces) { return union(Arrays.asList(ipSpaces)); } @JsonCreator private  AclIpSpace(@Nullable @JsonProperty(PROP_LINES) List<AclIpSpaceLine> lines); static Builder builder(); static IpSpace of(Iterable<AclIpSpaceLine> lines); static IpSpace of(AclIpSpaceLine... lines); static @Nullable IpSpace difference(
      @Nullable IpSpace ipSpace1, @Nullable IpSpace ipSpace2); static @Nullable IpSpace intersection(IpSpace... ipSpaces); static @Nullable IpSpace intersection(Iterable<IpSpace> ipSpaces); static Builder permitting(IpSpace... ipSpaces); static Builder permitting(Iterable<IpSpace> ipSpaces); static Builder permitting(Stream<IpSpace> ipSpaces); static Builder rejecting(IpSpace... ipSpaces); static Builder rejecting(Iterable<IpSpace> ipSpaces); static @Nullable IpSpace union(IpSpace... ipSpaces); static @Nullable IpSpace union(Iterable<IpSpace> ipSpaces); @Override R accept(GenericIpSpaceVisitor<R> ipSpaceVisitor); @Nonnull @JsonProperty(PROP_LINES) List<AclIpSpaceLine> getLines(); @Override int hashCode(); @Override String toString(); }
AclIpSpace extends IpSpace { public static @Nullable IpSpace union(IpSpace... ipSpaces) { return union(Arrays.asList(ipSpaces)); } @JsonCreator private  AclIpSpace(@Nullable @JsonProperty(PROP_LINES) List<AclIpSpaceLine> lines); static Builder builder(); static IpSpace of(Iterable<AclIpSpaceLine> lines); static IpSpace of(AclIpSpaceLine... lines); static @Nullable IpSpace difference(
      @Nullable IpSpace ipSpace1, @Nullable IpSpace ipSpace2); static @Nullable IpSpace intersection(IpSpace... ipSpaces); static @Nullable IpSpace intersection(Iterable<IpSpace> ipSpaces); static Builder permitting(IpSpace... ipSpaces); static Builder permitting(Iterable<IpSpace> ipSpaces); static Builder permitting(Stream<IpSpace> ipSpaces); static Builder rejecting(IpSpace... ipSpaces); static Builder rejecting(Iterable<IpSpace> ipSpaces); static @Nullable IpSpace union(IpSpace... ipSpaces); static @Nullable IpSpace union(Iterable<IpSpace> ipSpaces); @Override R accept(GenericIpSpaceVisitor<R> ipSpaceVisitor); @Nonnull @JsonProperty(PROP_LINES) List<AclIpSpaceLine> getLines(); @Override int hashCode(); @Override String toString();  }