@Test public void testIs32Bit() { assertFalse(Asn.FIRST_ASN.is32Bit()); assertFalse(Asn.LAST_16_BIT_ASN.is32Bit()); assertTrue(Asn.LAST_16_BIT_ASN.next().is32Bit()); assertTrue(Asn.LAST_32_BIT_ASN.is32Bit()); }
public boolean is32Bit() { return !is16Bit(); }
Asn implements SingleInternetResource<Asn, AsnRange>, Comparable<Asn> { public boolean is32Bit() { return !is16Bit(); } }
Asn implements SingleInternetResource<Asn, AsnRange>, Comparable<Asn> { public boolean is32Bit() { return !is16Bit(); } Asn(Long value); }
Asn implements SingleInternetResource<Asn, AsnRange>, Comparable<Asn> { public boolean is32Bit() { return !is16Bit(); } Asn(Long value); static Asn of(Long value); static Asn of(String value); static Asn parse(String text); boolean is16Bit(); boolean is32Bit(); @Override int compareTo(Asn other); @Override Asn next(); @Override Asn previous(); @Override boolean hasNext(); @Override boolean hasPrevious(); @Override String toString(); @Override AsnRange asRange(); @Override int bitSize(); @Override BigInteger asBigInteger(); @Override boolean equals(Object o); @Override int hashCode(); }
Asn implements SingleInternetResource<Asn, AsnRange>, Comparable<Asn> { public boolean is32Bit() { return !is16Bit(); } Asn(Long value); static Asn of(Long value); static Asn of(String value); static Asn parse(String text); boolean is16Bit(); boolean is32Bit(); @Override int compareTo(Asn other); @Override Asn next(); @Override Asn previous(); @Override boolean hasNext(); @Override boolean hasPrevious(); @Override String toString(); @Override AsnRange asRange(); @Override int bitSize(); @Override BigInteger asBigInteger(); @Override boolean equals(Object o); @Override int hashCode(); static final long ASN_MIN_VALUE; static final long ASN_16_BIT_MAX_VALUE; static final long ASN_32_BIT_MAX_VALUE; static final Asn FIRST_ASN; static final Asn LAST_16_BIT_ASN; static final Asn LAST_32_BIT_ASN; static final int NUMBER_OF_BITS; }