@Test public void testSerialization() { final T object = object(); final T cloned = SerializationUtils.clone(object); Assert.assertEquals(object.getIdentifier(), cloned.getIdentifier()); }
@Override public final T getIdentifier() { return identifier; }
AbstractIdentifiablePayload extends IdentifiablePayload<T> implements Serializable { @Override public final T getIdentifier() { return identifier; } }
AbstractIdentifiablePayload extends IdentifiablePayload<T> implements Serializable { @Override public final T getIdentifier() { return identifier; } AbstractIdentifiablePayload(final @NonNull T identifier, final byte @NonNull[] serialized); }
AbstractIdentifiablePayload extends IdentifiablePayload<T> implements Serializable { @Override public final T getIdentifier() { return identifier; } AbstractIdentifiablePayload(final @NonNull T identifier, final byte @NonNull[] serialized); @Override final T getIdentifier(); @Override final int size(); }
AbstractIdentifiablePayload extends IdentifiablePayload<T> implements Serializable { @Override public final T getIdentifier() { return identifier; } AbstractIdentifiablePayload(final @NonNull T identifier, final byte @NonNull[] serialized); @Override final T getIdentifier(); @Override final int size();  }