edu.umd.cs.findbugs.ml

Class ConvertToARFF.IdAttribute

public static class ConvertToARFF.IdAttribute extends Object implements ConvertToARFF.Attribute

An attribute that just gives each instance a unique id. The application name is prepended, so each unique id really unique, even across applications. Obviously, this attribute shouldn't be used as input to a learning algorithm.

Uses the Element's uid attribute if it has one.

Method Summary
StringgetInstanceValue(Element element, String appName)
StringgetName()
StringgetRange()
voidscan(Element element, String appName)

Method Detail

getInstanceValue

public String getInstanceValue(Element element, String appName)

getName

public String getName()

getRange

public String getRange()

scan

public void scan(Element element, String appName)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.