Code example for Logger

Methods: finest

0
            positions = new ArrayList<Integer> ();
            __index.put (keyword, positions);
        } 
 
        int startPosition = position - keyword.length();
        log.finest ("Found keyword \"" + keyword + "\" at position " + startPosition);
        positions.add (startPosition);
    } 
 
 
    /** 
     * Return occurrences of all keywords matched in the document 
     */ 
    public Set<String> getKeywords ()
    { 
        return __index.keySet ();
    } 
 
 
    /** 
     * Return occurrences of given keyword matched in the document