@Test(expectedExceptions=IllegalArgumentException.class) public void testAllocateNegativeSizeThrowsException() { Key.get(-KEY_SIZE); }
public static Key get(int size) { return new Key().allocate(size); }
Key { public static Key get(int size) { return new Key().allocate(size); } }
Key { public static Key get(int size) { return new Key().allocate(size); } private  Key(); }
Key { public static Key get(int size) { return new Key().allocate(size); } private  Key(); int size(); ByteBuffer getByteBuffer(); Key allocate(int size); long longValue(); Key set(long value); static Key get(int size); static Key createFrom(long uid); static Key createFrom(byte[] data); }
Key { public static Key get(int size) { return new Key().allocate(size); } private  Key(); int size(); ByteBuffer getByteBuffer(); Key allocate(int size); long longValue(); Key set(long value); static Key get(int size); static Key createFrom(long uid); static Key createFrom(byte[] data); static final int FUSION_IO_MAX_KEY_SIZE; }