public class ContactGenerator extends Object
| Modifier and Type | Method and Description |
|---|---|
Contact |
generate()
generates a new contact
|
void |
generate(Collection<Contact> collection,
int count)
generats
count number contacts and puts them into collection
collection |
long |
generateId() |
static ContactGenerator |
getInstance() |
public static ContactGenerator getInstance()
public long generateId()
public Contact generate()
public void generate(Collection<Contact> collection, int count)
count number contacts and puts them into collection
collectioncollection - count - Copyright © 2015. All rights reserved.