docstring
stringlengths
3
2.38k
code
stringlengths
9
99.4k
return the sum of the squares of the available values
<unk> . <init> DescriptiveStatistics . apply
construct an <unk> , which describes the constructor of a class of open m beans with the specified name , description and signature
<unk> . <init> Descriptor . cast
add a signature to the given document
<unk> . <init> Document . getDocumentElement <unk> . <unk> XMLSignatureFactory . getInstance ArrayList < Transform > . <init> XMLSignatureFactory . <unk> List < Transform > . add XMLSignatureFactory . <unk> XMLSignatureFactory . <unk> XMLSignatureFactory . <unk> XMLSignatureFactory . <unk> XMLSignatureFactory . <unk> Collections . singletonList XMLSignatureFactory . <unk> <unk> . <unk> ArrayList . <init> List . add ArrayList . <init> List . add X509Certificate . getSubjectX500Principal List . add <unk> . <unk> X509Certificate . getSerialNumber List . add <unk> . <unk> List . add <unk> . <unk> XMLSignatureFactory . <unk> XMLSignature . sign
insert the methods description here
<unk> . <init> DocumentBuilderFactory . newDocumentBuilder URL . openStream BufferedReader . <init> StringBuffer . <init> BufferedReader . readLine String . trim StringBuffer . append BufferedReader . readLine BufferedReader . close StringReader . <init> BufferedReader . <init> DocumentBuilder . parse Document . getDocumentElement
parse xml html string to a xml dom representation
<unk> . <init> DocumentBuilderFactory . newInstance DocumentBuilderFactory . setNamespaceAware DocumentBuilderFactory . setValidating DocumentBuilderFactory . newDocumentBuilder DocumentBuilder . setEntityResolver DocumentBuilder . setErrorHandler DocumentBuilder . parse Parser . <init> XMLReader . setFeature DOMResult . <init> SAXSource . <init> Transformer . transform DOMResult . getNode
parse an xml document from a reader and return the document object
<unk> . <init> DocumentBuilderFactory . setNamespaceAware DocumentBuilderFactory . setIgnoringElementContentWhitespace DocumentBuilderFactory . setValidating DocumentBuilderFactory . newDocumentBuilder DocumentBuilder . parse DocumentImpl . cast Thread . currentThread
parse an xml document from a reader and return the document object
<unk> . <init> DocumentBuilderFactory . setNamespaceAware DocumentBuilderFactory . setIgnoringElementContentWhitespace DocumentBuilderFactory . setValidating DocumentBuilderFactory . newDocumentBuilder DocumentBuilder . parse DocumentImpl . instance DocumentImpl . <unk> DocumentImpl . cast
parse the xml document and return the document element
<unk> . <init> DocumentBuilderFactory . setNamespaceAware DocumentBuilderFactory . setIgnoringElementContentWhitespace DocumentBuilderFactory . setValidating DocumentBuilderFactory . setAttribute InputSource . <init> DocumentBuilderFactory . setAttribute DocumentBuilderFactory . newDocumentBuilder DocumentBuilder . setErrorHandler DocumentBuilder . parse DocumentImpl . cast DocumentImpl . <unk>
validate xml with xsd by dom
<unk> . <init> DocumentBuilderFactory . setNamespaceAware StreamSource . <init> SchemaFactory . newInstance SchemaFactory . newSchema DocumentBuilderFactory . setSchema DocumentBuilderFactory . newDocumentBuilder InputSource . <init> DocumentBuilder . parse DOMSource . <init>
validate xml with xsd by dom
<unk> . <init> DocumentBuilderFactory . setNamespaceAware StreamSource . <init> SchemaFactory . newInstance SchemaFactory . newSchema DocumentBuilderFactory . setSchema DocumentBuilderFactory . newDocumentBuilder InputSource . <init> DocumentBuilder . parse Schema . newValidator DOMSource . <init>
make sure double
<unk> . <init> Double . isNaN AbstractStorelessUnivariateStatistic . increment AbstractStorelessUnivariateStatistic . getResult
make sure double
<unk> . <init> Double . isNaN AbstractStorelessUnivariateStatistic . increment
to string returns current value
<unk> . <init> Double . toString <unk> . toString <unk> . add <unk> . toString
construct a stax end <unk> from a DOM4J element
<unk> . <init> Element . <unk> <unk> . <init> XMLEventFactory . <unk>
the actual filter factory implementation
<unk> . <init> Element . getChildNodes NodeList . getLength NodeList . item Element . hasAttribute Element . cast Element . getAttribute <unk> . <unk>
the actual filter factory implementation
<unk> . <init> Element . getChildNodes NodeList . getLength NodeList . item Node . getNodeName Element . hasAttribute Element . cast Element . getAttribute <unk> . <unk> Element . cast Element . getAttribute <unk> . <unk>
the actual filter factory implementation
<unk> . <init> Element . getChildNodes NodeList . item Element . cast Element . getAttribute <unk> . <unk> Element . cast Element . getAttribute ObjectName . <init> <unk> . <unk>
the actual filter factory implementation
<unk> . <init> Element . getChildNodes NodeList . item Element . cast Element . getAttribute <unk> . <unk>
the actual filter factory implementation
<unk> . <init> Element . getChildNodes NodeList . item Element . hasAttribute Element . cast Element . getAttribute <unk> . <unk>
the actual filter factory implementation
<unk> . <init> Element . getChildNodes NodeList . item Node . getNodeName Element . cast Element . getAttribute <unk> . <unk>
check if an element has children
<unk> . <init> Element . instance
add a persistence delegate to a given encoder that encodes the child nodes of this node
<unk> . <init> Encoder . <unk> Node . cast Node . getChildren List . size Node . cast Encoder . <unk> Statement . <init>
subclass should override this method
<unk> . <init> Entry . getKey <unk> . <init> <unk> . <init> Entry . getKey Entry . getValue <unk> . <init> Entry . getKey Entry . getValue
return an ordered map where the order of entries is determined by the natural ordering of the value type
<unk> . <init> Entry < String , Double > . getKey LinkedHashMap < String , Double > . <init> Entry < Double , String > . getValue Map < String , Double > . put
match given set of serializable fields with serializable fields described by the given local class descriptor , and returns a field reflector instance capable of setting getting values from the subset of fields that match non matching fields are treated as filler , for which get operations return default values and set operations discard given values
<unk> . <init> EntryFuture . <init> AbstractMap . put FieldReflector . cast EntryFuture . instance EntryFuture . get ObjectStreamClass . <unk> FieldReflector . <init> EntryFuture . set AbstractMap . put FieldReflector . cast Error . cast InternalError . <init>
match given set of serializable fields with serializable fields described by the given local class descriptor , and returns a field reflector instance capable of setting getting values from the subset of fields that match non matching fields are treated as filler , for which get operations return default values and set operations discard given values
<unk> . <init> EntryFuture . <init> FieldReflector . instance FieldReflector . cast EntryFuture . get FieldReflector . <init> EntryFuture . set FieldReflector . cast Error . cast InternalError . <init>
call from orb to obtain the root poa
<unk> . <init> Environment . <unk> <unk> . <init> POA . <init>
this test is run before any other tests
<unk> . <init> EuclideanDistance . <init>
post the event to the internal queue of specified priority , <unk> as appropriate
<unk> . <init> EventQueue . <unk> AWTEvent . getID EventQueue . <unk> EventObject . getSource Condition . signalAll
post the event to the internal queue of specified priority , <unk> as appropriate
<unk> . <init> EventQueue . <unk> AWTEvent . getID EventQueue . <unk> EventObject . getSource EventQueue . notifyAll
post a 1
<unk> . <init> EventQueue . notifyAll MouseEvent . cast EventObject . getSource InputEvent . getModifiers MouseEvent . cast PaintEvent . cast PaintEvent . <unk>
post a window closing like event to the frame , so that it can be treated like a regular frame
<unk> . <init> EventQueue . postEvent Toolkit . getDefaultToolkit Component . dispatchEvent
post a window closing like event to the frame , so that it can be treated like a regular frame
<unk> . <init> EventQueue . postEvent Toolkit . getDefaultToolkit JInternalFrame . dispatchEvent
this method is called when the jsp engine encounters the start tag , after the attributes are processed
<unk> . <init> Factory . <unk> Factory . <unk> Node . getAttributes ArrayList < String > . <init> Node . getChildNodes NodeList . getLength NodeList . item Node . getTextContent List < String > . add String . equals List < String > . contains <unk> . <unk>
match given set of serializable fields with serializable fields described by the given local class descriptor , and returns a field reflector instance capable of setting getting values from the subset of fields that match non matching fields are treated as filler , for which get operations return default values and set operations discard given values
<unk> . <init> FieldReflector . cast EntryFuture . instance EntryFuture . cast EntryFuture . get FieldReflector . <init> EntryFuture . set FieldReflector . cast Error . cast InternalError . <init>
match given set of serializable fields with serializable fields described by the given local class descriptor , and returns a field reflector instance capable of setting getting values from the subset of fields that match non matching fields are treated as filler , for which get operations return default values and set operations discard given values
<unk> . <init> FieldReflector . instance FieldReflector . cast EntryFuture . get FieldReflector . <init> EntryFuture . set FieldReflector . cast Error . cast InternalError . <init>
find all files in a directory matching a specific pattern
<unk> . <init> File . <init> File . getAbsolutePath File . isDirectory String . format Function < File , URI > . <init> File . toURI
get files under path base , with prefix and suffix as supplied , and with name not in list of file names
<unk> . <init> File . <init> File . listFiles ArrayList < File > . <init> List < File > . add
this method asserts that there doesnt exist any done files in the enterprise <unk> directory that do not begin with done file prefix see constants definition in this class
<unk> . <init> File . <init> File . listFiles StringBuilder . <init> File . getName File . delete File . getName StringBuilder . append File . <init> File . exists File . createNewFile
this method asserts that there doesnt exist any done files in the enterprise <unk> directory that do not begin with done file prefix see constants definition in this class
<unk> . <init> File . <init> File . listFiles StringBuilder . <init> File . getName File . delete StringBuilder . append StringBuilder . toString File . <init> File . exists File . createNewFile
assert true if no test done files exist
<unk> . <init> File . <init> File . listFiles StringBuilder . <init> StringBuilder . append File . delete StringBuilder . length StringBuilder . toString
check if the file name matches the pattern specified for the main help set file
<unk> . <init> File . <init> FileFilter . accept
extract links from all
<unk> . <init> File . <init> HashSet . <init> Set . add List . isEmpty List . get String . cast File . <init> File . getParent List . remove FileReader . <init> Parser . parse
extract links from all
<unk> . <init> File . <init> HashSet . <init> Set . add String . cast File . getParent List . remove FileReader . <init> Parser . parse
feed file sets in the directory whose name is returned by the invocation to get directory name
<unk> . <init> File . <init> PrintStream . <init> File . <init> File . exists File . listFiles ArrayList . <init> File . getAbsolutePath Message . <init> List < Message > . add File . getAbsolutePath List < Message > . add File . getAbsolutePath List < Message > . add Message . <init> File . getAbsolutePath List . add File . delete File . getAbsolutePath Message . <init> List < Message > . add PrintStream . close String . replace File . <init> File . exists File . createNewFile
feed file sets in the directory whose name is returned by the invocation to get directory name
<unk> . <init> File . <init> PrintStream . <init> File . <init> File . exists File . listFiles ArrayList . <init> List < Message > . add Message . <init> File . getAbsolutePath List < Message > . add Message . <init> List < Message > . add File . getAbsolutePath List . add File . delete List < Message > . add File . getAbsolutePath List < Message > . add Message . <init> PrintStream . close String . replace File . <init> File . exists File . createNewFile
feed file sets in the directory whose name is returned by the invocation to get directory name
<unk> . <init> File . <init> PrintStream . <init> File . <init> File . isDirectory File . exists File . listFiles ArrayList . <init> ArrayList < Message > . <init> File . getAbsolutePath List < Message > . add Message . <init> List < Message > . add File . getAbsolutePath List < Message > . add Message . <init> File . getAbsolutePath List . add File . delete List < Message > . add File . getAbsolutePath Message . <init> PrintStream . close String . replace File . <init> File . createNewFile
read a document from a file using the specified character set
<unk> . <init> File . getName <unk> . <init> BufferedReader . <init> JTextPane . getEditorKit StyledEditorKit . cast StyledEditorKit . getInputAttributes StyledDocument . getLength StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName <unk> . <init> BufferedReader . <init> JTextPane . getEditorKit StyledEditorKit . getInputAttributes StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName <unk> . <init> BufferedReader . <init> JTextPane . getEditorKit StyledEditorKit . getInputAttributes StyledDocument . insertString StyledDocument . getLength StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName <unk> . <init> BufferedReader . <init> StyledEditorKit . cast StyledEditorKit . getInputAttributes BufferedReader . readLine StyledDocument . insertString StyledDocument . getLength StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName <unk> . <init> BufferedReader . <init> StyledEditorKit . cast StyledEditorKit . getInputAttributes StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName <unk> . <init> InputStreamReader . <init> BufferedReader . <init> JTextPane . getEditorKit StyledEditorKit . getInputAttributes StyledDocument . getLength StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName <unk> . <init> InputStreamReader . <init> BufferedReader . <init> StyledEditorKit . cast StyledEditorKit . getInputAttributes StyledDocument . getLength StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName <unk> . <init> InputStreamReader . <init> BufferedReader . <init> StyledEditorKit . getInputAttributes JTextPane . getEditorKit StyledEditorKit . getInputAttributes BufferedReader . readLine StyledDocument . getLength StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName <unk> . <init> InputStreamReader . <init> BufferedReader . <init> StyledEditorKit . getInputAttributes JTextPane . getEditorKit StyledEditorKit . getInputAttributes BufferedReader . readLine StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName BufferedReader . <init> JTextPane . getEditorKit StyledEditorKit . getInputAttributes BufferedReader . readLine StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName BufferedReader . <init> JTextPane . getEditorKit StyledEditorKit . getInputAttributes StyledDocument . getLength StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName BufferedReader . <init> StyledEditorKit . cast StyledEditorKit . getInputAttributes StyledDocument . insertString StyledDocument . getLength StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName InputStreamReader . <init> BufferedReader . <init> StyledEditorKit . cast StyledEditorKit . getInputAttributes StyledDocument . getLength StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName InputStreamReader . <init> BufferedReader . <init> StyledEditorKit . getInputAttributes JTextPane . getEditorKit BufferedReader . readLine StyledDocument . insertString StyledDocument . getLength StyledDocument . insertString BufferedReader . close
read a document from a file using the specified character set
<unk> . <init> File . getName InputStreamReader . <init> BufferedReader . <init> StyledEditorKit . getInputAttributes JTextPane . getEditorKit StyledEditorKit . getInputAttributes StyledDocument . insertString BufferedReader . close
return a new font code using the specified font type and the specified font file
<unk> . <init> File . getPath <unk> . <unk> <unk> . <unk> Font . <init> Locale . getDefault
return a new font using the specified font type and the specified font file
<unk> . <init> File . getPath <unk> . <unk> <unk> . <unk> Font . <init> Locale . getDefault
create a io file filter which collects found files into a collection and also populates a map with <unk> and corresponding files
<unk> . <init> File . getPath Collection < File > . add
update scm checkout directory with content
<unk> . <init> File . list Arrays . asList HashSet < String > . <init> File . list Collections . emptyList Arrays . asList HashSet < String > . <init> Set < String > . removeAll ArrayList < String > . <init> Arrays . asList File . <init> File . isDirectory File . <init> File . isDirectory File . mkdir
update scm checkout directory with content
<unk> . <init> File . list HashSet < String > . <init> File . list Arrays . asList Collections . emptyList HashSet < String > . <init> Set < String > . removeAll ArrayList < String > . <init> Arrays . asList File . <init> List < String > . contains File . isDirectory File . <init> File . mkdir
import organizations
<unk> . <init> File . list
check the output received against the expected output
<unk> . <init> File . listFiles <unk> . <init> File . listFiles String . length String . equals
delete the manifest file s
<unk> . <init> File . listFiles ArrayList < Entry > . clear
function lists the array of file
<unk> . <init> File . listFiles ArrayList < File > . <init> File . <init> ArrayList < File > . add Stack < String > . pop <unk> . <init> File . listFiles ArrayList < File > . size ArrayList < File > . get
function lists the array of file
<unk> . <init> File . listFiles ArrayList < File > . <init> File . getAbsolutePath BufferedReader . readLine File . <init> ArrayList < File > . add Stack < String > . pop File . listFiles ArrayList < File > . size ArrayList < File > . get
all java files in the directory
<unk> . <init> File . listFiles ArrayList < String > . <init> Collection < String > . add
create an extension class loader for loading ja rs at runtime <unk> jni dependencies
<unk> . <init> File . listFiles File . getAbsolutePath URL . <init> AccessController . doPrivileged PrivilegedAction . <init>
check to see if the <unk> are met for the installed <unk>
<unk> . <init> File . listFiles HashMap < String , File > . <init> HashMap < String , ArrayList < String > > . <init> HashMap < String , File > . put URLClassLoader . <init> ClassLoader . getSystemClassLoader URLClassLoader . getResourceAsStream InputStreamReader . <init> BufferedReader . <init> BufferedReader . readLine ArrayList < String > . <init> ArrayList < String > . add BufferedReader . readLine HashMap < String , ArrayList < String > > . put ArrayList < File > . <init> HashMap < String , File > . values String . equals HashMap < String , File > . values ArrayList < File > . addAll
check if contains the specified file name
<unk> . <init> File . listFiles
list all direct sub directories of dir
<unk> . <init> File . listFiles
open the set of output files , based on the configured instance variables
<unk> . <init> FileHandler . <unk> File . toString FileChannel . open FileChannel . tryLock HashMap < String , String > . put AbstractInterruptibleChannel . close FileHandler . generate FileHandler . open FileHandler . rotate ErrorManager . <init> FileHandler . <unk>
open the set of output files , based on the configured instance variables
<unk> . <init> FileHandler . <unk> File . toString HashMap < String , String > . get FileChannel . open FileChannel . tryLock HashMap < String , String > . put AbstractInterruptibleChannel . close FileHandler . generate FileHandler . open FileHandler . rotate FileHandler . <unk>
algorithm check how many bytes have already been written to to that file get an instance of <unk> stream and assign it as the output stream
<unk> . <init> FileHandler . setOutputStream File . toString FileHandler . <unk>
copy files using byte streams
<unk> . <init> FileImageOutputStream . <init> ImageInputStream . read ImageOutputStream . write ImageInputStream . close ImageOutputStream . close
validity check the output and write any errors into the results property file
<unk> . <init> FileInputStream . <init> <unk> . <init> ByteArrayOutputStream . toByteArray ByteArrayInputStream . <init> Dictionary . put <unk> . getLineNumber Dictionary . put <unk> . getLineNumber
validity check the output and write any errors into the results property file
<unk> . <init> FileInputStream . <init> <unk> . <init> ByteArrayOutputStream . toByteArray ByteArrayInputStream . <init> Dictionary . put <unk> . getLineNumber String . equals Dictionary . put <unk> . getLineNumber
do the actual filtering
<unk> . <init> FileInputStream . <init> BufferedReader . <init> BufferedWriter . <init> FileWriter . <init> Thread . <init> BufferedReader . readLine String . trim BufferedWriter . write BufferedReader . close BufferedWriter . close BufferedWriter . write BufferedReader . close BufferedWriter . close Thread . start
construct a new age file filter for files on any one side of a certain file whose last modification time will be used as reference
<unk> . <init> FileObject . getContent <unk> . <init>
document constructor
<unk> . <init> FileReader . <init> BufferedReader . <init> String . split <unk> . test <unk> . add
method writes a text file with a list of all unused code to the given output file
<unk> . <init> FileWriter . <init> FileWriter . write Arrays . sort FileWriter . write Hashtable < String , List < String > > . keySet Arrays . sort FileWriter . write FileWriter . close
method writes a text file with a list of all unused code to the given output file
<unk> . <init> FileWriter . <init> FileWriter . write Hashtable < String , List < String > > . keySet Arrays . sort FileWriter . write Hashtable < String , List < String > > . keySet Arrays . sort FileWriter . write FileWriter . close
filter data bytes
<unk> . <init> FilterType . <unk> <unk> . add FilterType . filter <unk> . add <unk> . toArray
convert a prolog term known to be a float to a <unk> float
<unk> . <init> Float . <init>
median but ignore na ns
<unk> . <init> Float . isNaN <unk> . evaluate
initialize manager if it wasnt already initialized
<unk> . <init> FocusEvent . cast FocusEvent . <unk> FocusEvent . getComponent FocusManager . <unk> FocusEvent . getComponent FocusEvent . <unk> FocusManager . <unk> FocusManager . <unk> WeakReference < Component > . <init> Component . getClass Map < Component , Map < Boolean > > . entrySet Entry < Component , Map < Boolean > > . getKey Entry < Component , Map < Boolean > > . getValue Entry < Boolean > . getKey Entry < Boolean > . getValue Map < Component , Map < Boolean > > . get Map < Boolean > . containsKey Map < Boolean > . put
initialize manager if it wasnt already initialized
<unk> . <init> FocusEvent . instance FocusEvent . cast FocusEvent . <unk> FocusManager . <unk> FocusEvent . getID FocusEvent . <unk> FocusManager . <unk> FocusManager . <unk> WeakReference < Component > . <init> Component . getClass Map < Component , Map < Boolean > > . entrySet Entry < Component , Map < Boolean > > . getKey Entry < Boolean > . getKey Entry < Boolean > . getValue Map < Component , Map < Boolean > > . get Map < Boolean > . containsKey Map < Boolean > . put
return a <unk> object that can be used with <unk> String , Object
<unk> . <init> Formatter . format
check whether the observations conform to a poisson process with the specified intensity
<unk> . <init> Frequency . <unk> Frequency . <unk> Iterator . next Long . cast Frequency . getCount Long . intValue <unk> . <unk> Frequency . <unk>
init a security context using the given connection instance
<unk> . <init> GSSContext . <init> GSSContext . <unk> GSSContext . <unk> GSSContext . <unk> GSSContext . <unk> GSSContext . <unk> GSSContext . init GSSContext . <init> GSSContext . <unk> GSSContext . <unk> GSSContext . <unk> GSSContext . <unk> GSSContext . <unk> GSSContext . <unk>
wrap the content of the buffer into a gss token and write it out to the underlying socket
<unk> . <init> GSSContext . wrap <unk> . <unk> DataOutputStream . writeInt DataOutputStream . write Connection . getClass Integer . valueOf
execute the genetic algorithm
<unk> . <init> GeneticAlgorithm . <init> GeneticAlgorithm . initialize GeneticAlgorithm . <unk> GeneticAlgorithm . <unk> Chromosome . <unk> GeneticAlgorithm . <unk>
execute the genetic algorithm
<unk> . <init> GeneticAlgorithm . <init> List . <init> GeneticAlgorithm . initialize GeneticAlgorithm . <unk> GeneticAlgorithm . <unk> Chromosome . <unk> GeneticAlgorithm . <unk>
execute the genetic algorithm
<unk> . <init> GeneticAlgorithm . <init> Math . pow Range . <init> GeneticAlgorithm . initialize GeneticAlgorithm . <unk> GeneticAlgorithm . <unk> Chromosome . <unk> Double . parseDouble Chromosome . <unk> GeneticAlgorithm . <unk>