query stringlengths 7 33.1k | document stringlengths 7 335k | metadata dict | negatives listlengths 3 101 | negative_scores listlengths 3 101 | document_score stringlengths 3 10 | document_rank stringclasses 102 values |
|---|---|---|---|---|---|---|
Processes the board image | public void processFrame(Mat in, Mat out)
{
// multiple regions of interest
int playSquares = 32; // number of playable game board squares
// keep track of starting row square
int parity = 0; // 0 is even, 1 is odd, tied to row number
int count = 0; // row square
int rowNum = 0; // row number, starting at 0
int vsegment = in.rows() / 8; // only accounts 8 playable
int hsegment = in.cols() / 10; // 8 playable, 2 capture
int hOffset = hsegment * 2; // offset for playable board
int vOffset = vsegment + 40;
// For angle of camera
int dx = 80;
int ddx = 0;
hsegment -= 16;
int dy = 20;
vsegment -= 24;
// Go through all playable squares
for (int i = 0; i < playSquares; i++)
{
// change offset depending on the row
if (parity == 0) // playable squares start on 2nd square from left
{
if (rowNum >= 5)
dx -= 3;
hOffset = hsegment * 2 + dx;
}
else // playable squares start on immediate left
{
if (rowNum >= 5)
dx -= 3;
hOffset = hsegment + dx;
}
if (rowNum == 4)
if (count == 6)
ddx = 10;
if (rowNum == 5)
{
if (count == 0)
ddx = -6;
else if (count == 2)
ddx = 6;
else if (count == 4)
ddx = 12;
else if (count == 6)
ddx = 20;
}
if (rowNum == 6)
{
if (count == 0)
ddx = 0;
else if (count == 2)
ddx = 16;
else if (count == 4)
ddx = 32;
else if (count == 6)
ddx = 40;
}
if (rowNum == 7)
{
if (count == 0)
ddx = 0;
else if (count == 2)
ddx = 24;
else if (count == 4)
ddx = 40;
else
ddx = 52;
}
// find where roi should be
//System.out.println("" + vOffset);
Point p1 = new Point(hOffset + count * hsegment + ddx, vOffset + rowNum * vsegment - dy); // top left point of rectangle (x,y)
Point p2 = new Point(hOffset + (count + 1) * hsegment + ddx, vOffset + (rowNum + 1) * vsegment - dy); // bottom right point of rectangle (x,y)
// create rectangle that is board square
Rect bound = new Rect(p1, p2);
char color;
if (i == 0)
{
// frame only includes rectangle
Mat roi = new Mat(in, bound);
// get the color
color = identifyColor(roi);
// copy input image to output image
in.copyTo(out);
}
else
{
// frame only includes rectangle
Mat roi = new Mat(out, bound);
// get the color
color = identifyColor(roi);
}
// annotate the output image
// scalar values as (blue, green, red)
switch(color)
{
case COLOR_BLUE:
//Imgproc.rectangle(out, p1, p2, new Scalar(255, 0, 0), 2);
Core.rectangle(out, p1, p2, new Scalar(255, 0, 0), 2);
board[i] = CheckersBoard.BLACK; // end user's piece
break;
case COLOR_ORANGE:
//Imgproc.rectangle(out, p1, p2, new Scalar(0, 128, 255), 2);
Core.rectangle(out, p1, p2, new Scalar(0, 128, 255), 2);
board[i] = CheckersBoard.WHITE; // system's piece
break;
case COLOR_WHITE:
//Imgproc.rectangle(out, p1, p2, new Scalar(255, 255, 255), 2);
Core.rectangle(out, p1, p2, new Scalar(255, 255, 255), 2);
board[i] = CheckersBoard.EMPTY;
break;
case COLOR_BLACK: // this is black
//Imgproc.rectangle(out, p1, p2, new Scalar(0, 0, 0), 2);
Core.rectangle(out, p1, p2, new Scalar(0, 0, 0), 2); // maybe add 8, 0 as line type and fractional bits
board[i] = CheckersBoard.EMPTY;
break;
}
count += 2;
if (count == 8)
{
parity = ++parity % 2; // change odd or even
count = 0;
rowNum++;
hsegment += 2;
dx -= 10;
dy += 10;
vsegment += 3;
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract WorldImage drawBoard(int blocks);",
"private void updateBoard() throws FileNotFoundException {\r\n\t\tSystem.out.println(\"[DEBUG LOG/Game.java] Creating board image\");\r\n\t\tBufferedImage combined = new BufferedImage(GlobalVars.images.get(\"Board1\").getWidth(), GlobalVars.images.get(\"Board1\... | [
"0.6618481",
"0.6565286",
"0.65516454",
"0.64929724",
"0.6388121",
"0.6348589",
"0.6296252",
"0.6216718",
"0.6208714",
"0.6188879",
"0.6176759",
"0.6156916",
"0.61207247",
"0.6115457",
"0.60991496",
"0.60916877",
"0.6051687",
"0.60264635",
"0.60103357",
"0.6003101",
"0.590263... | 0.5691805 | 39 |
Determines which pieces are kings | public void determineKings(Mat in)
{
int playSquares = 32;
Mat dst = new Mat(in.rows(), in.cols(), in.type());
in.copyTo(dst);
Imgproc.cvtColor(dst, dst, Imgproc.COLOR_BGR2GRAY); // change to single color
Mat canny = new Mat();
Imgproc.Canny(dst, canny, 100, 200); // make image a canny image that is only edges; 2,4
// lower threshold values find more edges
List<MatOfPoint> contours = new ArrayList<MatOfPoint>();
Mat hierarchy = new Mat(); // holds nested contour information
Imgproc.findContours(canny, contours, hierarchy, Imgproc.RETR_LIST, Imgproc.CHAIN_APPROX_SIMPLE); // Imgproc.RETR_LIST, TREE
//draw contour image
Mat mask = new Mat();
mask = Mat.zeros(dst.size(), dst.type());
Imgproc.drawContours(mask, contours, -1, new Scalar(255,255,255), 1, 8, hierarchy, 2, new Point());
Highgui.imwrite("contours.jpg", mask);
ArrayList occupied = new ArrayList<Integer>();
for (int i = 0; i < playSquares; i++)
{
if (board[i] != 0)
occupied.add(i);
}
for (int i = 0; i < contours.size(); i++) // assuming only contours are checker pieces
{
// determine if it should be a king
// use Rect r = Imgproc.boundingRect then find height of it by r.height
// Get bounding rect of contour
Rect bound = Imgproc.boundingRect(contours.get(i));
if (bound.height > in.rows() / 8)
{
//board[(int) occupied.get(0)]++; // make it a king
//occupied.remove(0);
}
}
// or apply to each region of interest
/*
// keep track of starting row square
int parity = 0; // 0 is even, 1 is odd, tied to row number
int count = 0; // row square
int rowNum = 0; // row number, starting at 0
int vsegment = in.rows() / 8; // only accounts 8 playable
int hsegment = in.cols() / 12; // 8 playable, 2 capture, 2 extra
int offset = hsegment * 2; // offset for playable board
// For angle of camera
int dx = 48;
hsegment -= 8;
// Go through all playable squares
for (int i = 0; i < playSquares; i++)
{
// change offset depending on the row
if (parity == 0) // playable squares start on immediate left
offset = hsegment * 3 + dx;
else // playable squares start on 2nd square from left
offset = hsegment * 2 + dx;
// find where roi should be
Point p1 = new Point(offset + count * hsegment, rowNum * vsegment); // top left point of rectangle (x,y)
Point p2 = new Point(offset + (count + 1) * hsegment, (rowNum + 1) * vsegment); // bottom right point of rectangle (x,y)
// create rectangle that is board square
Rect bound = new Rect(p1, p2);
// frame only includes rectangle
Mat roi = new Mat(in, bound);
Imgproc.cvtColor(roi, roi, Imgproc.COLOR_BGR2GRAY); // change to single color
Mat canny = new Mat();
Imgproc.Canny(roi, canny, 2, 4); // make image a canny image that is only edges; 2,4
// lower threshold values find more edges
List<MatOfPoint> contours = new ArrayList<MatOfPoint>();
Mat hierarchy = new Mat(); // holds nested contour information
Imgproc.findContours(canny, contours, hierarchy, Imgproc.RETR_EXTERNAL, Imgproc.CHAIN_APPROX_SIMPLE); // Imgproc.RETR_LIST, TREE
// Get bounding rect of contour
Rect rect = Imgproc.boundingRect(contours.get(0));
if (rect.height > in.rows() / 8)
{
board[i]++; // make it a king
}
count += 2;
if (count == 8)
{
parity = ++parity % 2; // change odd or even
count = 0;
rowNum++;
hsegment += 1;
dx -= 6;
}
}*/
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic void testIfKingIsCapturedBySandwich()\n\t{\n\t\tData d=new Data();\n\t\td.set(8,31);\n\t\td.set(6,28);\n\t\td.set(0,36);\n\t\td.set(24,35);\n\t\td.set(14,38);\n\t\td.set(14,37);\n\t\tArrayList<Coordinate> test_arr=d.pieceLost(37);\n\t\tassertEquals(test_arr.size(),0);\n\t}",
"protected void kingP... | [
"0.6400331",
"0.6340326",
"0.6227621",
"0.6199286",
"0.6077376",
"0.6071002",
"0.6034569",
"0.60247207",
"0.59709096",
"0.5917843",
"0.58814394",
"0.5875395",
"0.584808",
"0.58147097",
"0.5791727",
"0.57520616",
"0.57357574",
"0.57089245",
"0.5693109",
"0.56816924",
"0.566983... | 0.5646699 | 22 |
Identifies the color in the frame | public char identifyColor(Mat in)
{
//Mat blue = new Mat(in.rows(), in.cols(), CvType.CV_8UC1);
//Mat green = new Mat(in.rows(), in.cols(), CvType.CV_8UC1);
//Mat red = new Mat(in.rows(), in.cols(), CvType.CV_8UC1);
//split the channels of the image
Mat blue = new Mat(); // default is CV_8UC3
Mat green = new Mat();
Mat red = new Mat();
List<Mat> channels = new ArrayList<Mat>(3);
Core.split(in, channels);
blue = channels.get(0); // makes all 3 CV_8UC1
green = channels.get(1);
red = channels.get(2);
//System.out.println(blue.toString());
// add the intensities
Mat intensity = new Mat(in.rows(), in.cols(), CvType.CV_32F);
//Mat mask = new Mat();
Core.add(blue, green, intensity);//, mask, CvType.CV_32F);
Core.add(intensity, red, intensity);//, mask, CvType.CV_32F);
// not sure if correct from here to ...
Mat inten = new Mat();
Core.divide(intensity, Scalar.all(3.0), inten);
//System.out.println(intensity.toString());
//Core.divide(3.0, intensity, inten);
// if intensity = intensity / 3.0; means element-wise division
// use intensity.muls(Mat m)
// so make new Mat m of same size that has each element of 1/3
/*
* or
* About per-element division you can use Core.divide()
Core.divide(A,Scalar.all(d), B);
It's equivalent to B=A/d
*/
// find normalized values
Mat bnorm = new Mat();
Mat gnorm = new Mat();
Mat rnorm = new Mat();
//blue.convertTo(blue, CvType.CV_32F);
//green.convertTo(green, CvType.CV_32F);
//red.convertTo(red, CvType.CV_32F);
Core.divide(blue, inten, bnorm);
Core.divide(green, inten, gnorm);
Core.divide(red, inten, rnorm);
// find average norm values
Scalar val = new Scalar(0);
val = Core.mean(bnorm);
String value[] = val.toString().split(",");
String s = value[0].substring(1);
double bavg = Double.parseDouble(s);
val = Core.mean(gnorm);
String value1[] = val.toString().split(",");
String s1 = value1[0].substring(1);
double gavg = Double.parseDouble(s1);
val = Core.mean(rnorm);
String value2[] = val.toString().split(",");
String s2 = value2[0].substring(1);
double ravg = Double.parseDouble(s2);
// ... here
//original values
/*
// define the reference color values
//double RED[] = {0.4, 0.5, 1.8};
//double GREEN[] = {1.0, 1.2, 1.0};
double BLUE[] = {1.75, 1.0, 0.5};
//double YELLOW[] = {0.82, 1.7, 1.7};
double ORANGE[] = {0.2, 1.0, 2.0};
double WHITE[] = {2.0, 1.7, 1.7};
//double BLACK[] = {0.0, 0.3, 0.3};
*/
// define the reference color values
//double RED[] = {0.4, 0.5, 1.8};
//double GREEN[] = {1.0, 1.2, 1.0};
double BLUE[] = {1.75, 1.0, 0.5};
//double YELLOW[] = {0.82, 1.7, 1.7};
double ORANGE[] = {0.2, 1.0, 2.0};
double WHITE[] = {2.0, 1.7, 1.7};
//double BLACK[] = {0.0, 0.3, 0.3};
// compute the square error relative to the reference color values
//double minError = 3.0;
double minError = 2.0;
double errorSqr;
char bestFit = 'x';
//test++;
//System.out.print("\n\n" + test + "\n\n");
// check BLUE fitness
errorSqr = normSqr(BLUE[0], BLUE[1], BLUE[2], bavg, gavg, ravg);
System.out.println("Blue: " + errorSqr);
if(errorSqr < minError)
{
minError = errorSqr;
bestFit = COLOR_BLUE;
}
// check ORANGE fitness
errorSqr = normSqr(ORANGE[0], ORANGE[1], ORANGE[2], bavg, gavg, ravg);
System.out.println("Orange: " + errorSqr);
if(errorSqr < minError)
{
minError = errorSqr;
bestFit = COLOR_ORANGE;
}
// check WHITE fitness
errorSqr = normSqr(WHITE[0], WHITE[1], WHITE[2], bavg, gavg, ravg);
System.out.println("White: " + errorSqr);
if(errorSqr < minError)
{
minError = errorSqr;
bestFit = COLOR_WHITE;
}
// check BLACK fitness
/*errorSqr = normSqr(BLACK[0], BLACK[1], BLACK[2], bavg, gavg, ravg);
System.out.println("Black: " + errorSqr);
if(errorSqr < minError)
{
minError = errorSqr;
bestFit = COLOR_BLACK;
}*/
// return the best fit color label
return bestFit;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getColor(){\r\n\t\treturn color;\r\n\t}",
"public int getColor() {\n \t\treturn color;\n \t}",
"public int getColor(){\n\t\treturn color;\n\t}",
"public int getColor(){\n\t\treturn color;\n\t}",
"public int getColor() {\n return color;\n }",
"public int getColor();",
"public int ge... | [
"0.7231388",
"0.7153209",
"0.71477157",
"0.71477157",
"0.70782673",
"0.7013858",
"0.7013858",
"0.69047505",
"0.6890799",
"0.68699896",
"0.68593735",
"0.68279445",
"0.6819662",
"0.6768459",
"0.67641836",
"0.67563164",
"0.6710037",
"0.6709546",
"0.6701626",
"0.66966003",
"0.669... | 0.0 | -1 |
Computes the squared norm of two tuples | public double normSqr(double x1, double y1, double z1, double x2, double y2, double z2)
{
return (x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2) + (z1 - z2)*(z1 - z2);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private double norm(double x1, double y1, double x2, double y2)\n {\n return Math.sqrt((x1-x2)*(x1-x2) + (y1-y2)*(y1-y2));\n }",
"public double norm2();",
"public double norm2(double[] x1, double[] x2) {\n\t\tdouble result = 0;\n\t\tfor (int i = 0; i < x1.length; i++) {\n\t\t\tdouble factor = x1[i... | [
"0.72336847",
"0.7023666",
"0.6744884",
"0.6731232",
"0.6469126",
"0.6346595",
"0.6337429",
"0.62626624",
"0.6226733",
"0.6091415",
"0.60667425",
"0.6064082",
"0.59640104",
"0.5934311",
"0.58240217",
"0.5801901",
"0.5745891",
"0.57334894",
"0.5725418",
"0.56301767",
"0.550547... | 0.6185622 | 9 |
Capture images and run color processing through here | public void capture()
{
VideoCapture camera = new VideoCapture();
camera.set(12, -20); // change contrast, might not be necessary
//CaptureImage image = new CaptureImage();
camera.open(0); //Useless
if(!camera.isOpened())
{
System.out.println("Camera Error");
// Determine whether to use System.exit(0) or return
}
else
{
System.out.println("Camera OK");
}
boolean success = camera.read(capturedFrame);
if (success)
{
try {
processWithContours(capturedFrame, processedFrame);
}
catch(Exception e){
System.out.println(e);
}
//image.processFrame(capturedFrame, processedFrame);
// processedFrame should be CV_8UC3
//image.findCaptured(processedFrame);
//image.determineKings(capturedFrame);
int bufferSize = processedFrame.channels() * processedFrame.cols() * processedFrame.rows();
byte[] b = new byte[bufferSize];
processedFrame.get(0,0,b); // get all the pixels
// This might need to be BufferedImage.TYPE_INT_ARGB
img = new BufferedImage(processedFrame.cols(), processedFrame.rows(), BufferedImage.TYPE_INT_RGB);
int width = (int)camera.get(Highgui.CV_CAP_PROP_FRAME_WIDTH);
int height = (int)camera.get(Highgui.CV_CAP_PROP_FRAME_HEIGHT);
//img.getRaster().setDataElements(0, 0, width, height, b);
byte[] a = new byte[bufferSize];
System.arraycopy(b, 0, a, 0, bufferSize);
Highgui.imwrite("camera.jpg",processedFrame);
System.out.println("Success");
}
else
System.out.println("Unable to capture image");
camera.release();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void doImageRendering( int frame )\n\t{\n\t\tArrayColormap cmap = new ArrayColormap();\n\t\tColor color1 = new Color((int)red1.get(frame), (int)green1.get(frame), (int)blue1.get(frame) );\n\t\tColor color2 = new Color((int)red2.get(frame), (int)green2.get(frame), (int)blue2.get(frame) );\n\t\tColor color3 =... | [
"0.673508",
"0.6410094",
"0.63072807",
"0.62498623",
"0.6217637",
"0.621198",
"0.62061995",
"0.6168412",
"0.6145151",
"0.61039466",
"0.607778",
"0.6069091",
"0.6049612",
"0.599104",
"0.59535974",
"0.5945198",
"0.5935759",
"0.5933449",
"0.5928794",
"0.590192",
"0.5886529",
"... | 0.57200724 | 35 |
remove the colors combinations that dont have the same amount of colors as aiGuess | private static void removeNonIntersections(int PegsCount){
int correctColor = 0;
Iterator<ArrayList<Peg>> itr = possibleCombinations.iterator();
while(itr.hasNext()){
correctColor = 0;
ArrayList <Peg> victim=itr.next();
ArrayList <Peg> victimTemp = new ArrayList<Peg>(victim);
for(int i=0; i<aiGuess.size(); i++){
if(victimTemp.contains(aiGuess.get(i))){
victimTemp.remove(aiGuess.get(i));
correctColor+=1;
}
}
if(correctColor<PegsCount){
itr.remove();
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static void removeCurrentColors(){\n\t\tIterator<ArrayList<Peg>> itr = possibleCombinations.iterator();\n\t\twhile(itr.hasNext()){\n\t\t\tArrayList <Peg> victim=itr.next();\n\t\t\tfor(int i=0; i<aiGuess.size(); i++){\n\t\t\t\t\n\t\t\t\tif(victim.contains(aiGuess.get(i))){\n\t\t\t\t\titr.remove();\n\t\t\t\t... | [
"0.79810745",
"0.63777447",
"0.61769164",
"0.6169112",
"0.60647786",
"0.60617125",
"0.59883285",
"0.59800375",
"0.5944923",
"0.58811826",
"0.5806865",
"0.5767796",
"0.5750752",
"0.5736482",
"0.5717423",
"0.57062626",
"0.5616389",
"0.55912167",
"0.5577198",
"0.5525057",
"0.550... | 0.6952507 | 1 |
remove the combinations that don't have aiInput's colors | private static void removeCurrentColors(){
Iterator<ArrayList<Peg>> itr = possibleCombinations.iterator();
while(itr.hasNext()){
ArrayList <Peg> victim=itr.next();
for(int i=0; i<aiGuess.size(); i++){
if(victim.contains(aiGuess.get(i))){
itr.remove();
break;
}
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static void removeNonIntersections(int PegsCount){\n\t\tint correctColor = 0;\n\t\tIterator<ArrayList<Peg>> itr = possibleCombinations.iterator();\n\t\twhile(itr.hasNext()){\n\t\t\tcorrectColor = 0;\n\t\t\tArrayList <Peg> victim=itr.next();\n\t\t\tArrayList <Peg> victimTemp = new ArrayList<Peg>(victim);\n\... | [
"0.6061432",
"0.5900109",
"0.58518326",
"0.5710515",
"0.5689254",
"0.55612135",
"0.5551798",
"0.5545349",
"0.5525735",
"0.5479772",
"0.54393387",
"0.53962874",
"0.53871816",
"0.5369963",
"0.5336525",
"0.52746415",
"0.5216914",
"0.52068424",
"0.52043164",
"0.51964265",
"0.5194... | 0.74641114 | 0 |
/ renamed from: a | public void m48660a(PlaceCardView placeCardView) {
C12322k.m48659a(placeCardView, (PlacesCardViewPresenter) this.f39892a.get());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed fr... | [
"0.6249669",
"0.6242452",
"0.61399835",
"0.6117525",
"0.61137056",
"0.6089649",
"0.6046804",
"0.6024678",
"0.6020427",
"0.5975322",
"0.59474325",
"0.5912173",
"0.5883731",
"0.58788097",
"0.58703065",
"0.58670723",
"0.5864566",
"0.58566767",
"0.5830755",
"0.58286554",
"0.58273... | 0.0 | -1 |
/ renamed from: a | public static void m48659a(PlaceCardView placeCardView, PlacesCardViewPresenter placesCardViewPresenter) {
placeCardView.f39874b = placesCardViewPresenter;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed fr... | [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064... | 0.0 | -1 |
Actives the Panel by a player | public void activatedBy(final Player player) {
//Battle with a Boss Unit
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void updatePanel(Actor actor){}",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t{\n\t\t\t\tshowPanel(createReinforcePanel(MainPlayScreen.this.game.getCurrentPlayer()));\t\t\n\t\t\t\n\t\t\t}",
"private void loadPlayerPanel(Player player) {\n\t\tCustomButton nullButton = new CustomBu... | [
"0.68696374",
"0.6751378",
"0.67444396",
"0.66868764",
"0.6551078",
"0.65329885",
"0.6521235",
"0.6515482",
"0.644453",
"0.63885564",
"0.6321745",
"0.6300669",
"0.62771",
"0.6269135",
"0.6261585",
"0.6248717",
"0.62429124",
"0.62041134",
"0.61703825",
"0.61674833",
"0.6163621... | 0.0 | -1 |
Sets the models various rotation angles then renders the model. | public void render(Entity var1, float var2, float var3, float var4, float var5, float var6, float var7)
{
this.setRotationAngles(var2, var3, var4, var5, var6, var7);
GL11.glTranslatef(0.0F, 0.75F, 0.0F);
GL11.glEnable(GL11.GL_NORMALIZE);
GL11.glEnable(GL11.GL_BLEND);
GL11.glDisable(GL11.GL_ALPHA_TEST);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
GL11.glPushMatrix();
GL11.glRotatef(this.sinage[0] * (180F / (float) Math.PI), 1.0F, 0.0F, 0.0F);
this.head[0].render(var7);
GL11.glPopMatrix();
GL11.glPushMatrix();
GL11.glRotatef(this.sinage[1] * (180F / (float) Math.PI), 0.0F, 1.0F, 0.0F);
this.head[1].render(var7);
GL11.glPopMatrix();
GL11.glPushMatrix();
GL11.glRotatef(this.sinage[2] * (180F / (float) Math.PI), 0.0F, 0.0F, 1.0F);
this.head[2].render(var7);
GL11.glPopMatrix();
GL11.glEnable(GL11.GL_ALPHA_TEST);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z)\n {\n modelRenderer.rotateAngleX = x;\n modelRenderer.rotateAngleY = y;\n modelRenderer.rotateAngleZ = z;\n }",
"public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) {\n ... | [
"0.73906475",
"0.71401757",
"0.71401757",
"0.71401757",
"0.71401757",
"0.71401757",
"0.71401757",
"0.71401757",
"0.71401757",
"0.71401757",
"0.71401757",
"0.71401757",
"0.70957893",
"0.7090346",
"0.703349",
"0.703349",
"0.703349",
"0.703349",
"0.703349",
"0.66599286",
"0.6637... | 0.0 | -1 |
If not invoked, create an instance and inject as _singleton | public static AMQProtocolServer getInstance() {
if (!_invoked) {
// Read config
config = Application.readConfigurationFiles();
// Attempt to extract host and port from configuration file
String configHost = config.getProperty("AMQP_HOST", DEFAULT_HOST);
Integer configPort = null;
try {
configPort = Integer.parseInt(config.getProperty("AMQP_PORT", Integer.toString(DEFAULT_PORT)));
} catch (NumberFormatException e) {
log.error("Failed to parse AMQP Port, using default: " + DEFAULT_PORT);
}
// Update singleton
_singleton = new AMQProtocolServer(configHost, configPort);
_singleton.useQueue = Boolean.parseBoolean(config.getProperty("AMQP_USE_QUEUE", DEFAULT_USE_QUEUE));
_singleton.useSASL = Boolean.parseBoolean(config.getProperty("AMQP_USE_SASL", DEFAULT_USE_SASL));
}
return _singleton;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private EagerInitializedSingleton() {\n\t}",
"private EagerInitializedSingleton() {\n\t}",
"private void initInstance() {\n init$Instance(true);\n }",
"private LazySingleton(){}",
"private Singleton(){}",
"private SingletonSample() {}",
"private SingletonEager(){\n \n }",
"private Spa... | [
"0.681798",
"0.681798",
"0.6816882",
"0.68129903",
"0.67362756",
"0.6723417",
"0.6679418",
"0.6529706",
"0.652574",
"0.6501166",
"0.64943856",
"0.64817977",
"0.64698845",
"0.6454559",
"0.64509606",
"0.64499",
"0.64370006",
"0.64113504",
"0.64069104",
"0.6384448",
"0.63804936"... | 0.0 | -1 |
Created by power on 2017/3/27,027. | public interface U {
void f1();
void f2();
void f3();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"private stendhal() {\n\t}",... | [
"0.5925321",
"0.5673025",
"0.5665117",
"0.5665117",
"0.5639577",
"0.5617301",
"0.56141955",
"0.5604503",
"0.56025577",
"0.5602218",
"0.5595089",
"0.55350953",
"0.5533995",
"0.5470093",
"0.54697156",
"0.5466764",
"0.5453041",
"0.54382175",
"0.54210705",
"0.5414865",
"0.5399354... | 0.0 | -1 |
Pulls in nearby enemies on hit | @Override
public void applyOnHit(LivingEntity user, LivingEntity target, int level, EntityDamageByEntityEvent event) {
if (Math.random() * 100 > settings.get(CHANCE, level)) return;
final double range = settings.get(RANGE, level);
final double damage = settings.get(DAMAGE, level);
final double speed = settings.get(SPEED, level);
for (Entity entity : user.getNearbyEntities(range, range, range)) {
if (!(entity instanceof LivingEntity) || Protection.isAlly(user, (LivingEntity)entity)) continue;
((LivingEntity) entity).damage(damage, user);
entity.setVelocity(user.getLocation().subtract(entity.getLocation()).toVector().multiply(speed));
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static void checkForEnemies() throws GameActionException {\n //No need to hijack code for structure\n if (rc.isWeaponReady()) {\n // basicAttack(enemies);\n HQPriorityAttack(enemies, attackPriorities);\n }\n \n //Old splash damage code\n //Pre... | [
"0.6652241",
"0.6619328",
"0.63455933",
"0.6335369",
"0.6320577",
"0.62874895",
"0.62544173",
"0.60807216",
"0.60588014",
"0.60552627",
"0.603076",
"0.60144573",
"0.6006979",
"0.6003243",
"0.5976895",
"0.5961134",
"0.5949008",
"0.5935779",
"0.59201914",
"0.5911707",
"0.590911... | 0.0 | -1 |
/...............convert json to list................. | public ArrayList<Foire> getListFoire(String json) {
ArrayList<Foire> listEvent = new ArrayList<>();
try {
JSONParser j = new JSONParser();
Map<String, Object> groupes = j.parseJSON(new CharArrayReader(json.toCharArray()));
List<Map<String, Object>> list = (List<Map<String, Object>>) groupes.get("root");
for (Map<String, Object> obj : list) {
Foire e = new Foire();
e.setIdFoire((int) Float.parseFloat(obj.get("idFoire").toString()));
e.setTitreFoire(obj.get("titreFoire").toString());
e.setDescriptionFoire(obj.get("descriptionFoire").toString());
e.setPrixFoire((int) Float.parseFloat(obj.get("prixFoire").toString()));
e.setImageFoire(obj.get("image").toString());
Map<String, Object> listDate = (Map<String, Object>) obj.get("dateEvent");
SimpleDateFormat sourceFormat = new SimpleDateFormat("d/m/Y");
//Date d = new Date((long) (double) listDate.get("timestamp") * 1000);
//e.setDateDeCreation(d);
Map<String, Object> listCat = (Map<String, Object>) obj.get("idStand");
Stand cat = new Stand();
cat.setIdStand((int) Float.parseFloat(listCat.get("idStand") + ""));
cat.setTitreStand(listCat.get("titreStand") + "");
e.setIdStand(cat);
listEvent.add(e);
}
} catch (IOException ex) {
}
return listEvent;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected MList readList(JSONObject json) throws JSONException, TypeException {\n System.err.println(\"readList json = \" + json);\n\n\t// Read the size\n\tint listSize = json.getInt(\"size\");\n\n\t// Read the type\n String typeStr = json.getString(\"type\");\n ProbeAttributeType type = decod... | [
"0.69358236",
"0.68674487",
"0.6735516",
"0.66888744",
"0.6663787",
"0.6655399",
"0.66433424",
"0.66310877",
"0.6590433",
"0.65560895",
"0.6541372",
"0.6474667",
"0.63981146",
"0.6373726",
"0.6372482",
"0.63658524",
"0.63597226",
"0.6353133",
"0.6309254",
"0.62898105",
"0.628... | 0.59780663 | 31 |
TODO: Warning this method won't work in the case the id fields are not set | @Override
public boolean equals(Object object) {
if (!(object instanceof Ocena)) {
return false;
}
Ocena other = (Ocena) object;
if ((this.idOceny == null && other.idOceny != null) || (this.idOceny != null && !this.idOceny.equals(other.idOceny))) {
return false;
}
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void setId(Integer id) { this.id = id; }",
"private Integer getId() { return this.id; }",
"public void setId(int id){ this.id = id; }",
"public void setId(Long id) {this.id = id;}",
"public void setId(Long id) {this.id = id;}",
"public void setID(String idIn) {this.id = idIn;}",
"public void se... | [
"0.6894075",
"0.6838163",
"0.6703205",
"0.6639082",
"0.6639082",
"0.6590798",
"0.65762895",
"0.65762895",
"0.65737987",
"0.65737987",
"0.65737987",
"0.65737987",
"0.65737987",
"0.65737987",
"0.6559597",
"0.6559597",
"0.6543704",
"0.65236825",
"0.6515142",
"0.6486868",
"0.6475... | 0.0 | -1 |
the label is the name of the sig used in the alloy model it is the same as the class name replacing any dots with s_ (underscore) | public String getLabel() {
if (label != null)
return label;
if (classSimpleName==null)
return null;
return classSimpleName.replace('.', '_');
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String nameLabel();",
"public abstract String getLabel();",
"String getLabel();",
"String getLabel();",
"public void setLabel(String label) {\n this.label = label;\n }",
"void setlabel (String label){\r\n\t\tthis.label = label;\r\n\t}",
"java.lang.String getLabel();",
"@Override\n publ... | [
"0.67122525",
"0.65199316",
"0.6492871",
"0.6492871",
"0.64251417",
"0.638934",
"0.634903",
"0.632776",
"0.62826973",
"0.62670827",
"0.6262575",
"0.6250144",
"0.62456256",
"0.6201585",
"0.6201585",
"0.6201585",
"0.6201585",
"0.61992645",
"0.6191422",
"0.61732787",
"0.61650836... | 0.6506525 | 2 |
Service Interface for managing Community. | public interface CommunityService {
/**
* Save a community.
*
* @param communityDTO the entity to save
* @return the persisted entity
*/
CommunityDTO save(CommunityDTO communityDTO);
/**
* Get all the communities.
*
* @return the list of entities
*/
List<CommunityDTO> findAll();
/**
* Get the "id" community.
*
* @param id the id of the entity
* @return the entity
*/
CommunityDTO findOne(Long id);
/**
* Delete the "id" community.
*
* @param id the id of the entity
*/
void delete(Long id);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface CommunityService extends WorkspaceService\r\n{\r\n\r\n static final String COMMUNITY_SERVICE_KEY = \"COMMUNITY_SERVICE_KEY\";\r\n\r\n /**\r\n * Creations of a Community object reference.\r\n * @param name the initial name to asign to the community\r\n * @param user_short_pid storage ... | [
"0.74597424",
"0.686859",
"0.660233",
"0.64128447",
"0.6374228",
"0.6348238",
"0.6227141",
"0.62237203",
"0.6085881",
"0.60407126",
"0.5962961",
"0.5888283",
"0.5852236",
"0.57739174",
"0.5696352",
"0.56414",
"0.5604308",
"0.5584882",
"0.55428576",
"0.55405927",
"0.5508985",
... | 0.7556914 | 0 |
Get all the communities. | List<CommunityDTO> findAll(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Collection<Community> getAllCommunities() {\n return communityStore.getAll();\n }",
"Collection getCommunities();",
"@Override\n\tpublic List<JSONObject> getCommunities(JSONObject params) {\n\t\tList<JSONObject> communities = this.selectList(\"getCommunities\",params);\n\t\tif(communities.size... | [
"0.83185154",
"0.7870058",
"0.7177065",
"0.70794684",
"0.6923145",
"0.61637753",
"0.61276233",
"0.61063725",
"0.60447496",
"0.60291684",
"0.5961642",
"0.59485173",
"0.58298004",
"0.58110887",
"0.5798113",
"0.5676966",
"0.5639998",
"0.5627447",
"0.5626848",
"0.56244487",
"0.56... | 0.6207662 | 5 |
Get the "id" community. | CommunityDTO findOne(Long id); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ObjectId getCommunityId() {\r\n\t\treturn communityId;\r\n\t}",
"@ApiModelProperty(value = \"小区id\")\n\tpublic Long getCommunityId() {\n\t\treturn communityId;\n\t}",
"java.lang.String getLobbyId();",
"public String getCommunity() {\n return this.community;\n }",
"java.lang.String getChann... | [
"0.79000133",
"0.68006027",
"0.67497456",
"0.63729656",
"0.6311082",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",
"0.6264958",... | 0.0 | -1 |
Delete the "id" community. | void delete(Long id); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic int deleteCommunity(JSONObject params) {\n\t\tint result = -1;\n\t\tresult = this.delete(\"deleteCommunityMember\",params);\n\t\tresult = this.delete(\"deleteCommunity\", params);\n\t\treturn result;\n\t}",
"public void delete(Long id) {\n log.debug(\"Request to delete GeoTypeCommune :... | [
"0.70886296",
"0.67999005",
"0.64268714",
"0.6423614",
"0.64181393",
"0.64181393",
"0.64181393",
"0.64181393",
"0.64181393",
"0.63850385",
"0.6371521",
"0.6300801",
"0.62723815",
"0.62643903",
"0.62643903",
"0.62643903",
"0.62615687",
"0.62451905",
"0.620785",
"0.620785",
"0.... | 0.0 | -1 |
static methods Determine the class associated with the given type identifier. | public static Class getClass(int nType, PofContext ctx)
{
if (nType >= 0)
{
return ctx.getClass(nType);
}
switch (nType)
{
case PofConstants.T_INT16:
return Short.class;
case PofConstants.T_INT32:
case PofConstants.V_INT_NEG_1:
case PofConstants.V_INT_0:
case PofConstants.V_INT_1:
case PofConstants.V_INT_2:
case PofConstants.V_INT_3:
case PofConstants.V_INT_4:
case PofConstants.V_INT_5:
case PofConstants.V_INT_6:
case PofConstants.V_INT_7:
case PofConstants.V_INT_8:
case PofConstants.V_INT_9:
case PofConstants.V_INT_10:
case PofConstants.V_INT_11:
case PofConstants.V_INT_12:
case PofConstants.V_INT_13:
case PofConstants.V_INT_14:
case PofConstants.V_INT_15:
case PofConstants.V_INT_16:
case PofConstants.V_INT_17:
case PofConstants.V_INT_18:
case PofConstants.V_INT_19:
case PofConstants.V_INT_20:
case PofConstants.V_INT_21:
case PofConstants.V_INT_22:
return Integer.class;
case PofConstants.T_INT64:
return Long.class;
case PofConstants.T_INT128:
return BigInteger.class;
case PofConstants.T_FLOAT32:
return Float.class;
case PofConstants.T_FLOAT64:
return Double.class;
case PofConstants.T_FLOAT128:
return RawQuad.class;
case PofConstants.V_FP_POS_INFINITY:
return Double.class;
case PofConstants.V_FP_NEG_INFINITY:
return Double.class;
case PofConstants.V_FP_NAN:
return Double.class;
case PofConstants.T_DECIMAL32:
return BigDecimal.class;
case PofConstants.T_DECIMAL64:
return BigDecimal.class;
case PofConstants.T_DECIMAL128:
return BigDecimal.class;
case PofConstants.T_BOOLEAN:
case PofConstants.V_BOOLEAN_FALSE:
case PofConstants.V_BOOLEAN_TRUE:
return Boolean.class;
case PofConstants.T_OCTET:
return Byte.class;
case PofConstants.T_OCTET_STRING:
return Binary.class;
case PofConstants.T_CHAR:
return Character.class;
case PofConstants.T_CHAR_STRING:
case PofConstants.V_STRING_ZERO_LENGTH:
return String.class;
case PofConstants.T_DATE:
return Date.class;
case PofConstants.T_TIME:
return Time.class;
case PofConstants.T_DATETIME:
return Timestamp.class;
case PofConstants.T_YEAR_MONTH_INTERVAL:
return RawYearMonthInterval.class;
case PofConstants.T_TIME_INTERVAL:
return RawTimeInterval.class;
case PofConstants.T_DAY_TIME_INTERVAL:
return RawDayTimeInterval.class;
case PofConstants.T_COLLECTION:
case PofConstants.T_UNIFORM_COLLECTION:
case PofConstants.V_COLLECTION_EMPTY:
return Collection.class;
case PofConstants.T_MAP:
case PofConstants.T_UNIFORM_KEYS_MAP:
case PofConstants.T_UNIFORM_MAP:
return Map.class;
case PofConstants.T_SPARSE_ARRAY:
return SparseArray.class;
case PofConstants.T_ARRAY:
return Object[].class;
case PofConstants.T_UNIFORM_ARRAY:
case PofConstants.T_UNIFORM_SPARSE_ARRAY:
case PofConstants.V_REFERENCE_NULL:
// ambiguous - could be either an array or SparseArray
return null;
case PofConstants.T_IDENTITY:
case PofConstants.T_REFERENCE:
throw new IllegalArgumentException(nType + " has no " +
"mapping to a class");
default:
throw new IllegalArgumentException(nType + " is an " +
"invalid type");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String getInstanceOfClass();",
"Class<?> type();",
"Class<?> getType();",
"Class<?> getType();",
"Class<?> getType();",
"public Class getType();",
"String getClazz();",
"public abstract Class<? extends HateaosController<T, Identifier>> getClazz();",
"static Identifier makeTypeClass(final QualifiedN... | [
"0.65605587",
"0.65349394",
"0.6522156",
"0.6522156",
"0.6522156",
"0.6307295",
"0.62571913",
"0.62013066",
"0.6170917",
"0.61699337",
"0.6131858",
"0.61160177",
"0.60939234",
"0.606446",
"0.60416067",
"0.6025559",
"0.5994981",
"0.59559137",
"0.595071",
"0.59390175",
"0.59338... | 0.58624053 | 28 |
Validate that the supplied object is compatible with the specified type. | public static Object ensureType(Object o, int nType, PofContext ctx)
{
Class clz = getClass(nType, ctx);
if (clz == null)
{
throw new IllegalArgumentException(
"Unknown or ambiguous type: " + nType);
}
if (!clz.isAssignableFrom(o.getClass()))
{
throw new ClassCastException(o.getClass().getName() +
" is not assignable to "
+ clz.getName());
}
return o;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void validate(T object);",
"private static void checkConvertibility(JValue val, JType typ){\r\n\t\tJType argTyp = val.getType();\n\t\tif (argTyp == null) {\n\t\t\tif (!(typ == AnyType.getInstance() || typ.isObject())) {\n\t\t\t\tthrow new TypeIncompatibleException(JObjectType.getInstance(), typ);\n\t\t\t}\n\t\t}... | [
"0.6479928",
"0.6169402",
"0.60704374",
"0.59486926",
"0.59350896",
"0.58328044",
"0.58089197",
"0.5784548",
"0.57126933",
"0.5681742",
"0.56670636",
"0.56615466",
"0.56195",
"0.5583206",
"0.55631655",
"0.5541184",
"0.551351",
"0.54919237",
"0.54765457",
"0.54417175",
"0.5428... | 0.61381507 | 2 |
Created by mnnyang on 17113. | public interface ConfContract {
interface Presenter extends BasePresenter {
}
interface View extends BaseView<ConfContract.Presenter> {
void confBgImage();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"private static void cajas() {\n\t\t\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",... | [
"0.61387646",
"0.60379285",
"0.60315853",
"0.60315853",
"0.6029184",
"0.5990869",
"0.59789264",
"0.59727055",
"0.59725255",
"0.5910909",
"0.59034276",
"0.58868736",
"0.5878275",
"0.5860617",
"0.5853478",
"0.5852228",
"0.5841783",
"0.58402586",
"0.5808359",
"0.5805367",
"0.578... | 0.0 | -1 |
display/center the jdialog when the button is pressed | public void actionPerformed(ActionEvent e) {
String fileName = primeFileNameField.getText();
if(FileAccess.savePrimes(primes, fileName) != true) {
updateValues("Unable to save Primes into file named: " + fileName);
}else {
updateValues("Successful Saved primes into file: " + fileName);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\tJDialog jDialog = getPomocDialog();\n\t\t\t\t\tjDialog.setTitle(\"Pomoc\");\n\t\t\t\t\tjDialog.pack();\n\t\t\t\t\tPoint loc = getHlavneOkno().getLocation();\n\t\t\t\t\tloc.translate(20, 20);\n\t\t\t\t\tjDialog.setLocation(loc);\n\t\t\t\t\tjDial... | [
"0.74130064",
"0.7203876",
"0.7135707",
"0.70808935",
"0.7044373",
"0.6965812",
"0.6958403",
"0.6906445",
"0.68501276",
"0.68417007",
"0.6765884",
"0.674923",
"0.66950333",
"0.6665374",
"0.6644678",
"0.663037",
"0.6617845",
"0.66062295",
"0.6592995",
"0.65800023",
"0.6560897"... | 0.0 | -1 |
display/center the jdialog when the button is pressed | public void actionPerformed(ActionEvent e) {
String fileName = hexFileNameField.getText();
if(FileAccess.saveCrosses(primes, fileName) != true) {
updateValues("Unable to save Primes into file named: " + fileName);
}else {
updateValues("Successful Saved primes into file: " + fileName);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\tJDialog jDialog = getPomocDialog();\n\t\t\t\t\tjDialog.setTitle(\"Pomoc\");\n\t\t\t\t\tjDialog.pack();\n\t\t\t\t\tPoint loc = getHlavneOkno().getLocation();\n\t\t\t\t\tloc.translate(20, 20);\n\t\t\t\t\tjDialog.setLocation(loc);\n\t\t\t\t\tjDial... | [
"0.74140763",
"0.7203509",
"0.713667",
"0.70809066",
"0.70432943",
"0.6963237",
"0.6955791",
"0.69073904",
"0.68513674",
"0.68405795",
"0.6764429",
"0.6750103",
"0.6694054",
"0.6665386",
"0.6645538",
"0.663141",
"0.6616912",
"0.66063",
"0.6591841",
"0.6581345",
"0.6561751",
... | 0.0 | -1 |
generate hex and primes layout buttons | private void generateLayout() {
JPanel generatePanel = new JPanel();
generatePanel.setLayout(new GridBagLayout());
JButton generatePrimes = new JButton("Generate Primes");
generatePrimes.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
generatePrimesPopup();
}
});
JButton generateHex = new JButton("Generate Hex Cross");
generateHex.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
primes.clearCrosses();
primes.generateHexPrimes();
updateValues("Succesful Hex Cross Prime Numbers Generated");
}
});
GridBagConstraints gbc = new GridBagConstraints();
gbc.fill = GridBagConstraints.CENTER;
gbc.insets = new Insets(1,1,0,0);
JPanel digitsPanel = new JPanel();
digitsPanel.setLayout(new GridLayout(2,1));
LPrimedigits.setFont(new Font("Tahoma", Font.BOLD,15));
LHexDigits.setFont(new Font("Tahoma", Font.BOLD,15));
digitsPanel.add(LPrimedigits);
digitsPanel.add(LHexDigits);
gbc.gridx = 0;
gbc.weightx = 0.1;
generatePanel.add(generatePrimes,gbc);
gbc.gridx = 1;
gbc.weightx = 0.1;
generatePanel.add(digitsPanel,gbc);
gbc.weightx = 0.1;
gbc.gridx = 2;
generatePanel.add(generateHex,gbc);
generatePanel.setBorder(BorderFactory.createLineBorder(new Color(150,0,0), 2));
mainLayout.add(generatePanel);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void getnumber_Fourgroup6_xuan_big() {\n\t\tbtn_Fourgroup6_xuan_0.setBackgroundResource(R.drawable.round);\r\n\t\ttext_Fourgroup6_xuan_0.setTextColor(0xffdedede);\r\n\t\tbtn_Fourgroup6_xuan_1.setBackgroundResource(R.drawable.round);\r\n\t\ttext_Fourgroup6_xuan_1.setTextColor(0xffdedede);\r\n\t\tbtn_Fourgro... | [
"0.67718583",
"0.6553254",
"0.6350228",
"0.6133608",
"0.6119284",
"0.6067106",
"0.605184",
"0.6043393",
"0.602549",
"0.5990259",
"0.598181",
"0.5962382",
"0.5947024",
"0.5923756",
"0.5919252",
"0.58908445",
"0.58765185",
"0.5827975",
"0.5782545",
"0.57715994",
"0.5760322",
... | 0.6620007 | 1 |
display/center the jdialog when the button is pressed | public void actionPerformed(ActionEvent e) {
try {
int thisCount = Integer.valueOf(count.getText());
int thisStart = Integer.valueOf(start.getText());
if(thisCount <0 || thisStart <0) {
updateValues("Unsucessful Generation: Start number and Number of Primes cannot be negative");
}else {
updateValues("Generating Primes please wait...");
primes.clearPrimes();
primes.generatePrimes(thisStart, thisCount);
updateValues("Successful Generation of Primes");
}
}catch(NumberFormatException ex) {
updateValues("Bad input of Numbers please check Starting number and number of primes text box");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\tJDialog jDialog = getPomocDialog();\n\t\t\t\t\tjDialog.setTitle(\"Pomoc\");\n\t\t\t\t\tjDialog.pack();\n\t\t\t\t\tPoint loc = getHlavneOkno().getLocation();\n\t\t\t\t\tloc.translate(20, 20);\n\t\t\t\t\tjDialog.setLocation(loc);\n\t\t\t\t\tjDial... | [
"0.7413432",
"0.72048277",
"0.71364224",
"0.70815456",
"0.70441073",
"0.69637656",
"0.69558054",
"0.69073576",
"0.6851906",
"0.68414694",
"0.67650163",
"0.6750034",
"0.6694617",
"0.6666283",
"0.6645153",
"0.6632733",
"0.6617679",
"0.6607233",
"0.6592984",
"0.658159",
"0.65609... | 0.0 | -1 |
turn on designers fantasy | @Override
public void onClick(View v) {
if (SHOW_DEBUG)
Toast.makeText(v.getContext(), "Yep, this all action ", Toast.LENGTH_SHORT)
.show();
fab.startAnimation(fab_show);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void turnOn() {\n Appearance appearance = appearances.get(currentAppearance);\r\n if (appearance.hasAlternativeAppearance()) {\r\n appearance.setSelectedName(appearance.getOnName());\r\n }\r\n }",
"public static void start() {\n \t\tMainGame.display.disp(\"What type of m... | [
"0.6526471",
"0.64734393",
"0.64629817",
"0.6382522",
"0.63539207",
"0.63497007",
"0.62468964",
"0.6245371",
"0.6207159",
"0.6186203",
"0.6115654",
"0.60797733",
"0.6074774",
"0.60680187",
"0.6062922",
"0.60476434",
"0.60430074",
"0.60374546",
"0.5985788",
"0.598325",
"0.5963... | 0.0 | -1 |
Inflate the menu; this adds items to the action bar if it is present. | @Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.menu_main, menu);
SearchManager searchManager =
(SearchManager) getSystemService(Context.SEARCH_SERVICE);
SearchView searchView =
(SearchView) menu.findItem(R.id.search).getActionView();
searchView.setSearchableInfo(
searchManager.getSearchableInfo(getComponentName()));
searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {
@Override
public boolean onQueryTextSubmit(String query) {
if (query != null) {
mPresenter.loadRepositories(query, false);
}
return false;
}
@Override
public boolean onQueryTextChange(String newText) {
return false;
}
});
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {... | [
"0.7247938",
"0.7202959",
"0.7196692",
"0.71785426",
"0.7108701",
"0.70417315",
"0.70402646",
"0.70132303",
"0.7011096",
"0.69826573",
"0.6946997",
"0.69409776",
"0.6935366",
"0.69191027",
"0.69191027",
"0.6893088",
"0.6885528",
"0.6877815",
"0.68763673",
"0.686437",
"0.68643... | 0.0 | -1 |
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml. | @Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ... | [
"0.7904451",
"0.78051436",
"0.7766031",
"0.77275425",
"0.76321447",
"0.7622237",
"0.7584132",
"0.7530231",
"0.74875915",
"0.7457484",
"0.7457484",
"0.7438372",
"0.74221927",
"0.7403421",
"0.73915446",
"0.738672",
"0.7378976",
"0.73701847",
"0.7362139",
"0.73556066",
"0.734531... | 0.0 | -1 |
Set the content of the "value" attribute | public void setValueAttribute( final String newValue ) {
Assert.notNull( "newValue", newValue );
getElement().setAttribute( "value", newValue );
final String onChange = getOnChangeAttribute();
if( onChange.length() != 0 ) {
getPage().executeJavaScriptIfPossible(onChange, "onChange handler", true, this);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setValue (String Value);",
"public void setValue(String value);",
"public void setValue(String value);",
"public void setValue(String value);",
"public void setValue(String value);",
"public void setValue(final String value) {\n super.setAttributeValue(value);\n }",
"public void s... | [
"0.76396894",
"0.7538387",
"0.7538387",
"0.7538387",
"0.7538387",
"0.7523507",
"0.7520782",
"0.75114053",
"0.75114053",
"0.75114053",
"0.75114053",
"0.75114053",
"0.74844563",
"0.7461662",
"0.7442582",
"0.7422058",
"0.7415128",
"0.74123454",
"0.7400221",
"0.7400221",
"0.74002... | 0.0 | -1 |
Return an array of KeyValuePairs that are the values that will be sent back to the server whenever the current form is submitted. THIS METHOD IS INTENDED FOR THE USE OF THE FRAMEWORK ONLY AND SHOULD NOT BE USED BY CONSUMERS OF HTMLUNIT. USE AT YOUR OWN RISK. | public KeyValuePair[] getSubmitKeyValuePairs() {
return new KeyValuePair[]{new KeyValuePair( getNameAttribute(), getValueAttribute() )};
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Map<String, List<String>> getFormDataMultivalue();",
"@Override\n protected Map<String, String> getParams() {\n int noofstudent = 2*Integer.parseInt(noOfStudents);\n String creatre = \"jbscjas\";//send anything part\n String uid = AppController.getString(Wi... | [
"0.61597663",
"0.59765786",
"0.593828",
"0.5777418",
"0.577256",
"0.5745721",
"0.57231224",
"0.57189023",
"0.5682409",
"0.5615931",
"0.560645",
"0.56047386",
"0.5598229",
"0.5593202",
"0.55867326",
"0.5555789",
"0.5555789",
"0.5552936",
"0.55427915",
"0.55386055",
"0.5528281"... | 0.7472521 | 0 |
Submit the form that contains this input. Only a couple of the inputs support this method so it is made protected here. Those subclasses that wish to expose it will override and make it public. | protected Page click() throws IOException {
if( isDisabled() == true ) {
return getPage();
}
final String onClick = getOnClickAttribute();
final HtmlPage page = getPage();
if( onClick.length() == 0 || page.getWebClient().isJavaScriptEnabled() == false ) {
return doClickAction();
}
else {
final ScriptResult scriptResult = page.executeJavaScriptIfPossible(
onClick, "onClick handler for "+getClass().getName(), true, this);
scriptResult.getJavaScriptResult();
return doClickAction();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void Submit() {\n }",
"public void submit() {\n driver.findElement(SUBMIT_SELECTOR).click();\n }",
"public void performSubmit() {\n\t\tgetWrappedElement().submit();\n\t}",
"public MainPage submitForm() {\n LOGGER.info(\"Clicked the button 'LOGIN'\");\n clickOn... | [
"0.74287546",
"0.6959655",
"0.68441105",
"0.6671072",
"0.6570494",
"0.6521703",
"0.6518162",
"0.65154624",
"0.6389674",
"0.6364411",
"0.63067555",
"0.628092",
"0.62252295",
"0.6215973",
"0.6213718",
"0.6178323",
"0.61214083",
"0.60785455",
"0.6075022",
"0.607447",
"0.60568297... | 0.0 | -1 |
Return a text representation of this element that represents what would be visible to the user if this page was shown in a web browser. For example, a select element would return the currently selected value as text | public String asText() {
return getValueAttribute();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String text() {\r\n\t\treturn jquery.text(this, webDriver);\r\n\t}",
"public String toString() {\n return getText();\n }",
"@Override public String toString() { return getDisplayedText(); }",
"@Override\n\tpublic String toString() {\n\t\t\n\t\treturn this.getText();\n\t}",
"@Override\n ... | [
"0.76959324",
"0.7306625",
"0.72492605",
"0.71979946",
"0.71309435",
"0.70431787",
"0.69928217",
"0.6952889",
"0.69502723",
"0.6934543",
"0.6872323",
"0.6870484",
"0.6828776",
"0.682818",
"0.68182075",
"0.68147624",
"0.6759191",
"0.67467535",
"0.6745653",
"0.67350787",
"0.673... | 0.6579579 | 81 |
Return the value of the attribute "id". Refer to the documentation for details on the use of this attribute. | public final String getIdAttribute() {
return getAttributeValue("id");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getId()\r\n {\r\n return getAttribute(\"id\");\r\n }",
"@XmlAttribute\n\tpublic Long getId() {\n\t\treturn id;\n\t}",
"public String getId() {\n return (String)getAttributeInternal(ID);\n }",
"public String getId() {\n return (String)getAttributeInternal(ID);\n ... | [
"0.8568049",
"0.8051124",
"0.8039372",
"0.8039372",
"0.7991301",
"0.7775039",
"0.77750176",
"0.77502966",
"0.77502966",
"0.7745459",
"0.7745459",
"0.77422893",
"0.77422893",
"0.77422893",
"0.7711765",
"0.7698291",
"0.7698291",
"0.7698291",
"0.7698291",
"0.7698291",
"0.7698291... | 0.8563075 | 1 |
Return the value of the attribute "class". Refer to the documentation for details on the use of this attribute. | public final String getClassAttribute() {
return getAttributeValue("class");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getClassAttribute() {\n return m_classIndex;\n }",
"public String getFClass() {\n\t\t\treturn this.fClass ;\n\t\t}",
"public String getClassType() {\n return classType;\n }",
"public String getSelectedClass () {\n Object sel = listAppClasses.getSelectedValue();\n if(... | [
"0.6957631",
"0.69347626",
"0.68348783",
"0.6769254",
"0.6731004",
"0.6713776",
"0.66889685",
"0.6679688",
"0.6679688",
"0.6674792",
"0.6649588",
"0.6643564",
"0.66125923",
"0.6611524",
"0.6597296",
"0.6588385",
"0.6579876",
"0.65319604",
"0.6491548",
"0.64899737",
"0.6475223... | 0.8868025 | 0 |
Return the value of the attribute "style". Refer to the documentation for details on the use of this attribute. | public final String getStyleAttribute() {
return getAttributeValue("style");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getStyle() {\r\n return style;\r\n }",
"public String getStyle() {\n\t\treturn style;\n\t}",
"public String getStyle() {\n return style;\n }",
"public String getStyle() {\n return style;\n }",
"public String getStyle() {\n return style;\n }",
"public ... | [
"0.83129096",
"0.8258081",
"0.8257824",
"0.8257824",
"0.8257824",
"0.8257824",
"0.8225929",
"0.82130444",
"0.81523454",
"0.79370373",
"0.76995754",
"0.7628239",
"0.74043626",
"0.71629316",
"0.703238",
"0.7031151",
"0.6983536",
"0.69075775",
"0.6871992",
"0.6868086",
"0.684164... | 0.903217 | 0 |
Return the value of the attribute "title". Refer to the documentation for details on the use of this attribute. | public final String getTitleAttribute() {
return getAttributeValue("title");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTitleAttribute() {\n return titleAttribute;\n }",
"public java.lang.String getTitle() {\n return title;\n }",
"public java.lang.String getTitle() {\n return title;\n }",
"public java.lang.String getTitle() {\n return title;\n }",
"public java.lang.String g... | [
"0.8431411",
"0.8389256",
"0.8363471",
"0.8363471",
"0.8363471",
"0.836311",
"0.8267837",
"0.8267837",
"0.8267837",
"0.8267837",
"0.8267837",
"0.8267837",
"0.8267837",
"0.82672936",
"0.8262793",
"0.8262459",
"0.8262459",
"0.82392913",
"0.82392913",
"0.82392913",
"0.82392913",... | 0.89111155 | 0 |
Return the value of the attribute "lang". Refer to the documentation for details on the use of this attribute. | public final String getLangAttribute() {
return getAttributeValue("lang");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getLang() {\n return (String)getAttributeInternal(LANG);\n }",
"public String getLang() {\n return lang;\n }",
"public final String getXmlLangAttribute() {\n return getAttributeValue(\"xml:lang\");\n }",
"public AVT getLang()\n {\n return m_lang_avt;\n }",
"... | [
"0.83010566",
"0.81371385",
"0.8054046",
"0.7510914",
"0.75057805",
"0.74431777",
"0.7387632",
"0.725075",
"0.725075",
"0.72429633",
"0.71852523",
"0.7165646",
"0.7165646",
"0.7162598",
"0.7162598",
"0.7162598",
"0.70893663",
"0.6983391",
"0.6953814",
"0.69485587",
"0.6930357... | 0.87980705 | 0 |
Return the value of the attribute "xml:lang". Refer to the documentation for details on the use of this attribute. | public final String getXmlLangAttribute() {
return getAttributeValue("xml:lang");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final String getLangAttribute() {\n return getAttributeValue(\"lang\");\n }",
"public String getLang() {\n return (String)getAttributeInternal(LANG);\n }",
"public final String getXmllang() {\n return ((SVGFilterElement)ot).getXmllang();\n }",
"public java.lang.String getLang()... | [
"0.8118582",
"0.759566",
"0.74157983",
"0.738467",
"0.7380134",
"0.7220769",
"0.71139103",
"0.7097992",
"0.7097992",
"0.67709416",
"0.6648987",
"0.6648501",
"0.6630854",
"0.6630854",
"0.6558364",
"0.6558364",
"0.6558364",
"0.65312487",
"0.6526367",
"0.6485207",
"0.6476554",
... | 0.88715756 | 0 |
Return the value of the attribute "dir". Refer to the documentation for details on the use of this attribute. | public final String getTextDirectionAttribute() {
return getAttributeValue("dir");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getDir(){\r\n\t\treturn dir;\r\n\t}",
"public String getDir() {\n return this.dir;\n }",
"public String getDir() {\n return dir;\n }",
"public int getDir() {\n\t\treturn dir;\r\n\t}",
"public int getDir() {\n return this.dir;\n }",
"@Basic @Raw\r\n\tpublic Directory ... | [
"0.8153958",
"0.8065618",
"0.7975218",
"0.7937203",
"0.7929388",
"0.7864699",
"0.7642973",
"0.731615",
"0.72544926",
"0.7098593",
"0.70571613",
"0.7007507",
"0.6994141",
"0.69540745",
"0.68942034",
"0.6828131",
"0.67765576",
"0.67672306",
"0.6760639",
"0.6744283",
"0.6698881"... | 0.7133553 | 9 |
Return the value of the attribute "onclick". Refer to the documentation for details on the use of this attribute. | public final String getOnClickAttribute() {
return getAttributeValue("onclick");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getOnclick()\r\n\t{\r\n\t\treturn _onClick;\r\n\t}",
"public Object getOnclick() {\r\n\t\treturn getOnClick();\r\n\t}",
"@DISPID(-2147412104)\n @PropGet\n java.lang.Object onclick();",
"public final String getOnMouseDownAttribute() {\n return getAttributeValue(\"onmousedown\");\n }"... | [
"0.7704132",
"0.74501055",
"0.67176086",
"0.64906",
"0.64641565",
"0.61832726",
"0.59535444",
"0.5880357",
"0.58671474",
"0.5861495",
"0.5814707",
"0.5812587",
"0.5756906",
"0.57045287",
"0.56875837",
"0.5675621",
"0.5631913",
"0.5619627",
"0.55802226",
"0.5554226",
"0.555037... | 0.88774073 | 0 |
Return the value of the attribute "ondblclick". Refer to the documentation for details on the use of this attribute. | public final String getOnDblClickAttribute() {
return getAttributeValue("ondblclick");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@DISPID(-2147412103)\n @PropGet\n java.lang.Object ondblclick();",
"public Object getOndblclick() {\r\n\t\treturn getOnDblClick();\r\n\t}",
"@DISPID(-2147412103)\n @PropPut\n void ondblclick(\n java.lang.Object rhs);",
"public boolean isDoubleClick() {\r\n\t\treturn isDoubleClick;\r\n\t}",
"public f... | [
"0.77218205",
"0.72541386",
"0.71891165",
"0.64970183",
"0.62330014",
"0.5889832",
"0.57665735",
"0.5694716",
"0.56684667",
"0.5660927",
"0.5652592",
"0.5650106",
"0.56079936",
"0.5579628",
"0.55519515",
"0.55487865",
"0.55413634",
"0.5476805",
"0.5459663",
"0.54317904",
"0.5... | 0.9095509 | 0 |
Return the value of the attribute "onmousedown". Refer to the documentation for details on the use of this attribute. | public final String getOnMouseDownAttribute() {
return getAttributeValue("onmousedown");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object getOnmousedown() {\r\n\t\treturn getOnMouseDown();\r\n\t}",
"public final String getOnKeyDownAttribute() {\n return getAttributeValue(\"onkeydown\");\n }",
"public final String getOnDblClickAttribute() {\n return getAttributeValue(\"ondblclick\");\n }",
"public final String ... | [
"0.77419484",
"0.7084873",
"0.70057285",
"0.6884974",
"0.6811891",
"0.6364726",
"0.62128544",
"0.61744684",
"0.6165734",
"0.61434335",
"0.6099622",
"0.6080121",
"0.60390025",
"0.6029644",
"0.6016837",
"0.5950303",
"0.59502673",
"0.5823504",
"0.5810274",
"0.57074547",
"0.56727... | 0.89204544 | 0 |
Return the value of the attribute "onmouseup". Refer to the documentation for details on the use of this attribute. | public final String getOnMouseUpAttribute() {
return getAttributeValue("onmouseup");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object getOnmouseup() {\r\n\t\treturn getOnMouseUp();\r\n\t}",
"public final String getOnKeyUpAttribute() {\n return getAttributeValue(\"onkeyup\");\n }",
"public final String getOnMouseDownAttribute() {\n return getAttributeValue(\"onmousedown\");\n }",
"@DISPID(-2147412109)\n @P... | [
"0.80535114",
"0.68588793",
"0.6661664",
"0.66111106",
"0.6581729",
"0.5944784",
"0.592817",
"0.5766784",
"0.56475806",
"0.56444293",
"0.5555408",
"0.55401623",
"0.5522529",
"0.54837626",
"0.54554564",
"0.5439649",
"0.53647053",
"0.53647053",
"0.53641146",
"0.5358857",
"0.534... | 0.88906276 | 0 |
Return the value of the attribute "onmouseover". Refer to the documentation for details on the use of this attribute. | public final String getOnMouseOverAttribute() {
return getAttributeValue("onmouseover");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getOnmouseover()\r\n\t{\r\n\t\treturn _onMouseOver;\r\n\t}",
"public Object getOnmouseover() {\r\n\t\treturn getOnMouseOver();\r\n\t}",
"public final String getOnMouseMoveAttribute() {\n return getAttributeValue(\"onmousemove\");\n }",
"public final String getOnMouseOutAttribute() {\n... | [
"0.84595436",
"0.799971",
"0.74381125",
"0.7406161",
"0.73743534",
"0.7013892",
"0.6596535",
"0.6488965",
"0.6440188",
"0.63543046",
"0.6347113",
"0.63084775",
"0.6217215",
"0.617704",
"0.6171249",
"0.6143082",
"0.5749221",
"0.57286656",
"0.5642239",
"0.56361824",
"0.55681634... | 0.9062986 | 0 |
Return the value of the attribute "onmousemove". Refer to the documentation for details on the use of this attribute. | public final String getOnMouseMoveAttribute() {
return getAttributeValue("onmousemove");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object getOnmousemove() {\r\n\t\treturn getOnMouseMove();\r\n\t}",
"public final String getOnMouseOverAttribute() {\n return getAttributeValue(\"onmouseover\");\n }",
"public String getOnmouseover()\r\n\t{\r\n\t\treturn _onMouseOver;\r\n\t}",
"public Object getOnmouseover() {\r\n\t\treturn g... | [
"0.80213666",
"0.7194876",
"0.6646213",
"0.65296924",
"0.6484344",
"0.62797374",
"0.6213481",
"0.59353536",
"0.578674",
"0.5697159",
"0.5675249",
"0.5662049",
"0.5635873",
"0.56344545",
"0.5574795",
"0.5563765",
"0.54566306",
"0.54494804",
"0.5437858",
"0.5385871",
"0.5378175... | 0.87921435 | 0 |
Return the value of the attribute "onmouseout". Refer to the documentation for details on the use of this attribute. | public final String getOnMouseOutAttribute() {
return getAttributeValue("onmouseout");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getOnmouseout()\r\n\t{\r\n\t\treturn _onMouseOut;\r\n\t}",
"public Object getOnmouseout() {\r\n\t\treturn getOnMouseOut();\r\n\t}",
"public final String getOnMouseOverAttribute() {\n return getAttributeValue(\"onmouseover\");\n }",
"public void setOnmouseout(String val)\r\n\t{\r\n\t\t... | [
"0.8556221",
"0.8094953",
"0.7611753",
"0.71737826",
"0.70270145",
"0.6979698",
"0.65727246",
"0.6530269",
"0.6503865",
"0.635239",
"0.58783925",
"0.58204734",
"0.5636584",
"0.5583118",
"0.55061626",
"0.53927636",
"0.53600603",
"0.53045034",
"0.525743",
"0.52488285",
"0.52155... | 0.88735 | 0 |
Return the value of the attribute "onkeypress". Refer to the documentation for details on the use of this attribute. | public final String getOnKeyPressAttribute() {
return getAttributeValue("onkeypress");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object getOnkeypress() {\r\n\t\treturn getOnKeyPress();\r\n\t}",
"public final String getOnKeyDownAttribute() {\n return getAttributeValue(\"onkeydown\");\n }",
"@DISPID(-2147412105)\n @PropGet\n java.lang.Object onkeypress();",
"public int getOn() {\r\n\t\treturn onkey;\r\n\t}",
"public... | [
"0.8021236",
"0.738606",
"0.66953254",
"0.65059197",
"0.64886343",
"0.61769605",
"0.61002475",
"0.58724487",
"0.5854894",
"0.57116616",
"0.56915724",
"0.54873",
"0.54511374",
"0.53680354",
"0.5352688",
"0.53487444",
"0.52918863",
"0.5267017",
"0.5216242",
"0.5139824",
"0.5135... | 0.89061856 | 0 |
Return the value of the attribute "onkeydown". Refer to the documentation for details on the use of this attribute. | public final String getOnKeyDownAttribute() {
return getAttributeValue("onkeydown");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object getOnkeydown() {\r\n\t\treturn getOnKeyDown();\r\n\t}",
"public final String getOnKeyPressAttribute() {\n return getAttributeValue(\"onkeypress\");\n }",
"public final String getOnKeyUpAttribute() {\n return getAttributeValue(\"onkeyup\");\n }",
"public int getOn() {\r\n\t\t... | [
"0.77500856",
"0.75224274",
"0.7014162",
"0.680453",
"0.67390656",
"0.6567336",
"0.640931",
"0.63232577",
"0.6263418",
"0.6180403",
"0.60792357",
"0.5958131",
"0.58919615",
"0.58532304",
"0.5725789",
"0.57134867",
"0.5684451",
"0.56317914",
"0.5626963",
"0.56164205",
"0.56001... | 0.88425684 | 0 |
Return the value of the attribute "onkeyup". Refer to the documentation for details on the use of this attribute. | public final String getOnKeyUpAttribute() {
return getAttributeValue("onkeyup");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object getOnkeyup() {\r\n\t\treturn getOnKeyUp();\r\n\t}",
"@DISPID(-2147412106)\n @PropGet\n java.lang.Object onkeyup();",
"public final String getOnKeyDownAttribute() {\n return getAttributeValue(\"onkeydown\");\n }",
"public final String getOnKeyPressAttribute() {\n return getAtt... | [
"0.79828805",
"0.6829605",
"0.6666753",
"0.653965",
"0.6193727",
"0.5953391",
"0.593348",
"0.5798552",
"0.5747847",
"0.5522117",
"0.5406799",
"0.5406543",
"0.5349618",
"0.5328532",
"0.52906436",
"0.5278479",
"0.5233248",
"0.522412",
"0.5148026",
"0.5144238",
"0.5141705",
"0... | 0.85845965 | 0 |
Return the value of the attribute "type". Refer to the documentation for details on the use of this attribute. | public final String getTypeAttribute() {
return getAttributeValue("type");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getType() {\n\n return this.type;\n }",
"public String getType() {\r\n\t\treturn type;\r\n\t}",
"public String getType() {\r\n\t\treturn type;\r\n\t}",
"public String getType() {\r\n\t\treturn type;\r\n\t}",
"public String getType() {\n return type;\n }",
"public... | [
"0.8036745",
"0.8034215",
"0.8034215",
"0.8034215",
"0.80301505",
"0.80301505",
"0.8018333",
"0.80123675",
"0.8010783",
"0.8010783",
"0.8010783",
"0.8010783",
"0.8010783",
"0.8010783",
"0.8010783",
"0.8010783",
"0.8010783",
"0.8010783",
"0.8010783",
"0.8010783",
"0.8009458",
... | 0.9038621 | 0 |
Return the value of the attribute "name". Refer to the documentation for details on the use of this attribute. | public final String getNameAttribute() {
return getAttributeValue("name");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic String getName() {\n\t\treturn (String) attributes.get(\"name\");\n\t}",
"public String getName()\n {\n return (String)getAttributeInternal(NAME);\n }",
"public String getName() {\n\t\treturn (String) get_Value(\"Name\");\n\t}",
"public String getName() {\n\t\treturn (String) get_Val... | [
"0.87365115",
"0.8271624",
"0.8057839",
"0.8057839",
"0.8057839",
"0.8041992",
"0.7926286",
"0.79229534",
"0.78910697",
"0.7868964",
"0.7852168",
"0.7852168",
"0.7852168",
"0.7850362",
"0.78418916",
"0.7839496",
"0.7839496",
"0.7839496",
"0.7838218",
"0.7838218",
"0.7838218",... | 0.85832983 | 1 |
Return the value of the attribute "value". Refer to the documentation for details on the use of this attribute. Checkbox inputs have a default value as described in | public final String getValueAttribute() {
String value = getAttributeValue("value");
if( value == ATTRIBUTE_NOT_DEFINED && this instanceof HtmlCheckBoxInput ) {
value = "on";
}
return value;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object getCheckedValue();",
"public boolean getValue() {\n\t\treturn _checked;\n\t}",
"public Boolean value() {\n return this.value;\n }",
"public Boolean value() {\n return this.value;\n }",
"public Boolean value() {\n return this.value;\n }",
... | [
"0.7143561",
"0.68500096",
"0.66274476",
"0.66274476",
"0.66274476",
"0.6576737",
"0.6576656",
"0.6576656",
"0.6576656",
"0.6464295",
"0.6418301",
"0.6388167",
"0.6313874",
"0.61766946",
"0.61720186",
"0.61525285",
"0.6151829",
"0.6143379",
"0.6138141",
"0.6132051",
"0.611844... | 0.8095068 | 0 |
Return the value of the attribute "checked". Refer to the documentation for details on the use of this attribute. | public final String getCheckedAttribute() {
return getAttributeValue("checked");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean getValue() {\n\t\treturn _checked;\n\t}",
"public Object getCheckedValue();",
"public Integer getChecked() {\n return checked;\n }",
"public Boolean getCheckBox() {\n return (Boolean) getAttributeInternal(CHECKBOX);\n }",
"public final String getValueAttribute() {\n ... | [
"0.7159904",
"0.71220475",
"0.71031284",
"0.6938624",
"0.676504",
"0.669211",
"0.6469831",
"0.64246494",
"0.631221",
"0.6285195",
"0.6242562",
"0.6163117",
"0.60754764",
"0.60719943",
"0.59434026",
"0.5874793",
"0.58728254",
"0.57276434",
"0.57276434",
"0.57276434",
"0.571427... | 0.88967633 | 0 |
Return the value of the attribute "disabled". Refer to the documentation for details on the use of this attribute. | public final String getDisabledAttribute() {
return getAttributeValue("disabled");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final boolean isDisabled() {\n return isAttributeDefined(\"disabled\");\n }",
"public Boolean getDisabled() {\n return disabled;\n }",
"public boolean isDisabled() {\n return disabled;\n }",
"public boolean isDisabled()\n {\n return disabled;\n }",
"public ... | [
"0.7918134",
"0.7775196",
"0.73822194",
"0.73751765",
"0.7334623",
"0.7304013",
"0.724572",
"0.72213733",
"0.72132796",
"0.7048413",
"0.69479525",
"0.69460106",
"0.6918329",
"0.6907076",
"0.68405646",
"0.6810017",
"0.67893994",
"0.6782175",
"0.66478866",
"0.66437626",
"0.6638... | 0.9151843 | 0 |
Return true if the disabled attribute is set for this element. | public final boolean isDisabled() {
return isAttributeDefined("disabled");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final boolean isDisabled()\n {\n return myDisabledProperty.get();\n }",
"public boolean isDisabled() {\n\t\treturn disabled;\n\t}",
"public boolean isDisabled()\n {\n return disabled;\n }",
"public boolean isDisabled() {\n return disabled;\n }",
"public final Stri... | [
"0.7359671",
"0.7329807",
"0.7299855",
"0.7273408",
"0.7247699",
"0.7215365",
"0.7150859",
"0.7116974",
"0.7022997",
"0.6693969",
"0.6667691",
"0.6661677",
"0.65038097",
"0.6459555",
"0.63158417",
"0.6313495",
"0.6302056",
"0.62903786",
"0.6274422",
"0.62167144",
"0.62127864"... | 0.84726924 | 0 |
Return the value of the attribute "readonly". Refer to the documentation for details on the use of this attribute. | public final String getReadOnlyAttribute() {
return getAttributeValue("readonly");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getReadonlyFlag() {\n return readonlyFlag;\n }",
"public boolean isReadonly() {\n\t\treturn readonly;\n\t}",
"public void setReadonly(String readonly) {\n this.readonly = readonly;\n }",
"public Value setReadOnly() {\n checkNotUnknown();\n if (isReadOnly())\n ... | [
"0.8056253",
"0.7606369",
"0.7223629",
"0.715254",
"0.71509516",
"0.7111861",
"0.70840675",
"0.70575446",
"0.69951993",
"0.68546444",
"0.6853001",
"0.6814156",
"0.6765863",
"0.6710448",
"0.668062",
"0.6669879",
"0.664734",
"0.6622457",
"0.6592917",
"0.65471834",
"0.651406",
... | 0.8996061 | 0 |
Return the value of the attribute "size". Refer to the documentation for details on the use of this attribute. | public final String getSizeAttribute() {
return getAttributeValue("size");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Element \n public String getSize() {\n return size;\n }",
"public String getSize() {\r\n return size;\r\n }",
"public String getSize() {\n return size;\n }",
"public String getSize() {\n return size;\n }",
"@ApiModelProperty(example = \"3615\", value = \"Numeric ... | [
"0.8473265",
"0.8241922",
"0.8214655",
"0.8214655",
"0.8178402",
"0.8130354",
"0.8075745",
"0.8008231",
"0.79971206",
"0.79598904",
"0.7945473",
"0.79334843",
"0.7868068",
"0.7858175",
"0.7836405",
"0.78285265",
"0.7817048",
"0.7813914",
"0.78055304",
"0.78026557",
"0.7791432... | 0.90917546 | 0 |
Return the value of the attribute "maxlength". Refer to the documentation for details on the use of this attribute. | public final String getMaxLengthAttribute() {
return getAttributeValue("maxlength");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getMaxLength() {\n return maxLength;\n }",
"public int getMaxLength() {\r\n return _maxLength;\r\n }",
"public Integer getMaxLength() {\n\t\treturn maxLength;\n\t}",
"public int getMaxLength() {\r\n\t\treturn fieldMaxLength;\r\n\t}",
"public int getMaxLength(){\n retur... | [
"0.7995133",
"0.7962986",
"0.7916606",
"0.7885305",
"0.78060675",
"0.7758756",
"0.77586895",
"0.77506846",
"0.7702836",
"0.7321151",
"0.7309799",
"0.71589583",
"0.7112123",
"0.69973135",
"0.6968797",
"0.68758017",
"0.6835701",
"0.68303216",
"0.6804233",
"0.67924994",
"0.65675... | 0.9152985 | 0 |
Return the value of the attribute "src". Refer to the documentation for details on the use of this attribute. | public final String getSrcAttribute() {
return getAttributeValue("src");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getSrc() {\n return (String) attributes.get(\"src\");\n }",
"public String getSrc() {\r\n\t\treturn src;\r\n\t}",
"public void setSrc(String src) {\n attributes.put(\"src\", src);\n }",
"String getSrc();",
"java.lang.String getSrc();",
"public int getSrc() {\n\t\treturn ... | [
"0.89583707",
"0.78810084",
"0.73872644",
"0.713891",
"0.7122275",
"0.69628626",
"0.67217404",
"0.6594783",
"0.65363383",
"0.6520152",
"0.648666",
"0.64640117",
"0.64497995",
"0.6425153",
"0.6387057",
"0.63602513",
"0.6357487",
"0.63560134",
"0.6346475",
"0.6244003",
"0.62412... | 0.9181456 | 0 |
Return the value of the attribute "alt". Refer to the documentation for details on the use of this attribute. | public final String getAltAttribute() {
return getAttributeValue("alt");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic double getAlt() {\n\t\treturn this.alt;\r\n\t}",
"public String getResult() {\n\t\treturn ((WebElement) links.get(1)).getAttribute(\"alt\");\n\t}",
"public gov.nih.nlm.ncbi.www.soap.eutils.efetch_pmc.AltText getAltText() {\r\n return altText;\r\n }",
"public void setAlt(String... | [
"0.75513995",
"0.7326744",
"0.7289389",
"0.7048559",
"0.6931662",
"0.6846926",
"0.6737243",
"0.65822333",
"0.6542098",
"0.65045947",
"0.6365616",
"0.6299274",
"0.6245932",
"0.61278206",
"0.6080822",
"0.60579413",
"0.60034865",
"0.5989881",
"0.59298724",
"0.5841888",
"0.583367... | 0.90263283 | 0 |
Return the value of the attribute "usemap". Refer to the documentation for details on the use of this attribute. | public final String getUseMapAttribute() {
return getAttributeValue("usemap");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getUsemap() {\n return (String) attributes.get(\"usemap\");\n }",
"public Boolean getIsmap() {\n return (Boolean) attributes.get(\"ismap\");\n }",
"public void setUsemap(String usemap) {\n attributes.put(\"usemap\", usemap);\n }",
"public boolean getShowMap()\r\n ... | [
"0.8896661",
"0.7276988",
"0.6479611",
"0.6421414",
"0.6349622",
"0.6325794",
"0.6325794",
"0.60643256",
"0.59061533",
"0.5905238",
"0.5837036",
"0.5834728",
"0.57559997",
"0.57241136",
"0.57241136",
"0.57241136",
"0.5677792",
"0.5654743",
"0.5607538",
"0.5594656",
"0.5547526... | 0.88371146 | 1 |
Return the value of the attribute "tabindex". Refer to the documentation for details on the use of this attribute. | public final String getTabIndexAttribute() {
return getAttributeValue("tabindex");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getTabIndex() {\r\n return _tabindex;\r\n }",
"public int getSelectedTabIndex() {\n return getRootNode().getSelectionModel().getSelectedIndex();\n }",
"public void setTabIndex(int tabindex) {\r\n _tabindex = tabindex;\r\n }",
"public final String getOnFocusAtt... | [
"0.8162517",
"0.6302408",
"0.6233366",
"0.5731739",
"0.5704572",
"0.5681852",
"0.5467317",
"0.5302298",
"0.52711254",
"0.52697855",
"0.5268425",
"0.5183808",
"0.514759",
"0.5088548",
"0.5086858",
"0.5075111",
"0.5046536",
"0.502378",
"0.49781176",
"0.49519852",
"0.48932314",
... | 0.89212596 | 0 |
Return the value of the attribute "accesskey". Refer to the documentation for details on the use of this attribute. | public final String getAccessKeyAttribute() {
return getAttributeValue("accesskey");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAccessKey() {\n return properties.getProperty(ACCESS_KEY);\n }",
"public String accessKey() {\n return this.accessKey;\n }",
"public String getAccessKey() {\n return cred.getAWSAccessKeyId();\n }",
"public String getAccessKeyId() {\n return accessKeyId;\n... | [
"0.7402271",
"0.71367526",
"0.69165313",
"0.6471196",
"0.64294565",
"0.6025731",
"0.6010175",
"0.5987446",
"0.58949155",
"0.5854363",
"0.5805089",
"0.57401663",
"0.5701771",
"0.5667071",
"0.5665632",
"0.56642836",
"0.56279147",
"0.56120557",
"0.56031114",
"0.55968666",
"0.557... | 0.9102817 | 0 |
Return the value of the attribute "onfocus". Refer to the documentation for details on the use of this attribute. | public final String getOnFocusAttribute() {
return getAttributeValue("onfocus");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object getOnfocus() {\r\n\t\treturn getOnFocus();\r\n\t}",
"public final String getOnBlurAttribute() {\n return getAttributeValue(\"onblur\");\n }",
"public final String getOnKeyDownAttribute() {\n return getAttributeValue(\"onkeydown\");\n }",
"public final String getOnKeyPressAtt... | [
"0.7487262",
"0.72711504",
"0.60698706",
"0.60683125",
"0.5753393",
"0.556964",
"0.53359073",
"0.5316048",
"0.5294442",
"0.52624786",
"0.5257515",
"0.5247674",
"0.5218257",
"0.5151193",
"0.5038622",
"0.49871323",
"0.49225783",
"0.4901598",
"0.48988682",
"0.4884912",
"0.487158... | 0.8918332 | 0 |
Return the value of the attribute "onblur". Refer to the documentation for details on the use of this attribute. | public final String getOnBlurAttribute() {
return getAttributeValue("onblur");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final String getOnFocusAttribute() {\n return getAttributeValue(\"onfocus\");\n }",
"public Object getOnblur() {\r\n\t\treturn getOnBlur();\r\n\t}",
"public final String getOnChangeAttribute() {\n return getAttributeValue(\"onchange\");\n }",
"public final String getOnKeyUpAttribut... | [
"0.6687022",
"0.6383985",
"0.62971437",
"0.57598025",
"0.55356044",
"0.5521204",
"0.52112746",
"0.51827073",
"0.51583475",
"0.5153495",
"0.51534927",
"0.5097957",
"0.5085223",
"0.5077796",
"0.49505487",
"0.49020398",
"0.4875903",
"0.4812317",
"0.47688946",
"0.4698156",
"0.465... | 0.8845401 | 0 |
Return the value of the attribute "onselect". Refer to the documentation for details on the use of this attribute. | public final String getOnSelectAttribute() {
return getAttributeValue("onselect");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final String getOnChangeAttribute() {\n return getAttributeValue(\"onchange\");\n }",
"@DISPID(-2147412075)\n @PropGet\n java.lang.Object onselectstart();",
"public final String getOnMouseDownAttribute() {\n return getAttributeValue(\"onmousedown\");\n }",
"protected void onSelec... | [
"0.61837196",
"0.61613864",
"0.60270274",
"0.5993832",
"0.57114416",
"0.56392354",
"0.56183195",
"0.54475385",
"0.53622806",
"0.5295867",
"0.5271266",
"0.52680886",
"0.52612114",
"0.52313983",
"0.51307607",
"0.5130289",
"0.5113198",
"0.5051218",
"0.5040579",
"0.5039982",
"0.5... | 0.87143505 | 0 |
Return the value of the attribute "onchange". Refer to the documentation for details on the use of this attribute. | public final String getOnChangeAttribute() {
return getAttributeValue("onchange");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getOnChange() {\n return onChange;\n }",
"public final String getOnBlurAttribute() {\n return getAttributeValue(\"onblur\");\n }",
"public final String getOnSelectAttribute() {\n return getAttributeValue(\"onselect\");\n }",
"public final String getOnKeyUpAttribute... | [
"0.72790235",
"0.6181457",
"0.57787716",
"0.55462486",
"0.5507516",
"0.5469091",
"0.544255",
"0.5284226",
"0.52594787",
"0.52142996",
"0.51874036",
"0.5181589",
"0.51431996",
"0.51280344",
"0.51235956",
"0.511906",
"0.5058176",
"0.5009771",
"0.49788424",
"0.4968535",
"0.49221... | 0.8945033 | 0 |
Return the value of the attribute "accept". Refer to the documentation for details on the use of this attribute. | public final String getAcceptAttribute() {
return getAttributeValue("accept");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAccept() {\n return accept;\n }",
"public String getIsAccept() {\r\n\t\treturn isAccept;\r\n\t}",
"public final String getAcceptContentType() {\n return properties.get(ACCEPT_CONTENT_TYPE_PROPERTY);\n }",
"public List<MediaType> getAccept()\r\n/* 87: */ {\r\n/* 88:148 */ S... | [
"0.81933707",
"0.7899098",
"0.7182326",
"0.7037652",
"0.6829525",
"0.6480243",
"0.6416727",
"0.6314959",
"0.6243241",
"0.6170428",
"0.6167766",
"0.6157009",
"0.6042378",
"0.602493",
"0.6008741",
"0.6000799",
"0.5977252",
"0.59639686",
"0.58941936",
"0.5790988",
"0.5782733",
... | 0.89638495 | 0 |
Return the value of the attribute "align". Refer to the documentation for details on the use of this attribute. | public final String getAlignAttribute() {
return getAttributeValue("align");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAlign() {\n return align;\n }",
"public int getAlignment()\n {\n return align;\n }",
"public int getAlignment() {\r\n return Alignment;\r\n }",
"public int getAlignment() {\r\n return Alignment;\r\n }",
"public Alignment getAlignment() {\n... | [
"0.8585235",
"0.81958455",
"0.7982864",
"0.7982864",
"0.7743682",
"0.77200776",
"0.76585764",
"0.7524494",
"0.75072753",
"0.7329022",
"0.73147017",
"0.7286344",
"0.7187482",
"0.7167999",
"0.7150861",
"0.71262443",
"0.7123808",
"0.7083782",
"0.70656425",
"0.69557285",
"0.69525... | 0.9151355 | 0 |
Initializes the controller class. | @Override
public void initialize(URL url, ResourceBundle rb) {
// TODO
ev_name.setCellValueFactory(new PropertyValueFactory("nom_event"));
ev_descr.setCellValueFactory(new PropertyValueFactory("description_event"));
event_date.setCellValueFactory(new PropertyValueFactory("date"));
event_prix.setCellValueFactory(new PropertyValueFactory("prix_event"));
event_amount.setCellValueFactory(new PropertyValueFactory("nbr_place"));
event_image.setCellValueFactory(new PropertyValueFactory("image"));
table.setItems(data);
recherche.textProperty().addListener(new ChangeListener() {
@Override
public void changed(ObservableValue observable, Object oldValue, Object newValue) {
filtrerEventList((String) oldValue, (String) newValue);
}
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void initialize() {\n\t\tcontroller = Controller.getInstance();\n\t}",
"public MainController() {\n\t\tcontroller = new Controller(this);\n\t}",
"public abstract void initController();",
"public Controller() {\n super();\n }",
"public Controller() {\n super();\n }",
"public Co... | [
"0.8125658",
"0.78537387",
"0.78320265",
"0.776199",
"0.776199",
"0.76010174",
"0.74497247",
"0.7437837",
"0.7430714",
"0.742303",
"0.74057597",
"0.7341963",
"0.7327749",
"0.72634363",
"0.72230434",
"0.7102504",
"0.70575505",
"0.69873077",
"0.69721675",
"0.6944077",
"0.691256... | 0.0 | -1 |
override the getPasswordAuthentication method | protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(fromEmail, password);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n protected PasswordAuthentication getPasswordAuthentication() {\n return new PasswordAuthentication(this.sUsername, this.sPassword);\r\n }",
"@Override\n\t\t\tprotected PasswordAuthentication getPasswordAuthentication() {\n\t\t\t\treturn new PasswordAuthentication(from, pass... | [
"0.86887693",
"0.8572242",
"0.83960867",
"0.8391154",
"0.83545864",
"0.83545864",
"0.8208374",
"0.81662333",
"0.81662333",
"0.81633914",
"0.81423366",
"0.81345606",
"0.80922526",
"0.8054051",
"0.8039551",
"0.76663625",
"0.7612711",
"0.7612711",
"0.7474486",
"0.73565596",
"0.7... | 0.79932094 | 15 |
Gets word in straight line including cell. | protected final List<Cell> getWordWithCell(final Cell cell, final int backward, final int forward) {
List<Cell> word = new ArrayList<>();
Cell startCell = cell;
while (!startCell.isBlocked(backward)) {
startCell = startCell.getAdjacent(backward).get();
}
while (!startCell.isBlocked(forward)) {
word.add(startCell);
startCell = startCell.getAdjacent(forward).get();
}
word.add(startCell);
return word;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private String scan() {\n line = line.trim();\n if (line.length() == 0)\n return \"\";\n\n int i = 0;\n while (i < line.length() && line.charAt(i) != ' ' && line.charAt(i) != '\\t') {\n i = i + 1;\n }\n String word = line.substring(0, i);\n lin... | [
"0.6549148",
"0.6539477",
"0.59960693",
"0.597035",
"0.59095156",
"0.58476067",
"0.5842927",
"0.58363503",
"0.5833953",
"0.57906264",
"0.57436687",
"0.5717918",
"0.5650949",
"0.5643744",
"0.5612901",
"0.5607264",
"0.55979335",
"0.5574502",
"0.55656356",
"0.5532068",
"0.551501... | 0.52322966 | 49 |
Adds a clue model. | protected final void addClueModel(final ClueModel model) {
clueModels.add(model);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void addModel(Model aModel, OpenSimContext context) throws IOException {\n OpenSimContext dContext = context==null?new OpenSimContext(aModel.initSystem(), aModel):context;\n models.add(aModel);\n mapModelsToContexts.put(aModel, dContext);\n SingleModelGuiElements newModelGuiEleme... | [
"0.628955",
"0.62261647",
"0.59230095",
"0.59160304",
"0.58293474",
"0.5762275",
"0.56986",
"0.55911916",
"0.5589661",
"0.55882096",
"0.5559845",
"0.5548651",
"0.5531689",
"0.55098164",
"0.5464019",
"0.5452105",
"0.5448413",
"0.54301333",
"0.54220414",
"0.54154783",
"0.541170... | 0.7803657 | 0 |
Get adjacent cell in given direction. | protected final Cell getCell(final Cell cell, final int direction) {
Optional<Cell> optionalCell = cell.getAdjacent(direction);
if (optionalCell.isPresent()) {
return optionalCell.get();
} else {
return cell;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public HexCell getAdjacentCell(HexCell currentCell, MyValues.HEX_POSITION position){\n int cellX = currentCell.x;\n int cellY = currentCell.y;\n HexCell adjacentCell = null;\n switch (position){\n case TOP:\n if(isInBound(cellY-1, y)){\n adja... | [
"0.74973875",
"0.7175165",
"0.7133612",
"0.6973598",
"0.6543226",
"0.6510407",
"0.6501",
"0.64267856",
"0.63358504",
"0.62837815",
"0.6174959",
"0.60941076",
"0.6035832",
"0.6028056",
"0.59719086",
"0.59590656",
"0.59103495",
"0.5881823",
"0.5856765",
"0.5819305",
"0.5802195"... | 0.6580854 | 4 |
Gets list of clues. | public abstract List<ClueItem> getClues(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private HashMap<String, Clue> getUseableClues()\n {\n // Will hold a subset of clues that are not also codenames\n HashMap<String, Clue> useableClues = new HashMap<>();\n for (Clue clue : clues.values())\n {\n if (!clue.isActiveCodename)\n {\n use... | [
"0.6360908",
"0.6020042",
"0.5707867",
"0.5608568",
"0.5450465",
"0.54385394",
"0.5425378",
"0.5377988",
"0.5345724",
"0.53331107",
"0.5333001",
"0.532977",
"0.53106743",
"0.5308164",
"0.528293",
"0.5276683",
"0.5256097",
"0.5243488",
"0.51833516",
"0.51578873",
"0.51571584",... | 0.7203567 | 0 |
Sets the markers for the cells. | protected abstract void setMarkers(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setupMarkers(int specieses) {\r\n\t\tthis.markers = new boolean[specieses][6];\r\n\t}",
"public void setMarkersReference(TableProcessor markers) {\n opensimMocoJNI.MocoTrack_setMarkersReference(swigCPtr, this, TableProcessor.getCPtr(markers), markers);\n }",
"public void mark(int x, int y, i... | [
"0.67556316",
"0.6568237",
"0.64573437",
"0.6286155",
"0.6245155",
"0.6233973",
"0.6063239",
"0.60420924",
"0.6024097",
"0.600918",
"0.5989156",
"0.5983432",
"0.59006095",
"0.5876191",
"0.5868048",
"0.58512485",
"0.58228624",
"0.578778",
"0.57550985",
"0.5728342",
"0.5691267"... | 0.73996866 | 0 |
Sets cluemodels for the cells. | protected abstract void setClueModels(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setCells(ArrayList<CellState> cells) {\n this.cells = cells;\n }",
"public void setModel(Board b) { model = b; repaint(); }",
"private void updateHubModels() {\n this.hub.setWeight( this.hub.indexOf( this.modelHub1 ) , (Integer)this.jSpinnerModel1.getValue() );\n this.hub.se... | [
"0.5885125",
"0.54237455",
"0.5419545",
"0.5381153",
"0.53362715",
"0.53179896",
"0.52718973",
"0.5269861",
"0.5249733",
"0.52466166",
"0.52259374",
"0.52024084",
"0.516764",
"0.5102539",
"0.50861263",
"0.5084884",
"0.50650316",
"0.5052194",
"0.5044219",
"0.503392",
"0.502764... | 0.66767734 | 0 |
para desserializar precisa do construtor vazio public | public Rss(String url, String userId, Channel channel) {
setUrl(url);
setUserId(userId);
setChannel(channel);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Constructor() {\r\n\t\t \r\n\t }",
"public Constructor(){\n\t\t\n\t}",
"public Pasien() {\r\n }",
"public Alojamiento() {\r\n\t}",
"public prueba()\r\n {\r\n }",
"public AntrianPasien() {\r\n\r\n }",
"protected Asignatura()\r\n\t{}",
"public Pitonyak_09_02() {\r\n }",
"public Caso_de... | [
"0.76420206",
"0.7628087",
"0.7504631",
"0.7475813",
"0.7443746",
"0.7388917",
"0.7331891",
"0.72847515",
"0.72790486",
"0.725294",
"0.71949196",
"0.7190358",
"0.7180034",
"0.71760064",
"0.7174699",
"0.71746504",
"0.7172944",
"0.7147417",
"0.71336174",
"0.71330434",
"0.712443... | 0.0 | -1 |
This method was generated by MyBatis Generator. This method returns the value of the database column BC_GLOBAL_PROPS.BVERSION | public String getBversion() {
return bversion;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public BigDecimal getVersion() {\n\t\tBigDecimal bd = (BigDecimal) get_Value(\"Version\");\n\t\tif (bd == null)\n\t\t\treturn Env.ZERO;\n\t\treturn bd;\n\t}",
"public String getDbVersion() {\r\n init();\r\n\r\n return _dbVersion;\r\n }",
"public static Version<?> getVersion() {\n return... | [
"0.6815856",
"0.67651343",
"0.6643139",
"0.65226746",
"0.6515204",
"0.6333701",
"0.6305069",
"0.6303657",
"0.6242658",
"0.6227959",
"0.6163517",
"0.6127283",
"0.6123343",
"0.6123343",
"0.6123343",
"0.6123343",
"0.610147",
"0.60958076",
"0.6092404",
"0.6092404",
"0.6078735",
... | 0.7349247 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column BC_GLOBAL_PROPS.BVERSION | public void setBversion(String bversion) {
this.bversion = bversion;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setHibernateVersion(String hbVersion) {\n\t\tLabeledCombo lc = new LabeledCombo(\"Hibernate Version:\");\n\t\tlc.setSelection(hbVersion);\n\t}",
"public String getBversion() {\n return bversion;\n }",
"void setVersion(long version);",
"private void setBeanVersion(java.lang.Integer value... | [
"0.6680015",
"0.6593574",
"0.6136953",
"0.6108148",
"0.6025982",
"0.6003743",
"0.59535325",
"0.5826413",
"0.5813377",
"0.5813377",
"0.57980305",
"0.56849265",
"0.5678211",
"0.5672548",
"0.5668056",
"0.56587434",
"0.56587434",
"0.56587434",
"0.56587434",
"0.5649565",
"0.563608... | 0.68522537 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column BC_GLOBAL_PROPS.BLOCK_HEIGHT | public BigDecimal getBlockHeight() {
return blockHeight;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int levelHeight() {\r\n\t\treturn map[0].getProperties().get(\"height\", Integer.class);\r\n\t}",
"public static Integer getMapHeight() {\n\t\treturn MAPHEIGHT;\n\t}",
"public Integer getHeight()\n {\n return (Integer) getStateHelper().eval(PropertyKeys.height, null);\n }",
"public Number... | [
"0.67575145",
"0.65076166",
"0.64934486",
"0.64897037",
"0.64472824",
"0.63420296",
"0.63137305",
"0.62803125",
"0.6245862",
"0.6233226",
"0.62143457",
"0.6210139",
"0.6209664",
"0.61987716",
"0.61922485",
"0.6182436",
"0.61806387",
"0.61806387",
"0.61806387",
"0.6164901",
"0... | 0.6982443 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column BC_GLOBAL_PROPS.BLOCK_HEIGHT | public void setBlockHeight(BigDecimal blockHeight) {
this.blockHeight = blockHeight;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setHeight(int value) {\n this.height = value;\n }",
"void setHeight(VariableAmount height);",
"public void setHeight(double value) {\n this.height = value;\n }",
"public BigDecimal getBlockHeight() {\n return blockHeight;\n }",
"private void setHeight(long value) {\n ... | [
"0.58247316",
"0.580704",
"0.57172745",
"0.5712058",
"0.5703145",
"0.5701769",
"0.5678254",
"0.5616389",
"0.56091774",
"0.5577269",
"0.55676377",
"0.55676377",
"0.5567048",
"0.5567048",
"0.5563228",
"0.5557148",
"0.552227",
"0.5479386",
"0.5449643",
"0.5439937",
"0.54345095",... | 0.6553224 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column BC_GLOBAL_PROPS.PROP_KEY | public String getPropKey() {
return propKey;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String propKey() {\n return propKey;\n }",
"public String getPropertyKey() {\n\t\treturn propertyKey;\n\t}",
"public static SystemProps getProperty(String propKey)\n throws DBException\n {\n try {\n return SystemProps.getProperty(propKey, false); // do not create\n ... | [
"0.66498137",
"0.6470525",
"0.62373537",
"0.62225544",
"0.6021156",
"0.581655",
"0.5798452",
"0.575706",
"0.5750934",
"0.5746042",
"0.56905586",
"0.56905586",
"0.56905586",
"0.56479514",
"0.5644623",
"0.56250554",
"0.5602225",
"0.55796605",
"0.55342036",
"0.55341774",
"0.5520... | 0.667771 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column BC_GLOBAL_PROPS.PROP_KEY | public void setPropKey(String propKey) {
this.propKey = propKey;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setProp(String key, String value){\t\t\n \t\t//Check which of property to set & set it accordingly\n \t\tif(key.equals(\"UMPD.latestReport\")){\n \t\t\tthis.setLatestReport(value);\n<<<<<<< HEAD\n\t\t} \n=======\n \t\t\treturn;\n \t\t} \n \t\tif (key.equals(\"UMPD.latestVideo\")) {\n \t\t\tthis.setLas... | [
"0.542033",
"0.53735596",
"0.53147054",
"0.5247912",
"0.5132159",
"0.50112176",
"0.5005287",
"0.4996272",
"0.48934254",
"0.48923838",
"0.48701555",
"0.48643497",
"0.48482606",
"0.48097822",
"0.47953942",
"0.47910172",
"0.47698286",
"0.47645193",
"0.47455484",
"0.47118548",
"0... | 0.58708096 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column BC_GLOBAL_PROPS.PROP_VALUE | public String getPropValue() {
return propValue;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getValueProperty() {\r\n return getAttributeAsString(\"valueProperty\");\r\n }",
"final public Object getValue()\n {\n return getProperty(VALUE_KEY);\n }",
"private String getPropertyValue() {\n return EmfPropertyHelper.getValue(itemPropertyDescriptor, eObject);\n ... | [
"0.63449717",
"0.6074029",
"0.5775464",
"0.5750081",
"0.57183367",
"0.5553772",
"0.554599",
"0.5477727",
"0.54216486",
"0.5406459",
"0.5399791",
"0.5372152",
"0.5359677",
"0.5312623",
"0.5312623",
"0.5312623",
"0.5312623",
"0.5312623",
"0.5312623",
"0.5312623",
"0.5312623",
... | 0.67543346 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column BC_GLOBAL_PROPS.PROP_VALUE | public void setPropValue(String propValue) {
this.propValue = propValue;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\t\t\tpublic void setPropertyValue(Object value) {\n\t\t\t\t\n\t\t\t}",
"private static void populate(GlobalProperties properties, ResultSet rs) throws SQLException {\n while (rs.next()) {\n String name = rs.getString(\"name\");\n String value = rs.getString(\"value\");\n ... | [
"0.5486307",
"0.54570633",
"0.5430089",
"0.52810705",
"0.52303034",
"0.5156398",
"0.51085883",
"0.5098433",
"0.5031934",
"0.49874264",
"0.49401456",
"0.49215615",
"0.4908494",
"0.49081284",
"0.49057487",
"0.4896419",
"0.48936912",
"0.48752216",
"0.4862911",
"0.48506117",
"0.4... | 0.6050934 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column BC_GLOBAL_PROPS.MPT_TYPE | public String getMptType() {
return mptType;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"fi.kapsi.koti.jpa.nanopb.Nanopb.FieldType getType();",
"public String getSqlType() {\n\t\treturn this.sqlType;\n\t}",
"public int getSqlType() { return _type; }",
"Type getForPersistentMapping_Type() {\n return type;\n }",
"public String getP_type() {\n return p_type;\n }",
"public vo... | [
"0.6166982",
"0.6131824",
"0.60334593",
"0.6026352",
"0.5996946",
"0.5989277",
"0.59375703",
"0.5848987",
"0.5822283",
"0.58025134",
"0.5783298",
"0.5780039",
"0.5752982",
"0.57509905",
"0.57509905",
"0.57429934",
"0.5726941",
"0.57197124",
"0.5694611",
"0.5694521",
"0.568458... | 0.6773625 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column BC_GLOBAL_PROPS.MPT_TYPE | public void setMptType(String mptType) {
this.mptType = mptType;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getMptType() {\n return mptType;\n }",
"void setForPersistentMapping_Type(Type type) {\n this.type = type;\n }",
"public void setpymttype(String value) {\n setAttributeInternal(PYMTTYPE, value);\n }",
"@JsProperty(name = \"msType\")\n public native void setMsTyp... | [
"0.5996181",
"0.58394927",
"0.56599003",
"0.56583667",
"0.5614978",
"0.5504338",
"0.5468287",
"0.5396164",
"0.53811395",
"0.53669983",
"0.5357636",
"0.53552586",
"0.5335781",
"0.5313934",
"0.53118515",
"0.5309348",
"0.52679986",
"0.5264678",
"0.5242373",
"0.52350885",
"0.5225... | 0.64303666 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column BC_GLOBAL_PROPS.HASH_VALUE | public String getHashValue() {
return hashValue;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getHashValue() {\n\t\tif(hash == null || hash.equals(\"\")){\n\t\t\tthis.calculateHashValue();\n\t\t}\n\t\treturn hash;\n\t}",
"public String getHash() {\n\t\treturn _hash;\n\t}",
"public byte[] getHash() {\n\t\treturn generatedHash;\n\t}",
"public int getHash() {\n return hash_;\n }",
... | [
"0.6801129",
"0.5943206",
"0.5929591",
"0.58793336",
"0.58600247",
"0.58277345",
"0.5820805",
"0.58186686",
"0.5811918",
"0.5811918",
"0.5811918",
"0.57949775",
"0.5794372",
"0.57899904",
"0.57798404",
"0.5746505",
"0.57059497",
"0.56478",
"0.560948",
"0.5596445",
"0.5592001"... | 0.6950719 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column BC_GLOBAL_PROPS.HASH_VALUE | public void setHashValue(String hashValue) {
this.hashValue = hashValue;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getHashValue() {\n return hashValue;\n }",
"public String getHashValue() {\n\t\tif(hash == null || hash.equals(\"\")){\n\t\t\tthis.calculateHashValue();\n\t\t}\n\t\treturn hash;\n\t}",
"public native final HistoryClass nativeHashChange(boolean val) /*-{\n\t\tthis.nativeHashChange = val;... | [
"0.5879735",
"0.542547",
"0.54172885",
"0.5383883",
"0.5291306",
"0.52369905",
"0.5215325",
"0.5156875",
"0.5156875",
"0.513613",
"0.50581026",
"0.5052598",
"0.5049692",
"0.5020857",
"0.5002493",
"0.49909684",
"0.49787265",
"0.49734244",
"0.49664325",
"0.49615535",
"0.4935926... | 0.6193384 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column BC_GLOBAL_PROPS.TXID | public String getTxid() {
return txid;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getTxId();",
"long getTxid();",
"public int geti_ordertrx_temp_ID();",
"public long getTransactionid() {\n return transactionid;\n }",
"public java.lang.String getTxId() {\n java.lang.Object ref = txId_;\n if (!(ref instanceof java.lang.String)) {\n com.goo... | [
"0.6285162",
"0.62157965",
"0.6125999",
"0.601701",
"0.601397",
"0.5982073",
"0.5964832",
"0.5879237",
"0.58705956",
"0.58281744",
"0.5822681",
"0.57672626",
"0.57663363",
"0.5756181",
"0.57197505",
"0.56998813",
"0.56551814",
"0.56114614",
"0.56042194",
"0.5558228",
"0.55495... | 0.5715272 | 15 |
This method was generated by MyBatis Generator. This method sets the value of the database column BC_GLOBAL_PROPS.TXID | public void setTxid(String txid) {
this.txid = txid;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void seti_ordertrx_temp_ID (int i_ordertrx_temp_ID);",
"void setTransactionId( long txId )\n {\n this.transactionId = txId;\n }",
"public void setTransactionID(long value) {\r\n this.transactionID = value;\r\n }",
"public void setAD_OrgTrx_ID (int AD_OrgTrx_ID);",
"public void... | [
"0.6198672",
"0.5687602",
"0.5419898",
"0.5278714",
"0.5278714",
"0.5260303",
"0.52291906",
"0.52117413",
"0.52027303",
"0.5188863",
"0.5181029",
"0.5088783",
"0.5038672",
"0.49932662",
"0.49827474",
"0.49531898",
"0.49310246",
"0.49310246",
"0.4911929",
"0.4874408",
"0.48673... | 0.47577313 | 30 |
This method was generated by MyBatis Generator. This method returns the value of the database column BC_GLOBAL_PROPS.PREV_HASH_VALUE | public String getPrevHashValue() {
return prevHashValue;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setPrevHashValue(String prevHashValue) {\n this.prevHashValue = prevHashValue;\n }",
"public Integer getPreviousValue() {\n return this.previousValue;\n }",
"@NotNull\n @JsonProperty(\"previousValue\")\n public String getPreviousValue();",
"public Version getPrev(){\n\t\... | [
"0.64401907",
"0.6264642",
"0.6239906",
"0.5884496",
"0.55945563",
"0.55071723",
"0.54473275",
"0.5436231",
"0.54327685",
"0.54256976",
"0.53650165",
"0.53569573",
"0.52856153",
"0.5262713",
"0.52398485",
"0.5168874",
"0.5167174",
"0.5167042",
"0.51417935",
"0.5139026",
"0.51... | 0.7485469 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column BC_GLOBAL_PROPS.PREV_HASH_VALUE | public void setPrevHashValue(String prevHashValue) {
this.prevHashValue = prevHashValue;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getPrevHashValue() {\n return prevHashValue;\n }",
"@NotNull\n @JsonProperty(\"previousValue\")\n public String getPreviousValue();",
"public void setPrevCell(Cell prev)\r\n {\r\n this.prev = prev;\r\n }",
"public void setPrev(String prev){\n\t\tthis.prev = prev;\n\... | [
"0.64839447",
"0.53870577",
"0.53826183",
"0.53752756",
"0.5257703",
"0.5235773",
"0.5152719",
"0.510905",
"0.509188",
"0.50060534",
"0.49840134",
"0.49504095",
"0.48451233",
"0.4835238",
"0.48314354",
"0.4818896",
"0.47915432",
"0.4719252",
"0.4714789",
"0.4713714",
"0.46894... | 0.6925509 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column BC_GLOBAL_PROPS.PREV_BLOCK_HEIGHT | public BigDecimal getPrevBlockHeight() {
return prevBlockHeight;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setPrevBlockHeight(BigDecimal prevBlockHeight) {\n this.prevBlockHeight = prevBlockHeight;\n }",
"public CellCoord previousColumn() {\n return new CellCoord(column - 1, row);\n }",
"double getOldHeight();",
"public int getLheight_px() throws IOException\n\t{\n\t\tif ((__io__po... | [
"0.65515524",
"0.58890337",
"0.58672816",
"0.58601296",
"0.5858043",
"0.570947",
"0.56777525",
"0.56408703",
"0.55971014",
"0.55971014",
"0.55971014",
"0.55971014",
"0.5570292",
"0.5563671",
"0.556017",
"0.55116194",
"0.54971665",
"0.54905003",
"0.547879",
"0.54777694",
"0.54... | 0.74419177 | 0 |
This method was generated by MyBatis Generator. This method sets the value of the database column BC_GLOBAL_PROPS.PREV_BLOCK_HEIGHT | public void setPrevBlockHeight(BigDecimal prevBlockHeight) {
this.prevBlockHeight = prevBlockHeight;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public BigDecimal getPrevBlockHeight() {\n return prevBlockHeight;\n }",
"public void setPrevCell(Cell prev)\r\n {\r\n this.prev = prev;\r\n }",
"double getOldHeight();",
"public void setCurrentHeight(final int currentHeight);",
"public void setLheight_px(int lheight_px) throws IOExc... | [
"0.6535834",
"0.5563461",
"0.52056557",
"0.4982286",
"0.49740022",
"0.4961147",
"0.49478588",
"0.49047703",
"0.48832512",
"0.48712674",
"0.48705786",
"0.48568362",
"0.4825616",
"0.48032963",
"0.47666886",
"0.47666886",
"0.47666886",
"0.47666886",
"0.47568995",
"0.4737238",
"0... | 0.71048594 | 0 |
This method was generated by MyBatis Generator. This method returns the value of the database column BC_GLOBAL_PROPS.CREATE_TIME | public Date getCreateTime() {
return createTime;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getCreateTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(CREATETIME_PROP.get());\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getCreateTime() {\n return (java.util.Date)__getInterna... | [
"0.7462659",
"0.7444896",
"0.7275793",
"0.7199926",
"0.7195919",
"0.7178828",
"0.7149592",
"0.71293384",
"0.70758986",
"0.705653",
"0.7034461",
"0.7014042",
"0.7014042",
"0.70115155",
"0.70115155",
"0.6991989",
"0.6991989",
"0.6985813",
"0.69821",
"0.6977996",
"0.6977817",
... | 0.6926441 | 100 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.