@Test public void testAsBigInteger() { assertEquals(BigInteger.valueOf(Asn.ASN_32_BIT_MAX_VALUE), Asn.LAST_32_BIT_ASN.asBigInteger()); }
@Override public BigInteger asBigInteger() { return BigInteger.valueOf(value); }
Asn implements SingleInternetResource<Asn, AsnRange>, Comparable<Asn> { @Override public BigInteger asBigInteger() { return BigInteger.valueOf(value); } }
Asn implements SingleInternetResource<Asn, AsnRange>, Comparable<Asn> { @Override public BigInteger asBigInteger() { return BigInteger.valueOf(value); } Asn(Long value); }
Asn implements SingleInternetResource<Asn, AsnRange>, Comparable<Asn> { @Override public BigInteger asBigInteger() { return BigInteger.valueOf(value); } 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> { @Override public BigInteger asBigInteger() { return BigInteger.valueOf(value); } 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; }