Class RecognizerList


  • @Deprecated
    @PublicAPI
    public class RecognizerList
    extends Object
    Deprecated.
    as of Marvin 2014.07.21.0 not used
    List of format recognizers.
    Since:
    Marvin 5.0, 10/14/2007
    • Method Detail

      • toString

        public String toString()
        Deprecated.
        Gets the string representation of the list.
        Overrides:
        toString in class Object
        Returns:
        the string
      • size

        public int size()
        Deprecated.
        Gets the total number of elements.
        Returns:
        the total number of elements
      • getLevelCount

        public int getLevelCount()
        Deprecated.
        Gets the number of levels.
        Returns:
        the number of levels
        Since:
        Marvin 5.1, 07/26/2008
      • size

        public int size​(int level)
        Deprecated.
        Gets the size of list at the specified level.
        Returns:
        the number of elements
        Since:
        Marvin 5.1, 07/26/2008
      • getRecognizer

        public Recognizer getRecognizer​(int level,
                                        int i)
        Deprecated.
        Gets an element of the recognizer list at the specified level.
        Parameters:
        level - the level
        i - the index
        Returns:
        the element
        Since:
        Marvin 5.1, 07/26/2008
      • indicesOf

        public int[] indicesOf​(String format)
        Deprecated.
        Gets the level and the index of the specified format.
        Parameters:
        format - the codename
        Returns:
        two-element array containing the level and the index, or null if not found
        Since:
        Marvin 5.1, 07/26/2008
      • remove

        public void remove​(String format)
        Deprecated.
        Removes the recognizer with the specified codename.
        Parameters:
        format - the codename
      • removeAllExcept

        public void removeAllExcept​(String formats)
        Deprecated.
        Removes all recognizers except the specified.
        Parameters:
        formats - the codename(s separated by spaces)
      • removeAllExcept

        public void removeAllExcept​(long flags,
                                    long mask)
        Deprecated.
        Removes all recognizers except those with the specified flags.
        Parameters:
        flags - select formats of which the specified flags are set
        mask - only bits specified here are taken into account