In java, what's the relationship between field and class? -


please refer api. link is:

http://download.carrot2.org/stable/javadoc/org/carrot2/text/preprocessing/pipeline/completepreprocessingpipeline.html

class completepreprocessingpipeline  field summary  documentassigner   documentassigner           document assigner used algorithm, contains bindable attributes.

then found example using completepreprocessingpipeline way

completepreprocessingpipeline().documentassigner()exactphraseassignment(true) 

i not understand relationship between "completepreprocessingpipeline" , "documentassigner" in terms of "field vs.class".

a class contains fields. instance of class have fields.

http://download.oracle.com/javase/tutorial/java/javaoo/classes.html

in first example, bicycle class has 3 fields cadence, dear , speed.

this standard java code structure, nothing special it. suggest learn java , javadocs may make more sense.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -