CompUInt128 implements CompUInt<UInt64, UInt64, CompUInt128> { @Override public int toInt() { return low; } CompUInt128(byte[] bytes);  CompUInt128(byte[] bytes, boolean requiresPadding);  CompUInt128(BigInteger value);   CompUInt128(long high, int mid, int low);   CompUInt128(UInt64 value);   CompUInt128(long value);   CompUInt128(CompUInt128 other); @Override CompUInt128 add(CompUInt128 other); @Override CompUInt128 multiply(CompUInt128 other); @Override CompUInt128 subtract(CompUInt128 other); @Override CompUInt128 negateUInt(); @Override boolean isZero(); @Override BigInteger toBigInteger(); @Override UInt64 getLeastSignificant(); @Override UInt64 getMostSignificant(); @Override UInt64 getLeastSignificantAsHigh(); @Override long toLong(); @Override int toInt(); @Override CompUInt128 shiftLowIntoHigh(); @Override int getLowBitLength(); @Override int getHighBitLength(); @Override String toString(); @Override byte[] toByteArray();  }
@Test public void testToInt() { UInt<CompUInt128> uint = new CompUInt128(1); assertEquals(1, uint.toInt()); }