org.xvsm.selectors
Class RandomSelector

Package class diagram package RandomSelector
java.lang.Object
  extended by org.xvsm.selectors.Selector
      extended by org.xvsm.selectors.RandomSelector
All Implemented Interfaces:
java.io.Serializable

public class RandomSelector
extends Selector

Author:
Christian Schreiber, Michael Proestler
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.xvsm.selectors.Selector
CNT_ALL
 
Constructor Summary
RandomSelector()
          Default Constructor with default count 1.
RandomSelector(int count)
          Constructor with count as parameter.
 
Method Summary
 java.util.Properties getProperties()
          Get the properties of this Selector.
 void setProperties(java.util.Properties properties)
          Sets the properties of this Selector.
 java.lang.String toString()
          
 
Methods inherited from class org.xvsm.selectors.Selector
getCount, setCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RandomSelector

public RandomSelector()
Default Constructor with default count 1.


RandomSelector

public RandomSelector(int count)
Constructor with count as parameter.

Parameters:
count - the count of the selector.
Method Detail

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getProperties

public java.util.Properties getProperties()
Get the properties of this Selector. If the Selector does not have properties null or an empty properties object can be returned.

Specified by:
getProperties in class Selector
Returns:

setProperties

public void setProperties(java.util.Properties properties)
Sets the properties of this Selector.

Specified by:
setProperties in class Selector
Parameters:
properties - the properties


Copyright © 2009. All Rights Reserved.