index
int64
0
10.7k
class
stringclasses
867 values
comment_sentence
stringlengths
1
1.78k
partition
int64
0
0
combo
stringlengths
17
1.81k
labels
listlengths
7
7
9,608
JsonCodec.java
* @since 7.0
0
* @since 7.0 | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,609
JsonCodec.java
Decoder for converting RPC parameters and other values from JSON in transfer * between the client and the server and vice versa.
0
Decoder for converting RPC parameters and other values from JSON in transfer * between the client and the server and vice versa. | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,610
JsonCodec.java
/* Immutable Encode Result representing null */
0
/* Immutable Encode Result representing null */ | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,611
JsonCodec.java
/* Immutable empty JSONArray */
0
/* Immutable empty JSONArray */ | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,612
JsonCodec.java
Cache the collection of bean properties for a given type to avoid doing a * quite expensive lookup multiple times. Will be used from any thread that * happens to process Vaadin requests, so it must be protected from * corruption caused by concurrent access.
0
Cache the collection of bean properties for a given type to avoid doing a * quite expensive lookup multiple times. Will be used from any thread that * happens to process Vaadin requests, so it must be protected from * corruption caused by concurrent access. | JsonCodec.java
[ 0, 0, 1, 0, 0, 0, 0 ]
9,613
JsonCodec.java
// Almost all primitive types are handled internally
0
// Almost all primitive types are handled internally | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,614
JsonCodec.java
// All primitive types are handled internally
0
// All primitive types are handled internally | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,615
JsonCodec.java
// UidlValue is a special internal type wrapping type info and a // value
0
// UidlValue is a special internal type wrapping type info and a // value | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,616
JsonCodec.java
// Try to decode object using fields
0
// Try to decode object using fields | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,617
JsonCodec.java
// Legacy Object[] and String[] handled elsewhere, this takes care // of generic arrays
0
// Legacy Object[] and String[] handled elsewhere, this takes care // of generic arrays | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,618
JsonCodec.java
* Decodes a value that is of an internal type. * <p> * Ensures the encoded value is of the same type as target type. * </p> * <p> * Allows restricting collections so that they must be declared using * generics. If this is used then all objects in the collection are encoded * using the declared type. Otherwise only internal types are allowed in * collections. * </p>
0
* Decodes a value that is of an internal type. * <p> * Ensures the encoded value is of the same type as target type. * </p> * <p> * Allows restricting collections so that they must be declared using * generics. If this is used then all objects in the collection are encoded * using the declared type. Otherwise only internal types are allowed in * collections. * </p> | JsonCodec.java
[ 0, 0, 1, 0, 0, 0, 0 ]
9,619
JsonCodec.java
@param targetType * The type that should be returned by this method
0
@param targetType * The type that should be returned by this method | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,620
JsonCodec.java
* @param valueAndType * The encoded value and type array
0
* @param valueAndType * The encoded value and type array | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,621
JsonCodec.java
@param application * A reference to the application
0
@param application * A reference to the application | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,622
JsonCodec.java
@param enforceGenericsInCollections * true if generics should be enforce, false to only allow * internal types in collections
0
@param enforceGenericsInCollections * true if generics should be enforce, false to only allow * internal types in collections | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,623
JsonCodec.java
* @return
0
* @return | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,624
JsonCodec.java
* @param targetType
0
* @param targetType | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,625
JsonCodec.java
* @param restrictToInternalTypes
0
* @param restrictToInternalTypes | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,626
JsonCodec.java
@param typeIndex * The index of a generic type to use to define the child type * that should be decoded
0
@param typeIndex * The index of a generic type to use to define the child type * that should be decoded | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,627
JsonCodec.java
* @param encodedValueAndType
0
* @param encodedValueAndType | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,628
JsonCodec.java
* @param application
0
* @param application | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,629
JsonCodec.java
* @return
0
* @return | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,630
JsonCodec.java
* @param fieldValue
0
* @param fieldValue | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,631
JsonCodec.java
* @param referenceValue
0
* @param referenceValue | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,632
JsonCodec.java
* @return
0
* @return | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,633
JsonCodec.java
* @since 7.4
0
* @since 7.4 | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,634
JsonCodec.java
@param a * the first json value to check, may not be null
0
@param a * the first json value to check, may not be null | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,635
JsonCodec.java
@param b * the second json value to check, may not be null
0
@param b * the second json value to check, may not be null | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,636
JsonCodec.java
@return <code>true</code> if both json values are the same; * <code>false</code> otherwise
0
@return <code>true</code> if both json values are the same; * <code>false</code> otherwise | JsonCodec.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,637
JsonCodec.java
These methods looks good to inline, but are on a cold path of the * otherwise hot encode method, which needed to be shorted to allow inlining * of the hot part.
0
These methods looks good to inline, but are on a cold path of the * otherwise hot encode method, which needed to be shorted to allow inlining * of the hot part. | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,638
JsonCodec.java
* Encodes a connector map. Invisible connectors are skipped.
0
* Encodes a connector map. Invisible connectors are skipped. | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,639
JsonCodec.java
// Client -> server encodes empty map as an empty array because of
0
// Client -> server encodes empty map as an empty array because of | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,640
JsonCodec.java
// Encode using the given type
0
// Encode using the given type | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,641
JsonCodec.java
@link JsonValue#jsEquals(JsonValue)
0
@link JsonValue#jsEquals(JsonValue) | JsonCodec.java
[ 0, 0, 0, 0, 1, 0, 0 ]
9,642
JsonCodec.java
@link JsonValue#equals(Object)
0
@link JsonValue#equals(Object) | JsonCodec.java
[ 0, 0, 0, 0, 1, 0, 0 ]
9,643
JsonCodec.java
// UidlValue
0
// UidlValue | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,644
JsonCodec.java
// Collections
0
// Collections | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,645
JsonCodec.java
// Arrays
0
// Arrays | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,646
JsonCodec.java
// Special Vaadin types
0
// Special Vaadin types | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,647
JsonCodec.java
// Legacy types
0
// Legacy types | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,648
JsonCodec.java
// Client-side has no declared type information to determine // encoding method for empty maps, so these are handled separately.
0
// Client-side has no declared type information to determine // encoding method for empty maps, so these are handled separately. | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,649
JsonCodec.java
// Only decode the given type
0
// Only decode the given type | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,650
JsonCodec.java
// Only UidlValue when not enforcing a given type to avoid security // issues
0
// Only UidlValue when not enforcing a given type to avoid security // issues | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,651
JsonCodec.java
// each entry always has two elements: type and value
0
// each entry always has two elements: type and value | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,652
JsonCodec.java
// Storing a single reference and only returning the EncodeResult at the // end the method is much shorter in bytecode which allows inlining
0
// Storing a single reference and only returning the EncodeResult at the // end the method is much shorter in bytecode which allows inlining | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,653
JsonCodec.java
// all JSON compatible types are returned as is.
0
// all JSON compatible types are returned as is. | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,654
JsonCodec.java
// an encoded null is cached, return it directly.
0
// an encoded null is cached, return it directly. | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,655
JsonCodec.java
// Connectors are simply serialized as ID.
0
// Connectors are simply serialized as ID. | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,656
JsonCodec.java
// encodeObject returns an EncodeResult with a diff, thus it // needs to return it directly rather than assigning it to // toReturn.
0
// encodeObject returns an EncodeResult with a diff, thus it // needs to return it directly rather than assigning it to // toReturn. | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,657
JsonCodec.java
// Doesn't matter if the same calculation is done multiple times from // different threads, so there's no need to do e.g. putIfAbsent
0
// Doesn't matter if the same calculation is done multiple times from // different threads, so there's no need to do e.g. putIfAbsent | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,658
JsonCodec.java
* Loops through the fields of value and encodes them.
0
* Loops through the fields of value and encodes them. | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,659
JsonCodec.java
// We can't use PropertyDescriptor.getPropertyType() as it does // not support generics
0
// We can't use PropertyDescriptor.getPropertyType() as it does // not support generics | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,660
JsonCodec.java
* Compares the value with the reference. If they match, returns false.
0
* Compares the value with the reference. If they match, returns false. | JsonCodec.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,661
GDBSolibBlock.java
// This option will make the DSF-GDB launch fail, and on Linux we have a problem where it will hang // Since this option was added for multi-process but it has not been completed for Linux yet, just hide it completely for now
0
// This option will make the DSF-GDB launch fail, and on Linux we have a problem where it will hang // Since this option was added for multi-process but it has not been completed for Linux yet, just hide it completely for now | GDBSolibBlock.java
[ 0, 0, 0, 0, 0, 0, 1 ]
9,662
GDBSolibBlock.java
* The content of the <code>Shared Libraries</code> tab of the <code>GDBDebuggerPage</code>.
0
* The content of the <code>Shared Libraries</code> tab of the <code>GDBDebuggerPage</code>. | GDBSolibBlock.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,663
GDBSolibBlock.java
Contributors: * QNX Software Systems - Initial API and implementation
0
Contributors: * QNX Software Systems - Initial API and implementation | GDBSolibBlock.java
[ 0, 1, 0, 0, 0, 0, 0 ]
9,665
GraphicCanvasVisualizer.java
Contributors: * William R. Swanson (Tilera Corporation)
0
Contributors: * William R. Swanson (Tilera Corporation) | GraphicCanvasVisualizer.java
[ 0, 1, 0, 0, 0, 0, 0 ]
9,666
GraphicCanvasVisualizer.java
/** Invoked when visualizer view's context menu is invoked, to populate it. */
0
/** Invoked when visualizer view's context menu is invoked, to populate it. */ | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,667
GraphicCanvasVisualizer.java
/** Invoked when visualizer is selected, to populate the toolbar's menu. */
0
/** Invoked when visualizer is selected, to populate the toolbar's menu. */ | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,668
GraphicCanvasVisualizer.java
/** Invoked when visualizer is selected, to populate the toolbar. */
0
/** Invoked when visualizer is selected, to populate the toolbar. */ | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,669
GraphicCanvasVisualizer.java
/** Gets downcast reference to canvas control. */
0
/** Gets downcast reference to canvas control. */ | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,670
GraphicCanvasVisualizer.java
* Invoked after visualizer control creation, * to allow derived classes to do any initialization of canvas.
0
* Invoked after visualizer control creation, * to allow derived classes to do any initialization of canvas. | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,671
GraphicCanvasVisualizer.java
/** Invoked when canvas control should be disposed. */
0
/** Invoked when canvas control should be disposed. */ | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,672
GraphicCanvasVisualizer.java
/** Creates and returns visualizer canvas control. */
0
/** Creates and returns visualizer canvas control. */ | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,673
GraphicCanvasVisualizer.java
/** Invoked when visualizer control should be disposed. */
0
/** Invoked when visualizer control should be disposed. */ | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,674
GraphicCanvasVisualizer.java
/** Creates and returns visualizer control on specified parent. */
0
/** Creates and returns visualizer control on specified parent. */ | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,675
GraphicCanvasVisualizer.java
/** Dispose method. */
0
/** Dispose method. */ | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,676
GraphicCanvasVisualizer.java
/** Constructor specifying name and such information. */
0
/** Constructor specifying name and such information. */ | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,677
GraphicCanvasVisualizer.java
/** Constructor. */
0
/** Constructor. */ | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,678
GraphicCanvasVisualizer.java
Viewer canvas -- base class for canvas that displays a collection * of persistent, repositionable graphic objects.
0
Viewer canvas -- base class for canvas that displays a collection * of persistent, repositionable graphic objects. | GraphicCanvasVisualizer.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,679
GraphicCanvasVisualizer.java
Note: painting is done in order objects were added, * so objects added last are drawn "on top" of others. * Use raise/lower methods to change the object z-ordering, if needed.
0
Note: painting is done in order objects were added, * so objects added last are drawn "on top" of others. * Use raise/lower methods to change the object z-ordering, if needed. | GraphicCanvasVisualizer.java
[ 0, 0, 0, 0, 0, 0, 1 ]
9,680
BaseSuite.java
* Handles configuring the JUL -> SLF4J bridge.
0
* Handles configuring the JUL -> SLF4J bridge. | BaseSuite.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,682
QMLExpressionEvaluator.java
@link IJSExpression
0
@link IJSExpression | QMLExpressionEvaluator.java
[ 0, 0, 0, 0, 1, 0, 0 ]
9,683
QMLExpressionEvaluator.java
@param expr * the expression to be evaluated
0
@param expr * the expression to be evaluated | QMLExpressionEvaluator.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,684
QMLExpressionEvaluator.java
Evaluates the given {@link IJSExpression} as a constant expression and returns the result. At the moment this only supports * very simple expressions involving unary operators and literals alone. Support for more complex expressions will be added as * needed.
0
Evaluates the given {@link IJSExpression} as a constant expression and returns the result. At the moment this only supports * very simple expressions involving unary operators and literals alone. Support for more complex expressions will be added as * needed. | QMLExpressionEvaluator.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,685
BuildOptionComboFieldEditor.java
Contributors: * IBM Rational Software - Initial API and implementation * ARM Ltd. - basic tooltip support
0
Contributors: * IBM Rational Software - Initial API and implementation * ARM Ltd. - basic tooltip support | BuildOptionComboFieldEditor.java
[ 0, 1, 0, 0, 0, 0, 0 ]
9,687
BuildOptionComboFieldEditor.java
* @noinstantiate This class is not intended to be instantiated by clients.
0
* @noinstantiate This class is not intended to be instantiated by clients. | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,688
BuildOptionComboFieldEditor.java
* @param name
0
* @param name | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,689
BuildOptionComboFieldEditor.java
* @param label
0
* @param label | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,690
BuildOptionComboFieldEditor.java
* @param sel
0
* @param sel | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,691
BuildOptionComboFieldEditor.java
* @param opts
0
* @param opts | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,692
BuildOptionComboFieldEditor.java
* @param parent
0
* @param parent | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,693
BuildOptionComboFieldEditor.java
* @param name
0
* @param name | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,694
BuildOptionComboFieldEditor.java
* @param label
0
* @param label | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,695
BuildOptionComboFieldEditor.java
* @param tooltip
0
* @param tooltip | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,696
BuildOptionComboFieldEditor.java
* @param contextId
0
* @param contextId | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,697
BuildOptionComboFieldEditor.java
* @param sel
0
* @param sel | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,698
BuildOptionComboFieldEditor.java
* @param opts
0
* @param opts | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,699
BuildOptionComboFieldEditor.java
* @param parent
0
* @param parent | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,700
BuildOptionComboFieldEditor.java
* @param string the new tool tip text (or null)
0
* @param string the new tool tip text (or null) | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,701
BuildOptionComboFieldEditor.java
* @return the field editor's tool tip text
0
* @return the field editor's tool tip text | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,702
BuildOptionComboFieldEditor.java
* Set the list of enum values for this combo field editor
0
* Set the list of enum values for this combo field editor | BuildOptionComboFieldEditor.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,703
BuildOptionComboFieldEditor.java
* Set the list of enum values for this combo field editor
0
* Set the list of enum values for this combo field editor | BuildOptionComboFieldEditor.java
[ 1, 0, 0, 0, 0, 0, 0 ]
9,704
BuildOptionComboFieldEditor.java
* @param enabled The enabled state.
0
* @param enabled The enabled state. | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,705
BuildOptionComboFieldEditor.java
@param parent The parent of the controls in the group.
0
@param parent The parent of the controls in the group. | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,706
BuildOptionComboFieldEditor.java
@return the text control, or <code>null</code> if no * text field is created yet
0
@return the text control, or <code>null</code> if no * text field is created yet | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,707
BuildOptionComboFieldEditor.java
@return the text control, or <code>null</code> if no * text field is created yet
0
@return the text control, or <code>null</code> if no * text field is created yet | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 1, 0, 0, 0 ]
9,708
BuildOptionComboFieldEditor.java
* @see org.eclipse.jface.preference.FieldEditor#doLoadDefault()
0
* @see org.eclipse.jface.preference.FieldEditor#doLoadDefault() | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 0, 1, 0, 0 ]
9,709
BuildOptionComboFieldEditor.java
* @see org.eclipse.jface.preference.FieldEditor#doStore()
0
* @see org.eclipse.jface.preference.FieldEditor#doStore() | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 0, 1, 0, 0 ]
9,710
BuildOptionComboFieldEditor.java
* @see org.eclipse.jface.preference.FieldEditor#getNumberOfControls()
0
* @see org.eclipse.jface.preference.FieldEditor#getNumberOfControls() | BuildOptionComboFieldEditor.java
[ 0, 0, 0, 0, 1, 0, 0 ]