@Test public void testGetPrefix() { assertThat( LinkLocalAddress.parse("link-local:169.254.44.55").getPrefix(), equalTo(Prefix.parse("169.254.0.0/16"))); }
public Prefix getPrefix() { return PREFIX; }
LinkLocalAddress extends InterfaceAddress { public Prefix getPrefix() { return PREFIX; } }
LinkLocalAddress extends InterfaceAddress { public Prefix getPrefix() { return PREFIX; } private  LinkLocalAddress(Ip ip); }
LinkLocalAddress extends InterfaceAddress { public Prefix getPrefix() { return PREFIX; } private  LinkLocalAddress(Ip ip); static LinkLocalAddress of(Ip ip); @Nonnull Ip getIp(); Prefix getPrefix(); @Override boolean equals(Object o); @Override int hashCode(); @Override @JsonValue String toString(); static LinkLocalAddress parse(String text); @Override int compareTo(InterfaceAddress o); }
LinkLocalAddress extends InterfaceAddress { public Prefix getPrefix() { return PREFIX; } private  LinkLocalAddress(Ip ip); static LinkLocalAddress of(Ip ip); @Nonnull Ip getIp(); Prefix getPrefix(); @Override boolean equals(Object o); @Override int hashCode(); @Override @JsonValue String toString(); static LinkLocalAddress parse(String text); @Override int compareTo(InterfaceAddress o);  }