Documentation of 'ca.pfv.spmf.algorithms.sequentialpatterns.gsp_AGP.items.Item' Java class
Item
ca.pfv.spmf.algorithms.sequentialpatterns.gsp_AGP.items

Class Item<T extends java.lang.Comparable>

  • All Implemented Interfaces:
    java.lang.Comparable<Item>


    public class Item<T extends java.lang.Comparable>
    extends java.lang.Object
    implements java.lang.Comparable<Item>
    Implementation of an item. This implementation is generic in order to be able to manage any kind of item (string, integer, ...) Copyright Antonio Gomariz Peñalver 2013 This file is part of the SPMF DATA MINING SOFTWARE (http://www.philippe-fournier-viger.com/spmf). SPMF is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. SPMF is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with SPMF. If not, see .
    • Constructor Summary

      Constructors 
      Constructor and Description
      Item(T id)
      Standard constructor
    • Constructor Detail

      • Item

        public Item(T id)
        Standard constructor
        Parameters:
        id - the item's content
    • Method Detail

      • getId

        public T getId()
        get the item's content.
        Returns:
        the item content
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo(Item i)
        Specified by:
        compareTo in interface java.lang.Comparable<Item>

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.