JBBPFieldLong extends JBBPAbstractField implements JBBPNumericField { @Override public long getAsInvertedBitOrder() { return reverseBits(this.value); } JBBPFieldLong(final JBBPNamedFieldInfo name, final long value); static long reverseBits(final long value); @Override double getAsDouble(); @Override float getAsFloat(); @Override int getAsInt(); @Override long getAsLong(); @Override boolean getAsBool(); @Override long getAsInvertedBitOrder(); @Override String getTypeAsString();  }
@Test public void testGetAsInvertedBitOrder() { assertEquals(0x10E060A020C04080L, new JBBPFieldLong(new JBBPNamedFieldInfo("test.field", "field", 123), 0x0102030405060708L).getAsInvertedBitOrder()); }