java.lang.Object
com.pervasive.datarush.analytics.arm.Item
All Implemented Interfaces:
Serializable

public class Item extends Object implements Serializable
Definition of an item with the context of association rule mining.
See Also:
  • Constructor Details

    • Item

      public Item(int itemID, String name)
    • Item

      public Item(int itemID, String name, String label)
      Create a new item with the given identifier and name.
      Parameters:
      itemID - unique item identifier
      name - item name
  • Method Details

    • getItemID

      public int getItemID()
      Get the item identifier.
      Returns:
      item identifier
    • getName

      public String getName()
      Get the item name.
      Returns:
      item name
    • getLabel

      public String getLabel()
      Get the item label.
      Returns:
      item label
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object