package com.kryptnostic.v2.storage.models; import java.util.Collection; import java.util.HashSet; import com.kryptnostic.v2.utils.SetUtils; public class VersionedObjectKeySet extends HashSet<VersionedObjectKey>{ private static final long serialVersionUID = -2280678803539884513L; public VersionedObjectKeySet() { super(); } public VersionedObjectKeySet( Collection<? extends VersionedObjectKey> c ) { super( c ); } public VersionedObjectKeySet( int i ) { super( SetUtils.expectedSize( i ) ); } public VersionedObjectKeySet( VersionedObjectKey key ) { this( 1 ); add( key ); } }