@Test public void testConfed() { AsSet set = confedEmpty(); assertTrue(set.isEmpty()); assertTrue(set.isConfederationAsSet()); set = confed(1L); assertFalse(set.isEmpty()); assertTrue(set.isConfederationAsSet()); }
public static AsSet confed(long... value) { AsSet set = new AsSet(value, true); return CACHE.getUnchecked(set); }
AsSet implements Serializable, Comparable<AsSet> { public static AsSet confed(long... value) { AsSet set = new AsSet(value, true); return CACHE.getUnchecked(set); } }
AsSet implements Serializable, Comparable<AsSet> { public static AsSet confed(long... value) { AsSet set = new AsSet(value, true); return CACHE.getUnchecked(set); } private  AsSet(long[] value, boolean confederation); }
AsSet implements Serializable, Comparable<AsSet> { public static AsSet confed(long... value) { AsSet set = new AsSet(value, true); return CACHE.getUnchecked(set); } private  AsSet(long[] value, boolean confederation); static AsSet empty(); static AsSet of(long value); static AsSet of(long... value); static AsSet confedEmpty(); static AsSet confed(long... value); @Override int compareTo(AsSet o); boolean containsAs(long asn); @Override boolean equals(@Nullable Object o); @VisibleForTesting @JsonProperty(PROP_ASNS) SortedSet<Long> getAsns(); @Override int hashCode(); @JsonIgnore boolean isEmpty(); @JsonProperty(PROP_CONFEDERATION) boolean isConfederationAsSet(); AsSet removePrivateAs(); int size(); @Override String toString(); }
AsSet implements Serializable, Comparable<AsSet> { public static AsSet confed(long... value) { AsSet set = new AsSet(value, true); return CACHE.getUnchecked(set); } private  AsSet(long[] value, boolean confederation); static AsSet empty(); static AsSet of(long value); static AsSet of(long... value); static AsSet confedEmpty(); static AsSet confed(long... value); @Override int compareTo(AsSet o); boolean containsAs(long asn); @Override boolean equals(@Nullable Object o); @VisibleForTesting @JsonProperty(PROP_ASNS) SortedSet<Long> getAsns(); @Override int hashCode(); @JsonIgnore boolean isEmpty(); @JsonProperty(PROP_CONFEDERATION) boolean isConfederationAsSet(); AsSet removePrivateAs(); int size(); @Override String toString();  }