> +
> + /**
> + * @param in The target Network
> + * @return A Builder from the provided Network
> + */
> + public Builder fromNetwork(Network in) {
> + return this
> + .networkUuid(in.getNetworkUuid())
> + .portUuid(in.getPortUuid())
> + .fixedIp(in.getFixedIp());
> + }
> + }
> +
> + @Override
> + public int compareTo(Network that) {
> + return this.toString().compareTo(that.toString());
I think so. For example, ordering is based on the string() method defined here.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/311/files#r10442541