docstring
stringlengths
3
2.38k
code
stringlengths
9
99.4k
compute the intra cluster density as the average distance of the representative points from each other
<unk> . <unk> Cluster . getId Map < Integer , List > . get List . size List . get DistanceMeasure . distance List . get Math . min Math . max Cluster . getId List < Cluster > . size
compute the intra cluster density as the average distance of the representative points from each other
<unk> . <unk> Cluster . getId Map < Integer , List > . get List . size List . get DistanceMeasure . distance Math . min Math . max Cluster . getId List < Cluster > . size List < Cluster > . isEmpty List < Cluster > . size
be called from a client request interceptor
<unk> . <unk> Codec . <unk>
get the string or numeric value of a specific level key for this sort element
<unk> . <unk> Collator . getCollationKey CollationKey . cast
compute and returns the number of bytes that are used to encode the element
<unk> . <unk> Collection < Element > . isEmpty Element . size
compact a predicate with a single blank node object
<unk> . <unk> Collection < Resource > . size Collection < Resource > . iterator MultiMap < Node > . remove Resource . <unk> Iterator < Node > . <unk>
return a query that will return docs like the passed lucene document id
<unk> . <unk> Collection < String > . toArray
extra credit
<unk> . <unk> Collections . reverseOrder
emulate the original get tasks method located in component
<unk> . <unk> Collections . sort
this method updates the various components inside the hsb panel the <unk> , the <unk> , and the gradient image point with updated values when the j color chooser color value changes
<unk> . <unk> Color . RGBtoHSB Color . getBlue Color . getGreen Color . RGBtoHSB JSpinner . setValue Integer . <init> JSpinner . setValue Number . cast Number . intValue JSlider . setValue Number . intValue JSpinner . getValue Number . intValue JSpinner . getValue Number . cast JSlider . setValue Number . cast JSlider . setValue Number . intValue JSpinner . getValue Number . intValue JSpinner . getValue Number . intValue Number . cast JSlider . setValue Number . cast Number . intValue Number . cast Number . intValue JSlider . getValueIsAdjusting
add the given values
<unk> . <unk> Color . cast Color . add Color . cast Color . add Number . instance Double . instance Number . cast Number . doubleValue Number . cast Number . intValue Number . cast Number . intValue
negate the given value
<unk> . <unk> Color . cast Color . negate Number . instance Number . cast Number . doubleValue
subtract the given values
<unk> . <unk> Color . cast Color . subtract Number . instance Double . instance Number . cast Number . doubleValue Number . cast Number . intValue Number . cast Number . intValue Number . cast String . replace
this method updates the various components inside the hsb panel the <unk> , the <unk> , and the gradient image point with updated values when the j color chooser color value changes
<unk> . <unk> Color . getBlue Color . getGreen Color . getRed Color . RGBtoHSB Integer . <init> JSpinner . setValue Integer . <init> JSpinner . setValue Integer . <init> JSpinner . setValue Number . cast JSlider . setValue JSpinner . getValue Number . cast Number . intValue JSpinner . getValue Number . intValue Number . cast Number . intValue JSlider . setValue Number . intValue JSpinner . getValue Number . cast Number . intValue Number . cast JSlider . setValue Number . cast Number . intValue JSpinner . getValue JSlider . getValueIsAdjusting
this method updates the various components inside the hsb panel the <unk> , the <unk> , and the gradient image point with updated values when the j color chooser color value changes
<unk> . <unk> Color . getBlue Color . getRed Color . RGBtoHSB JSpinner . setValue Integer . <init> JSpinner . setValue Number . cast Number . intValue JSlider . setValue Number . cast Number . intValue JSpinner . getValue Number . intValue JSpinner . getValue Number . intValue Number . cast JSlider . setValue Number . cast JSpinner . getValue Number . cast JSpinner . getValue Number . cast Number . intValue Number . cast JSlider . setValue JSpinner . getValue Number . cast Number . intValue JSlider . getValueIsAdjusting
return x color structure corresponding to the desired color
<unk> . <unk> Color . getGreen <unk> . <unk> Color . getBlue <unk> . <unk> Color . getRed
this method updates the various components inside the hsb panel the <unk> , the <unk> , and the gradient image point with updated values when the j color chooser color value changes
<unk> . <unk> Color . getRed Color . getBlue Color . RGBtoHSB Integer . <init> JSpinner . setValue Integer . <init> JSpinner . setValue Integer . <init> JSpinner . setValue Number . cast JSlider . setValue Number . cast JSlider . setValue Number . cast Number . intValue JSpinner . getValue Number . cast Number . intValue JSlider . setValue Number . cast JSpinner . getValue Number . cast JSpinner . getValue Number . intValue Number . cast Number . intValue JSlider . setValue Number . cast JSpinner . getValue Number . cast Number . intValue JSlider . getValueIsAdjusting
this method updates the various components inside the hsb panel the <unk> , the <unk> , and the gradient image point with updated values when the j color chooser color value changes
<unk> . <unk> Color . getRed Color . getBlue Color . RGBtoHSB Integer . <init> JSpinner . setValue Integer . <init> JSpinner . setValue Integer . <init> JSpinner . setValue Number . cast Number . intValue JSlider . setValue JSpinner . getValue Number . intValue JSpinner . getValue Number . cast Number . intValue JSpinner . getValue Number . intValue Number . cast JSlider . setValue Number . intValue JSpinner . getValue Number . intValue JSpinner . getValue Number . intValue Number . cast Number . intValue JSlider . setValue Number . cast Number . intValue
this method updates the various components inside the hsb panel the <unk> , the <unk> , and the gradient image point with updated values when the j color chooser color value changes
<unk> . <unk> Color . getRed Color . getBlue Color . getRed Color . RGBtoHSB JSpinner . setValue Integer . <init> JSpinner . setValue Number . intValue JSpinner . getValue JSlider . setValue Number . cast JSpinner . getValue Number . intValue JSpinner . getValue Number . intValue JSlider . setValue JSpinner . getValue Number . cast Number . intValue JSpinner . getValue Number . intValue JSpinner . getValue Number . intValue Number . cast JSlider . setValue Number . cast Number . intValue
fetch the color array used to draw the given edge under the given style
<unk> . <unk> Color . instance <unk> . <unk> Color . cast <unk> . <unk>
compare the given values
<unk> . <unk> Color . instance Color . cast Color . compareTo Color . instance Color . cast Color . compareTo Number . instance Number . doubleValue Number . cast Number . doubleValue String . compareTo
multiply the given values
<unk> . <unk> Color . instance Color . cast Color . multiply Color . instance Color . multiply Color . cast Number . instance Double . instance Number . cast Number . doubleValue Number . intValue Number . cast Number . intValue Number . cast
divide the given values
<unk> . <unk> Color . instance Color . divide Color . cast Double . instance Number . cast Number . doubleValue Number . cast Number . intValue Number . cast
construct a <unk> order comparator with a function that extracts a comparable key
<unk> . <unk> Comparator . <unk>
construct a <unk> order comparator with a function that extracts a double value
<unk> . <unk> Comparator . <unk>
construct a <unk> order comparator with a function that extracts a int value
<unk> . <unk> Comparator . <unk>
remove a word from the bag if it exists
<unk> . <unk> Comparator . compare ArrayList . remove
compare two sequences
<unk> . <unk> Comparator < CharSequence > . compare
attach listeners to the j table header
<unk> . <unk> Component . addMouseListener Component . addMouseMotionListener Component . addPropertyChangeListener
installs necessary mouse handlers on new pane and adds it to the frame
<unk> . <unk> Component . remove Component . add <unk> . <unk>
receive response
<unk> . <unk> ConcurrentHashMap < Integer , ArrayBlockingQueue < Object > > . containsKey ConcurrentHashMap < Integer , ArrayBlockingQueue < Object > > . get ArrayBlockingQueue < Object > . put <unk> . <unk>
read configuration file for a capability capability manifest file
<unk> . <unk> ConcurrentHashMap < Object , Object > . <init> Properties . <init> <unk> . getClass ClassLoader . getResourceAsStream InputStreamReader . <init> StringBuilder . <init> BufferedReader . <init> BufferedReader . readLine StringBuilder . toString String . split String . replace ConcurrentHashMap < Object , Object > . put BufferedReader . readLine
register the provider
<unk> . <unk> ConcurrentMap < String , <unk> > . putIfAbsent
set configuration for cascading input failure tests that use <unk>
<unk> . <unk> Configuration . setBoolean <unk> . <unk> Configuration . set <unk> . <unk> Configuration . set <unk> . <unk> Configuration . setInt <unk> . <unk> Configuration . setBoolean <unk> . <unk> Configuration . setBoolean <unk> . <unk> Configuration . set <unk> . <unk> Configuration . set <unk> . <unk> Configuration . setInt
set configuration for cascading input failure tests that use <unk>
<unk> . <unk> Configuration . setBoolean <unk> . <unk> Configuration . set <unk> . <unk> Configuration . set Configuration . setInt Configuration . setBoolean <unk> . <unk> Configuration . setBoolean Configuration . set Configuration . setInt
set configuration for cascading input failure tests that use <unk>
<unk> . <unk> Configuration . setBoolean <unk> . <unk> Configuration . setBoolean Configuration . set <unk> . <unk> Configuration . set <unk> . <unk> Configuration . set <unk> . <unk> Configuration . setInt <unk> . <unk> Configuration . setBoolean Configuration . set <unk> . <unk> Configuration . set <unk> . <unk> Configuration . set <unk> . <unk> Configuration . setInt
set configuration for cascading input failure tests that use <unk>
<unk> . <unk> Configuration . setBoolean <unk> . <unk> Configuration . setBoolean Configuration . set <unk> . <unk> Configuration . set <unk> . <unk> Configuration . set Configuration . setInt <unk> . <unk> Configuration . setBoolean <unk> . <unk> Configuration . setBoolean Configuration . set <unk> . <unk> Configuration . setInt
generic sql statement execution function
<unk> . <unk> Connection . createStatement Statement . execute Statement . close Connection . close
update the underlying integrity scm project table cache with the new checksum information
<unk> . <unk> Connection . createStatement Statement . executeQuery ResultSet . next Hashtable < Object > . get ConcurrentHashMap < String , String > . get ResultSet . updateString ResultSet . updateRow Connection . commit ResultSet . close Statement . close Connection . close
compare this version of the project to a previous new version to determine what are the updates and what was deleted
<unk> . <unk> Connection . createStatement String . replaceFirst Statement . executeQuery Hashtable < String , Hashtable < Object > > . <init> ResultSet . next Hashtable < Object > . <init> Hashtable < Object > . get Hashtable < Object > . put Date . cast Hashtable < Object > . get Date . cast Hashtable < Object > . put Hashtable < Object > . get Hashtable < Object > . put Hashtable < Object > . get Hashtable < Object > . put Hashtable < Object > . get Hashtable < Object > . put Hashtable < Object > . get Hashtable < Object > . put Hashtable < Object > . get Hashtable < Object > . put Hashtable < Object > . get Hashtable < Object > . put Hashtable < Object > . get Hashtable < Object > . put Hashtable < Object > . get Hashtable < Object > . put Hashtable < Object > . get Hashtable < String , Hashtable < Object > > . put Connection . createStatement String . replaceFirst Statement . executeQuery ResultSet . absolute Hashtable < String , Hashtable < Object > > . get Hashtable < Object > . get ResultSet . updateString Hashtable < Object > . get ResultSet . <unk> Hashtable < Object > . get ResultSet . updateString Hashtable < Object > . get ResultSet . updateString Hashtable < Object > . get ResultSet . updateString ResultSet . <unk> Hashtable < String , Hashtable < Object > > . remove ResultSet . updateString Hashtable < Object > . get ResultSet . <unk> Hashtable < Object > . get ResultSet . updateRow Hashtable < String , Hashtable < Object > > . keys Enumeration < String > . nextElement Hashtable < String , Hashtable < Object > > . get ResultSet . <unk> ResultSet . <unk> ResultSet . updateString Hashtable < Object > . get ResultSet . updateString Hashtable < Object > . get Date . cast Date . getTime Timestamp . <init> ResultSet . <unk> ResultSet . updateString Hashtable < Object > . get ResultSet . updateString ResultSet . <unk> ResultSet . insertRow ResultSet . <unk> Hashtable < Object > . get Connection . commit ResultSet . close Statement . close Connection . close
caller closes the table afterwards
<unk> . <unk> Connection . getTable
maintenance function to delete all inactive project cache tables
<unk> . <unk> Connection . prepareStatement PreparedStatement . setString Connection . prepareStatement PreparedStatement . executeQuery ResultSet . getString String . replaceFirst PreparedStatement . setString PreparedStatement . addBatch PreparedStatement . executeBatch PreparedStatement . close ResultSet . close PreparedStatement . close Connection . close
give string value of constant with given index , from constant pool
<unk> . <unk> ConstantUtf8 . instance ConstantUtf8 . cast ConstantUtf8 . getBytes
create a new x path matcher matching the specified x path expression
<unk> . <unk> Constructor . newInstance <unk> . cast Throwable . toString
create xacml policy
<unk> . <unk> Constructor . newInstance
callback when the dn d is finished
<unk> . <unk> Container . add Container . repaint Component . cast Component . setDropTarget
check for settings updates
<unk> . <unk> Context . getResources <unk> . <unk>
check if the given json object contains the specified property with an array value within
<unk> . <unk> Context . getResources String . format <unk> . <unk>
move the cursor to a savepoint previously returned from get savepoint
<unk> . <unk> Cursor . <unk> <unk> . <unk>
return a cell in the ghost row
<unk> . <unk> DOM . getChild
set a socket option
<unk> . <unk> DatagramChannel . setOption Integer . cast DatagramChannel . setOption Boolean . cast DatagramChannel . setOption Boolean . cast DatagramChannel . setOption NetworkInterface . cast DatagramChannel . setOption Integer . cast DatagramChannel . setOption DatagramChannel . socket Integer . cast DatagramChannel . socket Boolean . cast Set . contains <unk> . <unk>
bind the channel of this transport to the specified address and makes this transport readable
<unk> . <unk> DatagramChannel . socket DatagramChannel . getLocalAddress Event . <init> EventDispatcher . execute <unk> . <unk> DatagramChannel . bind DatagramChannel . socket DatagramSocket . isBound DatagramSocket . bind
the credential type specific way of getting the expiry date
<unk> . <unk> Date . <init>
the credential type specific way of getting the expiry date
<unk> . <unk> Date . getTime Date . <init>
return a date containing only the time from a given date
<unk> . <unk> DateFormat . parse
append the time zone ID , such as <unk> <unk> or + 02 : 00 , to the formatter , using the best available zone id
<unk> . <unk> DateTimeFormatterBuilder . appendInternal
get a specific annotation mirror from an annotated construct
<unk> . <unk> DeclaredType . <unk> TypeElement . cast TypeElement . getQualifiedName
calculate the parameters of a <unk> quadratic equation
<unk> . <unk> DecompositionSolver . solve RealVector . toArray
this message goes to <unk> , <unk> it that the dragging has ended
<unk> . <unk> DefaultTreeModel . cast DefaultTreeModel . removeNodeFromParent DefaultTreeModel . cast DefaultMutableTreeNode . cast
reset the filters internal notion of the current character attributes to their default values
<unk> . <unk> Dictionary . elements <unk> . cast <unk> . setDefault <unk> . <unk> Dictionary < String , Object > . remove
reset the filters internal notion of the current character attributes to their default values
<unk> . <unk> Dictionary . elements Enumeration . hasMoreElements <unk> . cast <unk> . setDefault <unk> . <unk> Dictionary < String , Object > . remove
reset the filters internal notion of the current character attributes to their default values
<unk> . <unk> Dictionary . elements Enumeration . nextElement <unk> . cast <unk> . setDefault <unk> . <unk> Dictionary < String , Object > . remove
return the amount that the thumb goes past the slide bar
<unk> . <unk> Dimension . getHeight
execute undo of the state if some vertex or line is picked
<unk> . <unk> Doc . <unk>
add a new image element to the defs section for cached images
<unk> . <unk> Document . createElementNS Element . setAttributeNS Integer . toString Element . setAttributeNS <unk> . <unk>
to validate if we got expected page checks whether each j <unk> selector key contains expected text value
<unk> . <unk> Document . select Elements . get
compute and returns the number of bytes that are used to encode the element
<unk> . <unk> Document . size
overridden to return the size of the command
<unk> . <unk> Document . size
overridden to return the size of the delete
<unk> . <unk> Document . size
overridden to return the size of the insert
<unk> . <unk> Document . size
read a configuration file
<unk> . <unk> DocumentBuilderFactory . newDocumentBuilder DocumentBuilder . parse
process regular table
<unk> . <unk> DocumentBuilderFactory . newInstance DocumentBuilderFactory . newDocumentBuilder DocumentBuilder . newDocument Document . createElement Document . appendChild Document . createElement Element . appendChild Document . createElement Element . setTextContent Element . appendChild Document . createElement Element . setTextContent Element . appendChild Utilities . <unk> Document . createElement Element . setTextContent Element . appendChild Document . createElement Element . setTextContent Element . appendChild Document . createElement Element . setTextContent Element . appendChild Document . createElement Element . appendChild Document . createElement Element . setTextContent Element . appendChild Document . createElement Element . setTextContent Element . appendChild Document . createElement Element . setTextContent Element . appendChild Document . createElement Element . setTextContent Element . appendChild Document . createElement Element . appendChild Document . createElement Element . setTextContent Element . appendChild Document . createElement Element . setTextContent Element . appendChild
compare this sort element to another
<unk> . <unk> Double . compareTo <unk> . stringValue CollationKey . compareTo
add the given value
<unk> . <unk> Double . doubleToRawLongBits Cell . <unk> Double . longBitsToDouble Double . doubleToRawLongBits <unk> . <unk>
calculate the correlation between two double arrays
<unk> . <unk> Double . isNaN
constant column
<unk> . <unk> Double . isNaN
return a more rounded formatted value for use with grid steps
<unk> . <unk> Double . longValue
return an instance where each element is formed by some combination of the matching values in this array and the other array
<unk> . <unk> DoubleArray . <init>
return an instance with an operation applied to each value in the array
<unk> . <unk> DoubleArray . <init>
fire a drag gesture event code to the drag gesture listener associated with this object , if there is one
<unk> . <unk> DragGestureEvent . <init> DragGestureRecognizer . <unk>
return the cpu time of the current process according to the operating system mx bean
<unk> . <unk> Duration . <unk>
compute the average intra cluster density as the average of each clusters intra cluster density
<unk> . <unk> Element . get Double . isNaN
compute the average intra cluster density as the average of each clusters intra cluster density
<unk> . <unk> Element . get List < Cluster > . isEmpty
read the complexity value contained in the annotation and prints it in the console note level
<unk> . <unk> Element . getAnnotation Element . getSimpleName
for now , just check that constructors have a simple name of init
<unk> . <unk> Element . getEnclosedElements ExecutableElement . getSimpleName Name . contentEquals
method description
<unk> . <unk> Element . getKind ExecutableElement . cast ExecutableElement . getParameters VariableElement > . get Set . add VariableElement . asType
this method must be called at the start of each round
<unk> . <unk> Element . getKind TypeElement . cast Map < String , List > . remove
build the meta data structures for this class
<unk> . <unk> Element . getKind Utils . error Element . getAnnotation Utils . <unk> Utils . error TypeElement . cast TypeElement . getQualifiedName HashSet . <init> Map < String > . get Utils . <unk> Utils . error Set . add Map < String , Set > . put Map < String , Set > . size Utils . error Map < String , Set > . size Map < String , Set > . put
two field annotations hold documentation content : @ <unk> and @ <unk> holds field content to be merged with
<unk> . <unk> Element . getSimpleName Element . getAnnotation Map < String > . put <unk> . <unk> Element . getAnnotation TreeSet < String > . <init> Arrays . asList Collection < String > . addAll TreeSet < String > . <init> Arrays . asList Collection < String > . addAll Map < String > . get Collection < String > . addAll Arrays . asList Collection < String > . addAll Set < String > . add StringBuilder . append StringBuilder . toString
build the meta data structures for this class
<unk> . <unk> Element . getSimpleName Element . getKind Utils . error Element . getAnnotation Utils . <unk> Utils . error TypeElement . getQualifiedName HashSet . <init> Map < String > . get Utils . <unk> Utils . error Set . add Map < String , Set > . put Map < String , Set > . size Utils . error Map < String , Set > . put
processor used to trigger use of methods not normally used by javac
<unk> . <unk> Element . getSimpleName InputStream . close FileObject . <unk> Reader . close Element [] . cast OutputStream . close Element [] . cast FileObject . <unk> Writer . close Element [] . cast JavaFileObject . <unk> JavaFileObject . <unk> JavaFileObject . <unk> <unk> . <unk>
processor used to trigger use of methods not normally used by javac
<unk> . <unk> Element . getSimpleName InputStream . close FileObject . <unk> Reader . close Element [] . cast OutputStream . close Element [] . cast Writer . close JavaFileObject . <unk> JavaFileObject . <unk> JavaFileObject . <unk> Set . iterator
processor used to trigger use of methods not normally used by javac
<unk> . <unk> Element . getSimpleName InputStream . close Reader . close Element [] . cast FileObject . openOutputStream OutputStream . close Element [] . cast FileObject . <unk> Writer . close Element [] . cast JavaFileObject . <unk> JavaFileObject . <unk> JavaFileObject . <unk> <unk> . <unk> Set . iterator
processor used to trigger use of methods not normally used by javac
<unk> . <unk> Element . getSimpleName InputStream . close Reader . close Element [] . cast FileObject . openOutputStream OutputStream . close Element [] . cast Writer . close Element [] . cast JavaFileObject . <unk> JavaFileObject . <unk> <unk> . <unk>
processor used to trigger use of methods not normally used by javac
<unk> . <unk> Element . getSimpleName InputStream . close Reader . close Element [] . cast OutputStream . close Element [] . cast Writer . close JavaFileObject . <unk> JavaFileObject . <unk> JavaFileObject . <unk> <unk> . <unk> Set . iterator
store the element argument in the dom crypto context if it has one of the standard id attributes
<unk> . <unk> Element . hasAttributeNS <unk> . <unk> Element . hasAttributeNS <unk> . <unk>
compute and returns the number of bytes that are used to encode the element
<unk> . <unk> Element . size
retrieve the xml document to be processed
<unk> . <unk> Element . toString
do nothing we just wanted the init method so we can inject an agent
<unk> . <unk> Element > . isEmpty Element > . iterator
the use of this method is obsolete in type processors
<unk> . <unk> ElementFilter . <unk> Set < Name > . add