POF Serializer Generator >
Features Annotations Future Downloads Changelog Compatibility Presentations
@PofSerialized @PofAttribute @PofUniformCollection @PofUniformMap @PofDate @PofAttributeSerializer

This annotation indicates that the annotated collection-like attribute java.util.Collection or array or com.tangosol.util.LongArray is a uniform collection. This forces the discovered element class to be used as a uniform class even when uniformity is not guaranteed.

Attributes:

Attribute Type Default value Description
elementType Class N/A The uniform class to be used (overrides the discovered type if it would not cause a compile error).
 
uniformElement   boolean  true True means that the collection is a uniform collection. False means that no uniform class should be used, even if it can be determined.