private Ipv4Impl(Ipv4Builder base) { this._ipv4 = base.getIpv4(); this.augmentation = ImmutableMap.copyOf(base.augmentation); }
public Ipv4Builder addAugmentation(Class<? extends Augmentation<Ipv4>> augmentationType, Augmentation<Ipv4> augmentationValue) { if (augmentationValue == null) { return removeAugmentation(augmentationType); } if (!(this.augmentation instanceof HashMap)) { this.augmentation = new HashMap<>(); } this.augmentation.put(augmentationType, augmentationValue); return this; }
new Ipv4PrefixBuilder().setIpv4Prefix(v4Prefix(address, prefix)).build()).build() : newRemoteEidBuilder(Ipv4Afi.class, vni) .setAddress(new Ipv4Builder().setIpv4(arrayToIpv4AddressNoZone(address)).build()) .build();
new Ipv4PrefixBuilder().setIpv4Prefix(v4Prefix(address, prefix)).build()).build() : newLocalEidBuilder(Ipv4Afi.class, vni).setAddress( new Ipv4Builder().setIpv4(arrayToIpv4AddressNoZone(address)).build()) .build();
new Ipv4Builder().setIpv4(arrayToIpv4AddressNoZone(address)) .build()) .build();
public Ipv4Builder addAugmentation(Class<? extends Augmentation<Ipv4>> augmentationType, Augmentation<Ipv4> augmentationValue) { if (augmentationValue == null) { return removeAugmentation(augmentationType); } if (!(this.augmentation instanceof HashMap)) { this.augmentation = new HashMap<>(); } this.augmentation.put(augmentationType, augmentationValue); return this; }
Ipv4Impl(Ipv4Builder base) { this._ipv4 = base.getIpv4(); this.augmentation = ImmutableMap.copyOf(base.augmentation); }
new Ipv4PrefixBuilder().setIpv4Prefix(v4Prefix(address, prefix)).build()).build() : newEidBuilderRemote(Ipv4Afi.class, vni) .setAddress(new Ipv4Builder().setIpv4(arrayToIpv4AddressNoZone(address)).build()) .build();