パッケージ nlp4j.counter

クラス Counter<T>

  • 型パラメータ:
    T - Class for counting

    public class Counter<T>
    extends Object
     created_at : 2021-07-13
     
    導入されたバージョン:
    1.3.2
    作成者:
    Hiroki Oya
    • コンストラクタの詳細

      • Counter

        public Counter()
        Constructor
    • メソッドの詳細

      • add

        public void add​(T obj)
        パラメータ:
        obj - to be counted
      • getCount

        public int getCount​(T obj)
        パラメータ:
        obj - for counting
        戻り値:
        Count of object
      • getObjectList

        public List<T> getObjectList()
        戻り値:
        Object as List
      • getObjectListSorted

        public List<T> getObjectListSorted()
        戻り値:
      • getCountListSorted

        public List<Count<T>> getCountListSorted()