Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.joone.util
Class ShufflePlugin

    java.lang.Object
      org.joone.util.AbstractConverterPlugIn
          org.joone.util.ConverterPlugIn
              org.joone.util.ShufflePlugin

All Implemented Interfaces:
  java.io.Serializable, PlugInListener

    public class ShufflePlugin

extends ConverterPlugIn

This plugin shuffles the content of the input buffer by mixing randomly the rows.

Author:
  P.Marrone
See Also:
  Serialized Form

Field Summary
`(package private) static long` | `serialVersionUID`

Fields inherited from class org.joone.util.AbstractConverterPlugIn
`pluginListeners`

Constructor Summary
`ShufflePlugin()` Creates a new instance of ShufflePlugin

Method Summary
`protected boolean` | `applyOnRows()` Applies the conversion on the patterns contained by `AbstractConverterPlugIn.InputVector` on all the rows.
`protected boolean` | `convert(int serie)` Applies the conversion on the Nth serie of the buffered pattern data.

Methods inherited from class org.joone.util.ConverterPlugIn
`isApplyEveryCycle, newCycle, setApplyEveryCycle`

Methods inherited from class org.joone.util.AbstractConverterPlugIn
`addPlugIn, addPlugInListener, apply, applyOnColumns, cascade, check, convertPatterns, dataChanged, fireDataChanged, getAdvancedSerieSelector, getInputVector, getName, getNextPlugIn, getPluginListeners, getSerieIndexNumber, getSerieSelected, getValuePoint, isConnected, removeAllPlugIns, removePlugInListener, setAdvancedSerieSelector, setConnected, setInputVector, setName, setNextPlugin, setNextPlugIn`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### serialVersionUID

    static final long serialVersionUID

See Also:
  Constant Field Values

Constructor Detail

### ShufflePlugin

    public ShufflePlugin()

  Creates a new instance of ShufflePlugin

Method Detail

### convert

    protected boolean convert(int serie)

  Description copied from class: `AbstractConverterPlugIn`
  Applies the conversion on the Nth serie of the buffered pattern data. The method is abstract and should be overridden by the implementing class. Implementing classes can obtain the input patterns by calling the `AbstractConverterPlugIn.getInputVector()` method. The result is a `Vector` of `Pattern` objects which this method should use by converting the requested serie.

  Specified by:
    `convert` in class `AbstractConverterPlugIn`
  Parameters:
    `serie` - the serie to convert

### applyOnRows

    protected boolean applyOnRows()

  Description copied from class: `AbstractConverterPlugIn`
  Applies the conversion on the patterns contained by `AbstractConverterPlugIn.InputVector` on all the rows. Override this empty method to apply any change to the order of the input vector's rows.

  Overrides:
    `applyOnRows` in class `AbstractConverterPlugIn`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit Feedback to pmarrone@users.sourceforge.net