class: FrontOfSets

public class: FrontOfSets
Author: Petra Vanícková
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 5.12.2005 0:39:15; Modified: 10.12.2005 23:02:26;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {2B013F01-6833-483d-BB0C-C63615BE1A56}
Realizes front of sets and basic operations with the front

 

Goto: Fields, Methods

See also: MBAForm, SetName, MBAForm

Appears in: CD MarketBasketAnalysis

Connections
 
FrontOfSets Attributes
Attribute Details
private ArrayList
  frontOfSets
Notes: Structure which keeps SetName objects.

private bool
  frontInitialized
private int
  actualSetIndex
private int
  afterLastSetIndex
private int
  afterLastOneMember
 
FrontOfSets Methods
Operation Details
public
FrontOfSets():
Notes: Constructor of the class FrontOfSets.
public
getActual():SetName
Notes: Returns currently used member.

@returns currently used member
public
getActualSetIndex():int
Notes: Returns index of currently used member

@returns index of currently used member
public
getAfterLastSetIndex():int
public
getAfterLastOneMember():int
public
setAfterLastOneMember(
   int afterLastOneMember):void
public
insertNewSet(
   SetName newSet):void
Notes: Inserts new member to this front at last position.
public
insertAtPosition(
   int position,
   SetName newSet):void
Notes: Inserts new member to this front at given position.
public
getAtPosition(
   int position):SetName
public
setFrontInitialized(
   bool frontInitialized):void
Notes: Sets the flag whehter the front has been initialized or not.
public
getFrontInitialized():bool
Notes: Finds out if the front has been initialized.

@returns Whether the front has been initialized or not
public
clearFront():void
Notes: Removes all members from the set.
public
next():void
Notes: Moves index of currently used set to next position