uk.co.jemos.podam.test.dto
Class CollectionsPojo

java.lang.Object
  extended by uk.co.jemos.podam.test.dto.CollectionsPojo

public class CollectionsPojo
extends Object

A test POJO dedicated to collections

Author:
mtedone

Field Summary
private  ArrayList<String> arrayListStr
          A list implementation of strings
private  ConcurrentMap<String,OneDimensionalTestPojo> concurrentHashMap
          A Concurrent Map
private  ConcurrentHashMap<String,OneDimensionalTestPojo> concurrentHashMapImpl
          A Concurrent Map
private  List<String> copyOnWriteList
          A concurrency list
private  HashMap<String,OneDimensionalTestPojo> hashMap
          A map implementation of Strings
private  HashSet<String> hashSetStr
          A set implementation of strings
private  Map<String,OneDimensionalTestPojo> map
          A Map of Strings vs Pojos
private  List nonGenerifiedList
          A non-generified list
private  Map nonGenerifiedMap
          A non-generified map
private  Queue<SimplePojoToTestSetters> queue
          A non-initialised Queue
private  Collection<String> strCollection
          A collection of Strings
private  List<String> strList
          A List of Strings
private  Set<String> strSet
          A set of strings
 
Constructor Summary
CollectionsPojo()
           
 
Method Summary
 ArrayList<String> getArrayListStr()
           
 ConcurrentMap<String,OneDimensionalTestPojo> getConcurrentHashMap()
           
 ConcurrentHashMap<String,OneDimensionalTestPojo> getConcurrentHashMapImpl()
           
 List<String> getCopyOnWriteList()
           
 HashMap<String,OneDimensionalTestPojo> getHashMap()
           
 HashSet<String> getHashSetStr()
           
 Map<String,OneDimensionalTestPojo> getMap()
           
 List getNonGenerifiedList()
           
 Map getNonGenerifiedMap()
           
 Queue<SimplePojoToTestSetters> getQueue()
           
 Collection<String> getStrCollection()
           
 List<String> getStrList()
           
 Set<String> getStrSet()
           
 void setArrayListStr(ArrayList<String> arrayListStr)
           
 void setConcurrentHashMap(ConcurrentMap<String,OneDimensionalTestPojo> concurrentHashMap)
           
 void setConcurrentHashMapImpl(ConcurrentHashMap<String,OneDimensionalTestPojo> concurrentHashMapImpl)
           
 void setCopyOnWriteList(List<String> copyOnWriteList)
           
 void setHashMap(HashMap<String,OneDimensionalTestPojo> hashMap)
           
 void setHashSetStr(HashSet<String> hashSetStr)
           
 void setMap(Map<String,OneDimensionalTestPojo> map)
           
 void setNonGenerifiedList(List nonGenerifiedList)
           
 void setNonGenerifiedMap(Map nonGenerifiedMap)
           
 void setQueue(Queue<SimplePojoToTestSetters> queue)
           
 void setStrCollection(Collection<String> strCollection)
           
 void setStrList(List<String> strList)
           
 void setStrSet(Set<String> strSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strList

private List<String> strList
A List of Strings


arrayListStr

private ArrayList<String> arrayListStr
A list implementation of strings


copyOnWriteList

private List<String> copyOnWriteList
A concurrency list


strSet

private Set<String> strSet
A set of strings


hashSetStr

private HashSet<String> hashSetStr
A set implementation of strings


strCollection

private Collection<String> strCollection
A collection of Strings


map

private Map<String,OneDimensionalTestPojo> map
A Map of Strings vs Pojos


hashMap

private HashMap<String,OneDimensionalTestPojo> hashMap
A map implementation of Strings


concurrentHashMap

private ConcurrentMap<String,OneDimensionalTestPojo> concurrentHashMap
A Concurrent Map


concurrentHashMapImpl

private ConcurrentHashMap<String,OneDimensionalTestPojo> concurrentHashMapImpl
A Concurrent Map


queue

private Queue<SimplePojoToTestSetters> queue
A non-initialised Queue


nonGenerifiedList

private List nonGenerifiedList
A non-generified list


nonGenerifiedMap

private Map nonGenerifiedMap
A non-generified map

Constructor Detail

CollectionsPojo

public CollectionsPojo()
Method Detail

getStrList

public List<String> getStrList()
Returns:
the strList

getArrayListStr

public ArrayList<String> getArrayListStr()
Returns:
the arrayListStr

getStrSet

public Set<String> getStrSet()
Returns:
the strSet

getHashSetStr

public HashSet<String> getHashSetStr()
Returns:
the hashSetStr

getStrCollection

public Collection<String> getStrCollection()
Returns:
the strCollection

getMap

public Map<String,OneDimensionalTestPojo> getMap()
Returns:
the map

setStrList

public void setStrList(List<String> strList)
Parameters:
strList - the strList to set

setArrayListStr

public void setArrayListStr(ArrayList<String> arrayListStr)
Parameters:
arrayListStr - the arrayListStr to set

setStrSet

public void setStrSet(Set<String> strSet)
Parameters:
strSet - the strSet to set

setHashSetStr

public void setHashSetStr(HashSet<String> hashSetStr)
Parameters:
hashSetStr - the hashSetStr to set

setStrCollection

public void setStrCollection(Collection<String> strCollection)
Parameters:
strCollection - the strCollection to set

setMap

public void setMap(Map<String,OneDimensionalTestPojo> map)
Parameters:
map - the map to set

getCopyOnWriteList

public List<String> getCopyOnWriteList()
Returns:
the copyOnWriteList

setCopyOnWriteList

public void setCopyOnWriteList(List<String> copyOnWriteList)
Parameters:
copyOnWriteList - the copyOnWriteList to set

getHashMap

public HashMap<String,OneDimensionalTestPojo> getHashMap()
Returns:
the hashMap

setHashMap

public void setHashMap(HashMap<String,OneDimensionalTestPojo> hashMap)
Parameters:
hashMap - the hashMap to set

getConcurrentHashMap

public ConcurrentMap<String,OneDimensionalTestPojo> getConcurrentHashMap()
Returns:
the concurrentHashMap

setConcurrentHashMap

public void setConcurrentHashMap(ConcurrentMap<String,OneDimensionalTestPojo> concurrentHashMap)
Parameters:
concurrentHashMap - the concurrentHashMap to set

getConcurrentHashMapImpl

public ConcurrentHashMap<String,OneDimensionalTestPojo> getConcurrentHashMapImpl()
Returns:
the concurrentHashMapImpl

setConcurrentHashMapImpl

public void setConcurrentHashMapImpl(ConcurrentHashMap<String,OneDimensionalTestPojo> concurrentHashMapImpl)
Parameters:
concurrentHashMapImpl - the concurrentHashMapImpl to set

getQueue

public Queue<SimplePojoToTestSetters> getQueue()
Returns:
the queue

setQueue

public void setQueue(Queue<SimplePojoToTestSetters> queue)
Parameters:
queue - the queue to set

getNonGenerifiedList

public List getNonGenerifiedList()
Returns:
the nonGenerifiedList

setNonGenerifiedList

public void setNonGenerifiedList(List nonGenerifiedList)
Parameters:
nonGenerifiedList - the nonGenerifiedList to set

getNonGenerifiedMap

public Map getNonGenerifiedMap()
Returns:
the nonGenerifiedMap

setNonGenerifiedMap

public void setNonGenerifiedMap(Map nonGenerifiedMap)
Parameters:
nonGenerifiedMap - the nonGenerifiedMap to set

Jemos 2002 - 2011: All Rights Reserved. Podam runs under the MIT license

Copyright © 2011. All Rights Reserved.