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
10.Side Program decrease the space
public static void tenthProgram() { for(int i=1;i<=4;i++) { for(int j=1;j<=i-1;j++) { System.out.print(" "); }for(int k=1;k<=4;k++) { System.out.print("*"); }System.out.println(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void originalSpace() {\n\t\tpos.x = 65;\n\t\tpos.y = p.height/2 + 100;\n\t\t\n\t}", "public void lowerHalf() {\n\t\t// TODO: Implement\n\t\tint sumOfSlotCounts = getSumOfSlotCount()-1;\n\t\tif(sumOfSlotCounts < 0) return;\n\t\t//if(getSlotCount() == 1 && getSumOfSlotCount() == 1) return;\n\t\tint slot = getSlotCount()-1;\n\t\tint beanNumber = getSlotBeanCount(slot)-1;\n\t\tint deleted=0;\n\t\t//System.out.println(\"sumOfCounts: \" + sumOfSlotCounts);\n\t\twhile(deleted < Math.floor(sumOfSlotCounts / 2) ){\n\t\t\t/*if (slotBean.get(slot).isEmpty()) {\n\t\t\t\tslot++;\n\t\t\t\tbeanNumber = 0;\n\t\t\t\tSystem.out.println(\"slot empty: slot: \" + slot + \" beanN: \" + beanNumber);\n\t\t\t}*/\n\t\t\t\n\t\t\t//System.out.println(\"i: \" + deleted + \" count: \" + getSlotBeanCount(slot)+\" beanNumber: \" + beanNumber);\n\t\t\tif(beanNumber < getSlotBeanCount(slot) && beanNumber >= 0 && getSlotBeanCount(slot) > 0 ) {\n\t\t\t\t//System.out.println(\"slot not empty: slot: \" + slot + \" beanN: \" + beanNumber);\n\t\t\t\tslotBean.get(slot).remove(beanNumber--);\n\t\t\t\tdeleted++;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t//System.out.println(\"slot empty: slot: \" + slot + \" beanN: \" + beanNumber);\n\t\t\t\tif(slot >= 0) slot--;\n\t\t\t\tif(getSlotBeanCount(slot) > 0) beanNumber = getSlotBeanCount(slot)-1;\n\t\t\t\telse beanNumber = 0;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "private void reclaimSpace(int space)\r\n/* 269: */ {\r\n/* 270:295 */ assert (space >= 0);\r\n/* 271:296 */ this.availableSharedCapacity.addAndGet(space);\r\n/* 272: */ }", "public void shrinkSnake() {\n\t\tSnakeObj.length--;\n\t\tSnakeArray[xTail][yTail] = 0; \n\t\txTail--;\n\t\tyTail--; \n\t\tthis.repaint(); \n\t}", "public void shrinkSquare()\n {\n squareSize--;\n }", "public void act() {\n\t\tsuper.act();\n\t\t//Gracias www.trucoteca.com\n\t\tif(control && shift && n) {\n\t\t\tthis.x = Ventana.getInstancia().getBola().getX();\n\t\t}\n\t\t//Si quieres ser legal\n\t\telse {\n\t\tthis.x += this.vx;\n\t\t}\n\t\tif(this.x < 0)\n\t\t\tthis.x = 0;\n\t\tif(this.x > Stage.WIDTH - getWidth())\n\t\t\tx = Stage.WIDTH - getWidth();\n\t\t}", "public static void spaces() {\r\n // prints 13 spaces\r\n for (int space = 0; space < 15; space++) {\r\n System.out.println(\"\");\r\n }\r\n\r\n }", "public void move() {\n energy -= 0.03;\n if (energy < 0) {\n energy = 0;\n }\n }", "public void Grasshopper(){\n this.hops = 2;\n this.hopLim = 3;\n }", "public void action() {\n x = x + dx;\n y = y + dy;\n\n // deluppgift 6\n if( this.growing ) {\n this.setDiameter( this.diameter + 5 );\n this.growing = (this.diameter > 25) ? false : true;\n }\n else {\n this.setDiameter( this.diameter - 4 );\n this.growing = (this.diameter < 5 ) ? true : false;\n }\n constrain();\n }", "void retract()\n\t\t{\n\t\t\tsides = sides-1;\n\t\t\t\n\t\t\tDimension[] dime2 = new Dimension[d.length - 1];\n\t\t\t\n\t\t\tfor (int i=0; i< d.length-1; i++)\n\t\t\t{\n\t\t\t\tdime2[i]= d[i];\n\t\t\t}\n\t\t\t\n\t\t\td = new Dimension[d.length - 1];\n\t\t\tfor(int i = 0; i< dime2.length; i++)\n\t\t\t{\n\t\t\t\td[i] = dime2[i];\n\t\t\t}\n\t\t\t\t\n\t\t}", "public static void main(String[] args) {\n\t\t\r\n\t\tint i, x=4,w=9,q;\r\n\t\tfor(i=-1;i<20;i+=3) {\r\n\t\t\tx++;\r\n\t\t\tfor(q=4;q<11;q++) {\r\n\t\t\t\tdo {\r\n\t\t\t\t\ti=+3;\r\n\t\t\t\t\tw=sizeof(i);\r\n\t\t\t\t\ti=x+w;\r\n\t\t\t\t\tx=w+i;\r\n\t\t\t\t\t\t\r\n\t\t\t\t} while (x<15);\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(\"x:\"+x+\"i:\"+i);\r\n\r\n\t}", "protected void newSize() {\r\n adjustSize();\r\n halt();\r\n newGame();\r\n }", "public void roam()\n {\n super.roam();\n System.out.println(\", and now that it is a wolf it is very dangerous for its prey\");\n }", "public void setMaxPaddleLength(){\n myRectangle.setWidth(myScreenWidth - SIDEBAR_WIDTH);\n }", "void decrease();", "void decrease();", "protected void shrink() {\n int cellsToDrop = snakeSize/2;\n this.snakeSize = snakeSize - cellsToDrop;\n // AMD: Reset the tip of the tail to be snake-free\n for (int xCell = 0; xCell < maxX; xCell++) {\n for (int yCell = 0; yCell < maxY; yCell++) {\n if (snakeSquares[xCell][yCell] > snakeSize) {\n snakeSquares[xCell][yCell] = NOT_A_SEGMENT;\n }\n }\n }\n }", "public void move()\r\n\t{\r\n\t\ty-=8;\r\n\t}", "public void decrease() {\r\n\r\n\t\tdecrease(1);\r\n\r\n\t}", "public void upperHalf() {\n\t\t// TODO: Implement\n\t\tint sumOfSlotCounts = getSumOfSlotCount()-1;\n\t\tint slot = 0;\n\t\tint beanNumber = getSlotBeanCount(slot)-1;\n\t\tint deleted = 0;\n\t\t//System.out.println(\"sumOfCounts: \" + sumOfSlotCounts);\n\t\twhile(deleted < Math.floor(sumOfSlotCounts / 2) ){\n\t\t\t/*if (slotBean.get(slot).isEmpty()) {\n\t\t\t\tslot++;\n\t\t\t\tbeanNumber = 0;\n\t\t\t\tSystem.out.println(\"slot empty: slot: \" + slot + \" beanN: \" + beanNumber);\n\t\t\t}*/\n\t\t\t\n\t\t\t//System.out.println(\"i: \" + deleted + \" count: \" + getSlotBeanCount(slot)+\" beanNumber: \" + beanNumber);\n\t\t\tif(beanNumber < getSlotBeanCount(slot) && beanNumber >= 0 && getSlotBeanCount(slot) > 0 ) {\n\t\t\t\t//System.out.println(\"slot not empty: slot: \" + slot + \" beanN: \" + beanNumber);\n\t\t\t\tslotBean.get(slot).remove(beanNumber--);\n\t\t\t\tdeleted++;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t//System.out.println(\"slot empty: slot: \" + slot + \" beanN: \" + beanNumber);\n\t\t\t\tif(slot < getSlotCount()-1) slot++;\n\t\t\t\tif(getSlotBeanCount(slot) > 0) beanNumber = getSlotBeanCount(slot)-1;\n\t\t\t\telse beanNumber = 0;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t}", "public void minusPoint_action()\r\n/* */ {\r\n/* 87 */ this.points_action -= 1;\r\n/* */ }", "private void devolver100() {\n cambio = cambio - 100;\n de100--;\n cambio100++;\n }", "public void spacePressed()\n {\n System.out.println(\"spacePressed()\");\n while (current.translate(1, 0));\n display.showBlocks();\n }", "public void move() {\r\n\r\n\t\tif(x < 0) {\r\n\t\t\tx = 400;\r\n\t\t}\r\n\r\n\t\t// factor for speed increase\r\n\t\tx -= 1 * factor;\r\n\t}", "public void makeSpace(int weight){\n // make some space\n ViewGroup vg = this.findViewById(R.id.linearLayoutPdf);\n ArrayList<View> views = getViewsByTag(vg, \"space\");\n int j = weight - 1;\n if (views.size() < weight){\n j = views.size()-1;\n }\n for (int i = j; i >= 0; i--) {\n View v = views.get(i);\n LinearLayout parent = (LinearLayout) v.getParent();\n int index = parent.indexOfChild(v);\n parent.removeViewAt(index);\n }\n }", "private void swim(int x) {\n while (x > 1 && less(heap[x / 2], heap[x])) {\n exch(heap, x, x / 2);\n x = x / 2;\n }\n }", "public static void main(String[] args) {\n\n int oldCapacity = 4;\n System.out.println(oldCapacity + (oldCapacity >> 1));\n\n /*Solution solution = new Solution();\n// System.out.println(solution.numRollsToTarget(2, 6, 7));\n\n int[] ints = solution.loudAndRich(new int[][]{\n *//* {1, 0},\n {2, 1},\n {3, 1},\n {3, 7},\n {4, 3},\n {5, 3},\n {6, 3}\n }, new int[]{3, 2, 5, 4, 6, 1, 7, 0});*//*\n\n }, new int[]{0, 1});\n Printer.print(ints);*/\n }", "public void moveRight() {\r\n\t\tif (x < space.getSize() - 1) x++; \r\n\t}", "private void assignSpacePerimeter()\n {\n\n }", "public void Down2(){\r\n if(Hy>0 && Hy<900){\r\n \r\n Hy+=3;\r\n }\r\n }", "void decNetSize(){\r\n\t\t\t\tif (size>50)size-=50;\r\n\t\t\t\telse System.out.println(\"Minimum net size reached!\");\r\n\t\t\t}", "public void disperse() {\t\t\n\t\tfor (int r = 0; r < rows; r++){\n\t\t\tfor (int c = 1; c < cols; c++){\n\t\t\t\tint sum = values[r+1][c-1] + values[r+1][c] + values[r+1][c+1];\n\t\t\t\tif(r < rows - fireLevel + 14){\n\t\t\t\t\tvalues[r][c] = (sum / 3) - 1;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tvalues[r][c] = (int)((sum / 3.0) - 0.0); \n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (values[r][c] < 0) values[r][c] = 0;\n\t\t\t\tg2.setColor(colors[values[r][c]]);\n\t\t\t\tif(values[r][c] > 5){\n\t\t\t\t\tg2.fillRect(c*res,r*res,res,res);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void hyperSpace()\n\t{\n\t\t//only return the ship if a PlayerShip is currently spawned\n\t\tif(gameObj[1].size() > 0)\n\t\t{\n\t\t\t//invoke resetShip() method from PlayerShip\n\t\t\t((PlayerShip)gameObj[1].get(0)).resetShip();\n\t\t\tSystem.out.println(\"PS location reset\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"There is no playership spawned\");\n\t}", "public void clean() {\n\t\tfor(int i = 0; i <= 20; i++) {\n\t\t\tSystem.out.println(\" \");\n\t\t}\n\t}", "public void makeHeap() {\r\n\t\t//for (int i = (theHeap.size() >> 1) - 1; i >= 0; i--) {\r\n\t\tfor (int i = (theHeap.size() - 1) >> 1; i >= 0; i--) {\r\n\t\t\tsiftDown(i);\r\n\t\t}\r\n\t}", "public static void main(String[] args) {\n\n\t\t\n\t\tSystem.out.println(\"父箆業\" + \"\\t\\t\" + \"鯖箆業\"\n\t\t\t\t+ \"\\t\\t\\t\\t\" + \"鯖箆業\" + \"\\t\\t\" + \"父箆業\");\n\t\tSystem.out.println(\"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\");\n\t\t\n\t\tdouble temp = 120.0;\n\t\t\n\t\tint i;\n\t\tfor (i = 40;i > 30;i--) {\n\t\t\tSystem.out.printf(\"%.1f\\t\\t%.1f\\t\\t\\t\\t\", (double)i, celsiusToFahrenheit((double)i));\n\t\t\tSystem.out.printf(\"%.1f\\t\\t%.2f\\n\", (double)temp, fahrenheitToCelsius((double)temp));\n\t\t\ttemp -= 10;\n\t\t}\n\t\t\n\t}", "public void sizeDecrease1() {\n\t\t _size--;\n\t}", "public static void space(int space) {\r\n\t\tfor(int i=0; i<space; i++) {\r\n\t\t\tSystem.out.print(\" \");\r\n\t\t}\r\n\t}", "public void resetPaddleWidth(){\n myRectangle.setWidth(myLength);\n }", "public static void main(String[] args) {\n\n Vic.reset(args);\n\n Vic vicky = new Vic();\n\n // move beyond the three empty slots\n vicky.moveOn();\n vicky.moveOn();\n vicky.moveOn();\n\n // get three cds\n vicky.shiftFromSlotToStack();\n vicky.moveOn();\n vicky.shiftFromSlotToStack();\n vicky.moveOn();\n vicky.shiftFromSlotToStack();\n\n //move back to first slot\n vicky.backUp();\n vicky.backUp();\n vicky.backUp();\n\n //now place them\n vicky.putCD();\n vicky.backUp();\n\n vicky.putCD();\n vicky.backUp();\n\n vicky.putCD();\n\n }", "public void decrease() {\r\n --lives;\r\n }", "public void Exterior() {\n\t\t\r\n\t}", "public void move() {\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t\tthis.swim();\r\n\t}", "protected void siftDown() {\r\n\t\tint parent = 0, child = (parent << 1) + 1;// preguntar porque 0 y no 1\r\n\t\t\r\n\t\twhile (child < theHeap.size()) {\r\n\t\t\tif (child < theHeap.size() - 1\r\n\t\t\t\t\t&& compare(theHeap.get(child), theHeap.get(child + 1)) > 0)\r\n\t\t\t\tchild++; // child is the right child (child = (2 * parent) + 2)\r\n\t\t\tif (compare(theHeap.get(child), theHeap.get(parent)) >= 0)\r\n\t\t\t\tbreak;\r\n\t\t\tswap(parent, child);\r\n\t\t\tparent = child;\r\n\t\t\tchild = (parent << 1) + 1; // => child = (2 * parent) + 1\r\n\t\t}\r\n\t}", "private void limitScreenMovement() {\r\n\t\tif (x < counterLimit) {\r\n\t\t\tx = counterLimit;\r\n\t\t\tdx = 0;\r\n\t\t} else if (x >= 1) {\r\n\t\t\tMain.endGame();\r\n\t\t}\r\n\t}", "public void Down3(){\r\n if(Hy2>0 && Hy2<900){\r\n \r\n Hy2+=3;\r\n }\r\n }", "public void wipe(){\n\t \tg2d.setColor(Color.yellow);\n g2d.fillRect(0,0, width, height);\n\t\t\n\n\t }", "private void climbWall() {\n\t\t// TODO Auto-generated method stub\n\t\tthis.goUpWall();\n\t\tthis.goAcrossWall();\n\t\tthis.goDownWall();\n\t}", "public static void test10(World w){\n\t\tUtilities.generateGeometry2(w.points ,w.pivots, \"Front.png\", \"Side.png\", 1900, 2500, 0, 0, 1/7.0);\r\n\t\t\r\n\t}", "public void loopThroughEdge()\n {\n int margin = 2;\n\n if (getX() < margin) //left side\n { \n setLocation(getWorld().getWidth()+ margin, getY());\n }\n else if (getX() > getWorld().getWidth() - margin) //right side\n {\n setLocation(margin, getY());\n }\n\n if (getY() < margin) //top side\n { \n setLocation(getX(), getWorld().getHeight() - margin);\n }\n else if(getY() > getWorld().getHeight() - margin) //bottom side\n { \n setLocation(getX(), margin);\n }\n }", "private void aretes_aW(){\n\t\tthis.cube[4] = this.cube[16]; \n\t\tthis.cube[16] = this.cube[23];\n\t\tthis.cube[23] = this.cube[37];\n\t\tthis.cube[37] = this.cube[30];\n\t\tthis.cube[30] = this.cube[4];\n\t}", "public static void main(String[] args) {\n\t\t int s1=200; \r\n\t\t int s2=50; \r\n\t\t System.out.println(\"Before swapping :\");\r\n\t\t System.out.println(\"s1:\" +s1);\r\n\t\t System.out.println(\"s2:\" +s2);\r\n\t\t s1=s1*s2;\r\n\t\t s2=s1/s2;\r\n\t\t s1=s1/s2;\r\n\t\t System.out.println(\"After swapping :\");\r\n\t\t System.out.println(\"s1:\" +s1);\r\n\t\t System.out.println(\"s2:\" +s2);\r\n\t\t\t\t\t\t\r\n\t}", "public static void main(String[] args) {\nint n1=20;\r\nn1 =50;\r\nSystem.out.println(n1);\r\nn1+=50;\r\nSystem.out.println(n1);\r\nn1-=30;\r\nSystem.out.println(n1);\r\nn1*=2;\r\nSystem.out.println(n1);\r\n\t}", "public static void cave() {\n System.out.println(\" ***** * * * * * * * * \");\n System.out.println(\" *** *** \");\n System.out.println(\" *** *** \");\n System.out.println(\" | *** *** \");\n System.out.println(\" | *** *** \");\n System.out.println(\" O __|__ *** *** \");\n System.out.println(\" ******l *** *** \");\n System.out.println(\" * * *** *** \");\n System.out.println(\" * * ********************* * * * * * * \");\n }", "public void Down4()\r\n {\r\n if(By2>0 && By2<900){\r\n \r\n By2+=2.5;\r\n }\r\n }", "public AI_SPAC(String [] args){\n\n\t}", "public void redimensionar() {\n\t\tthis.numCub *= 1.5;\n\t}", "public void act() \r\n {\r\n super.mueve();\r\n super.tocaBala();\r\n super.creaItem();\r\n \r\n if(getMoveE()==0)\r\n {\r\n \r\n if(shut%3==0)\r\n {\r\n dispara();\r\n shut=shut%3;\r\n shut+=1;\r\n \r\n }\r\n else \r\n shut+=1;\r\n }\r\n super.vidaCero();\r\n }", "public static void main (String [] args) {\n\t\n\t//num4/=10;\n\t//System.out.println(num4);\n//\t\n\t//num4%=2; num4=4%2;\n\t//System.out.println(num4);\n\t\n\t\n\tint num=100;\n\tnum-=67;\n\tint cakePiece1=11;\n\tcakePiece1/=4;\n\tint cakePiece=25;\n\tcakePiece%=7;\n\t\t\tSystem.out.println(num);\n\t\t\tSystem.out.println(cakePiece1);\n\t\t\tSystem.out.println(cakePiece);\n\t\n\t\n\t\n\t\n\t\n\t}", "public void normalize()\n {\n\tdef += 200*counter;\n\tdmg -= 0.5*counter;\n\tcounter = 0;\n }", "private void dec_x()\n {\n synchronized(mLock_IndexX) { set_x(get_x() - 1); }\n }", "public static void ninethProgram() {\n\t\tfor(int i=1;i<=4;i++) {\n\t\t\tfor(int j=4-1;j>=i;j--) {\n\t\t\t\tSystem.out.print(\" \");\t\n\t\t\t}for(int k=1;k<=4;k++) {\n\t\t\t\tSystem.out.print(\"*\");\t\t\n\t\t\t}System.out.println();\n\t\t}\n\t}", "@Override\n\tpublic void update(){\n\t\t\n\t\tx += dx;\n\t\tif(x <= 2){\n\t\t\tx = 2;\n\t\t}else if(x >= ((this.width+this.paddlewidth)-350)){\n\t\t\tx = (this.width+this.paddlewidth)-350;\n\t\t}else if(x <= Dimensions.PADDLE_LEFT){\n\t\t\tx = Dimensions.PADDLE_LEFT;\n\t\t}\n\t}", "public static void main(String[] args) {\n\t\t\r\n\t\tint a=40;\r\n\twhile(a>20) {\r\n\t\tif(a==25)break;\r\n\t\tSystem.out.println(a);\r\n\t\t\r\n\t\ta=a-1;\r\n\t}\r\n\r\n\t}", "private void cleaningBallot() {\n\t\tturnLeft();\n\t\tmove();\n\t\tgrabStrayBeepers();\n\t\tturnAround();\n\t\tmove();\n\t\tmove();\n\t\tgrabStrayBeepers();\n\t}", "@Override\n\tpublic void space() {\n\t\t\n\t}", "public void resetPaddleWidthToOriginal(){\n myRectangle.setWidth(PADDLE_LENGTH);\n myLength = PADDLE_LENGTH;\n }", "public void distribute(short side, short position) {\r\n\tplay(side, position, this.territory, false);\r\n }", "public void SystemAction(){\n\t\tif(GOBJECT.mouse.x<GOBJECT.Map.space&&GOBJECT.Map.movex>0){\n\t\t\tGOBJECT.Map.movex--;\n\t\t}\n\t\tif(GOBJECT.mouse.x>this.getWidth()-GOBJECT.Map.space&&(GOBJECT.Map.movex+GameSystem.screen_width)<GOBJECT.Map.maxc*GOBJECT.Map.space){\n\t\t\tGOBJECT.Map.movex++;\n\t\t}\n\t\tif(GOBJECT.mouse.y<GOBJECT.Map.space&&GOBJECT.Map.movey>0){\n\t\t\tGOBJECT.Map.movey--;\n\t\t}\n\t\tif(GOBJECT.mouse.y>this.getHeight()-GOBJECT.Map.space&&GOBJECT.Map.movey+GameSystem.screen_height<GOBJECT.Map.maxr*GOBJECT.Map.space){\n\t\t\tGOBJECT.Map.movey++;\n\t\t}\n\t}", "public void swim() {\r\n\t\tif(super.getPosition()[0] == Ocean.getInstance().getWidth()-71){\r\n\t\t\tinvX = true;\r\n\t\t} else if(super.getPosition()[0] == 0){\r\n\t\t\tinvX = false;\r\n\t\t}\r\n\t\tif(super.getPosition()[1] == Ocean.getInstance().getDepth()-71){\r\n\t\t\tinvY = true;\r\n\t\t} else if(super.getPosition()[1] == 0){\r\n\t\t\tinvY = false;\r\n\t\t}\r\n\t\tif(invX){\r\n\t\t\tsuper.getPosition()[0]-=1;\r\n\t\t} else {\r\n\t\t\tsuper.getPosition()[0]+=1;\r\n\t\t}\r\n\t\tif(invY){\r\n\t\t\tsuper.getPosition()[1]-=1;\r\n\t\t} else {\r\n\t\t\tsuper.getPosition()[1]+=1;\r\n\t\t}\r\n\t}", "public static void main002(String[] args) {\n\n\t\tint number\t= 20;\n\t\tSystem.out.println(\"Start = \" + number);\n\t\t\n\t\tnumber += 10;\t// number\t= number + 10;\n\t\tnumber -= 10;\t// number\t= number - 10\n\t\tnumber *= 10;\t// number\t= number * 10\n\t\tnumber /= 10;\t// number\t= number / 10\n\t\tnumber %= 10;\t// number\t= number % 10\n\t\tSystem.out.println(\"End = \" + number);\n\t}", "private void spiral() {\n\t\t// If in top right, increase size and go down right.\n\t\tif(xtraversed == size && ytraversed == size){\n\t\t\tsize++;\n\t\t\tmemory.nextMove = GameConstants.SOUTHEAST;\n\t\t\tytraversed--;\n\t\t\txtraversed++;\n\t\t}\n\t\t\n\t\t// If in top, go right.\n\t\telse if(ytraversed == size){\n\t\t\tmemory.nextMove = GameConstants.EAST;\n\t\t\txtraversed++;\n\t\t}\n\t\t\n\t\t// If in left, go up.\n\t\telse if(xtraversed == -size){\n\t\t\tmemory.nextMove = GameConstants.NORTH;\n\t\t\tytraversed++;\n\t\t}\n\t\t\n\t\t// If in bottom, go left.\n\t\telse if(ytraversed == -size){\n\t\t\tmemory.nextMove = GameConstants.WEST;\n\t\t\txtraversed--;\n\t\t}\n\t\t\n\t\t// If in right, go down.\n\t\telse if(xtraversed == size){\n\t\t\tmemory.nextMove = GameConstants.SOUTH;\n\t\t\tytraversed--;\n\t\t}\n\t\t\n\t\t// Else go right.\n\t\telse {\n\t\t\tmemory.nextMove = GameConstants.EAST;\n\t\t\txtraversed++;\n\t\t}\n\t}", "public void liftArm(){armLifty.set(-drivePad.getThrottle());}", "public void collect(int clearSide){\n int collect = 0;\n if (clearSide == 0){\n for (int i = 7; i < 13; i++){\n collect += this.gameBoard[i];\n this.gameBoard[i] = 0;\n }\n this.gameBoard[13] += collect;\n }\n else{\n for (int i = 0; i < 6; i++){\n collect += this.gameBoard[i];\n this.gameBoard[i] = 0;\n }\n this.gameBoard[6] += collect;\n }\n\n }", "public void act() \n {\n move(3);\n turnAtEdge(); \n StrikeSeaHorse();\n }", "void decreaseScore(){\n\t\tcurrentScore = currentScore - 10;\n\t\tcom.triviagame.Trivia_Game.finalScore = currentScore;\n\t}", "public int clearScreen () {\n int distance = home();\n myLine.clear();\n return distance;\n }", "laptop(){\r\n length= 0 ;\r\n weight = 0;\r\n height = 0;\r\n width = 0;\r\n }", "public static void main(String[] args) {\n\t\tSystem.out.println(swapCount(20));\n\t\tswapPath(3, 'A', 'B', 'C');\n\t\n\t}", "private void coins_a2W(){\n\t\tthis.cube[4] = this.cube[17]; \n\t\tthis.cube[17] = this.cube[20];\n\t\tthis.cube[20] = this.cube[36];\n\t\tthis.cube[36] = this.cube[33];\n\t\tthis.cube[33] = this.cube[4];\n\t}", "protected void stopAndViewToPast()\n {\n if(!widgg.common.bFreeze){ \n widgg.common.bFreeze = true;\n //now ixDataShow remain unchanged.\n } else {\n int ixdDataSpread = ixDataShowRight - ixDataShown[pixelOrg.xPixelCurve * 5/10];\n //int ixDataShowRight1 = ixDataShown[nrofValuesShow * 7/8];\n //int ixdDataSpread = ixDataShowRight - ixDataShowRight1;\n ixDataShowRight -= ixdDataSpread;\n if((ixDataShowRight - widgg.ixDataWr) < 0 && (widgg.ixDataWr - ixDataShowRight) < ixdDataSpread) {\n //left end reached.\n ixDataShowRight = widgg.ixDataWr + ixdDataSpread;\n }\n }\n widgg.redraw(100, 200);\n //System.out.println(\"left-bottom\");\n \n }", "public void spaces() {\n System.out.println(\"\");\n System.out.println(\"\");\n }", "public static void main(String[] args) {\n\t\tScanner obj=new Scanner(System.in);\r\n\t\tint a=0;\r\n\t\tint count=0;\r\n System.out.println(\"enter size\");\r\n\t\ta=obj.nextInt();\r\n\t\tint m=2*a+1;\r\n\t\tint n=2*a+2;\r\n\t\tint mid=(m+1)/2;\r\n\t\tfor(int i=1;i<=m;i++)\r\n\t\t{\r\n\t\t\tcount=0;\r\n\t\t\tfor(int j=1;j<=n;j++)\r\n\t\t\t{\r\n\t\t\t\tcount++;\r\n\t\t\t\tif((i==1)||(i==m)||(j==1)||(j==n))//frame begin\r\n\t\t\t\t{\r\n\t\t\t\t\tif((i==1)||(i==m))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"+\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif((j==1)||(j==n))\r\n\t {\r\n\t\t\t\t\t\t\tSystem.out.print(\"|\");//frame left and right\r\n\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//frame end\r\n\t\t\t\telse if (i<mid)//upper-half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t for(int l=1;l<=2*i-4;l++)\r\n\t\t\t\t {\r\n\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t }\r\n\t\t\t\t\t else\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t }\r\n\t\t\t\t }\r\n\t\t\t\tSystem.out.print(\"\\\\\");\r\n\t\t\t\t for(int k=mid;k>i;k--)\r\n\t\t\t\t {\r\n\t\t\t\t\t System.out.print(\" \");\r\n\t\t\t\t }\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end of upper half\r\n\t\t\t\telse if(i>mid)//lower half\r\n\t\t\t\t{\r\n\t\t\t\t\tif(count<=2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\tfor(int k=mid;k<i;k++)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t\t System.out.print(\"\\\\\");\r\n\t\t\t\t\t for(int l=2*m-6;l>2*i-4;l--)\r\n\t\t\t\t\t {\r\n\t\t\t\t\t\t if(i%2==0)\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"=\");\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t else\r\n\t\t\t\t\t\t {\r\n\t\t\t\t\t\t\t System.out.print(\"-\");\r\n\t\t\t\t\t\t } \r\n\t\t\t\t\t }\r\n\t\t\t\t\t System.out.print(\"/\");\r\n\t\t\t\t\t for(int k=mid;k<i;k++)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t\t\t}\r\n\t\t\t }\r\n\t\t\t\t\t}//end of lower half\r\n\t\t\t\telse if(i==mid)//middle part\r\n\t\t\t\t{\r\n\t\t\t\t\tif(j==2)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\"<\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(j==n-1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.print(\">\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif(i%2==0)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"=\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tSystem.out.print(\"-\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}//end\r\n\t\t\t}//end-of-j\r\n\t\t\tSystem.out.println();\r\n\t\t}//end\r\n\r\n\t}", "public static void halfVolume() {\n volume = 50;\n System.out.println(\"Volume: \" + volume);\n//end of modifiable zone(JavaCode)........E/30cff6a1-f5dd-43b9-94cb-285201f52ee7\n }", "public static void main(String[] args) {\n Tetris.game = new Tetris(10, 20);\n for (int i = 0; i < 20; i++) {\n Tetris.game.getField().setValue(i, 2, 1);\n Tetris.game.getField().setValue(i, 4, 1);\n if (i%3==0){\n for (int j = 0; j < 20; j+=2) {\n Tetris.game.getField().setValue(j, i, 1);\n }\n }\n }\n int[][] matrix = Tetris.game.getField().getMatrix();\n for (int[] ints : matrix) {\n for (int anInt : ints) {\n System.out.print(anInt);\n }\n System.out.println();\n }\n System.out.println(\"result\\n\\n\");\n Tetris.game.getField().removeFullLines();\n matrix = Tetris.game.getField().getMatrix();\n for (int[] ints : matrix) {\n for (int anInt : ints) {\n System.out.print(anInt);\n }\n System.out.println();\n }\n }", "public static void main(String[] args) {\n\n //set args to 1111 so all slots (including slots 2 and 3) are filled\n\n Vic.reset(args);\n\n Vic vic = new Vic();\n\n vic.moveOn(); //move to second slot\n vic.takeCD();\n vic.moveOn(); //move to third slot\n vic.takeCD();\n vic.backUp(); //move back to 2nd slot\n vic.putCD(); // this will place slot 3's CD in slot2 because slot3's CD is on top of the stack since it is last\n vic.moveOn(); //move to third slot\n vic.putCD();\n\n\n }", "private void spacePressed()\r\n {\r\n boolean moved = true;\r\n int currentPlayer = worldPanel.getCurrentPlayer();\r\n int currentUnit = worldPanel.getCurrentUnit();\r\n playerMoved(currentPlayer,currentUnit,moved);\r\n setMapPos();\r\n }", "public int getTakeSpace() {\n return 0;\n }", "static void decrement() {\r\n\t\tint x=5; \r\n\t\twhile (x>= -12) { \r\n\t\t\tSystem.out.println(x);\r\n\t\t\tx--; \r\n\t\t}\r\n\t}", "public static void main(String[] args) {\n\t\tint n=5;\n\t\tfor(int i=n-1;i>=0;i--)\n\t\t{\n\t\t\tfor(int space=0;space<n-1-i;space++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tfor(int j=0;j<=i*2;j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(\"* \");\n\t\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}\n\n}", "private void driveLeft() {\n setSpeed(MIN_SPEED, MAX_SPEED);\n }", "public void swim() {\n\t\tSystem.out.println(\"All the ducks can swim. This is an unchanged behavior for all ducks\");\n\t}", "private void LeftRightRight() {\n \tRobot.cubebase.stopall();\n \twhile (true) \n \t{\n \t\t//first.take cube down and lift to high\n \t\tif (Robot.autotime.get()<1) {\n\t\t\t\tRobot.drivebase.run(.53, -.53);\n\t\t\t}\n \t\tif (Robot.autotime.get()>=1) {\n\t\t\t\tRobot.drivebase.Stop();\n\t\t\t\tbreak;\n\t\t\t}\n \t\t\n \t\n \t}\n\t\t\n\t}", "private int addShift( int x ) { x += _nxx; int sz = H2O.CLOUD.size(); return x < sz ? x : x-sz; }", "public static void main(String[] args) {\n\t\tfor(int j=0;j<8;j++){\n\t\t\tfor(int i=0;i<8;i++){\n\t\t\t\t//上下两侧\n\t\t\t\tif(j==0||j==7){\n\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t}else{\n\t\t\t\t\t//中间\n\t\t\t\t\tif(i>0&&i<7){\n\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "private void aretes_aO(){\n\t\tthis.cube[40] = this.cube[7]; \n\t\tthis.cube[7] = this.cube[25];\n\t\tthis.cube[25] = this.cube[46];\n\t\tthis.cube[46] = this.cube[34];\n\t\tthis.cube[34] = this.cube[40];\n\t}", "void unsetWagerMinimum();", "public void zeichneQuadrate(){\n for (int i=0; i<10;i++)\n rect (50+i*25,50,25,25);\n }", "void unsetStraight();" ]
[ "0.63596094", "0.5864921", "0.5708237", "0.570025", "0.56823695", "0.5657475", "0.5572527", "0.5561481", "0.5551349", "0.5496407", "0.5490594", "0.547755", "0.54763144", "0.5474275", "0.5461245", "0.54609704", "0.54609704", "0.5439464", "0.5435614", "0.5430797", "0.5418142", "0.54026264", "0.5378043", "0.53712445", "0.53668517", "0.5365247", "0.5354116", "0.535219", "0.5351127", "0.5344254", "0.53398347", "0.53360593", "0.5333523", "0.53188044", "0.5316899", "0.5294689", "0.529426", "0.528544", "0.52800614", "0.5273253", "0.52700216", "0.5263607", "0.52533805", "0.5246529", "0.52446437", "0.52398336", "0.52358717", "0.5234924", "0.5233674", "0.522737", "0.52190334", "0.52129644", "0.5211008", "0.52101403", "0.5209269", "0.5207403", "0.52064395", "0.5201572", "0.5198546", "0.51971215", "0.5186801", "0.51849693", "0.5172804", "0.5165258", "0.5160779", "0.514994", "0.5147083", "0.5146107", "0.5143048", "0.51381665", "0.51368415", "0.51322484", "0.5131082", "0.5130911", "0.51296437", "0.51288897", "0.51221234", "0.512132", "0.5120771", "0.5116645", "0.51133", "0.5113219", "0.51127595", "0.51126015", "0.5109756", "0.51062375", "0.5103703", "0.5103575", "0.5100963", "0.5098148", "0.5096051", "0.5093998", "0.50915164", "0.5088706", "0.5081779", "0.5079822", "0.50762844", "0.50755924", "0.5075528", "0.50729764" ]
0.5319186
33
Highlevel spring service which operate with some lowlevels services
@Transactional public interface EventService { List<EventRowDto> getEventsForToday(); EventDto getEvent(long id); EventDto addEvent(EventDto event, long roomId); EventDto changeEvent(EventDto event, long roomId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Component\npublic interface DemoService {\n\n int getSystemUserCount();\n\n boolean checkSystemUser(String loginName);\n\n void testTrans();\n\n int createUserService();\n int updateUserService();\n int deleteUserService();\n SystemUser getUserService(Long id);\n List getUserPageService();\n}", "protected void doService(HttpServletRequest req, HttpServletResponse resp) throws Exception {\r\n // This class has been removed from all places where it was used and replaced by the Spring\r\n // dispatcher from which it inherits. Delegate to super for now in case this ever gets called.\r\n // There is one place that depends on the tool constants above, in CommentListGenerator.\r\n // These constants should be relocated and this class purged.\r\n super.doService(req, resp);\r\n }", "public interface SpringTestService {\n void test1(String name);\n}", "public interface GoodStyleService extends Service<GoodStyle> {\n\n}", "public interface ServiceFactory\n{\n /**\n * Retrieves a service instance. Is provided for extensibility beyond the core service\n * set.\n *\n * @param type The class name of the service to be retrieved.\n *\n * @throws ServiceNotAvailableException In case the (possible remote) service could not\n * be reached.\n * @throws LoginFailedException In case the authentication to the service fails.\n *\n * @return An instance of the requested service.\n */\n <T extends Service> T getService(Class<T> type)\n throws ServiceNotAvailableException, LoginFailedException;\n\n /**\n * Returns a WorkflowService.\n *\n * @throws ServiceNotAvailableException In case the (possible remote) service could not\n * be reached.\n * @throws LoginFailedException In case the authentication to the service fails.\n *\n * @return An instance of the requested service.\n */\n WorkflowService getWorkflowService()\n throws ServiceNotAvailableException, LoginFailedException;\n\n /**\n * Returns a UserService.\n *\n * @throws ServiceNotAvailableException In case the (possible remote) service could not\n * be reached.\n * @throws LoginFailedException In case the authentication to the service fails.\n *\n * @return An instance of the requested service.\n */\n UserService getUserService()\n throws ServiceNotAvailableException, LoginFailedException;\n\n /**\n * Returns an AdministrationService.\n *\n * @throws ServiceNotAvailableException In case the (possible remote) service could not\n * be reached.\n * @throws LoginFailedException In case the authentication to the service fails.\n *\n * @return An instance of the requested service.\n */\n AdministrationService getAdministrationService()\n throws ServiceNotAvailableException, LoginFailedException;\n\n /**\n * Returns a QueryService.\n *\n * @throws ServiceNotAvailableException In case the (possible remote) service could not\n * be reached.\n * @throws LoginFailedException In case the authentication to the service fails.\n *\n * @return An instance of the requested service.\n */\n QueryService getQueryService()\n throws ServiceNotAvailableException, LoginFailedException;\n\n /**\n * Returns a document management service.\n *\n * @throws ServiceNotAvailableException In case the (possible remote) service could not\n * be reached.\n * @throws LoginFailedException In case the authentication to the service fails.\n *\n * @return An instance of the requested service.\n */\n DocumentManagementService getDocumentManagementService()\n throws ServiceNotAvailableException, LoginFailedException;;\n\n /**\n * Provides explicit service resource management. May be used to release resources\n * associated with a service (like connection handles or locked instances) early.\n * <p />\n * Explicitly releasing a service may be help conserving resources but is not necessary\n * as the <code>ServiceFactory</code> provides automatic resource cleanup.\n *\n * @param service The service to be released.\n *\n * @see #close()\n */\n void release(Service service);\n\n /**\n * Releases all resources hold by the service factory and its single services. All\n * services retrieved from this ServiceFactory will be closed too.\n */\n void close();\n\n void setCredentials(Map credentials);\n\n void setProperties(Map properties);\n\n /**\n * Gets the user session id\n * @return the user session id - may be null\n */\n String getSessionId();\n}", "@Override\n\tprotected void service(HttpServletRequest arg0, HttpServletResponse arg1)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.service(arg0, arg1);\n\t}", "public interface ServiceContext {\r\n /**\r\n * @return configuration for the service.\r\n */\r\n ServiceConfigurable service();\r\n}", "@Override\n\tprotected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.service(req, resp);\n\t}", "@Singleton\n@Component(modules = {ContextModule.class, BusModule.class, GithubModule.class, GankModule.class, ZhiHuModule.class, RssModule.class})\npublic interface AppComponent {\n Context getContext();\n GankService getGankService();\n ZhiHuService getZhiHuService();\n RssService getRssService();\n EventBus getBus();\n}", "public interface Service {\n // Service-specific methods go here\n }", "public void service() {\n\t}", "private static interface Service {}", "@Component(modules = {ApplicationModule.class,HttpModule.class})\npublic interface ApplicationComponent {\n\n MyApp getApplication();\n\n NewsApi getNetEaseApi();\n\n JanDanApi getJanDanApi();\n\n Context getContext();\n\n}", "@Override\r\n\tprotected void service(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.service(req, resp);\r\n\t}", "protected Spring() {}", "public interface ApplicationService extends GenericService<Application, Long> {\n\n Page<Application> getPagedMerchantApplications(Long merchantId, int pagination, int capacity, String keyword, String... fetchs);\n\n boolean isAppIDExisted(String appID);\n\n boolean isOriginalIDExisted(String originalID);\n\n Application getApplicationByAppID(String appID, String... fetchs);\n\n boolean startPulling(String appID);\n\n boolean endPulling(String appID);\n\n boolean startRefreshing(String appID);\n\n boolean endRefreshing(String appID);\n\n int updateToVerified(String appID);\n\n}", "public interface ConfigService {\n\n\n /**\n * eureka配置\n *\n * @param sb\n * @param addr\n */\n void eureka(StringBuilder sb, String addr);\n\n /**\n * redis配置\n *\n * @param sb\n * @param addr\n */\n void redis(StringBuilder sb, String addr);\n\n\n /**\n * 数据源配置\n *\n * @param sb\n */\n void thymeleafAndDatasource(StringBuilder sb);\n\n\n /**\n * 关于mybatis的配置\n *\n * @param sb\n * @param packages\n */\n void mybatis(StringBuilder sb, String packages);\n\n\n /**\n * 分页插件配置\n *\n * @param sb\n */\n void pagehelper(StringBuilder sb);\n\n /**\n * 生成application.yml\n *\n * @param name\n */\n void application(String name);\n\n\n /**\n * 生成application-xxx.yml\n *\n * @param branch\n * @param packages\n */\n void applicationBranch(String branch, String packages);\n\n\n /**\n * log文件\n *\n */\n void logBack();\n}", "public interface SmartCultureFarmService extends Service<SmartCultureFarm> {\n\n}", "@Override\n protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n super.service(req, resp);\n logger.log(Level.INFO, \"service(req, resp) Invoked\");\n }", "public interface UserInfoService extends Service<UserInfo> {\n float getHistoryRate(int userId, int day);\n\n String getEncryPhotoUrl(int userId);\n String getEncryPayPassword(String payPasswor);\n int selectByIdAndPayPassword(String userId,String payPassword);\n int computeAge(String IdNO);\n String computeSex(String IdNo);\n UserInfo anonymousUserInfo(UserInfo userInfo);\n\n List<UserInfo> findFriendByUserId(String userId);\n\n List<UserInfo> findIsAddingFriend(String userId);\n\n Boolean lockPayPassword(int uid);\n\n ErrorEnum addLockPayPassword(int uid);\n\n List<LikePeopleJoinUserInfoVo> findLikePeople(String userId);\n\n}", "public interface ServerComponent extends Service {\r\n\r\n\t/**\r\n\t * Set a configuration for this component\r\n\t * \r\n\t * @param conf\r\n\t */\r\n\tpublic void injectConfiguration(ComponentConfiguration conf);\r\n\r\n\t/**\r\n\t * Set a server context for this component\r\n\t * \r\n\t * @param context\r\n\t */\r\n\tpublic void injectContext(ComponentContext context);\r\n\r\n\t/**\r\n\t * Retrive the current configuration for this component\r\n\t * \r\n\t * @return\r\n\t */\r\n\tpublic ComponentConfiguration getConfiguration();\r\n}", "public interface UserService {\n\n\t/**\n\t * This method is used to create a worker into the system.\n\t * \n\t * @author umamaheswarar\n\t * @param createEmployeeDTO\n\t * worker related information to create the worker\n\t * @return createEmployeeDTO worker information after creating the worker\n\t * into the system.\n\t * @throws ApplicationCustomException\n\t */\n\tpublic EmployeeDTO createEmployee(final EmployeeDTO createEmployeeDTO) throws ApplicationCustomException;\n\n\t/**\n\t * This method is used to update a worker into the system.\n\t * \n\t * @author umamaheswarar\n\t * @param createEmployeeDTO\n\t * worker related information to create the worker\n\t * @return createEmployeeDTO worker information after creating the worker\n\t * into the system.\n\t * @throws ApplicationCustomException\n\t */\n\tpublic EmployeeDTO updateEmployee(final EmployeeDTO createEmployeeDTO) throws ApplicationCustomException;\n\n\t/**\n\t * This method is used to get the user from system.\n\t * \n\t * @author umamaheswarar\n\t * @param username\n\t * username of the logged in user.\n\t * @return UserDTO user details.\n\t */\n\tpublic UserDTO getUserDetails(final String username);\n\n\t/**\n\t * This method is used to create a position into the system.\n\t * \n\t * @author umamaheswarar\n\t * @param positionDTO\n\t * position related information to create the position\n\t * @return positionDTO position information after creating into the system.\n\t * @throws ApplicationCustomException\n\t */\n\tpublic PositionDTO createJobPosition(final PositionDTO positionDTO) throws ApplicationCustomException;\n\n\t/**\n\t * This method is used to update a position into the system.\n\t * \n\t * @author umamaheswarar\n\t * @param positionDTO\n\t * position related information to update the position\n\t * @return positionDTO position information after updating into the system.\n\t * @throws ApplicationCustomException\n\t */\n\tpublic PositionDTO updateJobPosition(final PositionDTO positionDTO) throws ApplicationCustomException;\n\n\t/**\n\t * This method is used to manage the time off of the employees\n\t * \n\t * @author umamaheswarar\n\t * @param timeOffDTO\n\t * time off DTO object\n\t * @return TimeOffDTO time off details after saving the details\n\t */\n\tpublic TimeOffDTO manageTimeOff(final TimeOffDTO timeOffDTO) throws ApplicationCustomException;\n\n\t/**\n\t * This method is used to change the employee job details\n\t * \n\t * @author umamaheswarar\n\t * @param jobChangeDTO\n\t * job change details\n\t * @return jobChangeDTO job change details after completion\n\t * @throws ApplicationCustomException\n\t * custom application message in case of any exception\n\t */\n\tpublic JobChangeDTO jobChange(final JobChangeDTO jobChangeDTO) throws ApplicationCustomException;\n\n\t/**\n\t * This method is used to change the address details of the employee\n\t * \n\t * @author umamaheswarar\n\t * @param employeeAddressDTO\n\t * @return addressChangeEventId address change event id\n\t * @throws ApplicationCustomException\n\t * custom application exception message\n\t */\n\tpublic String changeContactDetails(final EmployeeAddressDTO employeeAddressDTO) throws ApplicationCustomException;\n\n\t/**\n\t * This method is used to manage the payroll of the employees\n\t * \n\t * @author umamaheswarar\n\t * @param payrollDTO\n\t * payrollDTO object\n\t * @return payrollDTO payroll details after saving the details\n\t */\n\tpublic PayrollDTO managePayroll(final PayrollDTO payrollDTO) throws ApplicationCustomException;\n\n\t/**\n\t * This method is used to manage the payroll of the employees\n\t * \n\t * @author umamaheswarar\n\t * @param registerDTO\n\t */\n\tpublic boolean register(final RegisterDTO registerDTO)\n\t\t\tthrows ApplicationCustomException, HibernateException, SQLException;\n\n}", "private void initService() {\r\n\t}", "ProgramActuatorService createProgramActuatorService();", "@Service\r\npublic interface UserService {\r\n\r\n int addUser(User user);\r\n}", "@Override\r\n\tpublic void serviceVehicle() {\n\t\t\r\n\t\tVehicle vehicle = (ThreeWhleer)context.getBean(\"vehicle3.bean\");\r\n\t\t\r\n\t\tvehicle.serviceVehicle();\r\n\t}", "protected AbstractApplicationContext getServicesContext() {\r\n\t\treturn this.servicesContext;\r\n\t}", "public interface CoreServiceInvoker {\n\n\n GWRequest processRequest(Object requestData, InterfaceMapper mapper);\n\n /**\n * 处理请求信息\n */\n GWRequest processRequest(Object requestData, InterfaceMapper mapper, boolean needPackage);\n\n /**\n * 调用核心方法\n */\n GWResponse invoke(GWRequest request, boolean needPackage);\n\n /**\n * 处理返回信息\n */\n Object analysisResponse(GWRequest request, GWResponse response);\n Object analysisResp(GWRequest request, GWResponse response);\n}", "@Service\npublic interface UserService {\n\n void userRegister(String username, String password);\n\n String userLogin(String username, String password);\n\n User findUserByUserName(String userName);\n\n boolean insertThirdPartUserInfo(String username, String imageUrl, String thirdPart);\n\n boolean isExistLocalUserName(String username);\n}", "public void doService() {\n }", "private void loadAms2Services() {\n\n // 1st create the spring-bean-loader instance \n // you might consider it as kind of \"bean factory\"\n SpringContextLoader spring = new SpringContextLoader();\n \n // initialize the bean loader\n // with the (spring-beans)config file it should use \n // to lookup the bean definitions\n spring.init(\"spring-ams2-core.xml\");\n \n logger.debug(\"Constants.BEAN_PRINCIPAL_SRV: \" + Constants.BEAN_PRINCIPAL_SRV);\n logger.debug(\"Constants.BEAN_AUTHORIZATION_SRV: \" + Constants.BEAN_AUTHORIZATION_SRV);\n logger.debug(\"Constants.BEAN_FABRIC_SRV: \" + Constants.BEAN_FABRIC_SRV);\n \n \n // load a bean by its id/name:\n // use the service interface as reference!\n pcplSrv = (PrincipalService) spring.getBean(Constants.BEAN_PRINCIPAL_SRV);\n\n // just another ams2 service as example: the \"advanced authorization service\" (managing user-node-rules information)\n authzSrv = (AdvAuthorizationService) spring.getBean(Constants.BEAN_AUTHORIZATION_SRV);\n\n // just another ams2 service as example: the \"rule service\" (providing rules/roles information)\n //RuleService ruleSrv = (RuleService) spring.getBean(Constants.BEAN_RULE_SRV);\n\n // load the needed service: FabricService (designed to wrap further functionality arround corpusstructure api)\n fabricSrv = (FabricService) spring.getBean(Constants.BEAN_FABRIC_SRV);\n\n SpringContextLoader springAuth = new SpringContextLoader();\n springAuth.init(\"spring-ams2-auth.xml\");\n authSrv = (AuthenticationService) springAuth.getBean(Constants.BEAN_INTEGRATED_AUTHENTICATION_SRV);\n \n }", "public interface UserService extends AbstractService<User>{\n\n /**\n * 根据用户名和密码查询,校验用户\n * @param userName\n * @param password\n * @return\n */\n User checkUser(String userName, String password);\n}", "@Service\npublic interface StandardService {\n /**\n * 删除\n * @param standardInfo\n * @return\n */\n Result<Object> deleteStandardByUuid(StandardInfo standardInfo);\n /**\n * 通过uuid查询标准表\n * @param standardInfo\n * @return\n */\n Result<StandardEditVO> getstandardByUuid(StandardInfo standardInfo);\n /**\n * 修改\n * @param addReqs\n * @return\n */\n Result<Object> updateStandard(StandardReqAdd addReqs);\n /**\n * 分页查询\n * @param standardPageReq\n * @return\n */\n StandardPaginVO standardPageList(StandardPageReq standardPageReq);\n\n /**\n * 通过类型id查标准表\n * @param standardTypeid\n * @return\n */\n public Result<Object> getStandardByTypeid(String standardTypeid);\n\n /**\n * 水质标准分页查询,带明细\n * @param standByNamePagingReq\n * @return\n */\n public Result<standByNamePagingVO> standByNamePaging(StandByNamePagingReq standByNamePagingReq);\n}", "@Service\npublic interface SalaryFormService {\n\n void addSalaryForm(SalaryFormEntity salaryFormEntity) throws IOException;\n List<SalaryFormEntity> getSalaryForms();\n SalaryFormEntity getSalaryFormById(Long id);\n List<SalaryFormEntity> deleteSalaryFormBySearchRequest(SearchSalaryRequest searchSalaryRequest) throws IOException;\n ArrayList<String> getListFromFile(String fileName) throws IOException;\n List<SalaryFormEntity> getSalaryFormListBySearchRequest(SearchSalaryRequest searchSalaryRequest) throws IOException;\n\n boolean validateSearchSalaryRequest(SearchSalaryRequest searchSalaryRequest) throws IOException;\n boolean validateEntity(SalaryFormEntity salaryFormEntity) throws IOException;\n\n int searchAverageSalaryByParameters(SearchSalaryRequest searchSalaryRequest) throws IOException;\n}", "public interface SysUserService extends Service<SysUser> {\n void sysUserAdd(SysUser sysUser,String userId) throws Exception;\n void sysUserUpdate(SysUser sysUser,String userId);\n String checkSysUsername(String sysUsername);\n\n /**\n * 通过 username 查询 a_sys_user 表中是否含有 username , 若无对应的 username ,则给出相应的提示。 2018/05/19 11:07 rk\n * @param username\n * @return\n */\n String checkUsername(String username);\n\n /**\n * 实现登录功能\n * @param username\n * @param password\n * @return\n */\n SysUser sysUserLogin(String username, String password);\n\n /**\n * 根据username查询role_id 在a_user_role表中查询\n * @param username\n * @return\n */\n // String queryRoleId(String username);\n List<String> queryRoleId(String username);\n\n /**\n * 通过 username 删除用户数据\n * @param username\n */\n void deleteUserByUsername(String username);\n\n /**\n * 模糊匹配,查询 a_sys_user \n * @param username\n * @param name\n * @param user_type\n * @param org_code\n * @param is_ok\n * @return\n */\n List<SysUser> selectByFiveParameter(String username, String name, String user_type, String org_code, String is_ok);\n\n}", "@RestController\n@RequestMapping(\"/advice\")\npublic interface AdviceService extends BaseService<Advice>{\n\n}", "public interface ProcesoVENService extends Service {\n\n\t/**\n\t * Ejecuta procedimiento generico\n\t * @param nombreExecute\n\t * @param criteria\n\t */\n\tpublic void executeGenerico(String nombreExecute, Map criteria) ;\n\t\n\t/**Actualiza calensarios\n\t * @param calendario\n\t * @param usuario\n\t */\n\tpublic void updateCalendario(Calendario calendario, Usuario usuario);\n\t\n\t/**devuelve lista de calendarios\n\t * @param criteria\n\t * @return\n\t */\n\tpublic List getCalendarios(Map criteria);\n\t\n\t/**\n\t * devuelve el calendario\n\t * @param criteria\n\t * @return\n\t */\n\tpublic Calendario getCalendario(Map criteria);\n\t\n /**\n * devuelve los feriados d euna zona\n * @param criteria\n * @return\n */\n public List getFeriadoZona(Map criteria);\n\t\n\t/**\n\t * Actualiza feriados de una zona\n\t * @param feriadoZona\n\t * @param usuario\n\t */\n\tpublic void updateFeriadoZona(FeriadoZona feriadoZona, Usuario usuario);\n\t\n\t/**\n\t * Inserta los feriados de una zona\n\t * @param feriadoZona\n\t * @param usuario\n\t */\n\tpublic void insertFeriadoZona(FeriadoZona feriadoZona, Usuario usuario);\n\t\n\t/**\n\t * elimina los feriados d euna zona\n\t * @param feriadoZona\n\t * @param usuario\n\t */\n\tpublic void deleteFeriadoZona(FeriadoZona feriadoZona, Usuario usuario);\n\n\t/**\n\t * Metodo que trae las zonas de una region\n\t * @param feriadoRegion\n\t * @return\n\t */\n\tpublic List getZonasRegion(String feriadoRegion);\n\n\t/**\n\t * Retorna el indicador de habilitacion RUV\n\t * @param criteria\n\t * @return\n\t */\n\tpublic String getIndicadorHabilitacionRuv(Map criteria);\n\n\t/**\n\t * Genera la informacion para el reporte RUV\n\t * @param map\n\t */\n\tpublic void executeGeneracionReporteRUV(Map map);\n\t\n\t/**\n\t * Genera los archivos de libro de ventas - detalles SII\n\t * @param map\n\t */\n\tpublic void executeGenerarArchivosLibroVentasDetalleSII(Map map);\n\t\n}", "@Component(modules = {ApplicationModule.class, HttpModule.class})\npublic interface ApplicationComponent {\n MyApp getApplication();\n\n ApiService getApiService();\n\n Context getContext();\n\n}", "public interface TransactionService extends AppService<Transaction> {\n TransactionResponse transact(TransactionDTO transactionDTO);\n}", "public interface WeighInService {\n}", "public interface SystemService {\n\n /**\n * 根据用户名获取User对象\n *\n * @param name 用户名\n * @return 用户对象\n */\n User findUserById(String name);\n\n\n /**\n * 是否存在User\n *\n * @param name 用户名\n * @return 存在返回true\n */\n boolean isUserByName(String name);\n\n\n /**\n * 是否存在User\n *\n * @param user 用户实体类\n * @return 存在返回true\n */\n boolean isUserByNameAndID(User user);\n\n /**\n * 添加User\n *\n * @param user 用户实体类\n */\n void addUser(User user);\n\n\n /**\n * 是否存在Role\n *\n * @param rolename 角色名称\n * @return 存在返回true\n */\n boolean isRoleByName(String rolename);\n\n /**\n * 根据角色名称、角色主键判断是否存在\n *\n * @param roleDb 角色实体类\n * @return 存在返回true\n */\n boolean isRoleByNameAndRoleid(Role roleDb);\n\n\n /**\n * 添加Role\n *\n * @param role 剧社实体类\n */\n void roleAdd(Role role);\n\n\n /**\n * 是否存在Model\n *\n * @param modelname 模块名称\n * @return 存在返回true\n */\n boolean isModelByName(String modelname);\n\n /**\n * 根据模块名称和模块主键查询\n *\n * @param modelDb 模块实体类\n * @return 存在返回true\n */\n boolean isModelByNameAndModelid(Model modelDb);\n\n /**\n * 添加Model\n *\n * @param model 模块实体类\n */\n void modelAdd(Model model);\n\n\n /**\n * 通过主键查找User\n *\n * @param userId 用户主键\n * @return User对象\n */\n User findUserById(Integer userId);\n\n /**\n * 通过主键查找Role\n *\n * @param roleId 角色主键\n * @return Role对象\n */\n Role findRoleById(Integer roleId);\n\n /**\n * 通过主键查找Model\n *\n * @param modelId 模块主键\n * @return Model对象\n */\n Model findModelById(Integer modelId);\n\n /**\n * 删除用户\n *\n * @param userId 用户主键\n */\n void userDelete(Integer userId);\n\n /**\n * 删除角色\n *\n * @param roleId 角色主键\n */\n void roleDelete(Integer roleId);\n\n\n /**\n * 删除Model\n *\n * @param modelId 模块主键\n */\n void modelDelete(Integer modelId);\n\n\n /**\n * 更新用户\n *\n * @param userDb 用户实体类\n */\n void updateUser(User userDb);\n\n\n /**\n * 更新角色\n *\n * @param roleDb 角色实体类\n */\n void updateRole(Role roleDb);\n\n\n /**\n * 更新model\n *\n * @param modelDb 模块实体类\n */\n void updateModel(Model modelDb);\n\n\n /**\n * 用户列表\n *\n * @param user 用户实体类\n * @param pageable 分页工具类\n * @return 返回用户列表\n */\n UserDto userList(User user, Pageable pageable);\n\n\n /**\n * 角色列表\n *\n * @param role 角色实体类\n * @param pageable 分页工具类\n * @return 角色列表\n */\n RoleDto roleList(Role role, Pageable pageable);\n\n\n /**\n * model列表\n *\n * @param model 模块实体类\n * @param pageable 分页工具类\n * @return 模块列表\n */\n ModelDto modelList(Model model, Pageable pageable);\n\n\n /**\n * 设置用户的属于角色\n *\n * @param userRolesDto 包含用户主键、角色主键DTO\n */\n void userRoles(UserRolesDto userRolesDto);\n\n /**\n * 设置角色管理的模块信息\n *\n * @param roleModelsDto 包含模块主键、角色主键DTO\n */\n void roleModels(RoleModelsDto roleModelsDto);\n\n\n /**\n * 通过userid查询用户角色绑定关系\n *\n * @param userid 用户主键\n * @return 用户角色绑定关系\n */\n List<ViewUserRole> findByUserid(Integer userid);\n\n /**\n * 通过roleid查询角色模块绑定关系\n *\n * @param roleid 角色主键\n * @return 角色模块绑定关系\n */\n List<ViewRoleModel> findByRoleid(Integer roleid);\n\n /**\n * 查询用户管理模块信息\n *\n * @param user 用户对象\n * @return 用户模块绑定关系\n */\n List<ViewUserModel> findModelList(User user);\n\n /**\n * 模块与DashBoard绑定关系\n *\n * @param dashboardDto 模块主键、仪表板主键DTO\n */\n void modelDashboards(ModelDashboardDto dashboardDto);\n\n\n}", "public interface PrintTaskService extends GenericService<PrintTask> {\n\n /**\n * 计算未付款printTask\n *\n * @param studentId studentId\n * @return count\n */\n int countInCart(Long studentId);\n\n\n /**\n * 文档假如购物车\n *\n * @param studentId studentId\n * @param studentDocumentId studentDocumentId\n * @return printTaskDto\n */\n PrintTaskDto addToCart(Long studentId, Long studentDocumentId);\n\n}", "@Service\r\npublic interface LocationService {\r\n\r\n String locationSet(Location location);\r\n\r\n String locationGet(String belong_stu_id);\r\n}", "public interface KioskLogService extends GenericService<KioskLog, Long> {\n\t\n}", "public interface ISpringService {\n\tpublic String getServiceName();\n\n\tpublic Properties getServiceProperties();\n}", "public interface UserService {\n\n //创建一个用户\n public void createUser(Sysuser sysuser);\n //修改用户信息\n public void saveUser(Sysuser sysuser);\n\n //根据传入的用户信息查询用户主要用户名和密码,返回list<map>\n public List<Map<String,Object>> signIn(Sysuser sysuser);\n\n //根据传入的用户信息查询用户主要用户名和密码,返回list<Sysuser>\n public List<Sysuser> getUserInfo1(Sysuser Sysuser);\n\n //修改密码\n public int modifyPassword(Map<String, Object> params);\n\n //修改头像\n public int modifyPhoto(String userId, String photoPath, String userType);\n\n //根据用户ID查询用户\n public Sysuser getUserInfoFromId(String userId);\n\n //设置用户是否可登陆后台\n public int setUserConsole(int userId,int state);\n\n //设置用户是否可登陆前台\n public int setUserFront(int userId,int state);\n\n}", "go.micro.runtime.RuntimeOuterClass.Service getService();", "go.micro.runtime.RuntimeOuterClass.Service getService();", "go.micro.runtime.RuntimeOuterClass.Service getService();", "public interface EmpService {\n Boolean addEmp(EMP emp);\n\n EMP getEmpName(String name);\n\n List<EMP> getEmp(@Param(\"did\") Integer d_id, @Param(\"state\") Integer e_state);\n\n List<EMP> getEmpLimits(Integer d_id, int currentPage, int pages, Integer e_state);\n\n List<EMP> getEmpLimit(Integer d_id, int currentPage, int pages, Integer e_state, Integer position);\n\n EMP empLogin(EMP emp);\n\n List<EMP_TRAIN> getEmpAndTrain(EMP emp);\n\n List<EMP_TRAIN> getEmpAndTrainLimit(EMP emp, int currentPage, int pages);\n}", "public interface ResourceService extends BaseService<Resource, Integer> {\n\n /**\n * 获取角色的权限树\n * @param roleId\n * @return\n */\n List<ZtreeView> tree(int roleId);\n\n /**\n * 修改或者新增资源\n * @param resource\n */\n void saveOrUpdate(Resource resource);\n\n}", "public interface CommonPersonService {\r\n\t/**\r\n\t * 根据用户id 获取用户详情\r\n\t *\r\n\t * @param request\r\n\t * @return\r\n\t */\r\n\tCommonResponse regUserExist(IsPhoneExistsRequest params);\r\n\r\n\t/**\r\n\t * 注册\r\n\t *\r\n\t * @param request\r\n\t * @return\r\n\t */\r\n\tCommonResponse register(UserRegisterRequest request);\r\n\r\n\t/**\r\n\t * 登录\r\n\t * \r\n\t * @param params\r\n\t * @return\r\n\t */\r\n\tCommonResponse login(UserLoginRequest params);\r\n\r\n\t/**\r\n\t * 设置密码\r\n\t * \r\n\t * @param params\r\n\t * @return\r\n\t */\r\n\tCommonResponse setpwd(SetPwdRequest params);\r\n\r\n\t/**\r\n\t * 设置用户头像,昵称\r\n\t * \r\n\t * @param params\r\n\t * @return\r\n\t */\r\n\tCommonResponse setHeardUrl(SetHeardUrlRequest params);\r\n\r\n\t/**\r\n\t * 获取验证码\r\n\t * \r\n\t * @param params\r\n\t * @return\r\n\t */\r\n\tCommonResponse getSmsCode(GetSmsCodeRequest params);\r\n\r\n\t/**\r\n\t * 查询用户身份认证信息\r\n\t * \r\n\t * @param request\r\n\t * @return\r\n\t */\r\n\tCommonResponse queryUserIdCardCertificationInfo(UserIdCardInfoRequest request);\r\n\r\n\t/**\r\n\t * 保存用户认证信息\r\n\t * \r\n\t * @param request\r\n\t * @return\r\n\t */\r\n\tCommonResponse saveUserCertificationInfo(SaveCertificationRequest request);\r\n\r\n\t/**\r\n\t * 保存\r\n\t * \r\n\t * @param request\r\n\t * @return\r\n\t */\r\n\tCommonResponse saveDvVoiceInfo(SaveDvVoiceRequest request);\r\n\r\n\t/**\r\n\t * 绑定微信或者QQ\r\n\t * \r\n\t * @param request\r\n\t * @return\r\n\t */\r\n\tCommonResponse bindVXorQQ(BindVXorQQRequest request);\r\n\r\n\t/**\r\n\t * 退出登录\r\n\t * \r\n\t * @param request\r\n\t * @return\r\n\t */\r\n\tCommonResponse loginOut(LoginOutRequest request);\r\n\r\n\t/**\r\n\t * 添加系统用户\r\n\t * \r\n\t * @param request\r\n\t * @return\r\n\t */\r\n\tCommonResponse addSystemUser(AddSystemUserRequest request);\r\n\t\r\n\t/**\r\n * 根据手机号,查询用户信息\r\n * @param request\r\n * @return\r\n */\r\n\tCommonResponse searchPersonByPhone(SearchPersonByPhoneRequest request);\r\n\r\n}", "@Service\npublic interface MS013002GetDetailService {\n /**\n * [Description]: Method find a holiday with id specification<br/>\n * [ Remarks ]:<br/>\n *\n * @param id\n * @return MS013002UpdateResponse - Model contain data what need to send to client\n */\n BaseResponse getDetail(long holidayID, int companyID);\n}", "@Override\n\tpublic void loadService() {\n\t\t\n\t}", "public interface ShopManageService {\n\n //查询\n Map<String, Object> selectAll(int offset, int limit);\n\n Map<String, Object> selectAll();\n\n Map<String, Object> selectBySID(int sid);\n\n Map<String, Object> selectByPIC(String job, int offset, int limit);\n\n Map<String, Object> selectShopName(String name, int offset, int limit);\n\n //------------------------------------------------------------------------------\n //添加\n boolean addShop(Shop form);\n //修改\n boolean updateShop(Shop form);\n //删除\n boolean deleteShop(int sid);\n\n}", "@Autowired\n public MicroServiceStrategy(DisableAction desabilitarAcao\n ) {\n //Regras para entidade MicroService passadas dentro do construtor \n //Injetadas pelo Spring com a anotação @Autowired \n \n \n /* Criando uma lista para conter as regras de negocio de MicroService\n * quando a operacao for salvar\n */\n List<IStrategy> rnsSalvarMicroService = new ArrayList<IStrategy>();\n /* Adicionando as regras a serem utilizadas na operacao salvar do MicroService */\n rnsSalvarMicroService.add(desabilitarAcao);\n\n /* Criando uma lista para conter as regras de negocio de MicroService\n * quando a operacao for alterar\n */\n List<IStrategy> rnsAlterarMicroService = new ArrayList<IStrategy>();\n /* Adicionando as regras a serem utilizadas na operacao alterar do MicroService */\n rnsAlterarMicroService.add(desabilitarAcao);\n\n\n /* Criando uma lista para conter as regras de negocio de mainConfiguration\n * quando a operacao for alterar\n */\n List<IStrategy> rnsConsultarMicroService = new ArrayList<IStrategy>();\n /* Adicionando as regras a serem utilizadas na operacao consultar do MicroService */\n rnsConsultarMicroService.add(desabilitarAcao);\n\n /* Criando uma lista para conter as regras de negocio de mainConfiguration\n * quando a operacao for excluir\n */\n List<IStrategy> rnsExcluirMicroService = new ArrayList<IStrategy>();\n /* Adicionando as regras a serem utilizadas na operacao excluir do MicroService */\n rnsExcluirMicroService.add(desabilitarAcao);\n\n /* Criando uma lista para conter as regras de negocio de mainConfiguration\n * quando a operacao for visualizar\n */\n List<IStrategy> rnsVisualizarMicroService = new ArrayList<IStrategy>();\n /* Adicionando as regras a serem utilizadas na operacao visualizar do MicroService */\n rnsVisualizarMicroService.add(desabilitarAcao);\n\n /* Criando uma lista para conter as regras de negocio de mainConfiguration\n * quando a operacao for desativar\n */\n List<IStrategy> rnsDesativarMicroService = new ArrayList<IStrategy>();\n /* Adicionando as regras a serem utilizadas na operacao desativar do MicroService */\n rnsDesativarMicroService.add(desabilitarAcao);\n\n /*\n * Adiciona a listra de regras na operacao salvar no mapa do MicroService \n */\n rnsMicroService.put(\"SALVAR\", rnsSalvarMicroService);\n /*\n * Adiciona a listra de regras na operacao alterar no mapa do MicroService \n */\n rnsMicroService.put(\"ALTERAR\", rnsAlterarMicroService);\n /*\n * Adiciona a listra de regras na operacao alterar no mapa do MicroService \n */\n rnsMicroService.put(\"CONSULTAR\", rnsConsultarMicroService);\n /*\n * Adiciona a listra de regras na operacao excluir no mapa do MicroService \n */\n rnsMicroService.put(\"EXCLUIR\", rnsExcluirMicroService);\n /*\n * Adiciona a listra de regras na operacao visualizar no mapa do MicroService \n */\n rnsMicroService.put(\"VISUALIZAR\", rnsVisualizarMicroService);\n /*\n * Adiciona a listra de regras na operacao desativar no mapa do MicroService \n */\n rnsMicroService.put(\"DESATIVAR\", rnsDesativarMicroService);\n\n }", "public interface CustomService {\n Result getMenu();\n\n Result addOrUpdCustom(Custom custom);\n\n Result delCustom(String customIds);\n\n PageInfo getCustomList(PageInfo pageInfo, Map<String, String> param);\n\n Result getCustomById(String id);\n\n PageInfo getAuthList(PageInfo pageInfo, Map<String, Object> param);\n\n Result getAllCus(String key, String size);\n\n Result getAllOnlineCus(String key, String size);\n\n Result getAllCusWithKf(String key, String size);\n\n PageInfo getWorkAuthList(PageInfo pageInfo, Custom custom);\n\n Result passWorkAuth(String custom_id) throws Exception;\n\n Result refuseWorkAuth(String custom_id) throws Exception;\n\n PageInfo getLinkAuthList(PageInfo pageInfo, Custom custom);\n\n Result passLinkAuth(String custom_id) throws Exception;\n\n Result refuseLinkAuth(String custom_id) throws Exception;\n}", "public interface MainService {\n\n\tMain getMain(Main main) throws DataAccessException;\n\n\tvoid putMain(Main main) throws DataAccessException;\n\n\n}", "public static void main(String[] args) {\n\t\tGenericXmlApplicationContext ctx = new GenericXmlApplicationContext(\"Echo.xml\");\r\n\t\t\r\n\t\tEchobean bean = ctx.getBean(\"aaa\", Echobean.class);\r\n\t\t \r\n\t\tOneService one = bean.getOne();\r\n\t\tTwoService two = bean.getTwo(); \r\n\t\t \r\n\t\tone.one();\r\n\t\ttwo.two();\r\n\t}", "@Override\n\tpublic Service upstreamServiceInit() {\n\t\treturn null;\n\t}", "public interface AppStandardService {\n\n int addStanard(AppStandard appStandard) throws MilkTeaException;\n\n\n //int updataStandard(AppStandard appStandard) throws MilkTeaException;\n\n AppStandard selectById(String id);\n\n // List<AppStandard> selectByGoodsId(String id);\n\n}", "public interface DynamicBeanService extends BeanDefinitionRegistryPostProcessor, ApplicationContextAware, ApplicationListener<ApplicationEvent> {\n void refresh();\n}", "public interface ProductService {\n /**\n * Returns all the products\n *\n * @return a list with all the products\n */\n List<Product> retrieveProducts();\n\n /***\n * Service to store the products\n * @param product the product to be stored\n * @return the stored product\n */\n Product storeProduct(Product product);\n}", "@Service\npublic interface EventHandler {\n public AppdirectAPIResponse handleEvent(EventInfo eventInfo);\n}", "@Override\n\tpublic void service(ServletRequest arg0, ServletResponse arg1)\n\t\t\tthrows ServletException, IOException\n\t{\n\t\tsuper.service(arg0, arg1);\n\t\trenewObject(arg0, arg1);\n\t\tout.print(\"do my service\");\n\t}", "public interface SysLogService extends CurdService<SysLog> {\n\n}", "@Override\r\n\tprotected void doService(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tSystem.out.println(\"in child doService\");\r\n\t\t\r\n\t}", "public interface AlarmDataEnvService extends Service<AlarmDataEnv> {\n\n}", "@Singleton\n@Component(modules = {AppModule.class, RetrofitModule.class})\npublic interface AppComponent {\n Context getContext();\n KyApiService getKyApiService();\n WyApiService getWyApiService();\n OpApiService getOpApiService();\n ToutiaoVideoApiService getToutiaoVideoApiService();\n LiveApiService getLiveApiService();\n CloudMusicApiService getCloudMusicApiService();\n}", "public interface UserService extends Service<User> {\n\n}", "public interface UserService extends Service<User> {\n\n}", "public interface UserService extends Service<User> {\n\n}", "@Override\n protected void reconfigureService() {\n }", "public interface LandService {\n\t//declare some methods \n\tpublic List<LandBean> getAllLands() ;\n\tpublic boolean deleteLand(int id);\n\tpublic boolean addLand(LandBean bean);\n\tboolean modifyLand(LandBean bean);\n\n}", "public interface UserService {\n\n\t/**\n\t * Finds a user by email\n\t * \n\t * @param email\n\t * @return\n\t */\n\tUser find(String email);\n\n\t/**\n\t * Finds a user by email\n\t * \n\t * @param email\n\t * @return\n\t */\n\tList<User> addUsersToShowableList(UserListRequest userListRequest);\n\t\n\t/**\n\t * Finds a user by its id\n\t * \n\t * @param id\n\t * @return\n\t */\n\tUser find(long id);\n\n\t/**\n\t * \n\t * @param user\n\t */\n\tvoid save(User user, String token);\n\n\t/**\n\t * \n\t * @param user\n\t */\n\tvoid register(User user, String urlBase);\n\n\t/**\n\t * Load the number of user offering services\n\t * @return\n\t */\n\tInteger loadUserCount();\n\n\t/**\n\t * Validate if email already exists\n\t * @param email\n\t * \t\tThe email to validate\n\t */\n\tvoid validate(String email);\n\n\t/**\n\t * Send a activation email to user who register\n\t * @param email\n\t * @param activationLink\n\t * @param activationKey\n\t * @throws MailServicesErrorException\n\t */\n\tvoid sendActivationLinkEmail(User user, String activationLink, String activationKey)\n\t\t\tthrows MailServicesErrorException;\n\n\t/**\n\t * Activate an user that comes from email activation link\n\t * @param email\n\t * @param activationToken\n\t */\n\tvoid activateUser(String email, String activationToken);\n\n\t/**\n\t * Ends the user session by deleting its security access token\n\t * @param userTokenTokenContent\n\t * \t\tContent of user token to delete\n\t */\n\tvoid logout(String userTokenTokenContent);\n\n\t/**\n\t * filter users by specific request filter\n\t * @param request\n\t * @return\n\t */\n\tUserFilterResult find(UserFilterRequest request);\n}", "public interface IUserService extends BaseService<User> {\n\n /**\n * 通过手机号 查询用户所有基础字段\n * @param phone\n * @return\n */\n User getUserByPhone(String phone);\n\n /**\n * 获取该用户下的分销列表\n * @param userId\n * @return\n */\n Map<String,List<DistributionUser>> getDistributionUser(String userId,Integer pageNO,Integer pageSize);\n\n /**\n * 通过邀请码查询用户\n * @param shareCode 邀请码\n * @return\n */\n User getUserByShareCode(String shareCode);\n\n /**\n * 统计昨日数据\n * 积分(score)、欢喜券(bigDecimal)、单元总量(暂无)、转化率(parities)\n * @return\n */\n Map<String,Object> countLastDay();\n\n /**\n * 后台通过/拒绝申请成为代理商\n * @param userId 用户ID\n * @param status 1 通过 2 拒绝通过\n */\n void setAgent(String userId,Integer status) throws Exception;\n\n /**\n * 后台用户列表\n * @param pages\n * @param map\n * @return\n */\n Pages<User> list(Pages pages, Map<String ,Object> map);\n}", "public interface SeatService extends Service {\r\n\t/**\r\n\t * gets all seats with their states by film session id\r\n\t * \r\n\t * @param filmSessionId\r\n\t * film session id\r\n\t * @return list of seats with their states\r\n\t */\r\n\tList<Seat> getSeatsWithState(int filmSessionId);\r\n\r\n\t/**\r\n\t * check is seat free\r\n\t * \r\n\t * @param seatId\r\n\t * checking seat id\r\n\t * @param filmSessionId\r\n\t * film session id\r\n\t * @return {@code true} if seat free, {@code false} otherwise\r\n\t */\r\n\tboolean isSeatFree(int seatId, int filmSessionId);\r\n\r\n\t/**\r\n\t * gets seat by id\r\n\t * \r\n\t * @param seatId\r\n\t * seat id\r\n\t * @return found seat\r\n\t */\r\n\tSeat getSeat(int seatId);\r\n\r\n}", "public interface ApplicantService {\r\n\r\n\t/**\r\n\t * Adds a new application or updates an existing application.\r\n\t * \r\n\t * @param addApplicantRequest\r\n\t * @return\r\n\t * @throws ServiceException\r\n\t */\r\n\tApplicantDetailsResponse addOrUpdateApplicant(AddApplicantRequest addApplicantRequest) throws ServiceException;\r\n\r\n\t/**\r\n\t * Gets applicant details along with application details by applicant id.\r\n\t * \r\n\t * @param employeeId\r\n\t * @return\r\n\t * @throws ServiceException\r\n\t */\r\n\tApplicantDetailsResponse getApplicantDetailsById(Integer employeeId) throws ServiceException;\r\n\r\n\t/**\r\n\t * Deletes applicant by its given applicant id.\r\n\t * \r\n\t * @param applicantId\r\n\t */\r\n\tvoid deleteApplicantById(Integer applicantId);\r\n\r\n\t/**\r\n\t * Gets all applicants present.\r\n\t * \r\n\t * @return\r\n\t * @throws ServiceException\r\n\t */\r\n\tList<ApplicantDetailsResponse> getAllApplicants() throws ServiceException;\r\n\r\n\t/**\r\n\t * Gets all applicants by given years of experience and skill.\r\n\t * \r\n\t * @param skill\r\n\t * @param yearsOfExperience\r\n\t * @return\r\n\t * @throws ServiceException\r\n\t */\r\n\tList<ApplicantDetailsResponse> getAllApplicantsByYearsOfExperienceAndSkill(String skill, Integer yearsOfExperience)\r\n\t\t\tthrows ServiceException;\r\n\r\n\t/**\r\n\t * Gets all jobs by given years of experience and skill.\r\n\t * \r\n\t * @param skill\r\n\t * @param yearsOfExperience\r\n\t * @return\r\n\t * @throws ServiceException\r\n\t */\r\n\tList<JobDetailsResponse> getAllJobByYearsOfExperienceAndSkill(String skill, Integer yearsOfExperience)\r\n\t\t\tthrows ServiceException;\r\n\r\n\t/**\r\n\t * Enables applicant to apply for the given job id.\r\n\t * \r\n\t * @param applicantId\r\n\t * @param jobId\r\n\t * @return\r\n\t * @throws ServiceException\r\n\t */\r\n\tApplicantDetailsResponse applyJob(Integer applicantId, Integer jobId) throws ServiceException;\r\n\r\n}", "public static void main(String[] args) {\n AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AopConfig.class);\n TaskService bean = applicationContext.getBean(TaskService.class);\n for (int i = 0; i <10 ; i++) {\n bean.task1(i);\n bean.task2(i);\n }\n\n }", "public interface GoodsService {\n\n /**\n * @Purpose 查询积分商品列表\n * @version 3.0\n * @author lubin\n * @return List<TsHtScoreGoodsDto>\n */\n public List<TsHtScoreGoodsDto> findScoreGoods();\n\n /**\n * @Purpose 按条件分页查询积分商品\n * @version 3.0\n * @author lubin\n * @param currentPage,pageSize\n * @return RetInfo\n */\n public RetInfo findGoodsPage(int currentPage, int pageSize, int goods_state);\n\n /**\n * @Purpose 新增积分商品\n * @version 3.0\n * @author lubin\n * @param scoreGoodsDto\n * @return\n */\n public RetInfo insertScoreGoods(ScoreGoodsDto scoreGoodsDto);\n\n /**\n * @Purpose 修改积分商品\n * @version 3.0\n * @author lubin\n * @param scoreGoodsDto\n * @return\n */\n public RetInfo updateScoreGoods(ScoreGoodsDto scoreGoodsDto);\n\n /**\n * @Purpose 上下架积分商品\n * @version 3.0\n * @author lubin\n * @param scoreGoodsDto\n * @return\n */\n public RetInfo updateScoreGoodsState(ScoreGoodsDto scoreGoodsDto);\n\n /**\n * @Purpose 积分商品页面跳转\n * @version 3.0\n * @author lubin\n * @param goods_id\n * @return\n */\n public RetInfo jump(int goods_id);\n\n /**\n * @Purpose 搜索积分商品页面跳转\n * @version 3.0\n * @author lubin\n * @param scoreGoodsDto\n * @return\n */\n public RetInfo jumpSearch(ScoreGoodsDto scoreGoodsDto);\n\n}", "public interface SKUsService {\r\n\r\n /**\r\n * 添加SKU\r\n * \r\n * @param credential\r\n * @param skuInfoEntity\r\n */\r\n Integer add(String appId, SKUInfoEntity skuInfoEntity) throws Exception;\r\n \r\n /**\r\n * 根据skuID删除SKU\r\n * \r\n * @param appId\r\n * @param skuId\r\n */\r\n void delete(String appId, String skuId) throws Exception;\r\n \r\n /**\r\n * 根据skuID 查询SKU\r\n * \r\n * @param credential\r\n * @param skuId\r\n * @return\r\n */\r\n SKUInfoEntity findById(CredentialEntity credential, String skuId) throws Exception;\r\n\r\n /**\r\n * 更新SKU\r\n * \r\n * @param appId\r\n * @param skuInfoEntity\r\n */\r\n void update(String appId, SKUInfoEntity skuInfoEntity) throws Exception;\r\n \r\n /**\r\n * 查询SKU库存所有信息\r\n * \r\n * @param credential\r\n * @param skuId\r\n * @return\r\n */\r\n SKUAllWarehouseInfoEntity findSKUALLWarehouseInfosById(CredentialEntity credential, String skuId) throws Exception;\r\n \r\n}", "public interface UserService {\n /**\n * description: 用户登录\n * version: 1.0\n * date: 2021/1/11 22:38\n * author: LIBEL\n *\n * @param param\n * @return com.adp.FTXSecurity.model.vo.UserVo\n */\n UserVo login(LoginParam param);\n\n /**\n * description: 更新用户信息\n * version: 1.0\n * date: 2021/1/11 22:40\n * author: LIBEL\n *\n * @param param\n * @return void\n */\n void update(UserParam param);\n\n /**\n * description: 新增用户信息\n * version: 1.0\n * date: 2021/1/11 22:40\n * author: LIBEL\n *\n * @param param\n * @return void\n */\n void createUser(UserEntity param);\n}", "public interface GoodsTypeService {\n /**\n * 更新商品类型\n *\n * @param gtn\n * @return\n */\n public int updateGoodsTypeTN(GoodsType gtn);\n /**\n * 添加商品规格关系\n * @param goodsType\n * @return\n */\n public int addGoodsType(GoodsType goodsType);\n}", "public interface BranchService extends Service<Branch, Long> {\n}", "public interface HelloService {\n String hello(User user);\n}", "abstract protected void doService(HttpServletRequest request,\r\n\t\t\t\t\t\t\t\t\t HttpServletResponse response) throws ServletException, IOException,ApplicationException;", "public interface UserService extends BaseService {\n\n ServiceResultHander getPage(int pn, String name);\n\n ServiceResultHander insert(User user);\n\n ServiceResultHander update(Integer id, String name, Integer age);\n\n ServiceResultHander delete(Integer id);\n}", "private static void startService() {\n //noinspection deprecation\n setPort(configuration.getPort());\n get(\":version/route/:user\", (request, response) -> {\n try {\n String apiVersion = request.params(\":version\");\n String user = request.params(\":user\");\n String version = request.headers(\"version\"); \n if (!isValidApiVersion(apiVersion)) {\n response.status(400);\n return new RouteResponse(\"Wrong API version\", \"400\", \"\");\n }\n return new RouteResponse(splitter.getGroupForUser(user)); // no overhead measured compared to using string concat or StringBuilder\n } catch (Exception e) {\n logger.error(\"Problem serving the request.\", e);\n response.status(500);\n return new RouteResponse(e.getMessage(), \"500\", \"\");\n }\n }, new JsonTransformer());\n }", "public interface FirewallAsService extends RestService {\n\n /**\n * <p>OpenStack Firewall As a Service <code>(FwaaS) : Firewall</code> Operations API</p>\n *\n * <p>Represents a logical firewall resource that a tenant can instantiate and manage. A firewall is associated with one firewall policy.</p>\n *\n * @return the Firewall Service API\n */\n FirewallService firewall();\n\n /**\n * <p>OpenStack Firewall As a Service <code>(FwaaS) : Firewall Rule</code> Operations API</p>\n *\n * <p>Represents a collection of attributes like ports, ip addresses which define match\n * criteria and action (allow, or deny) that needs to be taken on the matched data traffic</p>\n *\n * @return the Firewall Rule Service API\n */\n FirewallRuleService firewallrule();\n\n /**\n * <p>OpenStack Firewall As a Service <code>(FwaaS) : Firewall Policy</code> Operations API</p>\n *\n * <p>Represents an ordered collection of firewall rules. A firewall policy can be shared across tenants.\n * Thus it can also be made part of an audit workflow wherein the firewall_policy can be audited by the\n * relevant entity that is authorized (and can be different from the tenants which create or use the firewall policy).\n *\n * @return the Firewall Policy Service API\n */\n FirewallPolicyService firewallpolicy();\n}", "@Override\n protected void configure() {\n bind(OperationPerformingService.class);\n }", "public interface CommonUserInfoService extends AbstractInterfaceService<UserInfo, Long> {\n \n public UserInfo getByScoinId(Long ScoinId) throws ScoinBusinessException;\n \n public Long scoinSSO(String accessToken) throws ScoinBusinessException;\n\n}", "public interface OrderedProductService extends Service<OrderedProduct> {\n}", "public abstract IOpipeService service();", "@Component\npublic interface PowerService {\n /**\n * 获取权限数据(获取登陆人的角色对应所有权限)\n * @return\n */\n List<TreeNode> getPowerList();\n\n /**\n * 根据登陆角色信息,查询对应权限,出对应的权限树\n * @param\n * @return\n */\n List<TreeNode> getCheckList(Integer roleid);\n\n /**\n * tb_role_power 往角色权限关联表添加数据\n * @param role\n * @return\n */\n int saveRolePower(TbRole role);\n\n /**\n * 根据ID获取集合对象(不用)\n * @param powerId\n * @return\n */\n Map<String,Object> getById(int powerId);\n\n /**\n * 权限树更新操作 根据id获取权限的 信息\n * @param id\n * @return\n */\n TreeNode getPowerById(Integer id);\n\n /**\n * 修改\n * @param map\n * @return\n */\n int update(Map map);\n\n /**\n * 添加\n * @param map\n * @return\n */\n int add(Map map);\n\n /**\n * 删除\n * @param powerId\n * @return\n */\n int delete(Integer powerId);\n\n /**\n * 获取所有的权限树(easyui)\n * @return\n */\n List<Permission> getTreeList();\n\n /**\n * 获取所有的权限树2(easyui)\n * @return\n */\n List<Permission> gettreeList();\n\n /**\n * 修改(vue+element ui)\n * @param map\n * @return\n */\n int updateMenu(Map map);\n\n /**\n * 添加(vue+element ui)\n * @param map\n * @return\n */\n int addMenu(Map map);\n\n\n /**\n * 表单唯一性验证\n * @param label\n * @return\n */\n List<Map> getLabel(String label);\n}", "@Service\npublic interface LogService {\n\n List<Droplog> getDroplogByID(int traineeid) throws Exception;\n\n List<Exchangelog> getExchangelogByID(int traineeid) throws Exception;\n\n List<Rechargelog> getRechargelogByID(int traineeid) throws Exception;\n\n List<Rechargelog> getAllRechargelog() throws Exception;\n\n List<Subscribelog> getSubscribelogByID(int traineeid) throws Exception;\n\n List<Unsubscribelog> getUnsubscribelogByID(int traineeid) throws Exception;\n\n List<Subscribelog> getSubscribelogByCourse(int courseid) throws Exception;\n\n List<Unsubscribelog> getUnsubscribelogByCourse(int courseid) throws Exception;\n\n List<Droplog> getDroplogByCourse(int courseid) throws Exception;\n\n List<Settlelog> getSettlelogByinstitutionid(int institutionid) throws Exception;\n}", "@RemoteServiceRelativePath(\"solr-system\")\npublic interface SolrSystemService extends RemoteService {\n\n\t/**\n\t * Create a new system\n\t * \n\t * @param systemDTO\n\t * The system to create\n\t * @param userDTO\n\t * The user that creates the system\n\t */\n\tvoid createSolrSystem(SolrSystemDTO systemDTO, UserDTO userDTO);\n\n\t/**\n\t * Update a selected system\n\t * \n\t * @param systemDTO\n\t * The system to update\n\t * @param userDTO\n\t * The user that updates the system\n\t */\n\tvoid updateSolrSystem(SolrSystemDTO systemDTO, UserDTO userDTO);\n\n\t/**\n\t * Delete a system\n\t * \n\t * @param systemDTO\n\t * The system to delete\n\t * @param userDTO\n\t * The user that deletes the system\n\t */\n\tvoid deleteSolrSystem(SolrSystemDTO systemDTO, UserDTO userDTO);\n\n\t/**\n\t * Show a list of all the systems the system can communicate with\n\t * \n\t * @param userDTO\n\t * the user that requested the systems\n\t * @return A list of all the available systems\n\t */\n\tList<SolrSystemDTO> showAllSolrSystems(UserDTO userDTO);\n\n\tboolean optimize(SolrSystemDTO sustemDTO, UserDTO userDTO);\n}", "public interface ProductService {\n\n\t/**\n\t * Method gets a product based on the automatically generated productId\n\t * Primary Key\n\t * \n\t * @param productId\n\t * @return Product\n\t */\n\tProduct getProductById(Integer productId);\n\n\t/**\n\t * Method gets a product based on the provided product name\n\t * \n\t * @param productName\n\t * Name of the product\n\t * @return Product\n\t */\n\tProduct getProductByProductName(String productName);\n\n\t/**\n\t * Method registers a product based on the information filled on product\n\t * form\n\t * \n\t * @param userDTO\n\t * @return User\n\t */\n\tProduct registerProduct(ProductDTO productDTO);\n\n\t/**\n\t * Method marks a product record as deleted in the database based on the\n\t * provided productName and return true as boolean result on success\n\t * \n\t * @param productDTO\n\t * @param authentication\n\t * Spring Security Authentication object to acquire admin details\n\t * @return boolean\n\t */\n\tboolean deleteProduct(ProductDTO productDTO, Authentication authentication);\n\n\t/**\n\t * Method gets a list of all the products in the database\n\t * \n\t * @return List of all the products ordered by the productName\n\t */\n\tList<Product> getAllProducts();\n\n\t/**\n\t * Method gets a list of all the products in the database belonging to the\n\t * category provided\n\t * \n\t * @param category\n\t * Category of the product\n\t * @return List of all the products based on provided category\n\t */\n\tList<Product> getProductsByCategory(String category);\n\n\t/**\n\t * Method updates a product based on the information filled on product\n\t * update form\n\t * \n\t * @param productDTO\n\t * @param authentication\n\t * Spring Security Authentication object to acquire admin details\n\t * @return updated product\n\t */\n\n\tProduct updateProductDetails(ProductDTO productDTO, Authentication authentication);\n\n\t/**\n\t * Method finds top 5 products sorted in a descending order indicating which\n\t * products have the highest quantity sold\n\t * \n\t * @return List of products based sorted in a descending order based on the\n\t * quantity sold\n\t */\n\tList<Product> getTop5ProductsByQuantitySold();\n\n\t/**\n\t * Method gets a list of products whose productName or short description\n\t * containing the provided productName and short description\n\t * \n\t * @param productSearchString\n\t * The entered search string for product\n\t * @return The list of products containing the supplied search string\n\t */\n\tList<Product> getProductsContainingProductNameOrShortDescription(String productSearchString);\n\n\t/**\n\t * Method counts the number of products in the system\\database\n\t * \n\t * @return the number of products in the system\n\t */\n\tlong countNumberOfProductsInDatabase();\n}", "public interface UserAuthorityService extends AbstractService<UserAuthority, Long> {\n\n void grantNormalAuth(Long userId);\n}", "public interface SellOrderService extends BaseService {\n\n /**\n * 根据订单Id获取订单信息\n *\n * @param sellOrderId\n *\n * @return\n */\n public SellOrder selectById(Long sellOrderId);\n\n /**\n * 保存购买订单\n *\n * @param sellOrder\n *\n * @return\n */\n public int saveSellOrder(SellOrder sellOrder);\n\n /**\n * 根据购买订单号获取订单详情\n *\n * @param sellOrderSn\n *\n * @return\n */\n public SellOrder getSellOrderBySn(String sellOrderSn);\n\n /**\n * 根据购买订单号和电话 获取订单详情\n *\n * @param mobile\n * @param sellOrderSn\n *\n * @return\n */\n public SellOrder getSellOrderByMobileAndSn(String mobile, String sellOrderSn);\n\n /**\n * 根据电话号码获取 购买订单列表\n *\n * @param mobile\n *\n * @return\n */\n public List<SellOrder> getSellOrderListByMobile(String mobile);\n\n /**\n * 根据id更新sellOrder\n *\n * @param sellOrder\n *\n * @return\n */\n public int updateSellOrderById(SellOrder sellOrder);\n\n}", "public interface CommonService {\n public String getUUID() throws Exception;\n\n public List<NlbsDistributor> selectChildrenListDistributor(String distributorCode) throws Exception;\n\n public List<NlbsUser> selectChildrenListUser(String userCode) throws Exception;\n\n List<Map> queryAllMaterialTypeList() throws Exception;\n\n List<Map> queryAllApplyRecordStatusList() throws Exception;\n\n List<NlbsCity> queryAllCity() throws Exception;\n\n public NlbsUser queryNlbsUserByUserNoIgnoreStatus(String userNo) throws Exception;\n\n public boolean isAdministrator(String userNo, List<String> roleList) throws Exception;\n\n}", "public interface SuperviseMatterService extends Serializable, Tools {\n\n /**\n * 同意督办回复\n *\n * @param token\n * @param superviseMatterId\n * @return\n */\n Object approvalSuperviseMatter(String token, String superviseMatterId);\n\n /**\n * 回复督办事项\n *\n * @param token\n * @param variables\n * @return\n */\n Object replySuperviseMatter(String token, Map variables);\n\n /**\n * 选择反馈方式\n *\n * @param feedbackMode\n * @param token\n * @return\n */\n Object choiceFeedbackMode(String superviseMatterId, Integer feedbackMode, String token);\n\n /**\n * 确认督办\n *\n * @param token\n * @param variables\n * @return\n */\n Object confirm(String token, Map variables);\n\n /**\n * 获取督办事项详情\n *\n * @param token\n * @param superviseMatterId\n * @return\n */\n Object getSuperviseMatter(String token, String superviseMatterId);\n\n /**\n * 督办事项列表\n *\n * @param token\n * @param page\n * @param number\n * @return\n */\n Object listSuperviseMatter(String token, String action, Boolean value, int page, int number);\n\n /**\n * 获取督办事件 表单\n *\n * @param token\n * @return\n */\n Object getSuperviseMatterFromData(String token);\n\n /**\n * 上报督办事件\n *\n * @param token\n * @param taskForm\n * @return\n */\n Object saveSuperviseMatter(String token, Map taskForm);\n\n /**\n * 读取文件信息\n *\n * @param file\n * @return\n */\n default StringBuffer getFormData(File file) {\n BufferedReader bufferedReader = null;\n StringBuffer stringBuffer = new StringBuffer();\n try {\n bufferedReader = new BufferedReader(new InputStreamReader(new FileInputStream(file), \"utf-8\"));\n String line = null;\n while (null != (line = bufferedReader.readLine())) {\n stringBuffer.append(line);\n }\n } catch (Exception exception) {\n exception.printStackTrace();\n } finally {\n if (null != bufferedReader) {\n try {\n bufferedReader.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n return stringBuffer;\n }\n }\n}" ]
[ "0.6776268", "0.61306787", "0.6039118", "0.6034715", "0.60305756", "0.60287726", "0.6022374", "0.6014405", "0.6005178", "0.59717244", "0.5970451", "0.5961487", "0.59366435", "0.59325284", "0.5910066", "0.59014887", "0.58947855", "0.5866158", "0.58569795", "0.58565617", "0.58552724", "0.5842548", "0.5822208", "0.58199376", "0.58160347", "0.58148426", "0.581365", "0.5812877", "0.5812423", "0.5811511", "0.5802892", "0.5798219", "0.5789384", "0.57830864", "0.57820594", "0.5781183", "0.5779289", "0.5775433", "0.57732946", "0.5760435", "0.57594085", "0.5755434", "0.5753387", "0.57514125", "0.57503986", "0.5749363", "0.5744614", "0.5744614", "0.5744614", "0.57395905", "0.57394934", "0.57368153", "0.57324606", "0.57323444", "0.57254446", "0.5722774", "0.57217664", "0.5719129", "0.57172954", "0.57136655", "0.5706997", "0.5702011", "0.56951463", "0.5694615", "0.5689014", "0.5685458", "0.56809855", "0.5680422", "0.56787485", "0.56756645", "0.56756645", "0.56756645", "0.567245", "0.56719667", "0.56709284", "0.56689984", "0.566811", "0.56673634", "0.56673306", "0.5663206", "0.56611866", "0.5654108", "0.5653011", "0.56516606", "0.5650326", "0.5643535", "0.5639064", "0.56339526", "0.5629024", "0.5623799", "0.5623687", "0.56201714", "0.56163275", "0.5616277", "0.561441", "0.5610644", "0.56081116", "0.56051016", "0.55999094", "0.5599811", "0.5599751" ]
0.0
-1
3. getters and setters
public Product( String title, float price, ProductType type, Customer customer) { this.title = title; this.price = price; this.type = type; this.customer = customer; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void get() {}", "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "protected abstract Set method_1559();", "public void get() {\n }", "@Test\n public void testSongGettersSetters() {\n Integer id = 4;\n String title=\"title\",uri = \"uri\";\n\n Song song = new Song();\n song.setId(id);\n song.setTitle(title);\n song.setUri(uri);\n\n assertEquals(\"Problem with id\",id, song.getId());\n assertEquals(\"Problem with title\",title, song.getTitle());\n assertEquals(\"Problem with uri\",uri, song.getUri());\n }", "public String get();", "public int getAge() {return age;}", "@Override\n String get();", "@Test\r\n\tpublic void testGettersSetters()\r\n\t{\r\n\t\tPerson p = new Person(42);\r\n\t\tp.setDisplayName(\"Fred\");\r\n\t\tassertEquals(\"Fred\", p.getFullname());\r\n\t\tp.setPassword(\"hunter2\");\r\n\t\tassertEquals(\"hunter2\", p.getPassword());\r\n\t\tassertEquals(42, p.getID());\r\n\t}", "public void setAge(int age) { this.age = age; }", "public abstract String get();", "public T get() {\n return value;\n }", "public T get() {\n return value;\n }", "public T get() {\n return value;\n }", "public int getAge(){\n return age;\n }", "public V get() {\n return value;\n }", "private ReadProperty()\r\n {\r\n\r\n }", "@Test\r\n\tpublic void gettersSettersTest() {\r\n\t\tItem item = new Item();\r\n\t\titem.setCount(NUMBER);\r\n\t\tassertEquals(item.getCount(), NUMBER);\r\n\t\titem.setDescription(\"word\");\r\n\t\tassertEquals(item.getDescription(), \"word\");\r\n\t\titem.setId(NUMBER);\r\n\t\tassertEquals(item.getId(), NUMBER);\r\n\t\titem.setName(\"word\");\r\n\t\tassertEquals(item.getName(), \"word\");\r\n\t\titem.setPicture(\"picture\");\r\n\t\tassertEquals(item.getPicture(), \"picture\");\r\n\t\titem.setPrice(FLOATNUMBER);\r\n\t\tassertEquals(item.getPrice(), FLOATNUMBER, 0);\r\n\t\titem.setType(\"word\");\r\n\t\tassertEquals(item.getType(), \"word\");\r\n\t\titem.setSellerId(NUMBER);\r\n\t\tassertEquals(item.getSellerId(), NUMBER);\r\n\t\titem.setDeleted(false);\r\n\t\tassertEquals(item.isDeleted(), false);\r\n\t\titem.setDeleted(true);\r\n\t\tassertEquals(item.isDeleted(), true);\t\t\r\n\t}", "public int getlife(){\r\n return life;\r\n}", "public int getArmadura(){return armadura;}", "public int getAge()\r\n {\r\n return age;\r\n }", "String setValue();", "public Object get()\n {\n return m_internalValue;\n }", "public String getValor()\n/* 17: */ {\n/* 18:27 */ return this.valor;\n/* 19: */ }", "public String getNombre()\r\n/* 113: */ {\r\n/* 114:204 */ return this.nombre;\r\n/* 115: */ }", "public Empleado getEmpleado()\r\n/* 183: */ {\r\n/* 184:337 */ return this.empleado;\r\n/* 185: */ }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public void setPrice(double price){this.price=price;}", "public String getValue() {\n/* 99 */ return this.value;\n/* */ }", "public int getAge()\n {\n return age;\n }", "public Empresa getEmpresa()\r\n/* 84: */ {\r\n/* 85:131 */ return this.empresa;\r\n/* 86: */ }", "public String getNombre()\r\n/* 60: */ {\r\n/* 61: 67 */ return this.nombre;\r\n/* 62: */ }", "public int getNumber(){return number;}", "public String getNombre()\r\n/* 17: */ {\r\n/* 18:41 */ return this.nombre;\r\n/* 19: */ }", "public void setNombre(String nombre) {this.nombre = nombre;}", "public int get () { return rating; }", "public String get()\n {\n return this.string;\n }", "public int\t\tget() { return value; }", "public double getPrice(){return price;}", "public int getx(){\r\n return z;\r\n}", "public Student getStudent() { return student; }", "public void setdat()\n {\n }", "public void setNombre(String nombre) {\r\n\tthis.nombre = nombre;\r\n}", "@Test\n\tpublic void get_test()\n\t{\n\t\tb.set(1,2,'x');\n\t\tassertEquals(b.get(1,2),'x');\n\t}", "public int getValue() {\n/* 450 */ return this.value;\n/* */ }", "public int getPrice(){\n return price;\n }", "void setMyProperty1(Integer a) {}", "public void setValor(String valor)\n/* 22: */ {\n/* 23:34 */ this.valor = valor;\n/* 24: */ }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "public Object getNewValue()\n {\n return newValue;\n }", "@Override\n\tpublic void getData() {\n\t\t\n\t}", "public int getYearsOffice()\n {\n return yearsOffice;\n}", "String get();", "String get();", "public int geti(){\r\n return i;\r\n}", "public int getLives(){return lives;}", "public void setAge(int age);", "boolean get();", "private Get() {}", "private Get() {}", "public int getf(){\r\n return f;\r\n}", "public Object getValue(){\n \treturn this.value;\n }", "public Value makeGetter() {\n Value r = new Value(this);\n r.getters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "public Age getAge() {\n return age;\n }", "public int getAge() {\r\n return age;\r\n }", "public int getPrice()\n {\n return price;\n }", "public int getNumber()\n {\n return number;\n}", "public int getPrice(){\n\n return this.price;\n }", "public byte[] get(){\n return this.value;\n }", "public String getEmployee()\r\n/* 38: */ {\r\n/* 39:43 */ return this.employee;\r\n/* 40: */ }", "int getNumber () { return number; }", "public String getSex(){ //\"public\" access allows other classes to retrieve the value of \"sex\", but since there\n // is no setter it cannot be changed from outside the class = Encapsulation/Inkapsling\n return this.sex;\n }", "public Book getBook() \t\t{ return this.myBook; }", "@Test\n public void testSetNombre() {\n System.out.println(\"setNombre\");\n Receta instance = new Receta();\n instance.setNombre(\"nom1\");\n String expResult = \"nom1\";\n String result = instance.getNombre();\n assertEquals(expResult, result);\n }", "public String getNombre(){\n return nombre;\n }", "public String getAuthor(){return author;}", "public int getPrice(){\n return 80;\n }", "public int getNumber(){\r\n return num;\r\n }", "public Address getAddress() { return address; }", "Objet getObjetAlloue();", "int getBlue(){\n\n return this.blue;\n }", "public int getAge() {\n return age;\n }", "public int getAge() {\n return age;\n }", "public int getAge() {\n return age;\n }", "public int getAge() {\n return age;\n }", "public int getAge() {\n return age;\n }", "public int getAge() {\n return age;\n }", "public int getAge() {\n return age;\n }", "public int getAge() {\n return age;\n }", "@Test\n public void test_getTelephone() {\n String value = \"new_value\";\n instance.setTelephone(value);\n\n assertEquals(\"'getTelephone' should be correct.\",\n value, instance.getTelephone());\n }", "public Object getValue() { return _value; }", "public String getNombre(){\n return nombre;\n }", "public int getSet() {\n return set;\n }", "public double getWage(){\r\n return wage; \r\n }", "public int getAge() {\n\t \t return age; \n\t}", "public int value() { \n return this.value; \n }", "public void setNombre(String nombre){\n this.nombre =nombre;\n }", "@Override\n\tpublic void get() {\n\t\tSystem.out.println(\"this is get\");\n\t}", "@Test\r\n\tpublic void test_setter_and_getter_title(){\r\n\t\ttestClassDefinition();\r\n\t\tBook c = new BookMock(\"Old Title\", 1);\r\n\t\tc.setTitle(\"New Title\");\r\n\t\tassertEquals(\"Changed title\", \"New Title\", c.getTitle());\r\n\t}", "@Override\n protected void updateProperties() {\n }", "@Override\n\n // <editor-fold defaultstate=\"collapsed\" desc=\" UML Marker \"> \n // #[regen=yes,id=DCE.E1700BD9-298C-DA86-4BFF-194B41A6CF5E]\n // </editor-fold> \n protected String getProperties() {\n\n return \"Size = \" + size + \", Index = \" + value;\n\n }" ]
[ "0.67562383", "0.6610504", "0.65991557", "0.65701765", "0.6497312", "0.64583707", "0.64561945", "0.64528465", "0.6431752", "0.63593256", "0.63545334", "0.6327159", "0.6327159", "0.6325381", "0.6294475", "0.6231215", "0.62156683", "0.6194748", "0.61754173", "0.6168695", "0.61680645", "0.6153213", "0.61196214", "0.6117985", "0.6095959", "0.609511", "0.6083092", "0.6071844", "0.6049542", "0.60473704", "0.6038341", "0.60338074", "0.60289776", "0.60282034", "0.6018173", "0.60136724", "0.60066754", "0.59970206", "0.59949887", "0.5992624", "0.59901065", "0.5984576", "0.59798765", "0.597714", "0.5965403", "0.59384793", "0.59371567", "0.5934093", "0.5931594", "0.5926621", "0.591838", "0.5907297", "0.59061295", "0.59061295", "0.58965224", "0.5889228", "0.58869654", "0.58819854", "0.5881827", "0.5881827", "0.58665293", "0.5866015", "0.5863597", "0.5857388", "0.58556086", "0.58521295", "0.58489925", "0.5842669", "0.58342713", "0.58287925", "0.58226895", "0.5822048", "0.5821294", "0.5820793", "0.58206916", "0.58197457", "0.5813404", "0.5813079", "0.58092576", "0.58068144", "0.5804357", "0.5803512", "0.5803512", "0.5803512", "0.5803512", "0.5803512", "0.5803512", "0.5803512", "0.5803512", "0.57931983", "0.5788274", "0.5783815", "0.5779795", "0.5761563", "0.5758704", "0.5746689", "0.5743979", "0.57439387", "0.57414514", "0.5739122", "0.5737906" ]
0.0
-1
Attempt to log a user using given credentials.
@Override public boolean login(String username, String password) { try { password = resolve(Hasher.class).hash(password); List<User> users = this.getRepository().findByFields(new String[]{"username", username}, new String[]{"password", password}); if (!users.isEmpty()) { this.user = users.get(0); return true; } } catch (SQLException e) { resolve(EventBus.class).fire(new ErrorEvent(e)); } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "LoggedUser authenticate(@Valid AccountCredentials credentials) throws IOException;", "public void authenticate(LoginCredentials credentials) throws LoginException;", "public User doAuthentication(String account, String password);", "void login(String user, String password);", "public void loginUser(String username, String password)\n throws UserDetailsDoNotExistException, UserDetailsIncorrectException {\n currentUser = login.loginUser(username, password);\n }", "public void logMe(String username){\r\n\t\tif(controller.isUsernameValid(username,1)){\r\n\t\t\tString password= \"\";\r\n\t\t\tdisplay(\"Enter your password: \");\r\n\t\t\tpassword = sc.nextLine();\r\n\t\t\tcontroller.log(username, password);\r\n\t\t}\r\n\t}", "public void propagateCredentials( User user, String password );", "public User logInUser(final String login, final String password);", "public void login(String userCredentials, String pass) {\r\n driver.findElement(loginTab).click();\r\n driver.findElement(username).sendKeys(userCredentials);\r\n driver.findElement(password).sendKeys(pass);\r\n driver.findElement(loginBtn).click();\r\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n mUsrView.setError(null);\n mPasswordView.setError(null);\n\n String usr = mUsrView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n Tuple<String, String> creds = /*getCredentials()*/ SERVER_CREDENTIALS;\n\n boolean cancel = false;\n View focusView = null;\n\n if (!TextUtils.isEmpty(password)) {\n if (!mPasswordView.getText().toString().equals(creds.y)) {\n if (Util.D) Log.i(\"attemptLogin\", \"pwd was \" + mPasswordView.getText().toString());\n mPasswordView.setError(getString(R.string.error_incorrect_creds));\n cancel = true;\n }\n focusView = mPasswordView;\n }\n\n if (TextUtils.isEmpty(usr)) {\n mUsrView.setError(getString(R.string.error_field_required));\n focusView = mUsrView;\n cancel = true;\n } else if (!usr.equals(creds.x)) {\n mUsrView.setError(getString(R.string.error_incorrect_creds));\n focusView = mUsrView;\n cancel = true;\n }\n\n if (cancel) {\n focusView.requestFocus();\n } else {\n if (prefs != null)\n prefs.edit().putBoolean(getString(R.string.settingAuthorized), true);\n showProgress(true);\n mAuthTask = new UserLoginTask(usr, password);\n mAuthTask.execute((Void) null);\n }\n }", "private void attemptLogin() {\n // Reset errors.\n edtID.setError(null);\n edtPassword.setError(null);\n\n // Store values at the time of the login attempt.\n String userId = edtID.getText().toString();\n String password = edtPassword.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (TextUtils.isEmpty(password)) {\n edtPassword.setError(\"Password is empty\");\n focusView = edtPassword;\n cancel = true;\n } else if(!isPasswordValid(password)) {\n edtPassword.setError(getString(R.string.error_invalid_password));\n focusView = edtPassword;\n cancel = true;\n }\n\n // Check for a valid user id.\n if (TextUtils.isEmpty(userId)) {\n edtID.setError(getString(R.string.error_field_required));\n focusView = edtID;\n cancel = true;\n } else if (!isUserIdValid(userId)) {\n edtID.setError(getString(R.string.error_invalid_id));\n focusView = edtID;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n\n JSONObject json = new JSONObject();\n try {\n json.put(\"user_id\", userId);\n json.put(\"password\", password);\n } catch (Exception e) {\n e.printStackTrace();\n }\n reqUserID = userId;\n reqUserPW = password;\n loginConnector.request(json);\n }\n }", "@Override\n public boolean login(String userName, String password) throws WrongCredentialsException, UserDatabaseNotFoundException, WrongUserDatabase {\n actualUser = userRepository.authenticate(userName, password);\n lastUserName = userName;\n return true;\n }", "void loginAttempt(String email, String password);", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mNameView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String name = mNameView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid user name.\n if (TextUtils.isEmpty(name)) {\n mNameView.setError(getString(R.string.error_field_required));\n focusView = mNameView;\n cancel = true;\n } else if (!isNameValid(name)) {\n mNameView.setError(getString(R.string.error_invalid_name));\n focusView = mNameView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(name, password);\n mAuthTask.execute(mUrl);\n }\n }", "public void login(User user);", "public User login(String loginName, String password) throws UserBlockedException;", "void login(String userName) throws IllegalArgumentException, IOException;", "public AuthToken login(UserCreds credentials) throws ResourceNotFoundException, UnauthorizedException {\n User user = getByName(credentials);\n // Check if user is authorized\n if (!user.getUserCreds().equals(credentials)) throw new UnauthorizedException();\n // Generate auth token\n AuthToken token = new AuthToken(user);\n // Return the token\n return token;\n }", "LoginContext login(String username, String password) throws LoginException;", "public void attemptLogin() {\r\n\t\tif (mAuthTask != null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// Reset errors.\r\n\t\tmUserView.setError(null);\r\n\t\tmPasswordView.setError(null);\r\n\t\t// Store values at the time of the login attempt.\r\n\t\tmUser = mUserView.getText().toString();\r\n\t\tmPassword = mPasswordView.getText().toString();\r\n\t\tboolean cancel = false;\r\n\t\tView focusView = null;\r\n\t\t// Check for a valid password.\r\n\t\tif (TextUtils.isEmpty(mPassword)) {\r\n\t\t\tmPasswordView.setError(getString(R.string.error_field_required));\r\n\t\t\tfocusView = mPasswordView;\r\n\t\t\tcancel = true;\r\n\t\t} else if (mPassword.length() < 3) {\r\n\t\t\tmPasswordView.setError(getString(R.string.error_invalid_password));\r\n\t\t\tfocusView = mPasswordView;\r\n\t\t\tcancel = true;\r\n\t\t}\r\n\t\t// Check for a valid username address.\r\n\t\tif (TextUtils.isEmpty(mUser)) {\r\n\t\t\tmUserView.setError(getString(R.string.error_field_required));\r\n\t\t\tfocusView = mUserView;\r\n\t\t\tcancel = true;\r\n\t\t}\r\n\t\tif (cancel) {\r\n\t\t\t// There was an error; don't attempt login and focus the first\r\n\t\t\t// form field with an error.\r\n\t\t\tfocusView.requestFocus();\r\n\t\t} else {\r\n\t\t\t// Show a progress spinner, and kick off a background task to\r\n\t\t\t// perform the user login attempt.\r\n\t\t\tmLoginStatusMessageView.setText(R.string.login_progress_signing_in);\r\n\t\t\tmAuthTask = new UserLoginTask(this);\r\n\t\t\tmAuthTask.execute((Void) null);\r\n\t\t}\r\n\t}", "public void logincredentials() {\n\t\tutil.entertext(prop.getValue(\"locators.text.uname\"), \"admin\");\n\t\tutil.entertext(prop.getValue(\"locators.text.password\"), \"Admin123\");\n\t\tutil.ClickElement(prop.getValue(\"locators.button.regdesk\"));\n\t\tutil.ClickElement(prop.getValue(\"locators.button.login\"));\n\t\tlogreport.info(\"logged into the application\");\n\n\t}", "@When(\"^User login into the app with username and password$\")\n\tpublic void user_login_to_the_app_with_username_and_password() {\n\t\tSystem.out.println(\"User is logged\");\n\t}", "User login(String username, String password);", "@When(\"^The user logs in \\\"([^\\\"]*)\\\" and \\\"([^\\\"]*)\\\"$\")\r\n\tpublic void the_user_logs_in(String username, String password) throws Throwable {\n\t\tfaceAgile.login(username, password);\r\n\t}", "@Override\n\tpublic UserDetailsBean login(UserDetailsBean userDetailsBean) {\n\t\treturn userDao.login(userDetailsBean);\n\t}", "@Override\n public AuthenticatedUser authenticateUser(Credentials credentials)\n throws GuacamoleException {\n SSOAuthenticationProviderService authProviderService =\n injector.getInstance(SSOAuthenticationProviderService.class);\n\n return authProviderService.authenticateUser(credentials);\n\n }", "@Override\n\tpublic User login(User user) {\n\t\treturn userMapper.login(user);\n\t}", "private void attemptLogin() {\n if (authTask != null) {\n return;\n }\n\n // Reset errors.\n usernameView.setError(null);\n passwordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = usernameView.getText().toString();\n String password = passwordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n passwordView.setError(getString(R.string.error_invalid_password));\n focusView = passwordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n usernameView.setError(getString(R.string.error_field_required));\n focusView = usernameView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n usernameView.setError(getString(R.string.error_invalid_email));\n focusView = usernameView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n\n //set loginID for session\n session.setID(email);\n\n startDashboard();\n /*authTask = new UserLoginTask(email, password);\n authTask.execute((Void) null);*/\n }\n }", "public User login(Credentials creds) throws InvalidCredentialsException, MultipleLoginException, UserInactiveException {\r\n//\t\tLogManager.getLogger().info( \"Current sessions: \" + irpSessionRepository.count() );\r\n//\t\tLogManager.getLogger().info( \"Current Locks: \" + irpLockRepository.count() );\r\n\r\n \tString md5password = passwordManager.hashMC( creds.getPassword() );\r\n\t\tString schema = dhh.getSchema();\r\n\r\n//\t\ttry {\r\n//\t\t\tInteger uc = getDataSource().queryForObject(\"select usercode from \" + schema + \".USERACCOUNT where username = ? and password = ?\", Integer.class, creds.getUsername(), md5password);\r\n//\t\t\tAppSession is = irpSessionRepository.find( uc );\r\n//\r\n//\t\t\tif ( is == null ) {\r\n//\t\t\t\tApplicationParameter ap = apr.findParam(ApplicationParameterType.GENERAL, 1, 6); // EVALUATOR param\r\n//\t\t\t\tUser u = userRepository.find( uc );\r\n//\r\n//\t\t\t\tif ( ap.getParameterValueInt() == 0 ) {\r\n//\t\t\t\t\tif ( u.getUserAccount().hasRole( 7 ) ) {\r\n//\t\t\t\t\t\t// Evaluators should not login!\r\n//\t\t\t\t\t\tLogManager.getLogger().warn(\"Evaluator Cannot login. Evaluator flow NOT enabled\");\r\n//\t\t\t\t\t\tthrow new UserInactiveException( creds );\r\n//\t\t\t\t\t}\r\n//\t\t\t\t\tif ( u.getPosition() > 0 &&\r\n//\t\t\t\t\t\t\t( u.getUserAccount().hasRole( 3 ) || u.getUserAccount().hasRole( 4 ) || u.getUserAccount().hasRole( 5 ) )) {\r\n//\t\t\t\t\t\tLogManager.getLogger().warn(\"Branch User Cannot login. Evaluator flow NOT enabled\");\r\n//\t\t\t\t\t\tthrow new UserInactiveException( creds );\r\n//\t\t\t\t\t}\r\n//\t\t\t\t} else {\r\n//\t\t\t\t\tif ( ap.getFailCode() != 1 ) {\r\n//\t\t\t\t\t\tif ( u.getPosition() > 0 &&\r\n//\t\t\t\t\t\t\t\t( u.getUserAccount().hasRole( 3 ) || u.getUserAccount().hasRole( 4 ) || u.getUserAccount().hasRole( 5 ) )) {\r\n//\t\t\t\t\t\t\tLogManager.getLogger().warn(\"Branch User Cannot login. Branches in Evaluator flow NOT enabled\");\r\n//\t\t\t\t\t\t\tthrow new UserInactiveException( creds );\r\n//\t\t\t\t\t\t}\r\n//\t\t\t\t\t}\r\n//\t\t\t\t}\r\n//\t\t\t\tirpSessionRepository.create(creds.getFromIp(), uc);\r\n//\t\t\t\tu.getUserAccount().setLastlogin( new Date() );\r\n//\t\t\t\tuserAccountRepository.persist( u.getUserAccount() );\r\n//\t\t\t\tdhh.logLogin(creds.getUsername(), \"AUTHENTICATION_SUCCEEDED\", null, null, null, null);\r\n//\t\t\t\treturn u;\r\n//\t\t\t} else {\r\n//\t\t\t\tthrow new MultipleLoginException();\r\n//\t\t\t}\r\n//\t\t} catch (Exception e) {\r\n//\t\t\tif ( e instanceof UserInactiveException) {\r\n//\t\t\t\tdhh.logLogin(creds.getUsername(), \"USER_INACTIVE\", null, null, null, null);\r\n//\t\t\t\tthrow e;\r\n//\t\t\t}\r\n//\t\t\tif ( e instanceof MultipleLoginException) {\r\n//\t\t\t\tdhh.logLogin(creds.getUsername(), \"ALREADY_LOGGED_IN\", null, null, null, null);\r\n//\t\t\t\tthrow e;\r\n//\t\t\t}\r\n//\t\t\tdhh.logLogin(creds.getUsername(), \"AUTHENTICATION_FAILED\", null, null, null, null);\r\n//\t\t\tthrow new InvalidCredentialsException(creds);\r\n//\t\t}\r\n\t\treturn null;\r\n\t}", "public static void login() {\n\t\t\n\t\t\n\n\t\twhile(!userIsLogged) {\n\n\t\t\tSystem.out.println(\"--> LOGIN <--\");\n\n\t\t\tString username = \"\";\n\t\t\tString password = \"\";\n\n\t\t\tdo {\n\t\t\t\tSystem.out.print(\"Username: \");\n\t\t\t\tusername = Main.scanner.nextLine();\n\t\t\t\tSystem.out.print(\"Password: \");\n\t\t\t\tpassword = Main.scanner.nextLine();\n\n\t\t\t\tif(username.isEmpty() && password.isEmpty()) {\n\t\t\t\t\tSystem.out.println(\"\\n>> Username or Password not inserted\\n\");\n\t\t\t\t}\n\n\t\t\t} while (username.isEmpty() && password.isEmpty());\n\n\n\t\t\tfor (Person person : userList) {\n\t\t\t\tif (person.getUsername().equals(username) && person.getPassword().equals(password)) {\n\t\t\t\t\t// loging correct\n\t\t\t\t\tloggedUser = person;\n\t\t\t\t\tuserIsLogged = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(!userIsLogged) {\n\t\t\t\tSystem.out.println(\"\\n>> Wrong username or password\\n\");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"Welcome \" + loggedUser.getName() + \" \" + loggedUser.getSurname());\n\t}", "@Override\r\n\tpublic User login(User u) throws Exception {\n\t\treturn userRepository.login(u);\r\n\t}", "public void attemptLogin(boolean isLoggedIn, int uID, String email, String firstName,\n String lastName, String userRole) {\n spEditor.putBoolean(LOGGEDIN_KEY, isLoggedIn);\n\n if (isLoggedIn) {\n spEditor.putInt(USER_ID, uID);\n spEditor.putString(USER_EMAIL, email);\n spEditor.putString(USER_FIRST, firstName);\n spEditor.putString(USER_LAST, lastName);\n spEditor.putString(USER_ROLE, userRole);\n }\n\n spEditor.commit();\n }", "@Override\r\n\tpublic User login(User user) {\n\t\treturn userdao.findByUserId(user.getId());\r\n\t}", "@Override\n public void performLogin(String account, String password) {\n performLoginInternal(1, account, password);\n }", "void login(String email, String password) throws InvalidCredentialsException, IOException;", "public User logUser(String username, String password) throws Exception {\n if(username == null || password == null) {\n throw new Exception(\"username or password null\");\n }\n User user = getUserByUserName(username)\n .orElseThrow(() -> new Exception(\"User not found for this username :: \" + username));\n if(passwordEncoder.matches(password, user.getPassword())) {\n return user;\n }\n return null;\n }", "public void doLogin() throws IOException {\n if (principal != null) {\n LOG.info(\n \"Attempting to login to KDC using principal: {} keytab: {}\", principal, keytab);\n UserGroupInformation.loginUserFromKeytab(principal, keytab);\n LOG.info(\"Successfully logged into KDC\");\n } else if (!isProxyUser(UserGroupInformation.getCurrentUser())) {\n LOG.info(\"Attempting to load user's ticket cache\");\n UserGroupInformation.loginUserFromSubject(null);\n LOG.info(\"Loaded user's ticket cache successfully\");\n } else {\n throwProxyUserNotSupported();\n }\n }", "@Override\n\tpublic User login(String username) {\n\t\treturn userDao.login(username);\n\t}", "@Override\n\tpublic void loginAuth(String userId, String password) {\n\t\tUserDTO loginUserInfo = loginDao.loginAuthDAO(userId);\n\t}", "private void login(String username,String password){\n\n }", "public void login(String username, String password)\n \t\t\tthrows IllegalStateException, IOException, JHGDException {\n \t\tif (!connected) {\n \t\t\tthrow new IllegalStateException(\"Client not connected\");\n \t\t}\n \t\t// Set SSL if necessary\n \n \t\t// Reset the authentication flag.\n \t\tauthenticated = false;\n \n \t\t// Check received parameters\n \t\tif (username == null || username.isEmpty()) {\n \t\t\tthrow new JHGDException(\"Null or empty username\");\n \t\t}\n \t\tif (password == null) {\n \t\t\tthrow new JHGDException(\"Null password\");\n \t\t}\n \n \t\t// send the command: \"user|%s|%s\"\n \t\tsendLineCommand(\"user|\" + username + \"|\" + password);\n \n \t\tString returnMessage = (String) input.readLine();\n \t\t// check server response\n \t\tif (checkServerResponse(returnMessage) == HGDConsts.SUCCESS) {\n \t\t\t// set the flags\n \t\t\tthis.authenticated = true;\n \t\t\tthis.username = username;\n \t\t\tthis.password = password;\n \t\t} else {\n \t\t\tthrow new JHGDException(returnMessage.substring(returnMessage\n \t\t\t\t\t.indexOf('|') + 1));\n \t\t}\n \n \t}", "public static void userLogin(Context context)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\t\r\n\t\t\r\n\t\t\tString username = context.formParam(\"myUsername\");\r\n\t\t\tString password = context.formParam(\"myPassword\");\r\n\t\t\t\r\n\t\t\tif(myAccountServ.attemptLoginServiceLayer(username, password)) //if true then get user account from DB\r\n\t\t\t{\r\n\t//\t\t\tSystem.out.println(myAccountServ.getMyAccountFromDatabase(username, password));\r\n\t\t\t\tcontext.sessionAttribute(\"currentUser\", myAccountServ.getMyAccountFromDatabase(username, password)); //set session to user account info\r\n\t//\t\t\tSystem.out.println(((Account)context.sessionAttribute(\"currentUser\")));\r\n\t//\t\t\tSystem.out.println(((Account)context.sessionAttribute(\"currentUser\")).getRoleId() == 1);\r\n\t\t\t\tif(((Account)context.sessionAttribute(\"currentUser\")).getRoleId() == 1)//check user role id if they employeee\r\n\t\t\t\t{\r\n\t\t\t\t\t//take me to the employee page\r\n\t\t\t\t\tcontext.redirect(\"/html/employee-page.html\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(((Account)context.sessionAttribute(\"currentUser\")).getRoleId() == 0) // or if they manager\r\n\t\t\t\t{\r\n\t\t\t\t\tcontext.redirect(\"/html/manager-page.html\");\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\telse//if we failed login attempt... send us back to login page aka \"/index.html\"\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"not correct credentials\");\r\n\t\t\t\tcontext.redirect(\"/index.html\");\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\tLogging.error(e);\r\n\t\t}\r\n\t\t\r\n//\t\tSystem.out.println(\"username: \" + username);\r\n//\t\tSystem.out.println(\"pssword: \" + password);\r\n\t}", "public void attemptLogin() {\n\n\t\t// Reset errors.\n\t\tmUserView.setError(null);\n\t\tmPasswordView.setError(null);\n\n\t\t// Save values.\n\t\tmUser = mUserView.getText().toString();\n\t\tmPassword = mPasswordView.getText().toString();\n\n\t\tboolean cancel = false;\n\t\tView focusView = null;\n\n\t\t// Check for a valid password.\n\t\tif (TextUtils.isEmpty(mPassword)) {\n\t\t\tmPasswordView.setError(getString(R.string.error_field_required));\n\t\t\tfocusView = mPasswordView;\n\t\t\tcancel = true;\n\t\t} else if (mPassword.length() < 4) {\n\t\t\tmPasswordView.setError(getString(R.string.error_invalid_password));\n\t\t\tfocusView = mPasswordView;\n\t\t\tcancel = true;\n\t\t}\n\n\t\t// Check for a valid user.\n\t\tif (TextUtils.isEmpty(mUser)) {\n\t\t\tmUserView.setError(getString(R.string.error_field_required));\n\t\t\tfocusView = mUserView;\n\t\t\tcancel = true;\n\t\t} else if (mUser.length() < 4) {\n\t\t\tmUserView.setError(getString(R.string.error_invalid_user));\n\t\t\tfocusView = mUserView;\n\t\t\tcancel = true;\n\t\t}\n\t\t\t\t\n\t\tif (cancel) {\n\t\t\t// There is an error, so registration does not success and focus on the error.\n\t\t\tfocusView.requestFocus();\n\t\t} else {\n\t\t\t// Send information to server.\n\t\t\tmLoginStatusMessageView.setText(R.string.login_progress_registering);\n\t\t\tshowProgress(true);\n\t\t\tsendInfoToServer();\n\t\t}\n\t}", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (TextUtils.isEmpty(password)) {\n mPasswordView.setError(getString(R.string.error_field_required));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email.replace(\" \", \"%20\"), password.replace(\" \", \"%20\"));\n mAuthTask.execute((Void) null);\n }\n }", "private void attemptLogin() {\n\n // Reset errors.\n mEmailField.setError(null);\n mPasswordField.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailField.getText().toString();\n String password = mPasswordField.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordField.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordField;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailField.setError(getString(R.string.error_field_required));\n focusView = mEmailField;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailField.setError(getString(R.string.error_invalid_email));\n focusView = mEmailField;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n signIn(email, password);\n }\n }", "public void login(String username, String password) {\n User user = new User(username, password);\r\n String paramBodyJsonStr = new Gson().toJson(user);\r\n Logger.d(\"paramBodyJsonStr=\" + paramBodyJsonStr);\r\n // handle login\r\n AndroidNetworking.post()\r\n .setContentType(\"application/json; charset=utf-8\")\r\n .setTag(this)\r\n .setUrl(Constants.URL_LOGIN)\r\n .build()\r\n .setApplicationJsonString(paramBodyJsonStr)\r\n .setAnalyticsListener(analyticsListener)\r\n .getAsJSONObject(new JSONObjectRequestListener() {\r\n @Override\r\n public void onResponse(JSONObject result) {\r\n Logger.d(\"response result=\" + result.toString());\r\n Result<LoggedInUser> defultResult = loginRepository.getDataSource().login(username, password);\r\n LoggedInUser data = ((Result.Success<LoggedInUser>) defultResult).getData();\r\n loginResult.setValue(new LoginResult(new LoggedInUserView(data.getDisplayName())));\r\n }\r\n\r\n @Override\r\n public void onError(ANError anError) {\r\n loginResult.setValue(new LoginResult(new Result.Error(anError)));\r\n Logger.d(\"anError=\" + anError.toString());\r\n if (!TextUtils.isEmpty(anError.getErrorDetail())) {\r\n Logger.d(\"getMessage=\" + anError.getMessage() + \" getErrorDetail=\" + anError.getErrorDetail());\r\n }\r\n }\r\n });\r\n\r\n }", "private void logUser() {\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n }\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n }\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n }\n\n }", "public void login(String username, String password, Context context) {\n\t\tUserVO userVO = new UserVO();\n\t\tuserVO.setId(username);\n\t\tuserVO.setPassword(password);\n\t\t\n\t\tLoginTask loginTask = new LoginTask();\n\t\tloginTask.setContext(context);\n\t\tloginTask.execute(userVO);\n\t}", "private void attemptLogin() {\r\n if (mAuthTask != null) {\r\n return;\r\n }\r\n\r\n // Reset errors.\r\n mPhoneView.setError(null);\r\n mPasswordView.setError(null);\r\n\r\n // Store values at the time of the login attempt.\r\n String phone = mPhoneView.getText().toString();\r\n String password = mPasswordView.getText().toString();\r\n\r\n boolean cancel = false;\r\n View focusView = null;\r\n\r\n // Check for a valid password, if the user entered one.\r\n if (TextUtils.isEmpty(password)) {\r\n mPasswordView.setError(getString(R.string.error_field_required));\r\n focusView = mPasswordView;\r\n cancel = true;\r\n }\r\n\r\n // Check for a valid phone address.\r\n if (TextUtils.isEmpty(phone)) {\r\n mPhoneView.setError(getString(R.string.error_field_required));\r\n focusView = mPhoneView;\r\n cancel = true;\r\n } else if (!isPhoneValid(phone)) {\r\n mPhoneView.setError(getString(R.string.error_invalid_phone));\r\n focusView = mPhoneView;\r\n cancel = true;\r\n }\r\n\r\n if (cancel) {\r\n // There was an error; don't attempt login and focus the first\r\n // form field with an error.\r\n focusView.requestFocus();\r\n } else {\r\n // Show a progress spinner, and kick off a background task to\r\n // perform the user login attempt.\r\n showProgress(true);\r\n mAuthTask = new UserLoginTask(phone, password);\r\n mAuthTask.execute((Void) null);\r\n }\r\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password, false);\n mAuthTask.execute((Void) null);\n }\n }", "public void login() {\n\t\tUser user = new User(\"admin\", \"12345678\", Role.ADMIN);\n\t\tuser.setEmail(\"admin@gibmit.ch\");\n\t\t\n\t\tif(user != null) {\n\t\t\tuserBean.setLoggedInUser(user);\n\t\t\tFacesContext context = FacesContext.getCurrentInstance();\n\t\t\tHttpServletRequest req = (HttpServletRequest)context.getExternalContext().getRequest();\n\t\t\treq.getSession().setAttribute(ATTR_USER, user);\n\t\t}else{\n\t\t\tkeepDialogOpen();\n\t\t\tdisplayErrorMessageToUser(\"Wrong Username/Password. Try again\");\n\t\t}\n\t\t\n\t}", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n boolean newUser = false;\n\n // Check for a valid password, if the user entered one.\n if (TextUtils.isEmpty(password) || !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n } else {\n user = mDatabaseHelper.getUser(email);\n if (user.getPassword() != null) {\n if (!PasswordHash.checkHashEquality(user.getPassword(), password)) {\n mPasswordView.setError(getString(R.string.error_incorrect_password));\n focusView = mPasswordView;\n cancel = true;\n }\n } else {\n newUser = true;\n }\n }\n\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n user = mDatabaseHelper.getUser(email);\n if (newUser) {\n Toast.makeText(this, \"New Account Created!\", Toast.LENGTH_SHORT).show();\n }\n Intent intent = new Intent(LoginActivity.this, ListActivity.class);\n intent.putExtra(\"User\", user);\n intent.putExtra(\"Target\", \"Locked\");\n startActivityForResult(intent, 0);\n }\n }", "public String loginUser(Credentials credentials) throws Exception {\n\n\t\tString url = server_url + \"/user/login\";\n\t\tURL obj = new URL(url);\n\t\tHttpURLConnection con = (HttpURLConnection) obj.openConnection();\n\n\t\t//add request header\n\t\tcon.setRequestMethod(\"POST\");\n\t\tcon.setRequestProperty(\"User-Agent\", \"Mozilla/5.0\");\n\t\tcon.setRequestProperty(\"Accept-Language\", \"en-US,en;q=0.5\");\n\n\t\t//String urlParameters = \"username=\" + credentials.username + \"&password=\" + credentials.password;\n\t\tJsonObject urlParameters = new JsonObject();\n\t\turlParameters.addProperty(\"username\", credentials.username);\n\t\turlParameters.addProperty(\"password\", credentials.password);\n\t\t\n\t\t// Send post request\n\t\tcon.setDoOutput(true);\n\t\tDataOutputStream wr = new DataOutputStream(con.getOutputStream());\n\t\twr.writeBytes(urlParameters.toString());\n\t\twr.flush();\n\t\twr.close();\n\n\t\tint responseCode = con.getResponseCode();\n\t\t\n\t\tif (responseCode != 200) {\n\t\t\treturn \"Failure\";\n\t\t}\n\t\t////System.out.println(\"\\nSending 'POST' request to URL : \" + url);\n\t\t////System.out.println(\"Post parameters : \" + urlParameters);\n\t\t////System.out.println(\"Response Code : \" + responseCode);\n\t\t\n\t\tif (responseCode == 400) {\n\t\t\tthrow new Exception();\n\t\t}\n\t\t\n\t\t//When we log in the server gives us a cookie that keeps the user identity\n\t\tusercookie = con.getHeaderField(\"set-cookie\");\n\t\tusercookie = usercookie.substring(0, usercookie.length() - 8);\n\n//\t\t@SuppressWarnings(\"deprecation\")\n//\t\tString decodedUserCookie = URLDecoder.decode(usercookie.substring(11));\n//\t\t\n//\t\tJsonParser jsonParser = new JsonParser();\n//\t\tJsonObject element = jsonParser.parse(decodedUserCookie).getAsJsonObject();\n\n\t\tBufferedReader in = new BufferedReader(\n\t\t new InputStreamReader(con.getInputStream()));\n\t\tString inputLine;\n\t\tStringBuffer response = new StringBuffer();\n\n\t\twhile ((inputLine = in.readLine()) != null) {\n\t\t\tresponse.append(inputLine);\n\t\t}\n\t\tin.close();\n\t\t\n\t\treturn response.toString();\n\t}", "private void attemptLogin() {\n final UserManager um = new UserManager();\n final String userName = userText.getText().toString();\n final String userPass = passwordText.getText().toString();\n final User attemptUser = um.login(userName, userPass);\n if (attemptUser != null) {\n SessionState.getInstance().startSession(attemptUser,\n getApplicationContext());\n resetFields();\n switch (attemptUser.getUserStatus()) {\n case USER:\n startBMS();\n break;\n case ADMIN:\n startAdmin();\n break;\n case BANNED:\n Toast.makeText(LoginActivity.this, \"Sorry, this user is \" +\n \"currently banned\", Toast\n .LENGTH_SHORT).show();\n break;\n case LOCKED:\n Toast.makeText(LoginActivity.this, \"Sorry, this user is \" +\n \"currently locked\", Toast\n .LENGTH_SHORT).show();\n break;\n\n }\n } else {\n if (!um.userExists(userName)) {\n userText.setError(\"Invalid Username\");\n } else {\n passwordText.setError(\"Invalid Password\");\n loginAttempts++;\n if (loginAttempts >= LOCK_ATTEMPTS) {\n final User attemptedUser = um.findUserById(userName);\n attemptedUser.setUserStatus(User.UserStatus.LOCKED);\n um.updateUser(attemptedUser);\n Toast.makeText(LoginActivity.this, \"Account locked: \" +\n \"too many attempts\", Toast\n .LENGTH_SHORT).show();\n }\n }\n }\n }", "protected synchronized void login() {\n\t\tauthenticate();\n\t}", "public void loginUser(String username, String password)\n {\n // check password and username entered\n if(StringUtils.isNotBlank(username) &&\n StringUtils.isNotBlank(password))\n {\n // username and password not blank: continue\n // check user exists\n UserEntry template = new UserEntry();\n template.setUsername(username);\n\n UserEntry existingUser =\n spaceSearcher.getUserByUsername(username);\n\n if(existingUser != null)\n {\n // user exists\n try\n {\n boolean correctPassword = CipherUtils.verifyPassword(password,\n existingUser.getPassword(), existingUser.getSalt());\n\n if(correctPassword)\n {\n // login successful\n JOptionPane.showMessageDialog(loginForm,\n \"Welcome Back \" + existingUser.getUsername()+ \"!\");\n\n loginForm.setVisible(false);\n loginForm.dispose();\n\n // create new main form\n new MainForm(existingUser);\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"Incorrect username or password!\");\n }\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"User does not exist! Please register.\");\n }\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"Please enter a valid username and password.\");\n }\n }", "public void logIn(String username, String password) {\n\t\t// Validate input\n\t\tif (username == null) throw new IllegalArgumentException(\"Username cannot be null\");\n\t\tif (password == null) throw new IllegalArgumentException(\"Password cannot be null\");\n\t\t\n\t\t// Keep these at bay\n\t\tthis.username = username;\n\t\tthis.password = password;\n\t\tthis.temporarySession = new SessionImpl();\n\t\tthis.temporarySession.setDB(new ConnectDB());\n\t\tthis.temporarySession.setLoggedIn(true);\n\t\tthis.session = new SessionImpl();\n\t\t\n\t\t// Lets load the user data.. maybe there is no user...\n\t\tloadUser();\n\n\t\t// The generated hash for the given username and password, including the new salt\n\t\tgeneratedHash = generateNewHash();\n\n\t\t// Set the session logging status to the outcome of this action.\n\t\tthis.session.setLoggedIn(isSamePass(user.getPassword()));\n\n\t\t// Grant DB access only if logged in.\n if ( this.session.isLoggedIn() ) {\n \t// Grant DB access\n \tthis.session.setDB(new ConnectDB());\n \t\n \t// Set the user to the session.\n \tthis.session.setUser(user);\n \t\n \t// Load all user privileges.\n \t\tloadUserPrivileges();\n \t\tthis.session.setUserPrivileges(userPrivilege);\n }\n\t}", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n\n // Sets up a new login task with the provide login form\n mAuthTask = new UserLoginTask(email, password);\n try {\n // Executes login task\n mAuthTask.execute();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n }", "public void loginUser() {\n \tString username = usernameField.getText().toString();\n \tString password = passwordField.getText().toString();\n \n \t// Validation part.\n \tString empty = \"\";\n \t// Check if username is empty.\n \tif(username.isEmpty()) {\n \t\tToast toast = Toast.makeText(\n \t\t\tthis,\n \t\t\t\"Please enter a username.\",\n \t\t\tToast.LENGTH_LONG);\n \t\ttoast.show();\n \t\treturn;\n \t}\n \t// Check if username contains othe characters.\n \tif(! Pattern.matches(\"[a-zA-Z]+\", username)) {\n \t\tToast toast = Toast.makeText(\n \t\t\tthis,\n \t\t\t\"Username can only contain alphabets\",\n \t\t\tToast.LENGTH_LONG);\n \t\ttoast.show();\n \t\treturn;\n \t}\n \t\n \t// Check if password is empty.\n \tif(password.isEmpty()) {\n \t\tToast toast = Toast.makeText(\n \t\t\tthis,\n \t\t\t\"Please enter a password.\",\n \t\t\tToast.LENGTH_LONG);\n \t\ttoast.show();\n \t\treturn;\n \t}\n\n \t\n \tArrayList<NameValuePair> userData = new ArrayList<NameValuePair>();\n \tuserData.add(new BasicNameValuePair(\"username\", username));\n \tuserData.add(new BasicNameValuePair(\"password\", password));\n \t\n \t// Now send the data to the login user task to\n \t// check if they are correct.\n \tnew AuthenticateUserTask(this, userData).execute();\n \t\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mUserNameView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String userName = mUserNameView.getText().toString();\n String password = mPasswordView.getText().toString();\n UserDetail user = new UserDetail(userName, password);\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n user = null;\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(userName)) {\n mUserNameView.setError(getString(R.string.error_field_required));\n focusView = mUserNameView;\n\n\n }\n else if(user!=null && isNetworkConnected()) {\n getPermissiontoAccessInternet();\n mAuthTask = new UserLoginTask(user);\n mAuthTask.execute((Void) null);\n\n }\n// } else if (!isUserNameValid(userName)) {\n// mUserNameView.setError(getString(R.string.error_invalid_email));\n// focusView = mUserNameView;\n// cancel = true;\n// }\n\n// if (cancel) {\n// // There was an error; don't attempt login and focus the first\n// // form field with an error.\n// focusView.requestFocus();\n// } else {\n// // Show a progress spinner, and kick off a background task to\n// // perform the user login attempt.\n//\n// }\n }", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n// showProgress(true);\n mEmail = email;\n mPassword = password;\n mAuthTask = new UserLoginTask(this);\n mAuthTask.execute((Void) null);\n }\n }", "@Override\r\n\tpublic Account login(Account account) {\n\t\treturn accountMapper.login(account);\r\n\t}", "private static void attemptToLogin() {\n\t\tString id = null;\n\t\tString password = null;\n\t\tString role = null;\n\t\tint chances = 3;\n\t\t//User will get 3 chances to login into the system.\n\t\twhile(chances-->0){\n\t\t\tlog.info(\"Email Id:\");\n\t\t\tid = sc.next();\n\t\t\tlog.info(\"Password:\");\n\t\t\tpassword = sc.next();\n\t\t\trole = LogInAuthentication.authenticate(id, password);\n\t\t\t//If correct credentials are entered then role of user will be fetch from the database. \n\t\t\tif(role == null) {\n\t\t\t\t//If role is not fetched, error and left chances will be shown.\n\t\t\t\tlog.error(\"Invalid EmailId or password\");\n\t\t\t\tlog.info(\"Chances left: \"+chances);\n\t\t\t}\n\t\t\telse\n\t\t\t\tbreak;\n\t\t}\n\t\t//After verifying credentials User will be on-board to its portal depending upon the role.\n\t\tonboard(id,role);\n\t}", "@Override\r\n\tpublic Login loginUser(Login user) {\n\t\treturn dao.loginUser(user);\r\n\t}", "@Override\n\tpublic boolean login(String userName, String password) {\n\t\tuk.ac.glasgow.internman.users.User user = users.getUser(userName, password);\n\t\tif (user != null){\n\t\t\tcurrentUser = user;\n\t\t\treturn true;\n\t\t}\n\t\telse return false;\n\t}", "public static void login(Lookup lookup) {\r\n\r\n\t\ttry {\r\n\r\n\t\t\tSystem.out.println(\"Enter your UserName: \");\r\n\t\t\t\r\n\t\t\tString name = sc.nextLine();\r\n\r\n\t\t\tSystem.out.println(\"Enter your Password: \");\r\n\t\t\t\r\n\t\t\tString pass = sc.nextLine();\r\n\r\n\t\t\tsUser = lookup.checkLoginAuth(name, pass);\r\n\r\n\t\t} catch (InvalidInputException e) {\r\n\r\n\t\t\tSystem.err.println(e.getMessage());\r\n\t\t\tSystem.err.flush();\r\n\r\n\t\t}\r\n\r\n\t}", "private void attemptLogin() {\n\n String username = mEmailView.getText().toString().trim();\n String idNumber = mIdNumber.getText().toString().trim();\n String password = mPasswordView.getText().toString().trim();\n\n if (TextUtils.isEmpty(username)) {\n// usernameView.setError(errorMessageUsernameRequired);\n// errorView = usernameView;\n }\n\n if (TextUtils.isEmpty(password)) {\n// password.setError(errorMessagePasswordRequired);\n// if (errorView == null) {\n// errorView = passwordView;\n// }\n }\n\n final User user = new User();\n ((DealerManager)getApplication()).setUser(user);\n navigateTo(R.id.nav_home);\n }", "User loginUser(User userLoginRequest, HttpSession httpSession) throws Exception;", "@Override public User login(String username, String password)\r\n throws RemoteException, SQLException {\r\n this.username = username;\r\n this.password = password;\r\n user = gameListClientModel.login(username, password);\r\n return gameListClientModel.login(username, password);\r\n }", "private UserSession handleBasicAuthentication(String credentials, HttpServletRequest request) {\n\t\tString userPass = Base64Decoder.decode(credentials);\n\n\t\t// The decoded string is in the form\n\t\t// \"userID:password\".\n\t\tint p = userPass.indexOf(\":\");\n\t\tif (p != -1) {\n\t\t\tString userID = userPass.substring(0, p);\n\t\t\tString password = userPass.substring(p + 1);\n\t\t\t\n\t\t\t// Validate user ID and password\n\t\t\t// and set valid true if valid.\n\t\t\t// In this example, we simply check\n\t\t\t// that neither field is blank\n\t\t\tIdentity identity = WebDAVAuthManager.authenticate(userID, password);\n\t\t\tif (identity != null) {\n\t\t\t\tUserSession usess = UserSession.getUserSession(request);\n\t\t\t\tsynchronized(usess) {\n\t\t\t\t\t//double check to prevent severals concurrent login\n\t\t\t\t\tif(usess.isAuthenticated()) {\n\t\t\t\t\t\treturn usess;\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\tusess.signOffAndClear();\n\t\t\t\t\tusess.setIdentity(identity);\n\t\t\t\t\tUserDeletionManager.getInstance().setIdentityAsActiv(identity);\n\t\t\t\t\t// set the roles (admin, author, guest)\n\t\t\t\t\tRoles roles = BaseSecurityManager.getInstance().getRoles(identity);\n\t\t\t\t\tusess.setRoles(roles);\n\t\t\t\t\t// set authprovider\n\t\t\t\t\t//usess.getIdentityEnvironment().setAuthProvider(OLATAuthenticationController.PROVIDER_OLAT);\n\t\t\t\t\n\t\t\t\t\t// set session info\n\t\t\t\t\tSessionInfo sinfo = new SessionInfo(identity.getName(), request.getSession());\n\t\t\t\t\tUser usr = identity.getUser();\n\t\t\t\t\tsinfo.setFirstname(usr.getProperty(UserConstants.FIRSTNAME, null));\n\t\t\t\t\tsinfo.setLastname(usr.getProperty(UserConstants.LASTNAME, null));\n\t\t\t\t\tsinfo.setFromIP(request.getRemoteAddr());\n\t\t\t\t\tsinfo.setFromFQN(request.getRemoteAddr());\n\t\t\t\t\ttry {\n\t\t\t\t\t\tInetAddress[] iaddr = InetAddress.getAllByName(request.getRemoteAddr());\n\t\t\t\t\t\tif (iaddr.length > 0) sinfo.setFromFQN(iaddr[0].getHostName());\n\t\t\t\t\t} catch (UnknownHostException e) {\n\t\t\t\t\t\t // ok, already set IP as FQDN\n\t\t\t\t\t}\n\t\t\t\t\tsinfo.setAuthProvider(BaseSecurityModule.getDefaultAuthProviderIdentifier());\n\t\t\t\t\tsinfo.setUserAgent(request.getHeader(\"User-Agent\"));\n\t\t\t\t\tsinfo.setSecure(request.isSecure());\n\t\t\t\t\tsinfo.setWebDAV(true);\n\t\t\t\t\tsinfo.setWebModeFromUreq(null);\n\t\t\t\t\t// set session info for this session\n\t\t\t\t\tusess.setSessionInfo(sinfo);\n\t\t\t\t\t//\n\t\t\t\t\tusess.signOn();\n\t\t\t\t\treturn usess;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "@Override\n\tpublic void userLogin(String userId) throws Exception {\n\n\t}", "public boolean loginUser(String usernameToFind, String passwordToCheck) throws IOException {\n boolean success = client.login(usernameToFind, passwordToCheck);\n if (success == true) {\n user = client.getCurrentUser();\n client.updateCurrentUser();\n SwingUtilities.invokeLater(new ChatDriver(client));\n return true;\n }\n JOptionPane.showMessageDialog(null, \"Either username or password didn't match, \" +\n \"please try again!\", \"Errors\", JOptionPane.ERROR_MESSAGE);\n return false;\n }", "public int login(String username, String password) \n {\n\treturn this.acctCtrl.login(username, password);\n\n }", "public void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_user));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n\n // save data in local shared preferences\n if (savePassword.isChecked()) {\n saveLoginDetails(email, password);\n }\n\n\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(email, password);\n mAuthTask.execute((Void) null);\n }\n }", "public User logIn(String username, String password) {\n\t\tUser user = null;\n\t\ttry {\n\t\t\tTypedQuery<User> query = em.createNamedQuery(\"User.findByCredentials\", User.class);\n\t\t\tquery.setParameter(\"inUsername\", username);\n\t\t\tquery.setParameter(\"inPassword\", password);\n\t\t\tuser = query.getSingleResult();\n\t\t\tif (user != null) {\n\t\t\t\tuser.setToken(generateToken());\n\t\t\t\tem.merge(user);\n\t\t\t}\n\t\t\treturn user;\n\t\t} catch (Exception e) {\n\t\t\tlogger.log(Level.WARNING, \"User not found\", e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t}", "User login(Uuid id, String username, String password, Time creationTime);", "@Then(\"^the user Login using username and password$\")\r\n\tpublic void the_user_Login_using_username_and_password() throws Throwable {\n\t w.details1();\r\n\t}", "public void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(this, email, password);\n mAuthTask.execute((Void) null);\n }\n }", "private void login(final String login, final String password, final String domainId) {\n checkCredentials(login, password);\n\n if (!login.isEmpty() && !password.isEmpty()) {\n Notification.activityStart();\n AuthentificationManager.getInstance()\n .authenticateOnSilverpeas(loginField.getText(), passwordField.getText(),\n domains.getSelectedValue(), null);\n }\n }", "public void attemptLogin(View v) {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mUsernamelView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String username = mUsernamelView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (TextUtils.isEmpty(password)) {\n mPasswordView.setError(getString(R.string.error_field_required));\n focusView = mPasswordView;\n cancel = true;\n } else if(password.length() < 4) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check if username is empty.\n if (TextUtils.isEmpty(username)) {\n mUsernamelView.setError(getString(R.string.error_field_required));\n focusView = mUsernamelView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n mAuthTask = new UserLoginTask(username, password);\n mAuthTask.execute((Void) null);\n }\n }", "public abstract void login(String userName, String password) throws RemoteException;", "private int logIn()\r\n\t{\r\n\t\tScanner input = new Scanner(System.in);\r\n\t\tString username;\r\n\t\tString password;\r\n\t\tint index;\r\n\t\t\r\n\t\t//prompt user for username and password\r\n\t\tSystem.out.println(\"Enter your username\");\r\n\t\tusername = input.nextLine();\r\n\t\tSystem.out.println(\"Enter your password\");\r\n\t\tpassword = input.nextLine();\r\n\t\t\r\n\t\tindex = checkUserExists(username);\t\t\t\t\t\t\t\t\t//get the index of the username so we can find the password\r\n\t\tif (index == -1 || !userAccounts[1][index].equals(password))\t\t//username or password is incorrect\r\n\t\t{\r\n\t\t\tSystem.out.println(\"\\nIncorrect Username/Password\");\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tSystem.out.println(\"Login Successful\");\r\n\t\treturn 1;\r\n\t}", "@Override\n\tpublic Login login(String userName) {\n\t\treturn loginMapper.login(userName);\n\t}", "private void attemptLogin() {\n if (mAuthTask != null) {\n return;\n }\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!isEmailValid(email)) {\n mEmailView.setError(getString(R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n login(email, password);\n\n }\n }", "private void authenticate(String user, String pass) {\n }", "private void attemptLogin() {\n\n // Reset errors.\n mEmailView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !validateUtil.isPasswordValid(password)) {\n mPasswordView.setError(getString(net.iquesoft.android.seedprojectchat.R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email)) {\n mEmailView.setError(getString(net.iquesoft.android.seedprojectchat.R.string.error_field_required));\n focusView = mEmailView;\n cancel = true;\n } else if (!validateUtil.isEmailValid(email)) {\n mEmailView.setError(getString(net.iquesoft.android.seedprojectchat.R.string.error_invalid_email));\n focusView = mEmailView;\n cancel = true;\n }\n\n if (cancel) {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n } else {\n // Show a progress spinner, and kick off a background task to\n // perform the user login attempt.\n showProgress(true);\n presenter.onLoginButtonClicked(mEmailView.getText().toString(), mPasswordView.getText().toString(), rememberPassword.isChecked(), (LoginActivity) getActivity(), updateCurentUser);\n }\n }", "protected void doLogin(Authentication authentication) throws AuthenticationException {\n \n }", "public static void logIn(String user, String password) {\n clear(USERNAME_FIELD);\n type(USERNAME_FIELD, user);\n clear(PASSWORD_FIELD);\n type(PASSWORD_FIELD, password);\n click(LOGIN_BUTTON);\n }", "@Override\n public boolean userLogin(String username, String password) \n {\n User tmpUser = null;\n tmpUser = getUser(username);\n if(tmpUser == null) return false;\n if(tmpUser.getPassword().equals(password)) return true;\n return false;\n }", "User login(String email, String password) throws AuthenticationException;", "@Override\n\tpublic boolean login(String username, String password) {\n\t\treturn userProviderService.login(username, password);\n\t}", "public void attemptLogin() {\n\t\tif (mAuthTask != null) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Reset errors.\n\t\tmEmailView.setError(null);\n\t\tmPasswordView.setError(null);\n\n\t\t// Store values at the time of the login attempt.\n\t\tmEmail = mEmailView.getText().toString();\n\t\tmPassword = mPasswordView.getText().toString();\n\n\t\tboolean cancel = false;\n\t\tView focusView = null;\n\n\t\t/*\n\t\t * // Check for a valid password. if (TextUtils.isEmpty(mPassword)) {\n\t\t * mPasswordView.setError(getString(R.string.error_field_required));\n\t\t * focusView = mPasswordView; cancel = true; } else if\n\t\t * (mPassword.length() < 4) {\n\t\t * mPasswordView.setError(getString(R.string.error_invalid_password));\n\t\t * focusView = mPasswordView; cancel = true; }\n\t\t * \n\t\t * // Check for a valid email address. if (TextUtils.isEmpty(mEmail)) {\n\t\t * mEmailView.setError(getString(R.string.error_field_required));\n\t\t * focusView = mEmailView; cancel = true; } else if\n\t\t * (!mEmail.contains(\"@\")) {\n\t\t * mEmailView.setError(getString(R.string.error_invalid_email));\n\t\t * focusView = mEmailView; cancel = true; }\n\t\t */\n\t\tif (cancel) {\n\t\t\t// There was an error; don't attempt login and focus the first\n\t\t\t// form field with an error.\n\t\t\tfocusView.requestFocus();\n\t\t} else {\n\t\t\t// Show a progress spinner, and kick off a background task to\n\t\t\t// perform the user login attempt.\n\t\t\tshowProgress(true);\n\t\t\tmAuthTask = new UserLoginTask();\n\t\t\tmAuthTask.execute((Void) null);\n\t\t}\n\t}", "public void doLogin(String username, String password) {\n typeUsername(username);\n typePassword(password);\n clickLoginButton();\n }", "@Override\r\n\tpublic user login(String name, String pwd) {\n\t\treturn userM.login(pwd,name);\r\n\t\t\r\n\t}", "public static int logIn(String userName, String password, String token) throws ClassNotFoundException, SQLException { \n String[] name = {userName};\n String[] pk = {userPK};\n List<user> tempU = selectUser(pk, name);\n if(tempU.isEmpty()) {\n return -2;\n }\n else if(tempU.get(0).getPassWord().equals(encytp(password))) {\n String[] temp = {token, userName};\n String[] restriction = {VERTIFY};\n updateUser(restriction, temp);\n return 0;\n }\n else {\n return -1;\n }\n }", "public Person login(String username, String password);", "private void login(String username, String password) {\n userDao.findByName(username, password)\n .subscribeOn(Schedulers.io())\n .observeOn(AndroidSchedulers.mainThread())\n .subscribe(users -> {\n if (users.size() > 0) {\n User user = users.get(0);\n SharedPreferences.Editor editor = sharedPref.edit();\n editor.putInt(\"uid\", user.uid);\n editor.putString(\"username\", user.username);\n editor.putString(\"password\", user.password);\n editor.commit();\n Intent intent = new Intent(LoginActivity.this, MeasureActivity.class);\n startActivity(intent);\n } else {\n showLoginFailed();\n }\n }, e-> {\n showLoginFailed();\n });\n }", "private void attemptUsernamePasswordLogin()\n {\n if (mAuthTask != null)\n {\n return;\n }\n\n if(mLogInButton.getText().equals(getResources().getString(R.string.logout)))\n {\n mAuthTask = new RestCallerPostLoginTask(this,mStoredToken,MagazzinoService.getAuthenticationHeader(this),true);\n mAuthTask.execute(MagazzinoService.getLogoutService(this));\n return;\n }\n // Reset errors.\n mUsernameView.setError(null);\n mPasswordView.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mUsernameView.getText().toString();\n String password = mPasswordView.getText().toString();\n\n boolean cancel = false;\n View focusView = null;\n\n // Check for a valid password, if the user entered one.\n if (!TextUtils.isEmpty(password) && !isPasswordValid(password))\n {\n mPasswordView.setError(getString(R.string.error_invalid_password));\n focusView = mPasswordView;\n cancel = true;\n }\n\n // Check for a valid email address.\n if (TextUtils.isEmpty(email))\n {\n mUsernameView.setError(getString(R.string.error_field_required));\n focusView = mUsernameView;\n cancel = true;\n }\n else if (!isUsernameOrEmailValid(email))\n {\n mUsernameView.setError(getString(R.string.error_invalid_email));\n focusView = mUsernameView;\n cancel = true;\n }\n\n if (cancel)\n {\n // There was an error; don't attempt login and focus the first\n // form field with an error.\n focusView.requestFocus();\n return;\n }\n\n mAuthTask = new RestCallerPostLoginTask(this,email, password);\n mAuthTask.execute(MagazzinoService.getLoginService(this));\n\n }" ]
[ "0.6668758", "0.6563129", "0.65503186", "0.6477975", "0.64351046", "0.6411984", "0.63135153", "0.62986517", "0.62847054", "0.6260537", "0.6260058", "0.62588435", "0.625443", "0.62392664", "0.6219022", "0.6209206", "0.61982554", "0.6189418", "0.61892813", "0.6177127", "0.6165829", "0.6153585", "0.61470735", "0.6123944", "0.61098045", "0.61034006", "0.6072085", "0.60709643", "0.6062519", "0.60595304", "0.60395503", "0.6031251", "0.6023964", "0.6018429", "0.60171133", "0.60057694", "0.59943193", "0.59923995", "0.59625137", "0.5961246", "0.59525216", "0.592549", "0.59172547", "0.59164137", "0.5915196", "0.59150827", "0.5909321", "0.58941084", "0.58941084", "0.58921844", "0.5891574", "0.5891158", "0.58862334", "0.5885873", "0.5885092", "0.5884682", "0.587327", "0.5865535", "0.58550274", "0.58549196", "0.5854502", "0.584561", "0.58422446", "0.58397174", "0.5838217", "0.58373964", "0.5827898", "0.58241785", "0.58033997", "0.5802", "0.58", "0.5799348", "0.57932365", "0.57897323", "0.57884115", "0.57874644", "0.5785192", "0.5781173", "0.5777076", "0.57665515", "0.5766369", "0.57642746", "0.57617456", "0.57607484", "0.5758884", "0.5757166", "0.5756913", "0.5755884", "0.57550275", "0.57511777", "0.5750773", "0.57486093", "0.57396114", "0.5739488", "0.5733992", "0.5728347", "0.5727938", "0.5723639", "0.57216954", "0.57191694", "0.571903" ]
0.0
-1
Log in as given the user.
@Override public void sudo(User user) { this.user = user; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void login(User user);", "@Override\r\n\tpublic User login(User user) {\n\t\treturn userdao.findByUserId(user.getId());\r\n\t}", "private void Login(User user) {\n // instantiate User Database to store User's details locally\n UserDB db = new UserDB(this);\n db.resetTables(); // clear previous table data\n db.addUser(user);\n Log.i(TAG, \"Logged in as \" + email);\n\n // Move to main activity\n startActivity(new Intent(this, MainActivity.class));\n finish();\n }", "@Override\n\tpublic User login(User user) {\n\t\treturn userMapper.login(user);\n\t}", "@Override\r\n\tpublic UserVO login(LoginUserVO user) {\n\t\treturn login.login(user);\r\n\t}", "@Override\r\n\tpublic Login loginUser(Login user) {\n\t\treturn dao.loginUser(user);\r\n\t}", "public void login() {\n\t\tUser user = new User(\"admin\", \"12345678\", Role.ADMIN);\n\t\tuser.setEmail(\"admin@gibmit.ch\");\n\t\t\n\t\tif(user != null) {\n\t\t\tuserBean.setLoggedInUser(user);\n\t\t\tFacesContext context = FacesContext.getCurrentInstance();\n\t\t\tHttpServletRequest req = (HttpServletRequest)context.getExternalContext().getRequest();\n\t\t\treq.getSession().setAttribute(ATTR_USER, user);\n\t\t}else{\n\t\t\tkeepDialogOpen();\n\t\t\tdisplayErrorMessageToUser(\"Wrong Username/Password. Try again\");\n\t\t}\n\t\t\n\t}", "@Override\n\tpublic User loginUser(User user) {\n\t\treturn this.userDao.login(user);\n\t}", "public void login(User user) {\n try {\n Encrypter encrypter = new Encrypter();\n //el usuario ha logueado usando el email\n if (user.getUserName().contains(\"@\")){\n String emailAux = encrypter.encrypt(user.getUserName());\n String passwordAux = encrypter.encrypt(user.getPassword());\n\n doStream.writeUTF(\"L\");\n doStream.writeUTF(emailAux);\n doStream.writeUTF(passwordAux);\n\n }else{\n //el usuario ha logueado usando el nombre de usuario\n String nameAux = encrypter.encrypt(user.getUserName());\n String passwordAux = encrypter.encrypt(user.getPassword());\n\n doStream.writeUTF(\"L\");\n doStream.writeUTF(nameAux);\n doStream.writeUTF(passwordAux);\n }\n tractaResposta(diStream.readUTF());\n } catch (Exception a){\n a.printStackTrace();\n }\n }", "public void userLoggedIn(CurrentUser user) \n\t\t{\n\t\t\tLog.i(\"OpenFeint\", \"User logged in\");\n\t\t\tMainActivity.this.userLoggedIn();\n\t\t}", "public void userLogin(User user) {\n SharedPreferences sharedPreferences = mCtx.getSharedPreferences(AppConfig.SHARED_PREF_NAME, Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putInt(AppConfig.ID, user.getId());\n editor.putString(AppConfig.NAME, user.getName());\n editor.putString(AppConfig.EMAIL, user.getEmail());\n editor.putString(AppConfig.AGE, user.getAge());\n editor.putString(AppConfig.GENDER, user.getGender());\n editor.putString(AppConfig.ADDRESS, user.getAddress());\n editor.apply();\n }", "public void logIn(FirebaseUser user) {\n Toast.makeText(this,\"Logging in...\", Toast.LENGTH_SHORT).show();\n startActivity(new Intent(this,MainMenu.class));\n }", "public void userLoggedIn(CurrentUser user) \n\t\t{\n\t\t\tLog.i(\"OpenFeint\", \"User logged in\");\t\t\n\t\t\tMainActivity.this.userLoggedIn();\n\t\t}", "@Override\r\n\tpublic User login(User u) throws Exception {\n\t\treturn userRepository.login(u);\r\n\t}", "public User logInUser(final String login, final String password);", "void login(String user, String password);", "public void loginAsUser() {\n vinyardApp.navigateToUrl(\"http://localhost:8080\");\n vinyardApp.fillUsername(\"user\");\n vinyardApp.fillPassord(\"123\");\n vinyardApp.clickSubmitButton();\n }", "public ConsumersLOEPage signIn (User user) {\r\n clickEmailField(driver);\r\n clearEmailField();\r\n inputEmail(user.getEmail());\r\n //\r\n clickPasswordField(driver);\r\n clearPasswordField();\r\n inputPassword(user.getPassword());\r\n //\r\n getsignInButtonField().submit();\r\n //\r\n return new ConsumersLOEPage(driver, user);\r\n }", "public void userLogin(user user) {\n SharedPreferences sharedPreferences = mCtx.getSharedPreferences(SHARED_PREF_NAME, Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putInt(KEY_ID, user.getId());\n editor.putString(KEY_FIRST_NAME, user.getFirst_name());\n editor.putString(KEY_SECOND_NAME, user.getSecond_name());\n editor.putString(KEY_EMAIL, user.getEmail());\n editor.putInt(KEY_NATIONAL_ID, user.getNational_id());\n editor.putString(KEY_MOBILE_NUMBER, user.getMobile_number());\n editor.putString(KEY_REG_DATE, user.getReg_date());\n editor.putString(KEY_dob, user.getDob());\n editor.putString(KEY_address, user.getAddress());\n editor.putString(KEY_city, user.getCity());\n editor.putString(KEY_country, user.getCountry());\n\n editor.apply();\n }", "public static void userLogin(Context context)\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\t\r\n\t\t\r\n\t\t\tString username = context.formParam(\"myUsername\");\r\n\t\t\tString password = context.formParam(\"myPassword\");\r\n\t\t\t\r\n\t\t\tif(myAccountServ.attemptLoginServiceLayer(username, password)) //if true then get user account from DB\r\n\t\t\t{\r\n\t//\t\t\tSystem.out.println(myAccountServ.getMyAccountFromDatabase(username, password));\r\n\t\t\t\tcontext.sessionAttribute(\"currentUser\", myAccountServ.getMyAccountFromDatabase(username, password)); //set session to user account info\r\n\t//\t\t\tSystem.out.println(((Account)context.sessionAttribute(\"currentUser\")));\r\n\t//\t\t\tSystem.out.println(((Account)context.sessionAttribute(\"currentUser\")).getRoleId() == 1);\r\n\t\t\t\tif(((Account)context.sessionAttribute(\"currentUser\")).getRoleId() == 1)//check user role id if they employeee\r\n\t\t\t\t{\r\n\t\t\t\t\t//take me to the employee page\r\n\t\t\t\t\tcontext.redirect(\"/html/employee-page.html\");\r\n\t\t\t\t}\r\n\t\t\t\telse if(((Account)context.sessionAttribute(\"currentUser\")).getRoleId() == 0) // or if they manager\r\n\t\t\t\t{\r\n\t\t\t\t\tcontext.redirect(\"/html/manager-page.html\");\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\telse//if we failed login attempt... send us back to login page aka \"/index.html\"\r\n\t\t\t{\r\n\t\t\t\tSystem.out.println(\"not correct credentials\");\r\n\t\t\t\tcontext.redirect(\"/index.html\");\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\tLogging.error(e);\r\n\t\t}\r\n\t\t\r\n//\t\tSystem.out.println(\"username: \" + username);\r\n//\t\tSystem.out.println(\"pssword: \" + password);\r\n\t}", "public void login(User[] user) {\n Intent intent = new Intent(ui.getBaseContext(), MainActivity.class);\n intent.putExtra(USERS,user);\n ui.startActivity(intent);\n ui.finish();\n }", "public void userLogin(UserLogueado user) {\r\n SharedPreferences sharedPreferences = ctx.getSharedPreferences(SHARED_PREF_NAME, Context.MODE_PRIVATE);\r\n SharedPreferences.Editor editor = sharedPreferences.edit();\r\n editor.putString(KEY_EMAIL, user.getEmail());\r\n editor.putString(KEY_TOKEN, user.getToken());\r\n editor.apply();\r\n }", "private void login(JTextField user){\n\t\tString username1 = user.getText();\n\t\tuser.setText(null);\n\t\tuser.requestFocus();\n\n\t\t//Validate username\n\t\tif (username1.isEmpty()){\n\t\t\tJOptionPane.showMessageDialog(this,\"Empty values!\", \"Error\", JOptionPane.ERROR_MESSAGE);\n\t\t}\n\t\telse if (!username1.matches(\"[a-zA-Z]+\")){\n\t\t\tJOptionPane.showMessageDialog(this,\"Improper Name!\", \"Error\", JOptionPane.ERROR_MESSAGE);\n\t\t}\n\n\t\telse {\n\t\t\tif (DBInit.connectDB(username1)){\n\t\t\t\tFrameController s = BudgieUI.getSwitcher();\n\t\t\t\tJFrame main = new MainUI(\"Budgie\", s);\n\t\t\t\tBudgieUI.setMain(main);\n\t\t\t\ts.setFrame(main);\n\t\t\t\tFrameController.switchFrames();\n\t\t\t} else{\n\t\t\t\tJOptionPane.showMessageDialog(this, \"Host Does not exist\", \"Error\", JOptionPane.ERROR_MESSAGE);\n\t\t\t\tusername.setText(null);\n\t\t\t\tusername.requestFocus();\n\t\t\t}\n\t\t}\n\n\t}", "public String login(Users user){\r\n\t\tthis.user = em.find(Users.class, user.getUserName());\r\n\t\t\r\n\t\tif(this.user == null){\r\n\t\t\tsetUser(new Users());\r\n\t\t\treturn \"userNotExists\";\r\n\t\t\t\r\n\t\t}else{\t\r\n\t\t\tString salt = this.user.getSalt();\r\n\t\t\tString code = ((Integer) (user.getPassword() + salt).hashCode()).toString();\r\n\t\t\tif(code.equals(this.user.getPassword())){\r\n\t\t\t\treturn \"success\";\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\treturn \"passwordFail\";\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}", "User loginUser(User userLoginRequest, HttpSession httpSession) throws Exception;", "String login(Integer userId);", "public boolean login(User user) throws Exception {\n\t\treturn baseDao.save(user);\r\n\t}", "User login(String username, String password);", "@Override\n\tpublic void loginUser() {\n\t\t\n\t}", "public LoginPage enterUsername(String user) {\n LOGGER.info(\"Entering username: \" + user);\n waitForPageToLoad();\n findElement(usernameLocator).clear();\n findElement(usernameLocator).sendKeys(user);\n return this;\n }", "private void loggedInUser() {\n\t\t\n\t}", "@Override\r\n\tpublic User login(User user) {\n\t\tif(user == null) {\r\n\t\t\tthrow new CMSException(\"用户名和密码不能为空\");\r\n\t\t}\r\n\t\tif(!StringUtil.hasText(user.getUsername())) {\r\n\t\t\tthrow new CMSException(\"用户名不能为空\");\r\n\t\t}\r\n\t\tif(!StringUtil.hasText(user.getPassword())) {\r\n\t\t\tthrow new CMSException(\"密码不能为空\");\r\n\t\t}\r\n\t\tUser u = um.login(user.getUsername());\r\n\t\tif(u == null) {\r\n\t\t\tthrow new CMSException(\"当前用户不存在\");\r\n\t\t}\r\n\t\tif(u.getLocked() == 1) {\r\n\t\t\tthrow new CMSException(\"当前用户已被禁用\");\r\n\t\t}\r\n\t\t//if(u.getPassword().equals(Md5Util.md5Encoding(user.getPassword()))) {少了一个非数据库是明码这里是暗码\r\n\t\tif(!u.getPassword().equals(Md5Util.md5Encoding(user.getPassword()))) {\r\n\t\t\tthrow new CMSException(\"密码不正确\");\r\n\t\t}else {\r\n\t\t\tSystem.out.println(u.getPassword()+\"=====\"+user.getPassword());\r\n\t\t}\r\n\t\treturn u;\r\n\t}", "public static void logIn(String user, String password) {\n clear(USERNAME_FIELD);\n type(USERNAME_FIELD, user);\n clear(PASSWORD_FIELD);\n type(PASSWORD_FIELD, password);\n click(LOGIN_BUTTON);\n }", "public void loginUser() {\n \tString username = usernameField.getText().toString();\n \tString password = passwordField.getText().toString();\n \n \t// Validation part.\n \tString empty = \"\";\n \t// Check if username is empty.\n \tif(username.isEmpty()) {\n \t\tToast toast = Toast.makeText(\n \t\t\tthis,\n \t\t\t\"Please enter a username.\",\n \t\t\tToast.LENGTH_LONG);\n \t\ttoast.show();\n \t\treturn;\n \t}\n \t// Check if username contains othe characters.\n \tif(! Pattern.matches(\"[a-zA-Z]+\", username)) {\n \t\tToast toast = Toast.makeText(\n \t\t\tthis,\n \t\t\t\"Username can only contain alphabets\",\n \t\t\tToast.LENGTH_LONG);\n \t\ttoast.show();\n \t\treturn;\n \t}\n \t\n \t// Check if password is empty.\n \tif(password.isEmpty()) {\n \t\tToast toast = Toast.makeText(\n \t\t\tthis,\n \t\t\t\"Please enter a password.\",\n \t\t\tToast.LENGTH_LONG);\n \t\ttoast.show();\n \t\treturn;\n \t}\n\n \t\n \tArrayList<NameValuePair> userData = new ArrayList<NameValuePair>();\n \tuserData.add(new BasicNameValuePair(\"username\", username));\n \tuserData.add(new BasicNameValuePair(\"password\", password));\n \t\n \t// Now send the data to the login user task to\n \t// check if they are correct.\n \tnew AuthenticateUserTask(this, userData).execute();\n \t\n }", "@Override\n\tpublic void userLogin(String userId) throws Exception {\n\n\t}", "@Override\n\tpublic Login login(String userName) {\n\t\treturn loginMapper.login(userName);\n\t}", "private void makeLogin() {\n if (enableLoginActivity && mAuth.getCurrentUser() == null) {\n startActivity(new Intent(MainActivity.this, LoginActivity.class));\n finish();\n }\n else if (!enableLoginActivity) {\n user = new User(\"johnDoe\", \"johnDoe@gmail.com\", \"1234\");\n }\n }", "void login(String userName) throws IllegalArgumentException, IOException;", "protected final void runAsUser( String userName ) {\n authenticationTestingUtil.switchToUser( this.applicationContext, userName );\n }", "public void login(ActionEvent e) throws IOException {\r\n\t\t\r\n \tString username = loginuser.getText().trim();\r\n \t//if user is admin, change to userlist screen\r\n \tif (username.equals(\"admin\")) {\r\n \tPhotos.userlistscreen();\r\n \t} else {\r\n \t\tUser user = currentAdmin.findUser(username);\r\n \t\t//if user is found, log into that user and show the album view for that user specifically\r\n \t\tif (user!=null) {\r\n \t\t\tAlbumController.currentUser = (NonAdmin) user;\r\n \t\t\tCopyController.currentUser = (NonAdmin) user;\r\n \t\t\tMoveController.currentUser = (NonAdmin) user;\r\n \t\t\tPhotos.albumscreen(user);\r\n \t\t}\r\n \t\telse {\r\n \t\t\tAlert alert = new Alert(Alert.AlertType.ERROR);\r\n \t\t\talert.setTitle(\"Error\");\r\n \t\t\talert.setHeaderText(\"Invalid username\");\r\n \t\t\talert.setContentText(\"Please try again\");\r\n \t\t\talert.showAndWait();\r\n \t\t\tloginuser.setText(\"\");\r\n \t\t}\r\n \t}\r\n\t}", "void AllowUserToLogin(String userName, String password) {\n\t\tParseUser.logInInBackground(userName, password, new LogInCallback() {\r\n\t\t\tpublic void done(ParseUser user, ParseException e) {\r\n\t\t\t\tif (user != null) {\r\n\t\t\t\t\t// If user exist and authenticated, send user to\r\n\t\t\t\t\t// Welcome.class\r\n\t\t\t\t\tIntent intent = new Intent(Register.this, ClientList.class);\r\n\t\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK\r\n\t\t\t\t\t\t\t| Intent.FLAG_ACTIVITY_CLEAR_TASK);\r\n\t\t\t\t\tstartActivity(intent);\r\n\t\t\t\t\tprogressdialog.dismiss();\r\n\t\t\t\t\tToast.makeText(getApplicationContext(),\r\n\t\t\t\t\t\t\t\"Successfully Logged in\", Toast.LENGTH_LONG).show();\r\n\t\t\t\t\tfinish();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tprogressdialog.dismiss();\r\n\t\t\t\t\tshowAlert(\"No such user exist, please signup\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t}", "@PostMapping(\"login\")\n\tpublic UserInfo login(@RequestBody User user) {\n\t\treturn userService.login(user);\n\t}", "@Override\n\tpublic User login(String username) {\n\t\treturn userDao.login(username);\n\t}", "public static User login(User user) {\n\t\tStatement stmt = null;\n\n\t\tString username = user.getUserName();\n\t\tString password = user.getPassword();\n\n\t\tStringBuffer searchQuery = new StringBuffer();\n\t\tsearchQuery.append(\"select * from user where username='\" + username + \"' AND password='\" + password + \"'\");\n\t\t// process\n\t\tSystem.out.println(\"Your user name is \" + username);\n\t\tSystem.out.println(\"Your password is \" + password);\n\t\tSystem.out.println(\"Query: \" + searchQuery);\n\n\t\ttry {\n\t\t\t// connect to DB\n\t\t\tcurrentCon = ConnectionManager.getConnection();\n\t\t\tstmt = currentCon.createStatement();\n\t\t\trs = stmt.executeQuery(searchQuery.toString());\n\t\t\tboolean more = rs.next();\n\n\t\t\t// if user does not exist set the isValid variable to false\n\t\t\tif (!more) {\n\t\t\t\tSystem.out.println(\"Sorry, you are not a registered user! Please sign up first\");\n\t\t\t\tuser.setValid(false);\n\t\t\t}\n\n\t\t\t// if user exists set the isValid variable to true\n\t\t\telse if (more) {\n\t\t\t\tint userId = rs.getInt(\"userid\");\n\t\t\t\tuser.setValid(true);\n\t\t\t\tuser.setUserId(userId);\n\n\t\t\t\tSystem.out.println(\"Welcome \" + user.getUserName());\n\t\t\t}\n\t\t}\n\n\t\tcatch (Exception ex) {\n\t\t\tSystem.out.println(\"Log In failed: An Exception has occurred! \" + ex);\n\t\t}\n\n\t\t// some exception handling\n\t\tfinally {\n\t\t\tif (rs != null) {\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t}\n\t\t\t\trs = null;\n\t\t\t}\n\n\t\t\tif (stmt != null) {\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t}\n\t\t\t\tstmt = null;\n\t\t\t}\n\n\t\t\tif (currentCon != null) {\n\t\t\t\ttry {\n\t\t\t\t\tcurrentCon.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t}\n\n\t\t\t\tcurrentCon = null;\n\t\t\t}\n\t\t}\n\n\t\treturn user;\n\t}", "public void loginUserMainActivity(View view) \n {\n // Initialize the intent to user's main activity\n Intent userMainIntent = new Intent(this, UserMainActivity.class);\n\n // Get the user name.\n String uname = unameEt.getText().toString();\n\n // Get the password.\n String pwd = pwdEt.getText().toString();\n\n if(!User.UserExists(uname, pwd, getApplicationContext())) \n { // The user credentials were invalid, do nothing\n Toast.makeText(getApplicationContext(), \"Invalid credentials.\", Toast.LENGTH_SHORT).show();\n } \n else \n { // The credentials were valid, open main menu, build the intent with the user id.\n \t//TODO encrypt the data first?\n userMainIntent.putExtra(\"un\", uname);\n userMainIntent.putExtra(\"pwd\", pwd);\n // Start the user's main activity.\n startActivity(userMainIntent);\n }\n }", "public void login(String addr, String port, String user){\n if (state != State.NOCONNECTION){\n Log.d(\"State\", state.toString());\n return;\n }\n if (user.length() < 3){\n Log.d(\"Username\", \"length too short\");\n return; //BAD HUMAN!!!\n }\n _user = user;\n try {\n mConnection = new NetworkingConnection(new MyResponseVisitor(), addr, port);\n state = State.HASCONNECTION;\n } catch (UnknownHostException e){\n e.printStackTrace();\n //there is an unknown host aka ur IP is wrong bish\n Log.d(\"Bad IP address\", addr);\n state = State.NOCONNECTION;\n }\n //make the error handler somewher\n INetworkingConnection.OnErrorSend handleErr = new INetworkingConnection.OnErrorSend(){\n public void onError(@NonNull Throwable err){\n err.printStackTrace();\n }\n };\n //send the login request somewhere(???)\n LoginRequest loginReq = new LoginRequest(user);\n mConnection.send(loginReq, handleErr).execute();\n state = State.ATTEMPTEDLOGIN;\n }", "public boolean loginUser();", "public void doLogin() {\r\n\t\tif(this.getUserName()!=null && this.getPassword()!=null) {\r\n\t\t\tcdb=new Connectiondb();\r\n\t\t\tcon=cdb.createConnection();\r\n\t\t\ttry {\r\n\t\t\t\tps=con.prepareStatement(\"Select idUser,nom,prenom,userName,type,tel from t_user where userName=? and pass=? and status=?\");\r\n\t\t\t\tps.setString(1, this.getUserName());\r\n\t\t\t\tps.setString(2, this.getPassword());\r\n\t\t\t\tif(rs.next()) {\r\n\t\t\t\t\tSessionConfig.getSession().setAttribute(\"idUser\", rs.getInt(\"idUser\"));\r\n\t\t\t\t\tSessionConfig.getSession().setAttribute(\"nom\", rs.getString(\"nom\"));\r\n\t\t\t\t\tSessionConfig.getSession().setAttribute(\"prenom\", rs.getString(\"prenom\"));\r\n\t\t\t\t\tSessionConfig.getSession().setAttribute(\"userName\", rs.getString(\"userName\"));\r\n\t\t\t\t\tSessionConfig.getSession().setAttribute(\"type\", rs.getString(\"type\"));\r\n\t\t\t\t\tSessionConfig.getSession().setAttribute(\"tel\", rs.getString(\"tel\"));\r\n\t\t\t\t\tFacesContext.getCurrentInstance().getExternalContext().redirect(\"view/welcome.xhtml\");\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\tnew Message().error(\"echec de connexion\");\r\n\t\t\t}finally {\r\n\t\t\t\tcdb.closeConnection(con);\r\n\t\t\t}\r\n\t\t}else {\r\n\t\t\tnew Message().warnig(\"Nom d'utilisateur ou mot de passe incorrecte\");\r\n\t\t}\r\n\t}", "boolean userLogin(UserDTO user) throws UserException, Exception;", "@RequestMapping(value = \"/signin\", method = RequestMethod.POST)\n\tpublic String signin(@ModelAttribute(value=\"user\") User user) {\n\t\tlogger.info(\"Sign-in : \", user.getEmail());\n\t\t\n\t\t//Implement user session to login a user\n\t\tthis.user = vMDaoImpl.getUser(user.getEmail());\n\t\tSystem.out.println(user.getFirstname()+ user.getLastname()+ \"entered password \" + user.getPassword() );\n\t\tSystem.out.println(\"value from database\"+ this.user.getEmail()+ \" \"+ this.user.getPassword());\n\t\tModelAndView model = new ModelAndView();\n\t\tif(this.user.getEmail().equals(user.getEmail()) && this.user.getPassword().equals(user.getPassword())){\n\t\t if(this.user.getIsadmin()==false)\n\t\t\t{\n\t\t\t\n\t\t\t\tmodel.setViewName(\"user\");\n\t\t\t\treturn \"redirect:/user\";\n\t\t\t}\n\t\t else {\n\t\t\n\t\t\tmodel.setViewName(\"admin\");\n\t\t\treturn \"redirect:/admin\";\n\t\t\t}\n\t\t}\n\t\t\n\t\tmodel.setViewName(\"signin\");\t\n\t\treturn \"signin\";\n\t}", "public abstract User login(User data);", "@Override\n\tpublic boolean login(String userName, String password) {\n\t\tuk.ac.glasgow.internman.users.User user = users.getUser(userName, password);\n\t\tif (user != null){\n\t\t\tcurrentUser = user;\n\t\t\treturn true;\n\t\t}\n\t\telse return false;\n\t}", "private void logIn() throws IOException {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String line = reader.readLine();\n String[] a = line.split(\";\");\n\n String user = a[0];\n String password = a[1];\n boolean rez = service.checkPassword(user, password);\n if(rez == TRUE)\n System.out.println(\"Ok\");\n else\n System.out.println(\"Not ok\");\n }", "public void loginUser(String username, String password)\n {\n // check password and username entered\n if(StringUtils.isNotBlank(username) &&\n StringUtils.isNotBlank(password))\n {\n // username and password not blank: continue\n // check user exists\n UserEntry template = new UserEntry();\n template.setUsername(username);\n\n UserEntry existingUser =\n spaceSearcher.getUserByUsername(username);\n\n if(existingUser != null)\n {\n // user exists\n try\n {\n boolean correctPassword = CipherUtils.verifyPassword(password,\n existingUser.getPassword(), existingUser.getSalt());\n\n if(correctPassword)\n {\n // login successful\n JOptionPane.showMessageDialog(loginForm,\n \"Welcome Back \" + existingUser.getUsername()+ \"!\");\n\n loginForm.setVisible(false);\n loginForm.dispose();\n\n // create new main form\n new MainForm(existingUser);\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"Incorrect username or password!\");\n }\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"User does not exist! Please register.\");\n }\n }\n else\n {\n JOptionPane.showMessageDialog(loginForm,\n \"Please enter a valid username and password.\");\n }\n }", "@Override\r\n protected final String loginAsAutoUser(boolean launch) {\r\n \t//login(DDConstants.AUTO_USERNAME, DDConstants.AUTO_PASSWORD, launch);\r\n \tsuper.login(getAutoUserName(), getAutoPassword(), launch);\r\n\r\n \tchooseApp();\r\n\r\n \treturn getCurrentUser();\r\n }", "@PostMapping(\"/loginUser\")\n\tpublic ResponseEntity<?> loginUser(@RequestBody User user, HttpSession hs) {\n\n\t\ttry {\n\t\t\tUser validUser = userService.loginUser(user.getEmailId(), user.getPassword());\n\t\t\ths.setAttribute(\"validUser\", validUser);\n\t\t\treturn new ResponseEntity<User>(validUser, HttpStatus.OK);\n\t\t} catch (Exception e) {\n\t\t\t// e.printStackTrace();\n\t\t\tthrow new UserNotFoundException(\"user not found\");\n\t\t}\n\t\t// return new ResponseEntity<String>(\"login failed\",HttpStatus.UNAUTHORIZED);\n\n\t}", "public void loginTo(String strUserName,String strPasword)\n { \n if(strUserName.equals(\"\"))\n \tthis.getUserName().clear();\n \n if(strPasword.equals(\"\"))\n \tthis.getPassword().clear();\n \n \n \tthis.getUserName().sendKeys(strUserName); \n\n this.getPassword().sendKeys(strPasword); \n\n this.getLoginButton().click(); \n }", "private void loginUser(String username, String password) {\n ParseUser.logInInBackground(username, password, new LogInCallback() {\n @Override\n public void done(ParseUser user, ParseException e) {\n if(e != null){\n Log.e(TAG, \"Issue with login: \"+e);\n Toast.makeText(LoginActivity.this, e+\"\", Toast.LENGTH_SHORT);\n return;\n }\n\n linkOneSignalID(ParseUser.getCurrentUser());\n goMainActivity();\n Toast.makeText(LoginActivity.this, \"Success!\", Toast.LENGTH_SHORT);\n }\n });\n }", "boolean doLogin(UserDTO loginUser);", "@RequestMapping(value = \"/login\", method= RequestMethod.POST)\r\n\tpublic String loginToSite(@ModelAttribute User user, Model model) throws SQLException {\n ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(\"spring.xml\");\r\n \r\n //Get the EmployeeDAO Bean\r\n UserDAO userDao = ctx.getBean(\"userDao\", UserDAO.class); \r\n boolean success = userDao.accountExists(user.getUserID(),user.getPassword());\r\n if(success) {\r\n \tUser loginUser = new User(); \t\r\n \tloginUser = userDao.login(user.getUserID(),user.getPassword());\r\n \t// must set password because encrypted version is returned\r\n \tloginUser.setPassword(user.getPassword());\r\n \tmodel.addAttribute(\"user\", loginUser);\r\n\t\t\tmodel.addAttribute(\"username\", user.getUserID());\r\n\t\t\t// needed to make modelattribute available on welcome page\r\n\t\t\t// unless it's a session attribute, model attributes are only available to the single page\r\n\t\t\tmodel.addAttribute(\"newMsg\", new Message());\r\n\t\t\treturn \"welcome\";\r\n }\r\n else {\r\n \tSystem.out.println(\"Invalid credentials\");\r\n \tmodel.addAttribute(\"message\", \"Error: Invalid Credentials\");\r\n \treturn \"login\";\r\n }\r\n\t}", "private void login(){\n\t\tprogress.toggleProgress(true, R.string.pagetext_signing_in);\n\t\tParseUser.logInInBackground(email.split(\"@\")[0], password, new LogInCallback() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void done(ParseUser user, ParseException e) {\n\t\t\t\tif (e == null) {\n\t\t\t\t\tprogress.toggleProgress(false);\n\t\t\t\t\tIntent intent = new Intent(context, MainActivity.class);\n\t\t\t\t\tstartActivity(intent);\n\t\t\t\t} else {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t// else, incorrect password\n\t\t\t\t\tToast.makeText(context, \n\t\t\t\t\t\t\t\t getString(R.string.parse_login_fail, email), \n\t\t\t\t\t\t\t\t Toast.LENGTH_LONG).show();\t\t\t\t\t\n\t\t\t\t\tLog.e(\"Error Logging into Parse\", \"Details: \" + e.getMessage());\n\t\t\t\t}\n\t\t\t}\t\t\t\t\t\t\t\n\t\t});\n\t}", "User signIn(String login, String password);", "@When(\"^User login into the app with username and password$\")\n\tpublic void user_login_to_the_app_with_username_and_password() {\n\t\tSystem.out.println(\"User is logged\");\n\t}", "public void authenticateUser() {\n\n String username = viewUsername.getText().toString();\n String password = viewPassword.getText().toString();\n\n Timber.v(\"authenticateUser called username: \" + username);\n activity.getOnboardingViewModel().authenticateUser(username, password);\n }", "@Override\n\tpublic UserDetailsBean login(UserDetailsBean userDetailsBean) {\n\t\treturn userDao.login(userDetailsBean);\n\t}", "public void attemptLogin(boolean isLoggedIn, int uID, String email, String firstName,\n String lastName, String userRole) {\n spEditor.putBoolean(LOGGEDIN_KEY, isLoggedIn);\n\n if (isLoggedIn) {\n spEditor.putInt(USER_ID, uID);\n spEditor.putString(USER_EMAIL, email);\n spEditor.putString(USER_FIRST, firstName);\n spEditor.putString(USER_LAST, lastName);\n spEditor.putString(USER_ROLE, userRole);\n }\n\n spEditor.commit();\n }", "String signIn(String userName, String password) throws UserNotFoundException;", "public Integer logIn(String u_name, String u_pw){\n //find entry with u_name = this.u_name\n //probably not so safe\n //getting user with index 0 because getUserFromUsername returns List\n User user = userDao.getUserFromUsername(u_name).get(0);\n //print at console\n LOGGER.info(\"User: \" + user);\n //returns integer 1 if user.get_pw equals to this.pw or 0 if not\n if (user.getU_Pw().equals(u_pw)){\n return user.getU_Id();\n }else{\n return 0;\n }\n }", "public void login(View view) {\n \t\t\t\t\n \t\tString uname = ((EditText)findViewById(R.id.loginUsername)).getText().toString().toLowerCase();\n \t\tString pw = ((EditText)findViewById(R.id.loginPassword)).getText().toString();\n \n \t\tfinal Toast successToast = Toast.makeText(this, \"Login Successful\", Toast.LENGTH_SHORT);\n \t\tfinal Intent i = new Intent(this, Home.class);\n \t\t\n \t\tfinal Toast failureToast = Toast.makeText(this, \"Login failed\", Toast.LENGTH_SHORT);\n \t\t\n \t\tParseUser.logInInBackground(uname, pw, new LogInCallback() {\n \t\t public void done(ParseUser user, ParseException e) {\n \t\t if (user != null) {\n \t\t // Hooray! The user is logged in.\n \t\t \tsuccessToast.show();\n \t\t \t\tfinish();\n \t\t \t\tstartActivity(i);\n \t\t } else {\n \t\t // Signup failed. Look at the ParseException to see what happened.\n \t\t \tfailureToast.show();\n \t\t }\n \t\t }\n \t\t});\n \t\t\n \t}", "public void authenticateUser()\r\n\t{\r\n\t\tsc.nextLine(); \r\n\t\tint index=loginattempt();\r\n\t}", "@Override\n public Response login(User user) {\n\n Response response = new Response();\n User foundUser = userDao.login(user);\n if(foundUser != null &&\n foundUser.getUserId() != null &&\n bCryptPasswordEncoder.matches(user.getPassword(), foundUser.getPassword())) {\n UserDetails userDetails = loadUserByUsername(foundUser.getEmail());\n response.setToken(jwtUtil.generateToken(userDetails));\n response.setUsername(foundUser.getUsername());\n\n return response;\n }\n return null;\n }", "@PostMapping(value = \"/userslogin\")\n\tpublic <T> ResponseEntity<?> loginProcess(@RequestBody User user) {\n\t\tLoginResponse loginResponse = new LoginResponse();\n\t\ttry {\n\t\t\t\n\t\t\tuser.setUserId(userDelegate.fetchUserId(user.getEmail()));\n\t\t\tloginResponse = userDelegate.login(user);\n\t\t\treturn responseUtil.successResponse(loginResponse);\t\t\n\t\t}\n\t\tcatch(ApplicationException e){\t\n\t\t\treturn responseUtil.errorResponse(e);\n\t\t}\n\t\t\n\t}", "public void onClick(View view) {\n userName = user.getText().toString();\n userPassword = pass.getText().toString();\n\n // Credentials verification\n ParseUser.logInInBackground(userName, userPassword,\n new LogInCallback() {\n public void done(ParseUser user, ParseException e) {\n if (user != null) {\n\n // Successful Login sends user to CRUD activity\n Intent intent = new Intent(\n MainActivity.this,\n MapActivity.class);\n startActivity(intent);\n\n Toast.makeText(getApplicationContext(),\n \"Successful Log in\",\n Toast.LENGTH_SHORT).show();\n finish();\n } else {\n Toast.makeText(\n getApplicationContext(),\n \"No user found. Please create account\",\n Toast.LENGTH_SHORT).show();\n\n }\n }\n });\n }", "public void login(ActionEvent event) throws IOException {\n\t\t//if user is admin, open admin screen\n\t\tif(username.getText().toLowerCase().equals(\"admin\")) {\n\t\t\t//open admin screen\n\t\t\tMain.changeScene(\"/view/admin.fxml\", \"Administrator Dashboard\");\t\t\t\n\t\t}\n\t\t//if user is blank, throw error\n\t\telse if(username.getText().isEmpty()){\n\t\t\tinvalidUserError.setVisible(true);\n\t\t}\n\t\t//otherwise make sure user exists and if they do set current user and change screen, if not throw error.\n\t\telse {\n\t\t\tfor(User user : UserState.getAllUsers()) {\n\t\t\t\tif(user.getUserName().toLowerCase().equals(username.getText().toLowerCase())) {\n\t\t\t\t\tUserState.setCurrentUser(user);\n\t\t\t\t\tMain.changeScene(\"/view/userhome.fxml\", \"User Home\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tinvalidUserError.setVisible(true);\n\t\t\tusername.setText(\"\");\n\t\t}\n\t}", "public HomePage login(String userId, String password) {\n\t\tthis.enterUserId(userId);\n\t\tthis.enterPassword(password);\n\t\tthis.clickOnLoginButton();\n\t\treturn new HomePage();\n\t}", "@Override\n public User login(int userID) {\n return new DataClass().getUserByID(userID);\n }", "private void loginExternalUser(final BusinessUserDetail user, final int widgetToLoad) {\n loginService.loginExternalUser(user.getUserId(), new SecuredAsyncCallback<Void>(eventBus) {\n\n @Override\n public void onSuccess(Void result) {\n loginUser(user, widgetToLoad);\n }\n });\n }", "@POST\r\n\t@Path(\"/login/\")\r\n\tpublic User login(@RequestBody User user);", "public void login(String userCredentials, String pass) {\r\n driver.findElement(loginTab).click();\r\n driver.findElement(username).sendKeys(userCredentials);\r\n driver.findElement(password).sendKeys(pass);\r\n driver.findElement(loginBtn).click();\r\n }", "public String logInUser(Long userId) {\n return TokenAuthService.addBearer(tokenAuthService.createTokenForUser(userId));\n }", "private static void loginToAccount() {\n\n\t\tSystem.out.println(\"Please enter your userName : \");\n\t\tString userName=scan.nextLine();\n\n\t\tSystem.out.println(\"Please enter your Password : \");\n\t\tString password=scan.nextLine();\n\n\t\tif(userName.equals(userName)&& password.equals(password))\n\t\t\tSystem.out.println(\"Welcome to AnnyBank\");\n\n\t\ttransactions();\n\t}", "String registerUserWithGetCurrentSession(User user);", "@RequestMapping(path = \"/login\")\n public String loginUser(@RequestBody User userSubmittedViaForm, HttpSession userSession) throws Exception {\n User checkUserValidity = userRepository.findByusername(userSubmittedViaForm.getUsername().toLowerCase());\n\n //Checks for username submission for null or empty string.\n if (userSubmittedViaForm.getUsername() == null || userSubmittedViaForm.getUsername().trim().length() == 0) {\n throw new Exception(\"Invalid username input\");\n }\n //Checks for password submission for null or empty string.\n else if (userSubmittedViaForm.getPassword() == null || userSubmittedViaForm.getPassword().trim().length() == 0) {\n throw new Exception(\"Invalid password input\");\n }\n //Checks if uses exists.\n else if (checkUserValidity == null) {\n throw new Exception(\"User does not exist\");\n }\n //Checks for password equality.\n else if (!PasswordStorage.verifyPassword(userSubmittedViaForm.getPassword(), checkUserValidity.getPassword())) {\n throw new Exception(\"Incorrect Password\");\n }\n //If all checks are passed will log user to session, again maybe shouldn't be an \"else\".\n else {\n //Saves session by valid username.\n userSession.setAttribute(\"username\", checkUserValidity.getUsername());\n System.out.println(\"User \" + checkUserValidity.getUsername() + \" authenticated!\");\n return \"User authenticated!\";\n }\n }", "public static SignInResult signIn(String name, Session user) {\n if (playerList.containsKey(name))\n return SignInResult.NAME_TAKEN;\n\n else if (!nameIsValid(name))\n return SignInResult.NAME_INVALID;\n\n else {\n // Create the Player object\n Player newPlayer = new Player(name);\n playerList.put(name, newPlayer);\n user.attribute(\"player\", newPlayer);\n return SignInResult.SUCCESS;\n }\n }", "public void login(){\n Intent intent=new Intent(getApplicationContext(),UserActivity.class);\n startActivity(intent);\n }", "public void login() {\n\n String username = usernameEditText.getText().toString();\n String password = passwordEditText.getText().toString();\n regPresenter.setHost(hostEditText.getText().toString());\n regPresenter.login(username, password);\n }", "public User login(String loginName, String password) throws UserBlockedException;", "@Override\n public void onClick(View v) {\n loginUser(\"111111\");\n }", "public String login(final String userKey, final String applicationKey) throws XmlRpcException {\r\n return (String) call(\"user.login_key\", userKey, applicationKey);\r\n }", "public HomePage loginAs(String username, String password) {\n // The PageObject methods that enter username, password & submit login have\n // already defined and should not be repeated here.\n typeUserName(username);\n typePassword(password);\n return clickOnSignInButton();\n }", "@Override\n\tpublic Lt_User login(Lt_User user) throws Lt_Blog_Exception {\n\t\tConnection con = DBUtil.getConnection();\n\t\tPreparedStatement state = null; \n\t\tResultSet rs = null;\n\t\tString sql = \"select type from lt_user where username=? and password = ?\";\n\t\ttry {\n\t\t\tstate = con.prepareStatement(sql);\n\t\t\tstate.setString(1, user.getUsername());\n\t\t\tstate.setString(2, user.getPasword());\n\t\t\trs = state.executeQuery();\n\t\t\tboolean hasRs = rs.next();\n\t\t\t\n\t\t\tif(!hasRs)\n\t\t\t\treturn null;\n\t\t\tuser.setType(rs.getInt(1));\n\t\t\treturn user;\n\t\t} catch (SQLException e) {\n\t\t\tLt_Blog_Exception be = new Lt_Blog_Exception();\n\t\t\tbe.code = Lt_Blog_Exception.LOGIN_ERROR;\n\t\t\tbe.description = \"登录内部错误;\";\n\t\t\t\n\t\t\tthrow be;\n\t\t}\n\t\tfinally\n\t\t{\n\t\t\ttry {\n\t\t\t\tstate.close();;\n\t\t\t\tif(rs!=null)\n\t\t\t\t\trs.close();\n\t\t\t\tcon.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tLt_Blog_Exception be = new Lt_Blog_Exception();\n\t\t\t\tbe.code = Lt_Blog_Exception.LOGIN_ERROR;\n\t\t\t\tbe.description = \"登录内部错误;\";\n\t\t\t\t\n\t\t\t\tthrow be;\n\t\t\t}\n\t\t}\n\t}", "public void startingLoginRegister(User user){\n connect();\n\n if (user.getEmail() == null){\n login(user);\n }else{\n register(user);\n }\n\n disconnect();\n }", "public void doLogin(String userName,String password) {\n\t\tenterText(usernamelocator, userName);\n\t\tenterText(passwordlocator, password);\n\t\tclick(loginButton);\n\t}", "@Override\n\tpublic User login(String user, String pass) {\n\t\treturn null;\n\t}", "public void initUser(ActiveSession user) {\n this.user = user;\n }", "public void loginAs(Actor actor) throws Exception {\n logTestStep(\"Log in to application\");\n switch (actor) {\n case USERNAME_USERS:\n WebDriverRunner.getWebDriver().navigate().to(GlobalTestData.UserName_Users.getUserURL());\n loginUser(GlobalTestData.UserName_Users.getUserId(), GlobalTestData.UserName_Users.getPassword());\n // Log.info(\"User logged in successfully.\");\n GlobalTestData.UserNameUrl = GetCurrentUrl();\n break;\n\n\n\n default:\n Assert.assertTrue(false, \"Not a valid user type.\");\n }\n }", "@Override\n public void onLogin(String userName, String userPassword)\n {\n User user=new User();\n\n if(user.getuserName().equals(userName) && user.getPassword().equals(userPassword))\n {\n mainView.onLoginResult(\"Successfully Logged In\");\n }\n else\n {\n mainView.onLoginResult(\"Failed to Log In\");\n }\n\n }", "int authenticateUser(IDAOSession session, String userName, String password);", "public void loginAsTom() {\n textFieldUsername.withTimeoutOf(2000, MILLIS).type(\"tomsmith\");\n textFieldPassword.type(\"SuperSecretPassword!\");\n buttonLogin.click();\n }", "@Override\n public void onClick(View v) {\n loginUser(\"999999\");\n }", "private void login(String username, String password) {\n userDao.findByName(username, password)\n .subscribeOn(Schedulers.io())\n .observeOn(AndroidSchedulers.mainThread())\n .subscribe(users -> {\n if (users.size() > 0) {\n User user = users.get(0);\n SharedPreferences.Editor editor = sharedPref.edit();\n editor.putInt(\"uid\", user.uid);\n editor.putString(\"username\", user.username);\n editor.putString(\"password\", user.password);\n editor.commit();\n Intent intent = new Intent(LoginActivity.this, MeasureActivity.class);\n startActivity(intent);\n } else {\n showLoginFailed();\n }\n }, e-> {\n showLoginFailed();\n });\n }" ]
[ "0.75520647", "0.72894907", "0.72133523", "0.7198081", "0.7088032", "0.7050406", "0.6945397", "0.68853927", "0.68291926", "0.6749554", "0.6740106", "0.6708122", "0.6702526", "0.6698389", "0.6689519", "0.66877604", "0.6644487", "0.66342145", "0.65786684", "0.65641737", "0.654425", "0.65441936", "0.65351224", "0.65264946", "0.65184504", "0.6510678", "0.6508377", "0.6508306", "0.6467932", "0.6441262", "0.64348537", "0.64094704", "0.64062095", "0.6394417", "0.63838434", "0.6364469", "0.6356139", "0.6351156", "0.6325287", "0.62902343", "0.62864596", "0.6280134", "0.6272572", "0.62411296", "0.6238652", "0.6232076", "0.6229526", "0.6217965", "0.62138623", "0.62011683", "0.61781955", "0.6176073", "0.6169521", "0.61536884", "0.61425203", "0.6136634", "0.6127056", "0.6119382", "0.611686", "0.61074394", "0.6102277", "0.60987633", "0.60966784", "0.6089392", "0.6086889", "0.6075739", "0.6073308", "0.6072036", "0.6061337", "0.6060462", "0.6039016", "0.6035404", "0.60293025", "0.6028756", "0.6008037", "0.600475", "0.6002848", "0.5991679", "0.5987582", "0.59868425", "0.59838176", "0.5979318", "0.5971871", "0.596892", "0.59623516", "0.5958919", "0.5950468", "0.59498894", "0.5949624", "0.59483254", "0.59468246", "0.5943569", "0.59413654", "0.5938531", "0.5936981", "0.59355354", "0.5928578", "0.5927383", "0.5924541", "0.592275", "0.5921933" ]
0.0
-1
Get the currently authenticated user.
@Override public User auth() { return this.user; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic User getAuthenticatedUser()\r\n\t{\n\t\treturn userWpJauRestClientImpl.getUser().getUser();\r\n\t}", "public static User getCurrentUser() {\n\t\treturn ApplicationContext.getInstance().getCurrentUser();\n\t}", "public User getAuthenticatedUser() {\n\t\tif(SecurityContextHolder.getContext().getAuthentication().getPrincipal().equals(\"anonymousUser\"))\n\t\t\treturn null;\n\t\treturn ((UserAuthorization) SecurityContextHolder.getContext().getAuthentication().getPrincipal()).getUser();\n\t}", "public User getCurrentUser() {\n\t\tString id = contextHolder.getUserId();\r\n\t\treturn userRepository.get(id);\r\n\t}", "private User getUser() {\r\n\t\tUserService userService = UserServiceFactory.getUserService();\r\n\t\treturn userService.getCurrentUser();\r\n\t}", "public UserCredential getCurrentUser() {\n return this.currentUser;\n }", "public UserDetails getLoggedInUser() {\n Authentication auth = SecurityContextHolder.getContext().getAuthentication();\n if (auth != null && auth.isAuthenticated()\n && !(SecurityContextHolder.getContext().getAuthentication() instanceof AnonymousAuthenticationToken)) {\n return (UserDetails) auth.getPrincipal();\n } else {\n LOGGER.debug(\"Tried getting a logged in user, but none was available.\");\n return null;\n }\n }", "protected AuthenticatedUser getCurrentUser() {\n Authentication auth = SecurityContextHolder.getContext().getAuthentication();\n\n if (auth.getPrincipal() instanceof AuthenticatedUser) {\n return (AuthenticatedUser) auth.getPrincipal();\n }\n\n return null;\n }", "public static User get() {\n User currentUser = (User) getCurrentRequest().getWrappedSession()\n .getAttribute(CURRENT_USER_DETAILS_ATTRIBUTE_KEY);\n if (currentUser == null) {\n return null;\n } else {\n return currentUser;\n }\n }", "private AuthenticatedUser getUser(AuthenticationContext context) {\n StepConfig stepConfig = context.getSequenceConfig().getStepMap().get(context.getCurrentStep() - 1);\n return stepConfig.getAuthenticatedUser();\n }", "User getCurrentLoggedInUser();", "private User getCurrentUser() {\n Authentication auth = SecurityContextHolder.getContext().getAuthentication();\n String username = auth.getName();\n return userService.findByUsername(username);\n }", "public User getCurrentUser() {\n return currentUser;\n }", "public User getUser(){\n\t\treturn currentUser;\n\t}", "@Override\n\tpublic User getCurrentUser() {\n\t\tint id = sessionService.getCurrentUserId();\n\t\treturn userDao.findById(id);\n\t}", "private String getLoggedInUser() {\r\n\t\tOptional<Authentication> authentication = Optional\r\n\t\t\t\t.ofNullable(SecurityContextHolder.getContext().getAuthentication());\r\n\t\treturn authentication.map(Authentication::getPrincipal).map(obj -> (UserDetails) obj)\r\n\t\t\t\t.map(UserDetails::getUsername).orElse(null);\r\n\t}", "public User getUser() {\n Authentication auth = SecurityContextHolder.getContext().getAuthentication();\n return userRepository.findByEmail(auth.getName()).get();\n }", "public User getLoggedInUser() {\n Realm realm = (mRealm == null) ? Realm.getDefaultInstance() : mRealm;\n User retval = null;\n User managedUser = realm.where(User.class).equalTo(\"IsLoggedIn\", true).findFirst();\n if (managedUser != null) {\n retval = realm.copyFromRealm(managedUser);\n } else {\n retval = realm.copyFromRealm(realm.where(User.class).equalTo(\"UserId\", \"anonymous\").findFirst());\n }\n\n if (mRealm == null)\n realm.close();\n\n return retval;\n }", "public User findCurrentUser() {\n String username = SecurityContextHolder.getContext().getAuthentication().getName();\n return userRepository.findByUsername(username);\n }", "@Override\n\tpublic User getCurrentUser() {\n\t\treturn currentUser;\n\t}", "public static User getCurrentUser() {\n return CURRENT_USER;\n }", "public String getCurrentUser() {\r\n return SecurityContextHolder.getContext().getAuthentication().getName();\r\n }", "LoggedUser getLoggedUser();", "public final User getUser() {\t\r\n\t\treturn this.user;\r\n\t}", "public User getLoggedUser();", "public static User getCurrentUser() {\n return sInstance == null ? null : sInstance.mCurrentUser;\n }", "public String getCurrentUser() {\n return currentUser;\n }", "public User getUser() {\n\t\treturn this.user;\n\t}", "public User getUser() {\n\t\treturn this.user;\n\t}", "@Override\r\n\tpublic User getCurrentUser() {\r\n\t\tString currentUserName = this.getCurrentUserName();\r\n\t\tUser userdetails = this.getByUsername(currentUserName);\r\n\t\treturn userdetails;\r\n\t}", "public User getUserEntity() {\n Authentication authentication = getAuthentication();\n if(authentication == null) {\n throw new AuthenticationCredentialsNotFoundException(\"No user is currently logged in.\");\n }\n return userDAO.getById(getUserInfo().getId());\n }", "@Nullable\n User getCurrentUser() {return currentUser;}", "public TokenUser findTokenUser() {\n\t\treturn securityContextService != null && securityContextService.getAuthentication() != null\n\t\t\t\t? (TokenUser) securityContextService.getAuthentication().getDetails()\n\t\t\t\t: null;\n\t}", "ApplicationUser getUser();", "public User getUser() {\n\t\treturn user;\n\t}", "public User getUser() {\n\t\treturn user;\n\t}", "public User getUser() {\n\t\treturn user;\n\t}", "public User getUser() {\n\t\treturn user;\n\t}", "public User getUser() {\n\t\treturn user;\n\t}", "public User getUser() {\n\t\treturn user;\n\t}", "@GET\n @Path(\"Current\")\n public User getCurrentUser() {\n return userFacade.getCurrentUser();\n }", "public User getUser() {\r\n\t\treturn user;\r\n\t}", "public User getUser() {\r\n\t\treturn user;\r\n\t}", "public User getUser() {\r\n\t\treturn user;\r\n\t}", "public AVUser getCurrentUser() {\n return this.currentUser;\n }", "public static String getUser() {\n return user;\n }", "public String getLoggedInUser() {\n\t\treturn null;\r\n\t}", "@Override\n public DocumentUser getUser() {\n UserService userService = UserServiceFactory.getUserService();\n User user = userService.getCurrentUser();\n if (user != null){\n String email = user.getEmail();\n AuthenticationToken at = AuthenticationToken.getUserToken(email);\n if (at != null) {\n DocumentUser docUser = new DocumentUser();\n docUser.setToken(at.getPublicToken());\n docUser.setName(user.getNickname());\n docUser.setEmail(user.getEmail());\n docUser.setId(user.getUserId());\n return docUser;\n }\n }\n return null;\n }", "public static String getLoggedUser() {\n\t\tAuthentication auth = SecurityContextHolder.getContext().getAuthentication();\n\t\treturn auth.getName();\n\t}", "public User getCurrentUser() {\n\t\treturn users.get(userTurn);\n\t}", "public BaseUser getUser() {\r\n\t\treturn user;\r\n\t}", "UserDetails getCurrentUser();", "public User getUser() {\n\t\treturn mUser;\n\t}", "public static String getUser() {\r\n return user;\r\n }", "public UserInfo getUserInfo() {\n Authentication authentication = getAuthentication();\n if(authentication == null) {\n throw new AuthenticationCredentialsNotFoundException(\"No user is currently logged in.\");\n }\n return (UserInfo) authentication.getPrincipal();\n }", "public User getUser(){\n return this.getAccountController().getUser();\n }", "public String getUser() {\n\t\treturn user;\n\t}", "public String getUser() {\n\t\t\treturn user;\n\t\t}", "public String getAuthUserId() {\n return (String) session.getAttribute(\"userId\");\n }", "public Principal getUserPrincipal() {\n return userPrincipal;\n }", "public String getUser() {\n return user;\n }", "public String getUser() {\n return user;\n }", "public String getUser() {\n return user;\n }", "public String getUser() {\r\n\t\treturn user;\r\n\t}", "public String getUser() {\r\n\t\treturn user;\r\n\t}", "private EndUser getCurrentLoggedUserDetails() {\n\n\t\tEndUser endUser = endUserDAOImpl.findByUsername(getCurrentLoggedUserName()).getSingleResult();\n\n\t\treturn endUser;\n\n\t}", "@PermitAll\n @Override\n public User getCurrentUser() {\n Map params = new HashMap<String, Object>();\n params.put(CommonSqlProvider.PARAM_WHERE_PART, User.QUERY_WHERE_USERNAME);\n params.put(User.PARAM_USERNAME, this.getUserName());\n return getRepository().getEntity(User.class, params);\n }", "public User getUser(){\n\t\treturn this.user;\n\t}", "public User getLoggedUser(){\n\t\treturn loggedUser;\n\t}", "@Override\n\tpublic UtenteBase getSessionUser() {\n\t\tUtenteBase user = (UtenteBase) getThreadLocalRequest().getSession().getAttribute(\"user\");\n\t\treturn user;\n\t}", "public User getUser() {\n if (mUser == null) {\n mUser = new User(getApplicationContext());\n }\n return mUser;\n }", "public User getUser(){\r\n\t\treturn this.user;\r\n\t}", "public UserModel getUser() {\n return localUser;\n }", "public UserModel getUser() {\n return localUser;\n }", "public UserModel getUser() {\n return localUser;\n }", "public String getUser() {\r\n return user;\r\n }", "public SimpleUser getUser() {\n return user;\n }", "public String getUser() {\r\n\t\treturn _userName;\r\n\t}", "public java.lang.String getUser() {\n return user;\n }", "public String getUser() {\n return this.user;\n }", "public User getUser() {\n return user;\n }", "public User getUser() {\n return user;\n }", "public User getUser() {\n return user;\n }", "public User getUser() {\n return user;\n }", "public abstract User getLoggedInUser();", "public IUser getCurrentUser() {\n return currentUser;\n }", "public String getUser() {\r\n \t\treturn properties.getProperty(KEY_USER);\r\n \t}", "@Override\n\tpublic IUser getUser() {\n\t\treturn getInnerObject().getUser();\n\t}", "public static User getCurrentUser() {\n if (cacheUser != null)\n return cacheUser;\n\n User user;\n String jsonData = getSharedPreferences().getString(PREF_KEY_USER_INFO, \"\");\n\n //Convert back to User data model\n try {\n user = (new Gson()).fromJson(jsonData, User.class);\n } catch (Exception e) {\n String message = \"null\";\n if (e != null) {\n message = e.getMessage();\n }\n LogUtils.logInDebug(LOG_TAG, \"getCurrentUserInfo error: \" + message);\n user = null;\n }\n\n cacheUser = user;\n\n if (user != null)\n cacheAccessToken = user.secret;\n\n return cacheUser;\n }", "public User getLoggedInUser() throws NoUserLoggedInException{\r\n\t\tif(this.user != null){\r\n\t\t\treturn this.user;\r\n\t\t}//-if\r\n\t\telse{\r\n\t\t\tthrow new NoUserLoggedInException(ExceptionType.ERROR);\r\n\t\t}//-else\r\n\t}", "public static int getCurrentUserId() {\n return session.get().getUserId();\n }", "synchronized public String getUser()\n\t{\n\t\tif (userInfo != null)\n\t\t\treturn userInfo.getUserID();\n\t\t\t\n\t\treturn null;\n\t}", "public User getUser() {\r\n return user;\r\n }", "public User getUser(){\n\t\treturn user;\n\t}", "public final String getUser() {\n return username;\n }", "public User getLoggedUser() throws Exception {\n\t\tObject principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal();\r\n\r\n\t\tUserDetails loggedUser = null;\r\n\r\n\t\t//Verificar que ese objeto traido de sesion es el usuario\r\n\t\tif (principal instanceof UserDetails) {\r\n\t\t\tloggedUser = (UserDetails) principal;\r\n\t\t}\r\n\t\t\r\n\t\tUser myUser = userRepository\r\n\t\t\t\t.findByusername(loggedUser.getUsername()).orElseThrow(() -> new Exception(\"\"));\r\n\t\tif(loggedUserHasRole(\"ROLE_ADMIN\")) {\r\n\t\t\tmyUser.setIsAdmin(true);\r\n\t\t}\r\n\t\telse if(loggedUserHasRole(\"ROLE_SUPERVISOR\")) {\r\n\t\t\tmyUser.setIsSuper(true);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tmyUser.setIsUser(true);\r\n\t\t}\r\n\t\treturn myUser;\r\n\t}", "public synchronized static User getUser() {\n return null;\n }", "User current_user(String name);", "public User getUser() {\n\treturn user;\n }", "public String getUser()\n {\n return this.user;\n }" ]
[ "0.8021083", "0.79197913", "0.79059464", "0.7893598", "0.78771794", "0.78366923", "0.77939135", "0.7724682", "0.7717125", "0.7663612", "0.7514563", "0.7503135", "0.74924195", "0.73946357", "0.7382479", "0.7382307", "0.7328159", "0.7312135", "0.72914344", "0.71983963", "0.7182672", "0.7178805", "0.71758807", "0.7170039", "0.7108884", "0.7054426", "0.70390356", "0.7019161", "0.7019161", "0.7016226", "0.69893104", "0.6987945", "0.69774425", "0.6929142", "0.6927349", "0.6927349", "0.6927349", "0.6927349", "0.6927349", "0.6927349", "0.69247776", "0.6886766", "0.6886766", "0.6886766", "0.6879717", "0.6876124", "0.6860723", "0.6847569", "0.6840209", "0.67987037", "0.6798317", "0.67921656", "0.6779316", "0.6769979", "0.6765069", "0.6757352", "0.6732984", "0.67325574", "0.6711561", "0.66982114", "0.66820854", "0.66820854", "0.66820854", "0.66800076", "0.66800076", "0.6645485", "0.662385", "0.662195", "0.6613151", "0.66069907", "0.6606363", "0.66058415", "0.65945625", "0.65945625", "0.65945625", "0.65896744", "0.65850586", "0.657434", "0.6565153", "0.65640485", "0.65570205", "0.65570205", "0.65570205", "0.65570205", "0.65503645", "0.654428", "0.6542758", "0.6536809", "0.6533167", "0.6527313", "0.65086293", "0.6480273", "0.6462236", "0.64481056", "0.6448038", "0.6441765", "0.64338654", "0.64235556", "0.64235103", "0.6421114" ]
0.69447947
33
Log out the currently authenticated user. Does nothing if no user is currently authenticated.
@Override public void logout() { this.user = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void logout() {\n\t\tthis.setCurrentUser(null);\n\t\tthis.setUserLoggedIn(false);\t\t\n\t}", "private void logOut() {\n mApi.getSession().unlink();\n\n // Clear our stored keys\n clearKeys();\n // Change UI state to display logged out version\n setLoggedIn(false);\n }", "private void logout() {\n userModel.setLoggedInUser(null);\n final Intent intent = new Intent(this, LoginActivity.class);\n startActivity(intent);\n finish();\n }", "public void logoutCurrentUser() {\n mAuth.signOut();\n this.loggedInUser = null;\n }", "private void logoutUser() {\n\t\tsession.setLogin(false);\n\n\t\tdb.deleteUsers();\n\n\t\t// Launching the login activity\n\t\tIntent intent = new Intent(MainActivity.this, LoginActivity.class);\n\t\tstartActivity(intent);\n\t\tfinish();\n\t}", "private void logoutUser() {\n\t\tsession.setLogin(false);\n\n\n\t\t// Launching the login activity\n\t\tIntent intent = new Intent(EnterActivity.this, LoginActivity.class);\n\t\tstartActivity(intent);\n\t\tfinish();\n\t}", "private void logoutUser() {\n session.setLogin(false);\n\n db.deleteUsers();\n\n // Launching the login activity\n Intent intent = new Intent(this, Login.class);\n startActivity(intent);\n finish();\n }", "private void logoutUser() {\n session.setLogin(false);\n\n db.deleteUsers();\n\n // Launching the login activity\n Intent intent = new Intent(getActivity(), LoginActivity.class);\n startActivity(intent);\n getActivity().finish();\n }", "protected void logout() {\n\t\tActiveUserModel userController = ActiveUserModel.getInstance();\n\t\tuserController.performLogout();\n\n\t\tIntent intent = new Intent(this, LoginActivity.class);\n\t\tstartActivityForResult(intent, LOGIN_ACTIVITY);\n\t}", "protected void userLoggedOut() {\n\t\tRuvego.userLoggedOut();\n\t\tResultsActivityMenu.userLoggedOut();\n\t\tHistory.newItem(\"homePage\");\n\t}", "private void logout() {\n\t\tParseUser.logOut();\n\n\t\t// Go to the login view\n\t\tstartLoginActivity();\n\t}", "@Override\n\tpublic void logout() {\n\t\tsessionService.setCurrentUserId(null);\n\t}", "private void logoutUser() {\n session.setLogin(false);\n\n db.deleteUsers();\n\n // Launching the login activity\n Intent intent = new Intent(MainActivity.this, Login.class);\n startActivity(intent);\n finish();\n }", "public void logout () {\n\t\tif (isLoggedIn()) {\n\t\t\tGPPSignIn.sharedInstance().signOut();\n\t\t\tGPGManager.sharedInstance().signOut();\n\t\t}\n\t}", "public void logOut() {\n\t\tToken.getIstance().setHashPassword(null);\n\t}", "private void logoutUser() {\n session.setLogin(false);\n\n db.deleteUsers();\n\n // Launching the login activity\n Intent intent = new Intent(Activity_Main.this, Activity_Login.class);\n startActivity(intent);\n finish();\n }", "public Result logOut() {\n customerService().logout();\n return redirectToReturnUrl();\n }", "public void logOut() {\r\n\t\tthis.modoAdmin = false;\r\n\t\tthis.usuarioConectado = null;\r\n\t}", "public void Logout()\n {\n isLoggedIn = false;\n connection.Disconnect(); \n connection = null;\n }", "@Override\n public void logout() {\n if (SecurityContextHolder.getContext().getAuthentication() != null) {\n SecurityContextHolder.getContext().setAuthentication(null);\n }\n session.invalidate();\n }", "public void logout(){\n\t\t\n\t\tcurrentUser.logout();\n\t\tcurrentUser = null;\n\t\tchangeViewPort(new GUI_Logout(\"\", \"\", this));\n\t}", "public void logOut() {\n try {\n // getGlobalNavigation().clickSignOut();\n } catch (TimeoutException e) {\n Log.log(\"logOut\", \"page loads for more than 30 seconds\", true);\n }\n }", "public void doLogout() {\n mSingleton.getCookieStore().removeUser(mUser);\n mPreferences.setUser(null);\n new ActivityTable().flush();\n\n //update variables\n mUser = null;\n mLogin = false;\n\n //reset drawer\n restartActivity();\n }", "private void logout() {\n\t\tgetUI().get().navigate(\"login\");\r\n\t\tgetUI().get().getSession().close();\r\n\t}", "public void logoutCurrentUser() {\n currentUser = null;\n }", "private void logoutUser() {\n session.setLogin(false);\n\n db.deleteUsers();\n\n // Launching the login activity\n Intent intent = new Intent(EscolhaProjeto.this, LoginActivity.class);\n startActivity(intent);\n finish();\n }", "public void attemptLogout() {\n spEditor.clear();\n spEditor.putBoolean(LOGGEDIN_KEY, false);\n spEditor.commit();\n }", "public void logout() {\n getRequest().getSession().invalidate();\n }", "private void signOutUser() {\n mAuth.signOut();\n LoginManager.getInstance().logOut();\n Toast.makeText(ChatMessage.this, \"You have been logout\", Toast.LENGTH_SHORT).show();\n finishAffinity();\n proceed();\n }", "public void logout(){\r\n\t\tallUser.remove(this.sessionID);\r\n\t\tthis.sessionID = -1;\r\n\t}", "@Override\n\tpublic void logOutUser() {\n\t\t\n\t}", "private void logout()\r\n {\r\n LogoutRequest request = new LogoutRequest();\r\n request.setUsername(username);\r\n this.sendRequest(request);\r\n }", "public void logout() {\n loggedIn = \"\";\n FacesContext.getCurrentInstance().getExternalContext()\n .getSessionMap().put(\"loggedIn\", \"\");\n }", "public void logout() {\n \n }", "public void logOut() {\n sp.edit().clear().commit();\n }", "public void removeCurrentUser() {\n currentUser.logout();\n currentUser = null;\n indicateUserLoginStatusChanged();\n }", "private void LogOut() {\n FirebaseAuth.getInstance().signOut();\n Intent intToMain = new Intent(getActivity(),LoginActivity.class);\n startActivity(intToMain);\n }", "private void signOut() {\n mAuth.signOut();\n }", "public void Logout(){\n preferences.edit().remove(userRef).apply();\n }", "public static void Logout(){\n\t\tloginSystem();\r\n\t\t\r\n\t}", "public static void logout(Context context) \r\n\t{\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\t\r\n\t\t\tcontext.sessionAttribute(\"currentUser\", null);\r\n\t\t\tcontext.redirect(\"/index.html\");\r\n\t\t\t//context.json(new MyCustomResponseMessage(\"You've successfully logged out\", \"success\"));\r\n\t\t}\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\tLogging.error(e);\r\n\t\t}\r\n\t}", "public void logOut() {\n\t\t//Inform the database that the user want to log out\n\t\tdc.logOutPlayer(activity);\n\t\t\n\t\t/*\n\t\t * Call is made to StartActivity, which surely is in the bottom of activity-stack. Add a flag to clear stack\n\t\t * and from StartActivity a call is made to the Login screen and StartActivity is finished. By doing this we\n\t\t * assure that Login screen is at the bottom of the activity-stack and a press on back button, while placed \n\t\t * on Login screen, will result in that the application is closed\n\t\t */\n\t\tIntent intent = new Intent(activity, StartActivity.class);\n\t\tintent.putExtra(\"finish\", true);\n\t\tintent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n\t\tactivity.startActivity(intent);\n\t\tactivity.finish();\n\t}", "public void Logout() {\n \t\t\t\n \t\t}", "public void logOut() {\n Logger.d(TAG,\"login#logOut\");\n Logger.d(TAG,\"login#stop reconnecting\");\n //\t\teverlogined is enough to stop reconnecting\n everLogined = false;\n isLocalLogin = false;\n reqLoginOut();\n }", "public void userLoggedOut(User user) \n\t\t{\n\t\t\tLog.i(\"OpenFeint\", \"User logged out\");\n\t\t\tMainActivity.this.userLoggedOut();\n\t\t}", "public void userLoggedOut(User user) \n\t\t{\n\t\t\tLog.i(\"OpenFeint\", \"User logged out\");\n\t\t\tMainActivity.this.userLoggedOut();\t\n\t\t}", "private void logout() {\n //set offline flag\n String uid = FirebaseAuth.getInstance().getCurrentUser().getUid();\n new PostNoSqlDataBase(this).offline(uid);\n\n //logout\n // FirebaseAuth mAuth = FirebaseAuth.getInstance();\n GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(getString(R.string.default_web_client_id))\n .requestEmail()\n .build();\n\n GoogleSignInClient mGoogleSignInClient = GoogleSignIn.getClient(this, gso);\n mGoogleSignInClient.signOut();\n FirebaseAuth.getInstance().signOut();\n //go to the main activity\n startActivity(new Intent(this, SignUpActivity.class));\n finish();\n }", "void logout();", "void logout();", "private void logout() {\n LogoutTask mAuthTask = new LogoutTask();\n mAuthTask.execute((Void) null);\n }", "public static Result logout() {\n session().clear();\n flash(\"success\", Messages.get(\"youve.been.logged.out\"));\n return GO_HOME;\n }", "public void logout() {\n SharedPreferences sharedPreferences = mCtx.getSharedPreferences(AppConfig.SHARED_PREF_NAME, Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.clear();\n editor.apply();\n mCtx.startActivity(new Intent(mCtx, LoginActivity.class));\n }", "public static void logout() {\n\t\tif (activeAccount != null) try {\n\t\t\t\n\t\t\tif (authClient != null)\n\t\t\t\tauthClient.logout();\n\t\t\tauthClient = null;\n\t\t\t\n\t\t\tactiveAccount = null;\n\t\t}\n\t\tcatch (IOException ioe) {\n\t\t\tJOptionPane.showMessageDialog(DialogPanel.getTopWindow(), (\"An error occurred while logging out from the GoldenGATE Server at\\n\" + activeAccount.host + \":\" + activeAccount.port + \"\\n\" + ioe.getMessage()), \"Error on Logout\", JOptionPane.ERROR_MESSAGE);\n\t\t}\n\t}", "public void signOut(){\n mAuth.signOut();\n }", "public void logout(){\n SharedPreferences settings = mContext.getSharedPreferences(\"UserData\", 0);\n SharedPreferences.Editor preferencesEditor = settings.edit();\n preferencesEditor.clear();\n preferencesEditor.commit();\n // take user back to login screen\n Intent logoutIntent = new Intent(mContext, LoginActivity.class);\n logoutIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);\n mContext.startActivity(logoutIntent);\n }", "public LoginPage logUserOut() {\n if (browser.findElements(By.id(LOGOUT_BUTTON_ID)).isEmpty()) {\n throw new RuntimeException(\"Cannot log the user out because the logout button is not visible. Is user logged in?\");\n }\n\n browser.findElement(By.id(LOGOUT_BUTTON_ID)).click();\n\n LoginPage shown = new LoginPage(browser);\n shown.waitUntilPageIsOpen();\n return shown;\n }", "private void logout() {\n ProgressDialog logoutProgressDialog = new ProgressDialog(ContributionsGalleryActivity.this);\n logoutProgressDialog.setMessage(getResources().getString(R.string.logging_out));\n logoutProgressDialog.setCancelable(false);\n logoutProgressDialog.show();\n ParseUser.logOutInBackground(e -> {\n logoutProgressDialog.dismiss();\n if (e != null) { // Logout has failed\n Snackbar.make(contributionsGalleryRelativeLayout, getResources().getString(R.string.logout_failed), Snackbar.LENGTH_LONG).show();\n }\n else { // Logout has succeeded\n goLoginSignupActivity();\n finish();\n }\n });\n }", "private void signOut() {\n mAuth.signOut();\n updateUI(null);\n }", "public void logout()\r\n {\r\n loginForForm = \"\";\r\n passwordForForm = \"\";\r\n redirectSession(\"/logout\");\r\n }", "private void logout() {\n getSharedPreferences(HELP_CATEGORIES, MODE_PRIVATE).edit().clear().apply();\n getSharedPreferences(LOGIN, MODE_PRIVATE).edit().putBoolean(IS_LOGGED_IN, false).apply();\n\n OkHttpClient client = new OkHttpClient();\n Request request = new Request.Builder()\n .url(URL + \"/nuh/logout\")\n .build();\n AsyncTask.execute(() -> {\n try {\n client.newCall(request).execute();\n } catch (IOException e) {\n e.printStackTrace();\n }\n });\n }", "public static void logout() {\n click(MY_ACCOUNT_DROPDOWN);\n click(LOGOUT_BUTTON);\n }", "public void logOut() {\n\t\t// Close all opened windows and start up the App again\n\t\tcurrentUser = null;\n\t\tcurrentContact = null;\n\t\tjava.awt.Window win[] = java.awt.Window.getWindows();\n\t\tfor (int i = 0; i < win.length; i++) {\n\t\t\twin[i].dispose();\n\t\t}\n\t\tApp.main(null);\n\t}", "public void logOutAdministrator() {\n logOutGeneral();\n }", "public void logOutFirebaseAccounts() {\n AuthUI.getInstance()\n .signOut(mAccountsFragment.getContext())\n .addOnCompleteListener(new OnCompleteListener<Void>() {\n public void onComplete(@NonNull Task<Void> task) {\n setNotLoggedInLayoutVisible();\n }\n });\n }", "private void logout() {\n ((MyApplication)this.getApplication()).setLoggedIn(false);\n// Intent intent = new Intent(this, StartupActivity.class);\n// startActivity(intent);\n }", "public static void logout() {\n userId = -1;\n aisId = -1;\n \n name = \"\";\n role = \"\";\n roleFromDatabase = \"\";\n \n lastAction = LocalDateTime.now().minusYears(100);\n }", "public String logout() {\n String destination = \"/index?faces-redirect=true\";\n\n // FacesContext provides access to other container managed objects,\n // such as the HttpServletRequest object, which is needed to perform\n // the logout operation.\n FacesContext context = FacesContext.getCurrentInstance();\n HttpServletRequest request = \n (HttpServletRequest) context.getExternalContext().getRequest();\n\n try {\n // added May 12, 2014\n HttpSession session = request.getSession();\n session.invalidate();\n \n // this does not invalidate the session but does null out the user Principle\n request.logout();\n } catch (ServletException e) {\n log.log(Level.SEVERE, \"Failed to logout user!\", e);\n destination = \"/loginerror?faces-redirect=true\";\n }\n\n return destination; // go to destination\n }", "public void onLogout() {\n ParseUser.logOut();\n\n promptForLogin();\n }", "@Step(\"Log out\")\n public void logOut() {\n open();\n sighOutButton.click();\n }", "@Override\n\tpublic void exitSessionUser() {\n\t\tgetThreadLocalRequest().getSession().invalidate();\n\t\t\n\t}", "public void logout() {\n if (mAccessToken != null) {\n mSession.resetAccessToken();\n mAccessToken = null;\n }\n }", "public void logout() {\n\n $(logOutNavigator).click();\n driver = commonMethods.waitForElement(driver, logOffBtn);\n $(logOffBtn).click();\n $(loadingProgressIcon).should(disappear);\n }", "public void logout() {\n SharedPreferences sharedPreferences = mCtx.getSharedPreferences(SHARED_PREF_NAME, Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.clear();\n editor.apply();\n Intent myIntent = new Intent(mCtx, LoginActivity.class);\n myIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n mCtx.startActivity(myIntent);\n }", "private void logout(){\n ParseUser.logOut();\n removeUserFromPrefs();\n Intent intent = LandingActivity.intent_factory(this);\n startActivity(intent);\n }", "@FXML\r\n private void handleButtonLogOut() {\r\n sessionContent.remove(\"activeId\");\r\n user = null;\r\n MobileApplication.getInstance().switchView(LOGIN_VIEW);\r\n }", "public boolean logoutUser(Context context){\n\t\tDatabaseHandler db = new DatabaseHandler(context);\n\t\tdb.resetTables();\n\t\treturn true;\n\t}", "public static void Logout() throws IOException {\n Socket client = ConnectionToServer();\n // Checks if the sever is online\n if (client.isConnected()) {\n OutputStream outputStream = client.getOutputStream();\n InputStream inputStream = client.getInputStream();\n\n ObjectOutputStream send = new ObjectOutputStream(outputStream);\n ObjectInputStream receiver = new ObjectInputStream(inputStream);\n\n send.writeUTF(\"Logout\"); // Send logout to server\n send.writeUTF(loggedInUser); // Send username to server\n send.flush();\n// End connections\n send.close();\n receiver.close();\n client.close();\n }\n// Resetting the application for the user on the client-side\n loggedInUser = \"\";\n Login.usernameText.setText(\"\");\n loginSuccessful = false;\n boolean[] falsePermission = {false, false, false, false};\n permission.SetUserPermission(falsePermission);\n token = \"\";\n ControlPanelFrameHandler.LogoutWindow();\n }", "private void Logout() {\n\n\t\tPreferenceUtil.getInstance(mContext).saveBoolean(\"exitApp\", true);\n\t\tPreferenceUtil.getInstance(mContext).clear();\n\t\tPreferenceUtil.getInstance(mContext).destroy();\n\n\t\tZganLoginService.toClearZganDB();\n\n\t\tstopService(new Intent(mContext, ZganPushService.class));\n\n\t\tsetContentView(R.layout.nullxml);\n\t\tfinish();\n\t\tandroid.os.Process.killProcess(android.os.Process.myPid());\n\n\t\tSystem.exit(0);\n\t}", "public boolean logoutUser(Context context){\n DatabaseHandler db = new DatabaseHandler(context);\n db.resetTables();\n return true;\n }", "@Override\r\n\tpublic void logout() {\n\t\t\r\n\t}", "private void logout() {\n fbAuth.signOut();\n startActivity(new Intent(getApplicationContext(), LoginActivity.class));\n finish();\n }", "public String logout()\n\t{\n\t\tsession.remove(\"user_name\");\n\t\tsession.remove(\"password\");\n\t\tsession.clear();\n\t\tsession.invalidate();\t\n\t\taddActionMessage(\"You Have Been Successfully Logged Out\");\n\t\treturn SUCCESS;\n\t}", "public int logOut(String username)\n {\n\t (this.userCtrl.getUser(username)).setLoggedIn(false);\n\t this.clearBrowsingHistory();\n\t \n\t if (this.userCtrl.getUser(username).isLoggedIn()) // If the user is still logged in\n\t {\n\t\t return 0;\n\t }\n\t \n\t return 1; // If the user successfully logged out\n }", "@POST\n @Path(\"/\")\n public Response logout() {\n if (!FeatureFlags.API_SESSION_AUTH.enabled()) {\n return error(Response.Status.INTERNAL_SERVER_ERROR, \"This endpoint is only available when session authentication feature flag is enabled\");\n }\n if (!session.getUser().isAuthenticated()) {\n return error(Response.Status.BAD_REQUEST, \"No valid session cookie was sent in the request\");\n }\n session.setUser(null);\n session.setStatusDismissed(false);\n return ok(\"User logged out\");\n }", "private void signOut(){\n Log.d(TAG, \"signOut: signing out\");\n FirebaseAuth.getInstance().signOut();\n }", "public static void makeUnlogged() {\n\t\tMemberSessionFacade.removeAttribute(ConfigKeys.LOGGED);\n//\t\tControllerUtils.addCookie(ConfigKeys.LOGGED, null);\n\t}", "public void signOut() {\n ReusableActionsPageObjects.clickOnElement(driver, signOut, logger, \"log out.\");\n }", "void logoff();", "public static void logout(Activity a) {\n\t\t// Directing to the LogIn page\n\t\tIntent intent = new Intent(a, MainActivity.class);\n\t\tUser.getUser().setToken(\"\");\n\t\tUser.getUser().setUserid(\"\");\n\t\tUser.getUser().setAccounts(null);\n\t\ta.startActivity(intent);\n\t\ta.finish();\t\n\t}", "public void logOutOnClick(View view)\n {\n Intent mainIntent = new Intent(SettingsActivity.this, AppLoginActivity.class);\n mainIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);\n FirebaseAuth.getInstance().signOut();\n startActivity(mainIntent);\n finish();\n }", "private void logoutHandler(RoutingContext context) {\n context.clearUser();\n context.session().destroy();\n context.response().setStatusCode(204).end();\n }", "public void logout() {\r\n SharedPreferences sharedPreferences = ctx.getSharedPreferences(SHARED_PREF_NAME, Context.MODE_PRIVATE);\r\n SharedPreferences.Editor editor = sharedPreferences.edit();\r\n editor.clear();\r\n editor.apply();\r\n ctx.startActivity(new Intent(ctx, MainActivity.class));\r\n }", "public void doLogout() {\n loggedIn = false;\r\n HttpSession session = (HttpSession) FacesContext.getCurrentInstance()\r\n .getExternalContext().getSession(false);\r\n session.invalidate(); \r\n String pag= \"/login.xhtml\";\r\n redireccionar(pag);\r\n }", "public void logout(Principal user) {\n }", "private void signOut() {\n //logout of google\n GoogleSignIn.getClient(this, GoogleSignInOptions.DEFAULT_SIGN_IN).signOut()\n .addOnCompleteListener(this, new OnCompleteListener<Void>() {\n @Override\n public void onComplete(@NonNull Task<Void> task) {\n return;\n }\n });\n\n //logout of facebook\n LoginManager.getInstance().logOut();\n\n Intent intent = new Intent(this, Login.class);\n startActivity(intent);\n }", "public void logout() {\n showLoginScreen();\n }", "public abstract void logout();", "private void signOut () {\n\n //Normal account sign out\n mAuth.signOut();\n //Google account sign out\n mGoogleSignInClient.signOut();\n updateUI(\"Signed out\");\n //Can't open chat without non-empty accountEmail\n accountEmail = \"\";\n }", "public void signOutClick()\n {\n if(mAuth.getCurrentUser() != null)\n {\n // sign out.\n mAuth.signOut();\n\n // switch activity to login form.\n finish();\n Intent intent = new Intent(this, LoginActivity.class);\n startActivity(intent);\n }\n }", "@Override\n public void Logout() {\n\t \n }" ]
[ "0.7847963", "0.7583869", "0.75726265", "0.755508", "0.74718344", "0.7451381", "0.7443775", "0.73944503", "0.73787934", "0.73629427", "0.7361486", "0.73611635", "0.73396665", "0.73250526", "0.73147374", "0.7310036", "0.7279119", "0.719291", "0.71711004", "0.71515787", "0.7150366", "0.71475494", "0.71407366", "0.7139174", "0.7088652", "0.70675874", "0.7057883", "0.703641", "0.702806", "0.7026756", "0.7022607", "0.7015141", "0.69903314", "0.69551677", "0.6954116", "0.6949178", "0.69479704", "0.6936536", "0.68831474", "0.68626904", "0.6837697", "0.68152195", "0.68079376", "0.67953694", "0.677225", "0.67442065", "0.67431843", "0.67243457", "0.67243457", "0.6709317", "0.66957974", "0.6687673", "0.668326", "0.66777986", "0.6658062", "0.663862", "0.6633384", "0.6628902", "0.6615938", "0.6601313", "0.6593751", "0.6582046", "0.6567428", "0.65602136", "0.65596277", "0.65524685", "0.6548744", "0.6542044", "0.6528239", "0.6518986", "0.6514292", "0.64992654", "0.6481158", "0.64590484", "0.6454312", "0.64484537", "0.6441029", "0.6440022", "0.6438732", "0.6428258", "0.642785", "0.64222413", "0.64181393", "0.64170074", "0.64122903", "0.64036787", "0.63956887", "0.63897735", "0.6383467", "0.63791823", "0.6376071", "0.6366777", "0.63556993", "0.63545644", "0.6346664", "0.6330689", "0.63303113", "0.6320778", "0.63151723", "0.6309346" ]
0.7192136
18
Check if the currently authorized user has the given permission.
@Override public boolean can(String permission) { return this.auth() != null && this.auth().getRole() != null && this.auth().getRole().getPermissions().parallelStream().filter(p -> Pattern.compile(p.getName()).matcher(permission).groupCount() == 0).count() != 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean checkPermission(Permission permission);", "boolean isHasPermissions();", "public boolean checkIfUserHasPermission(long userId, Permission permission) {\n final Optional<User> user = userRepository.findById(userId);\n\n return user.isPresent()\n && permission != null\n && user.get().getRole().getPermissions().contains(permission);\n\n }", "private static boolean isPermissionGranted(Context context, String permission) {\n if (ContextCompat.checkSelfPermission(context, permission)\n == PackageManager.PERMISSION_GRANTED) {\n Log.i(TAG, permission + \" granted\");\n return true;\n }\n Log.i(TAG, permission + \" not granted yet\");\n return false;\n }", "public boolean checkPermission(final DataBucketBean bucket, final String permission) {\r\n\t\t\treturn _security_service.isUserPermitted(principalName, bucket, Optional.of(permission));\r\n\t\t}", "public boolean isPermissionGranted(String permission){\n return true;\n// else\n// return false;\n }", "public boolean hasPermission(T object, Permission permission, User user);", "public boolean hasPermission ( Permission perm ) {\n\t\treturn extract ( handle -> handle.hasPermission ( perm ) );\n\t}", "boolean hasPermission(final Player sniper, final String permission);", "public boolean hasPermission(TwitchAccount account, String permissionKey) {\n\n // Team has global access\n User user = ServiceRegistry.get(DataService.class).get(UserRepository.class).getByTwitchId(account.getTwitchId());\n if (user != null && user.getRank().equals(UserRank.TEAM)) {\n return true;\n }\n\n for (Permissions perm : getPermissions()) {\n if (perm.hasPermission(account, permissionKey)) {\n return true;\n }\n }\n\n return false;\n }", "public boolean checkPermission(PermissionCheckContext context) {\n PolarAccountInfo account = accountPrivilegeData.getAndCheckById(context.getAccountId());\n if (PolarAuthorizer.hasPermission(account, context.getPermission())) {\n return true;\n }\n\n return account.getRolePrivileges().getActiveRoleIds(context.getActiveRoles(), config.getMandatoryRoleIds())\n .stream()\n .map(accountPrivilegeData::getById)\n .filter(Objects::nonNull)\n .anyMatch(role -> PolarAuthorizer.hasPermission(role, context.getPermission()));\n }", "static boolean checkPermissionAllowed(Context context, String permission) {\n if (android.os.Build.VERSION.SDK_INT >= 23) {\n boolean hasPermission = false;\n try {\n // Invoke checkSelfPermission method from Android 6 (API 23 and UP)\n java.lang.reflect.Method methodCheckPermission = Activity.class.getMethod(\"checkSelfPermission\", java.lang.String.class);\n Object resultObj = methodCheckPermission.invoke(context, permission);\n int result = Integer.parseInt(resultObj.toString());\n hasPermission = (result == PackageManager.PERMISSION_GRANTED);\n } catch (Exception ex) {\n\n }\n\n return hasPermission;\n } else {\n return true;\n }\n }", "private static boolean hasPermission(String username, Permission requiredPermission) throws IOException, SQLException {\n ArrayList<Boolean> userPermissions = retrieveUserPermissionsFromDb(username);\n switch (requiredPermission) {\n case CreateBillboard:\n if (userPermissions.get(0)) return true;\n return false;\n case EditBillboard:\n if (userPermissions.get(1)) return true;\n return false;\n case ScheduleBillboard:\n if (userPermissions.get(2)) return true;\n return false;\n case EditUser:\n if (userPermissions.get(3)) return true;\n return false;\n default:\n return false; // Default to false if permission cannot be identified\n }\n }", "private boolean hasPermission(String permission) {\n if (canMakeSmores()) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n return (checkSelfPermission(permission) == PackageManager.PERMISSION_GRANTED);\n }\n }\n return true;\n }", "private boolean doesSessionUserHaveDataSetPermission(DataverseRequest req, Dataset dataset, Permission permissionToCheck) {\n if (permissionToCheck == null) {\n return false;\n }\n\n // Has this check already been done? \n // \n if (datasetPermissionMap.containsKey(permissionToCheck)) {\n // Yes, return previous answer\n return datasetPermissionMap.get(permissionToCheck);\n }\n\n // Check the permission\n boolean hasPermission = permissionService.requestOn(req, dataset).has(permissionToCheck);\n\n // Save the permission\n datasetPermissionMap.put(permissionToCheck, hasPermission);\n\n // return true/false\n return hasPermission;\n }", "@Override\n public boolean hasAccessPermission(String user, NamespaceKey key, DatasetConfig datasetConfig) {\n return userPredicate.test(user);\n }", "public boolean hasPerms()\n {\n return ContextCompat.checkSelfPermission(itsActivity, itsPerm) ==\n PackageManager.PERMISSION_GRANTED;\n }", "public static boolean checkSinglePermission(String sessionToken, Permission requiredPermission) throws IOException, SQLException {\n String username = getUsernameFromToken(sessionToken); // Extract username from session token\n if (hasPermission(username, requiredPermission)) {\n System.out.println(\"The calling username \" + username + \" has the required permissions!\");\n return true; // User has required permission\n }\n return false; // Return false as the user does not have the required permission\n }", "public boolean hasPermission(String permission) {\n return SecurityUtil.getListPermissions()\n .map(list -> list.contains(StringUtils.lowerCase(permission)))\n .orElse(false);\n }", "public boolean doesPrincipalHavePermission(\n IAuthorizationPrincipal principal,\n String owner,\n String activity,\n String target,\n IPermissionPolicy policy)\n throws AuthorizationException;", "boolean memberHasPermission(String perm, Member m);", "private boolean permisos() {\n for(String permission : PERMISSION_REQUIRED) {\n if(ContextCompat.checkSelfPermission(getContext(), permission) != PackageManager.PERMISSION_GRANTED) {\n return false;\n }\n }\n return true;\n }", "public boolean hasPermission(Permission permission)\n throws Exception\n {\n boolean value = false;\n TurbineAccessControlList<?> acl = data.getACL();\n if (acl == null ||\n !acl.hasPermission(permission))\n {\n data.setScreen(failScreen);\n data.setMessage(message);\n }\n else\n {\n value = true;\n }\n return value;\n }", "public boolean doesPrincipalHavePermission(\n IAuthorizationPrincipal principal,\n String owner,\n String activity,\n String target)\n throws AuthorizationException;", "public boolean checkPermissions(String permission) {\r\n Log.d(TAG, \"checkPermissions: checking permission: \" + permission);\r\n\r\n int permissionRequest = ActivityCompat.checkSelfPermission(EditProfileActivity.this, permission);\r\n\r\n if (permissionRequest != PackageManager.PERMISSION_GRANTED) {\r\n Log.d(TAG, \"checkPermissions: \\n Permission was not granted for: \" + permission);\r\n Toast.makeText(this, \"Permissions not granted to access camera,\\n\" +\r\n \"please give permissions to GetAplot\", Toast.LENGTH_SHORT).show();\r\n return false;\r\n } else {\r\n Log.d(TAG, \"checkPermissions: \\n Permission was granted for: \" + permission);\r\n return true;\r\n }\r\n }", "public boolean hasPermission ( String name ) {\n\t\treturn extract ( handle -> handle.hasPermission ( name ) );\n\t}", "public Boolean isAuthorized(String userId);", "boolean check(Permission permission, DBObject dBObject,\n\t\t\tboolean permissionRequired) throws T2DBException;", "private boolean checkPermission() {\n if (Build.VERSION.SDK_INT >= 23 &&\n ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // Permission is not granted\n return false;\n } else {\n return true;// Permission has already been granted }\n }\n }", "public boolean hasPermission(String permission)\n throws Exception\n {\n Permission permissionObject = null;\n try\n {\n permissionObject = securityService.getPermissionManager().getPermissionByName(permission);\n }\n catch (UnknownEntityException e)\n {\n if(initialize)\n {\n permissionObject = securityService.getPermissionManager().getPermissionInstance(permission);\n securityService.getPermissionManager().addPermission(permissionObject);\n\n Role role = null;\n TurbineAccessControlList<?> acl = data.getACL();\n RoleSet roles = acl.getRoles();\n if(roles.size() > 0)\n {\n\t\t\t\t\trole = roles.toArray(new Role[0])[0];\n\t\t\t\t}\n\n if(role == null)\n {\n /*\n * The User within data has no roles yet, let us grant the permission\n * to the first role available through SecurityService.\n */\n roles = securityService.getRoleManager().getAllRoles();\n if(roles.size() > 0)\n {\n\t\t\t\t\t\trole = roles.toArray(new Role[0])[0];\n\t\t\t\t\t}\n }\n\n if(role != null)\n {\n /*\n * If we have no role, there is nothing we can do about it. So only grant it,\n * if we have a role to grant it to.\n */\n TurbineModelManager modelManager = (TurbineModelManager)securityService.getModelManager();\n modelManager.grant(role, permissionObject);\n }\n }\n else\n {\n throw(e);\n }\n }\n\n return hasPermission(permissionObject);\n }", "public boolean checkPerms()\n {\n boolean perms = hasPerms();\n if (!perms) {\n ActivityCompat.requestPermissions(\n itsActivity, new String[] { itsPerm }, itsPermsRequestCode);\n }\n return perms;\n }", "private boolean checkPermission() {\n Log.d(TAG, \"checkPermission()\");\n // Ask for permission if it wasn't granted yet\n return (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED);\n }", "private boolean checkPermission() {\n Log.d(\"TAG\", \"checkPermission()\");\n // Ask for permission if it wasn't granted yet\n return (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED );\n }", "@Override\n public boolean isPermitted(HttpServletRequest request, int permittedRole) {\n boolean result = false;\n HttpSession session = request.getSession();\n String userName = (String) session.getAttribute(\"userName\");\n String token = (String) session.getAttribute(\"token\");\n int role = Integer.parseInt((String) session.getAttribute(\"role\"));\n if (userName != null && token != null) {\n CrUser user = userRepo.findByUserName(userName);\n if (user != null && isTokenValid(user, token) && role == permittedRole) {\n result = true;\n }\n }\n return result;\n }", "public void hasPermission(String permission) {\r\n\r\n\t\t// user has no permissions\r\n\t\tif (user.getUserPermissions() == null || user.getUserPermissions().size() < 1) {\r\n\t\t\tthrow new PermissionException(NO_PERMISSION);\r\n\t\t}\r\n\t\t\r\n\t\t// no permission requested\r\n\t\tif (StringUtils.isBlank(permission)) {\r\n\t\t\tthrow new PermissionException(INVALID_PERMISSION);\r\n\t\t}\r\n\r\n\t\t// no user in context\r\n\t\tif (user == null) {\r\n\t\t\tthrow new SecurityException(INVALID_USER);\r\n\t\t}\r\n\r\n\t\t// check the permissions\r\n\t\tif (!doHasPermission(permission)) {\r\n\t\t\t// user does not have the permission requested\r\n\t\t\tthrow new PermissionException(NO_PERMISSION);\r\n\t\t}\r\n\t}", "public Boolean isPermissions() {\n return (Boolean) get(\"permissions\");\n }", "private boolean checkPermission() {\n\n if ((ContextCompat.checkSelfPermission(this, Manifest.permission.CAMERA)\n != PackageManager.PERMISSION_GRANTED) &&\n (ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE)\n != PackageManager.PERMISSION_GRANTED) &&\n (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE)\n != PackageManager.PERMISSION_GRANTED) &&\n (ContextCompat.checkSelfPermission(this,\n Manifest.permission.RECORD_AUDIO) != PackageManager.PERMISSION_GRANTED)\n\n ) {\n\n // Permission is not granted\n return false;\n\n }\n return true;\n }", "public boolean hasAccess(int uid) {\n return this.mDisplay.hasAccess(uid);\n }", "public boolean hasPermission(Context paramContext, String paramString) {\n }", "public boolean selfPermissionGranted(String permission) {\n boolean result = true;\n\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n // targetSdkVersion >= Android M, we can\n // use Context#checkSelfPermission\n result = checkSelfPermission(permission)\n == PackageManager.PERMISSION_GRANTED;\n } else {\n // targetSdkVersion < Android M, we have to use PermissionChecker\n result = PermissionChecker.checkSelfPermission(this, permission)\n == PermissionChecker.PERMISSION_GRANTED;\n }\n }\n\n return result;\n }", "private boolean checkPermissions(HttpServletRequest request, RouteAction route) {\n\t\treturn true;\n\t}", "public boolean isAccessGranted() {\n try {\n PackageManager packageManager = getPackageManager();\n ApplicationInfo applicationInfo = packageManager.getApplicationInfo(getPackageName(), 0);\n AppOpsManager appOpsManager = (AppOpsManager) getSystemService(Context.APP_OPS_SERVICE);\n int mode;\n assert appOpsManager != null;\n mode = appOpsManager.checkOpNoThrow(AppOpsManager.OPSTR_GET_USAGE_STATS,\n applicationInfo.uid, applicationInfo.packageName);\n return (mode == AppOpsManager.MODE_ALLOWED);\n\n } catch (PackageManager.NameNotFoundException e) {\n return false;\n }\n }", "private boolean checkPermission() {\r\n int result = ContextCompat.checkSelfPermission(getApplicationContext(), READ_CONTACTS);\r\n int result1 = ContextCompat.checkSelfPermission(getApplicationContext(), CAMERA);\r\n int result2 = ContextCompat.checkSelfPermission(getApplicationContext(), ACCESS_FINE_LOCATION);\r\n int result3 = ContextCompat.checkSelfPermission(getApplicationContext(), READ_EXTERNAL_STORAGE);\r\n int result4 = ContextCompat.checkSelfPermission(getApplicationContext(), WRITE_EXTERNAL_STORAGE);\r\n int result5 = ContextCompat.checkSelfPermission(getApplicationContext(), READ_PHONE_STATE);\r\n int result6 = ContextCompat.checkSelfPermission(getApplicationContext(), RECORD_AUDIO);\r\n int result7 = ContextCompat.checkSelfPermission(getApplicationContext(), SEND_SMS);\r\n //int result8 = ContextCompat.checkSelfPermission(getApplicationContext(), BLUETOOTH);\r\n\r\n return result == PackageManager.PERMISSION_GRANTED && result1 == PackageManager.PERMISSION_GRANTED && result2 == PackageManager.PERMISSION_GRANTED &&\r\n result3 == PackageManager.PERMISSION_GRANTED && result4 == PackageManager.PERMISSION_GRANTED && result5 == PackageManager.PERMISSION_GRANTED &&\r\n result6 == PackageManager.PERMISSION_GRANTED && result7 == PackageManager.PERMISSION_GRANTED/*&& result8== PackageManager.PERMISSION_GRANTED*/;\r\n }", "private boolean checkPermissions() {\n boolean hasPermission = true;\n\n int result = ContextCompat.checkSelfPermission(\n this,\n Manifest.permission.ACCESS_FINE_LOCATION\n );\n if (result == PERMISSION_DENIED) {\n hasPermission = false;\n }\n\n // ACCESS_BACKGROUND_LOCATION is only required on API 29 and higher\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {\n result = ContextCompat.checkSelfPermission(\n this,\n Manifest.permission.ACCESS_BACKGROUND_LOCATION\n );\n if (result == PERMISSION_DENIED) {\n hasPermission = false;\n }\n }\n\n return hasPermission;\n }", "public boolean hasPermission(String username, ActionContext ctx) {\r\n return username != null;\r\n }", "public boolean checkForPermission() {\r\n int permissionCAMERA = ContextCompat.checkSelfPermission(this, Manifest.permission.CAMERA);\r\n int storagePermission = ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE);\r\n int accessCoarseLocation = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION);\r\n int accessFineLocation = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION);\r\n\r\n List<String> listPermissionsNeeded = new ArrayList<>();\r\n if (storagePermission != PackageManager.PERMISSION_GRANTED) {\r\n listPermissionsNeeded.add(Manifest.permission.READ_EXTERNAL_STORAGE);\r\n }\r\n if (permissionCAMERA != PackageManager.PERMISSION_GRANTED) {\r\n listPermissionsNeeded.add(Manifest.permission.CAMERA);\r\n }\r\n if (accessCoarseLocation != PackageManager.PERMISSION_GRANTED) {\r\n listPermissionsNeeded.add(Manifest.permission.ACCESS_COARSE_LOCATION);\r\n }\r\n if (accessFineLocation != PackageManager.PERMISSION_GRANTED) {\r\n listPermissionsNeeded.add(Manifest.permission.ACCESS_FINE_LOCATION);\r\n }\r\n if (!listPermissionsNeeded.isEmpty()) {\r\n ActivityCompat.requestPermissions(this,\r\n listPermissionsNeeded.toArray(new String[listPermissionsNeeded.size()]), MY_PERMISSIONS_REQUEST);\r\n return false;\r\n }\r\n\r\n return true;\r\n }", "private boolean validateAccess(String permission) {\n\t\tif (\"READ\".equalsIgnoreCase(permission)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean hasPermission(Uri uri)\n\t{\n\t\treturn getPermissibleRoot(uri) != null;\n\t}", "public boolean hasPermissions(Player player) {\n\t\tif (!m_bHasPermissions && player.isOp())\n\t\t\treturn true;\n\t\telse if (m_bHasPermissions && m_PermissionHandler.has(player, \"lord.orbitalstrike\"))\n\t\t\treturn true;\n\t\telse {\n\t\t\tOrbitalStrike.sendMessage(player, \"You do not have permission to use this plugin.\");\n\t\t\tOrbitalStrike.logInfo(\"Player \" + player + \" does not have permission.\", 1);\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean isPermissionExists(Permission permission) {\n boolean hasPermission = false;\n Connection conn = null;\n PreparedStatement ps = null;\n ResultSet resultSet = null;\n String query = null;\n try {\n conn = getConnection();\n query = queryManager.getQuery(conn, QueryManager.CHECK_PERMISSION_EXISTS_QUERY);\n ps = conn.prepareStatement(query);\n ps.setString(1, permission.getAppName());\n ps.setString(2, permission.getPermissionString());\n resultSet = ps.executeQuery();\n while (resultSet.next()) {\n hasPermission = true;\n }\n } catch (SQLException e) {\n log.debug(\"Failed to execute SQL query {}\", query);\n throw new PermissionException(\"Unable to execute check permissions.\", e);\n } finally {\n closeConnection(conn, ps, resultSet);\n }\n return hasPermission;\n }", "public boolean granted(){\n\t\treturn this.granted;\n\t}", "private boolean checkAndRequestPermissions() {\n List<String> listPermissionsNeeded = new ArrayList<>();\n for (String pem : appPermissions){\n if (ContextCompat.checkSelfPermission(this, pem) != PackageManager.PERMISSION_GRANTED){\n listPermissionsNeeded.add(pem);\n }\n }\n\n //ask for non-granted permissions\n if (!listPermissionsNeeded.isEmpty()) {\n ActivityCompat.requestPermissions(this, listPermissionsNeeded.toArray(new String[listPermissionsNeeded.size()]), PERMISSION_REQUEST_CODE);\n return false;\n }\n return true;\n }", "public boolean isAuthorized() {\r\n // TODO - implement User.isAuthorized\r\n throw new UnsupportedOperationException();\r\n }", "private void checkIfPermissionGranted() {\n\n //if user already allowed the permission, this condition will be true\n if (ContextCompat.checkSelfPermission(this, PERMISSION_CODE)\n == PackageManager.PERMISSION_GRANTED) {\n Intent launchIntent = getPackageManager().getLaunchIntentForPackage(\"com.example.a3\");\n if (launchIntent != null) {\n startActivity(launchIntent);//null pointer check in case package name was not found\n }\n }\n //if user didn't allow the permission yet, then ask for permission\n else {\n ActivityCompat.requestPermissions(this, new String[]{PERMISSION_CODE}, 0);\n }\n }", "private boolean hasPermission(String username, SOAPMessage msg) {\r\n\t\ttry {\r\n\t\t\tNodeList email = msg.getSOAPBody().getElementsByTagName(SOAP_EMAIL_TAG);\r\n\r\n\t\t\t// if request has email\r\n\t\t\tif(email.getLength() > 0) {\r\n\t\t\t\treturn username.equals(msg.getSOAPBody().getElementsByTagName(SOAP_EMAIL_TAG).item(0).getTextContent());\r\n\t\t\t}\r\n\t\t\t// if there's no email field, every user has permissions to access\r\n\t\t\treturn true;\r\n\t\t\t\r\n\t\t} catch (SOAPException e) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "@Override\n public boolean hasPermission(Permission permission) {\n // FacesContext context = FacesContext.getCurrentInstance();\n String imp = (String)ADFContext.getCurrent().getSessionScope().get(\"isImpersonationOn\");\n// String imp = (String)context.getExternalContext().getSessionMap().get(\"isImpersonationOn\");\n if(imp == null || !imp.equals(\"Y\")){\n return super.hasPermission(permission);\n }\n else{\n return true;\n \n }\n \n }", "public boolean accesspermission()\n {\n AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE);\n int mode = 0;\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {\n mode = appOps.checkOpNoThrow(AppOpsManager.OPSTR_GET_USAGE_STATS,\n Process.myUid(),context.getPackageName());\n }\n if (mode == AppOpsManager.MODE_ALLOWED) {\n\n return true;\n }\n return false;\n\n }", "boolean getIsAuthorized();", "public static boolean checkPermission(ServerPlayer player, String permission) {\n return Permissions.check(player, permission, false);\n }", "private boolean checkPermission() {\n return (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION)\n == PackageManager.PERMISSION_GRANTED );\n }", "private void checkIfPermissionGranted(List<String> requiredPermissions, String permissionToCheck){\n if (ActivityCompat.checkSelfPermission(activity, permissionToCheck)\n != PackageManager.PERMISSION_GRANTED) {\n requiredPermissions.add(permissionToCheck);\n }\n }", "public boolean hasAccess(String accessId);", "public boolean checkAccountPermission() {\n return EasyPermissions.hasPermissions(context, Manifest.permission.GET_ACCOUNTS);\n }", "private static boolean hasPermissions(Context context, String... permissions) {\n for (String permission : permissions) {\n if (ContextCompat.checkSelfPermission(context, permission)\n != PackageManager.PERMISSION_GRANTED) {\n return false;\n }\n }\n return true;\n }", "public boolean hasPermission(String sid, Permission p) {\n\t\tfor (; p != null; p = p.impliedBy) {\n\t\t\tSet<String> set = grantedPermissions.get(p);\n\t\t\tif (set != null && set.contains(sid))\n\t\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "@Override\r\n\tpublic boolean isAuthorized(Account account, String permission) {\r\n\t\tboolean isAuthorized = false;\r\n\t\tif ( cookieValue != null && !cookieValue.isEmpty() && account != null ) { // for FCL authenticated users\r\n\t\t\tisAuthorized = CXSHttpRequestAuthnAuthzUtil.isAccountAssociated(cookieValue, account.getAccountNumber().getValue());\r\n\t\t} else if ( httpRequest != null ) { // for WSTM authenticated users\r\n\t\t\ttry {\r\n\t\t\t\tisAuthorized = CXSHttpRequestAuthnAuthzUtil.isAccountAssociated(httpRequest);\r\n\t\t\t} catch (CALException e) {\r\n\t\t\t\tAppLogger.error(\"Failed in isAccountAssociated::: {0}\", e);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn isAuthorized;\r\n\t}", "public boolean isCurrentUserAdmin(){\n if (getAdminUserFromId(currentUserId)!=null){\n return true;\n }\n else{\n return false;\n }\n }", "public boolean checkPermission() {\n int cameraPermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.CAMERA);\n int readContactPermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.READ_CONTACTS);\n return cameraPermissionResult == PackageManager.PERMISSION_GRANTED && readContactPermissionResult == PackageManager.PERMISSION_GRANTED;\n }", "public boolean hasPermission(CommandSender sender) {\n return this.reason == Reason.PROPERTY_NOT_FOUND ||\n this.property.hasPermission(sender, this.name);\n }", "public void hasPermissions(String[] permissions) {\r\n\r\n\t\t// user has no permissions\r\n\t\tif (user.getUserPermissions() == null || user.getUserPermissions().size() < 1) {\r\n\t\t\tthrow new PermissionException(NO_PERMISSION);\r\n\t\t}\r\n\r\n\t\t// user has no permissions\r\n\t\tif (permissions == null || permissions.length < 1) {\r\n\t\t\tthrow new PermissionException(NO_PERMISSION);\r\n\t\t}\r\n\t\t\r\n\t\t// check the permissions\r\n\t\tif (!doHasPermissions(permissions)) {\r\n\t\t\t// user does not have the permission requested\r\n\t\t\tthrow new PermissionException(NO_PERMISSION);\r\n\t\t}\r\n\t\t\r\n\t}", "public boolean hasPermissions(Set<Permission> p) {\n if (p.isEmpty()) {\n return true;\n }\n return hasPermissionsFor(request, subject, p);\n }", "public void permission_check() {\n //Usage Permission\n if (!isAccessGranted()) {\n new LovelyStandardDialog(MainActivity.this)\n .setTopColorRes(R.color.colorPrimaryDark)\n .setIcon(R.drawable.ic_perm_device_information_white_48dp)\n .setTitle(getString(R.string.permission_check_title))\n .setMessage(getString(R.string.permission_check_message))\n .setPositiveButton(android.R.string.ok, new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = new Intent(android.provider.Settings.ACTION_USAGE_ACCESS_SETTINGS);\n startActivity(intent);\n }\n })\n .setNegativeButton(android.R.string.no, null)\n .show();\n }\n }", "public boolean checkAccess(HasUuid object) {\n // Allow newly-instantiated objects\n if (!wasResolved(object)) {\n return true;\n }\n // Allow anything when there are no roles in use\n if (getRoles().isEmpty()) {\n return true;\n }\n Principal principal = getPrincipal();\n // Check for superusers\n if (!principalMapper.isAccessEnforced(principal, object)) {\n return true;\n }\n\n List<PropertyPath> paths = typeContext.getPrincipalPaths(object.getClass());\n PropertyPathChecker checker = checkers.get();\n for (PropertyPath path : paths) {\n path.evaluate(object, checker);\n if (checker.getResult()) {\n return true;\n }\n }\n addWarning(object, \"User %s does not have permission to edit this %s\", principal,\n typeContext.getPayloadName(object.getClass()));\n return false;\n }", "public boolean hasPermission(Authentication authentication, Serializable targetId, String targetType, Object permission) {\n return false;\n }", "boolean check(Permission permission, Surrogate surrogate, boolean permissionRequired) throws T2DBException;", "private boolean checkPermission() {\n int result = ContextCompat.checkSelfPermission(getApplicationContext(), Manifest.permission.READ_PHONE_STATE);\n\n if (result == PackageManager.PERMISSION_GRANTED) {\n return true;\n } else {\n return false;\n }\n }", "private boolean checkPermissions() {\n int permissionState1 = ActivityCompat.checkSelfPermission(this,\n android.Manifest.permission.ACCESS_FINE_LOCATION);\n\n int permissionState2 = ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_COARSE_LOCATION);\n return permissionState1 == PackageManager.PERMISSION_GRANTED && permissionState2 == PackageManager.PERMISSION_GRANTED;\n }", "public Map<String, Boolean> hasPermission(String login, List<String> permissions);", "private void checkRunTimePermission() {\n\n if(checkPermission()){\n\n Toast.makeText(MainActivity.this, \"All Permissions Granted Successfully\", Toast.LENGTH_LONG).show();\n\n }\n else {\n\n requestPermission();\n }\n }", "private boolean checkPermissions() {\n int permissionState = ActivityCompat.checkSelfPermission(\n this, Manifest.permission.ACCESS_FINE_LOCATION\n );\n return permissionState == PackageManager.PERMISSION_GRANTED;\n }", "@Override\n public void checkPermission(Permission perm) {\n }", "@Override\n public boolean hasPermission(CommandSender sender, String pNode) {\n if (!(sender instanceof Player)) return true;\n return hasPermission((Player) sender, pNode);\n }", "boolean hasCustomerUserAccess();", "private boolean checkPermissions() {\n int permissionState = ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION);\n return permissionState == PackageManager.PERMISSION_GRANTED;\n }", "private boolean checkPermissions() {\n int permissionState = ActivityCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION);\n return permissionState == PackageManager.PERMISSION_GRANTED;\n }", "public boolean isCameraPermissionGranted() {\n return PermissionUtils.isPermissionGranted(mContext, android.Manifest.permission.CAMERA);\n }", "private boolean checkPermissions() {\n int permissionState = ActivityCompat.checkSelfPermission(Objects.requireNonNull(getActivity()),\n Manifest.permission.ACCESS_COARSE_LOCATION);\n return permissionState == PackageManager.PERMISSION_GRANTED;\n }", "@Override\n public boolean containsPermission(Class<? extends AeroCommandBase<?>> command, String permission) {\n if (!containsPermissions(command)) {\n return false;\n }\n\n return permissions.get(command).contains(permission.toLowerCase());\n }", "public boolean isAllGranted(){\n //PackageManager.PERMISSION_GRANTED\n return false;\n }", "public boolean CheckingPermissionIsEnabledOrNot()\n {\n int CameraPermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), CAMERA);\n int WriteStoragePermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), WRITE_EXTERNAL_STORAGE);\n int ReadStoragePermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), READ_EXTERNAL_STORAGE);\n\n return CameraPermissionResult == PackageManager.PERMISSION_GRANTED &&\n WriteStoragePermissionResult == PackageManager.PERMISSION_GRANTED &&\n ReadStoragePermissionResult == PackageManager.PERMISSION_GRANTED;\n }", "private boolean checkPermissions() {\r\n int permissionState = ActivityCompat.checkSelfPermission(this,\r\n Manifest.permission.ACCESS_FINE_LOCATION);\r\n return permissionState == PackageManager.PERMISSION_GRANTED;\r\n }", "@Override\n public void checkPermission(Permission perm, Object context) {\n }", "private boolean checkPermission() {\n int fineLocation = ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION);\n\n if (fineLocation != PackageManager.PERMISSION_GRANTED) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSION_REQUEST_CODE_FINE_LOCATION);\n }\n return false;\n } else {\n return true;\n }\n }", "public boolean hasPermission(String username, MenuComponent menuComponent) {\r\n return username != null;\r\n }", "private boolean isLocationAllowed() {\n int result = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION);\r\n\r\n //If permission is granted returning true\r\n if (result == PackageManager.PERMISSION_GRANTED)\r\n return true;\r\n\r\n //If permission is not granted returning false\r\n return false;\r\n }", "private boolean checkPermissionFromDevice(int permissions) {\n\n switch (permissions) {\n case RECORD_AUDIO_PERMISSION_CODE: {\n // int variables will be 0 if permissions are not granted already\n int write_external_storage_result =\n ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE);\n int record_audio_result =\n ContextCompat.checkSelfPermission(this, Manifest.permission.RECORD_AUDIO);\n\n // returns true if both permissions are already granted\n return write_external_storage_result == PackageManager.PERMISSION_GRANTED &&\n record_audio_result == PackageManager.PERMISSION_GRANTED;\n }\n default:\n return false;\n }\n }", "public boolean CheckingPermissionIsEnabledOrNot() {\n int FirstPermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), INTERNET);\n int SecondPermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), ACCESS_NETWORK_STATE);\n int ThirdPermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), WRITE_EXTERNAL_STORAGE);\n int ForthPermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), READ_EXTERNAL_STORAGE);\n int FifthPermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), ACCESS_COARSE_LOCATION);\n int SixthPermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), ACCESS_FINE_LOCATION);\n int SeventhPermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), VIBRATE);\n// int EighthPermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), CALL_PHONE);\n// int NinethPermissionResult = ContextCompat.checkSelfPermission(getApplicationContext(), SEND_SMS);\n\n return FirstPermissionResult == PackageManager.PERMISSION_GRANTED &&\n SecondPermissionResult == PackageManager.PERMISSION_GRANTED &&\n ThirdPermissionResult == PackageManager.PERMISSION_GRANTED &&\n ForthPermissionResult == PackageManager.PERMISSION_GRANTED &&\n FifthPermissionResult == PackageManager.PERMISSION_GRANTED &&\n SixthPermissionResult == PackageManager.PERMISSION_GRANTED &&\n SeventhPermissionResult == PackageManager.PERMISSION_GRANTED;\n// EighthPermissionResult == PackageManager.PERMISSION_GRANTED &&\n// NinethPermissionResult == PackageManager.PERMISSION_GRANTED;\n }", "boolean hasUser();", "boolean hasUser();", "boolean hasUser();" ]
[ "0.7341296", "0.7294237", "0.7126006", "0.70983505", "0.7010547", "0.69737816", "0.6842727", "0.68090665", "0.6798862", "0.6779782", "0.6775132", "0.6706217", "0.6676695", "0.66061515", "0.6601208", "0.6590234", "0.65882266", "0.65679586", "0.6553989", "0.6539986", "0.65077186", "0.6449601", "0.6421311", "0.6400065", "0.63741785", "0.63682765", "0.6363427", "0.63577837", "0.6335132", "0.6326193", "0.63256127", "0.6320289", "0.630966", "0.62880343", "0.6277014", "0.6255327", "0.6244363", "0.62286526", "0.62196016", "0.61924374", "0.6179593", "0.61680055", "0.6149247", "0.6136776", "0.6136244", "0.61322457", "0.61272943", "0.61157525", "0.6078992", "0.6078858", "0.6063118", "0.60588324", "0.60377395", "0.60377115", "0.6023149", "0.6019538", "0.6011733", "0.6008059", "0.6004051", "0.5994572", "0.5982996", "0.5969727", "0.59578556", "0.5956046", "0.5950344", "0.5915615", "0.59143645", "0.590989", "0.59094125", "0.59057754", "0.5883666", "0.5864254", "0.58482546", "0.5846695", "0.5846369", "0.5842366", "0.5830326", "0.5828508", "0.5815291", "0.58123696", "0.5808925", "0.5808276", "0.579659", "0.57953465", "0.57953465", "0.578926", "0.5788422", "0.5784898", "0.57842284", "0.57758164", "0.5773126", "0.57723725", "0.57722235", "0.57641584", "0.5760087", "0.57504207", "0.5749834", "0.57436085", "0.57436085", "0.57436085" ]
0.7558035
0
Check if a user doesn't have given permission.
@Override public boolean cannot(String permission) { return !this.can(permission); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean ignoresPermission();", "private boolean permisos() {\n for(String permission : PERMISSION_REQUIRED) {\n if(ContextCompat.checkSelfPermission(getContext(), permission) != PackageManager.PERMISSION_GRANTED) {\n return false;\n }\n }\n return true;\n }", "public boolean hasPermission(String username, ActionContext ctx) {\r\n return username != null;\r\n }", "@Test\n public void testRequestNonExistentPermission() throws Exception {\n assertEquals(PackageManager.PERMISSION_DENIED, getInstrumentation().getContext()\n .checkSelfPermission(\"permission.does.not.exist\"));\n\n String[] permissions = new String[] {\"permission.does.not.exist\"};\n\n // Request the permission and do nothing\n BasePermissionActivity.Result result = requestPermissions(permissions,\n REQUEST_CODE_PERMISSIONS, BasePermissionActivity.class, null);\n\n // Expect the permission is not granted\n assertPermissionRequestResult(result, REQUEST_CODE_PERMISSIONS,\n permissions, new boolean[] {false});\n }", "boolean isHasPermissions();", "public boolean hasPerms()\n {\n return ContextCompat.checkSelfPermission(itsActivity, itsPerm) ==\n PackageManager.PERMISSION_GRANTED;\n }", "private boolean isNotCurrentUser(User user) {\n if (user.getEmail().equals(mEncodedEmail)) {\n /* Toast appropriate error message if the user is trying to add themselves */\n Toast.makeText(mActivity,\n mActivity.getResources().getString(R.string.toast_you_cant_add_yourself),\n Toast.LENGTH_LONG).show();\n return false;\n }\n return true;\n }", "public boolean isAllGranted(){\n //PackageManager.PERMISSION_GRANTED\n return false;\n }", "public boolean checkPermission(Permission permission);", "public boolean hasUser(){\n return numUser < MAX_USER;\n }", "public boolean hasPermission(String username, MenuComponent menuComponent) {\r\n return username != null;\r\n }", "public boolean isUser()\n\t{\n\t\treturn (id != -1);\n\t}", "public static boolean hasNoAccess(ProtectedRegion region, Player p, LocalPlayer lp, boolean canBeMember) {\n if (region == null) return true;\n\n return !p.hasPermission(\"protectionstones.superowner\") && !region.isOwner(lp) && (!canBeMember || !region.isMember(lp));\n }", "public static boolean hasNoAccess(ProtectedRegion region, Player p, LocalPlayer lp, boolean canBeMember) {\n if (region == null) return true;\n\n return !p.hasPermission(\"protectionstones.superowner\") && !region.isOwner(lp) && (!canBeMember || !region.isMember(lp));\n }", "public boolean attempt(CommandSender sender) {\n boolean allowed = test(sender);\n if (!allowed) {\n sender.sendMessage(NO_PERMISSION);\n }\n return allowed;\n }", "protected boolean isValid(AccessUser obj)\n {\n return obj != null && obj.username != null && !getMembers().contains(obj);\n }", "public boolean checkPerms()\n {\n boolean perms = hasPerms();\n if (!perms) {\n ActivityCompat.requestPermissions(\n itsActivity, new String[] { itsPerm }, itsPermsRequestCode);\n }\n return perms;\n }", "@Override\n\tpublic String checkPermision(String user, String userType) {\n\t\treturn null;\n\t}", "public void hasPermissions(String[] permissions) {\r\n\r\n\t\t// user has no permissions\r\n\t\tif (user.getUserPermissions() == null || user.getUserPermissions().size() < 1) {\r\n\t\t\tthrow new PermissionException(NO_PERMISSION);\r\n\t\t}\r\n\r\n\t\t// user has no permissions\r\n\t\tif (permissions == null || permissions.length < 1) {\r\n\t\t\tthrow new PermissionException(NO_PERMISSION);\r\n\t\t}\r\n\t\t\r\n\t\t// check the permissions\r\n\t\tif (!doHasPermissions(permissions)) {\r\n\t\t\t// user does not have the permission requested\r\n\t\t\tthrow new PermissionException(NO_PERMISSION);\r\n\t\t}\r\n\t\t\r\n\t}", "@Override\n\tpublic boolean can(String permission)\n\t{\n\t\treturn this.auth() != null && this.auth().getRole() != null && this.auth().getRole().getPermissions().parallelStream().filter(p -> Pattern.compile(p.getName()).matcher(permission).groupCount() == 0).count() != 0;\n\t}", "@Override\n\tpublic boolean isUser(User user) {\n\t\treturn false;\n\t}", "@Override\n public boolean isUser() {\n return false;\n }", "boolean hasUser();", "boolean hasUser();", "boolean hasUser();", "boolean hasUser();", "boolean hasUser();", "boolean hasUser();", "boolean hasUser();", "public boolean hasNoCooldown(User u) {\r\n\t\tfor (int i = 0; i < Main.Bot.cooldown.size(); i++) \r\n\t\t\tif (Main.Bot.cooldown.get(i).hasUser(u))\r\n\t\t\t\treturn false;\r\n\t\t\r\n\t\treturn true;\r\n\t}", "public boolean hasPermission(Uri uri)\n\t{\n\t\treturn getPermissibleRoot(uri) != null;\n\t}", "private boolean isMissingForegroundPermissions() {\n if (mPermissionsManager == null) {\n return true;\n }\n boolean canAccessFineLocation = mPermissionsManager.hasGrantedPermissions(Manifest.permission.ACCESS_FINE_LOCATION);\n boolean canAccessCoarseLocation = mPermissionsManager.hasGrantedPermissions(Manifest.permission.ACCESS_COARSE_LOCATION);\n return !canAccessFineLocation && !canAccessCoarseLocation;\n }", "private boolean checkPermission() {\n if (Build.VERSION.SDK_INT >= 23 &&\n ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // Permission is not granted\n return false;\n } else {\n return true;// Permission has already been granted }\n }\n }", "public Boolean getNotHasPermission()\r\n {\r\n return notHasPermission;\r\n }", "@Override\n public boolean hasAccessPermission(String user, NamespaceKey key, DatasetConfig datasetConfig) {\n return userPredicate.test(user);\n }", "public void isAllowed(String user) {\n \r\n }", "private boolean hasPermission(String username, SOAPMessage msg) {\r\n\t\ttry {\r\n\t\t\tNodeList email = msg.getSOAPBody().getElementsByTagName(SOAP_EMAIL_TAG);\r\n\r\n\t\t\t// if request has email\r\n\t\t\tif(email.getLength() > 0) {\r\n\t\t\t\treturn username.equals(msg.getSOAPBody().getElementsByTagName(SOAP_EMAIL_TAG).item(0).getTextContent());\r\n\t\t\t}\r\n\t\t\t// if there's no email field, every user has permissions to access\r\n\t\t\treturn true;\r\n\t\t\t\r\n\t\t} catch (SOAPException e) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "boolean isNonSecureAccess();", "private void checkForUser(){\n if(mUserId != -1){\n return;\n }\n\n if(mPreferences == null) {\n getPrefs();\n }\n\n mUserId = mPreferences.getInt(USER_ID_KEY, -1);\n\n if(mUserId != -1){\n return;\n }\n\n //do we have any users at all?\n List<User> users = mUserDAO.getAllUsers();\n if(users.size() <= 0 ){\n User defaultUser = new User(\"din_djarin\",\"baby_yoda_ftw\");\n mUserDAO.insert(defaultUser);\n }\n }", "public void permission_check() {\n //Usage Permission\n if (!isAccessGranted()) {\n new LovelyStandardDialog(MainActivity.this)\n .setTopColorRes(R.color.colorPrimaryDark)\n .setIcon(R.drawable.ic_perm_device_information_white_48dp)\n .setTitle(getString(R.string.permission_check_title))\n .setMessage(getString(R.string.permission_check_message))\n .setPositiveButton(android.R.string.ok, new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n Intent intent = new Intent(android.provider.Settings.ACTION_USAGE_ACCESS_SETTINGS);\n startActivity(intent);\n }\n })\n .setNegativeButton(android.R.string.no, null)\n .show();\n }\n }", "private void checkUser() {\n\t\tlog.info(\"___________checkUser\");\n\t\tList<User> adminUser = userRepository.getByAuthority(AuthorityType.ROLE_ADMIN.toString());\n\t\tif (adminUser == null || adminUser.isEmpty()) {\n\t\t\tgenerateDefaultAdmin();\n\t\t}\n\t}", "public static void checkAccess() throws SecurityException {\n if(isSystemThread.get()) {\n return;\n }\n //TODO: Add Admin Checking Code\n// if(getCurrentUser() != null && getCurrentUser().isAdmin()) {\n// return;\n// }\n throw new SecurityException(\"Invalid Permissions\");\n }", "public void ensureNotSpecialUser(int userId) {\n if (userId < 0) {\n throw new IllegalArgumentException(\"Call does not support special user #\" + userId);\n }\n }", "private void checkPermissions() {\n final ArrayList<String> missedPermissions = new ArrayList<>();\n\n for (final String permission : PERMISSIONS_REQUIRED) {\n if (ActivityCompat.checkSelfPermission(this, permission) != PackageManager.PERMISSION_GRANTED) {\n missedPermissions.add(permission);\n }\n }\n\n if (!missedPermissions.isEmpty()) {\n final String[] permissions = new String[missedPermissions.size()];\n missedPermissions.toArray(permissions);\n\n ActivityCompat.requestPermissions(this, permissions, PERMISSION_REQUEST_CODE);\n }\n }", "private static boolean hasPermission(String username, Permission requiredPermission) throws IOException, SQLException {\n ArrayList<Boolean> userPermissions = retrieveUserPermissionsFromDb(username);\n switch (requiredPermission) {\n case CreateBillboard:\n if (userPermissions.get(0)) return true;\n return false;\n case EditBillboard:\n if (userPermissions.get(1)) return true;\n return false;\n case ScheduleBillboard:\n if (userPermissions.get(2)) return true;\n return false;\n case EditUser:\n if (userPermissions.get(3)) return true;\n return false;\n default:\n return false; // Default to false if permission cannot be identified\n }\n }", "private boolean actionRequiresLoginAndUserIsNotLoggedIn(final Action action,\n final HttpServletRequest request) {\n return action.requiresLogin() && !isLoggedIn(request);\n }", "public boolean hasUser() {\n return user_ != null;\n }", "public boolean hasUser() {\n return user_ != null;\n }", "public boolean handlesExclusively(Permission pond) {\n\t\treturn false;\n\t}", "public boolean isPermissionGranted(String permission){\n return true;\n// else\n// return false;\n }", "@Test\n\tpublic void testUpdateActionIsNotPerformedWhenPermissionInheritedAndUserNotAuthenticated()\n\t\t\tthrows Throwable {\n\t\tcheck(getNonAuthenticatedUser(), HttpStatus.SC_UNAUTHORIZED);\n\t}", "public boolean hasPermission(CommandSender sender) {\n return this.reason == Reason.PROPERTY_NOT_FOUND ||\n this.property.hasPermission(sender, this.name);\n }", "@Test\n public void testRequestNonRuntimePermission() throws Exception {\n assertEquals(PackageManager.PERMISSION_DENIED, getInstrumentation().getContext()\n .checkSelfPermission(Manifest.permission.BIND_PRINT_SERVICE));\n\n String[] permissions = new String[] {Manifest.permission.BIND_PRINT_SERVICE};\n\n // Request the permission and do nothing\n BasePermissionActivity.Result result = requestPermissions(permissions,\n REQUEST_CODE_PERMISSIONS, BasePermissionActivity.class, null);\n\n // Expect the permission is not granted\n assertPermissionRequestResult(result, REQUEST_CODE_PERMISSIONS,\n permissions, new boolean[] {false});\n }", "private void checkRunTimePermission() {\n\n if(checkPermission()){\n\n Toast.makeText(MainActivity.this, \"All Permissions Granted Successfully\", Toast.LENGTH_LONG).show();\n\n }\n else {\n\n requestPermission();\n }\n }", "boolean isAccountNonLocked();", "boolean isAccountNonLocked();", "public boolean hasUser() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "private static boolean isPermissionGranted(Context context, String permission) {\n if (ContextCompat.checkSelfPermission(context, permission)\n == PackageManager.PERMISSION_GRANTED) {\n Log.i(TAG, permission + \" granted\");\n return true;\n }\n Log.i(TAG, permission + \" not granted yet\");\n return false;\n }", "@Override\n public void checkPermission(Permission perm) {\n }", "public void testUserDoesNotImplyNotImpliedGroup() {\n User user = RoleFactory.createUser(\"foo\");\n Group group = RoleFactory.createGroup(\"bar\");\n \n assertFalse(m_roleChecker.isImpliedBy(user, group));\n }", "public void setNotHasPermission(Boolean notHasPermission)\r\n {\r\n this.notHasPermission = notHasPermission;\r\n }", "private void checkIfAddUserDisallowedByAdminOnly(UserRecord userRecord) {\n RestrictedLockUtils.EnforcedAdmin checkIfRestrictionEnforced = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(this.mContext, \"no_add_user\", ActivityManager.getCurrentUser());\n if (checkIfRestrictionEnforced == null || RestrictedLockUtilsInternal.hasBaseUserRestriction(this.mContext, \"no_add_user\", ActivityManager.getCurrentUser())) {\n userRecord.isDisabledByAdmin = false;\n userRecord.enforcedAdmin = null;\n return;\n }\n userRecord.isDisabledByAdmin = true;\n userRecord.enforcedAdmin = checkIfRestrictionEnforced;\n }", "private boolean hasUserImportantView() {\n int userID = this.sharedPreferences.getInt(Constants.SP_USER_ID_KEY, 0);\n return this.sharedPreferences.getBoolean(serverName + \"_\" + userID, false);\n }", "public boolean hasUser() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "boolean hasUserId();", "boolean hasUserId();", "boolean hasUserId();", "public boolean hasAccess(int uid) {\n return this.mDisplay.hasAccess(uid);\n }", "private boolean checkAndRequestPermissions() {\n List<String> listPermissionsNeeded = new ArrayList<>();\n for (String pem : appPermissions){\n if (ContextCompat.checkSelfPermission(this, pem) != PackageManager.PERMISSION_GRANTED){\n listPermissionsNeeded.add(pem);\n }\n }\n\n //ask for non-granted permissions\n if (!listPermissionsNeeded.isEmpty()) {\n ActivityCompat.requestPermissions(this, listPermissionsNeeded.toArray(new String[listPermissionsNeeded.size()]), PERMISSION_REQUEST_CODE);\n return false;\n }\n return true;\n }", "public boolean isSetCreate_user_priv() {\n return this.__isset.create_user_priv;\n }", "public boolean isSetUser() {\n return this.user != null;\n }", "public boolean isSetUser() {\n return this.user != null;\n }", "public boolean hasPermission(T object, Permission permission, User user);", "public boolean validatePermissions()\r\n\t{\n\t\treturn true;\r\n\t}", "public boolean hasUser() {\n return user_ != null;\n }", "public boolean accesspermission()\n {\n AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE);\n int mode = 0;\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {\n mode = appOps.checkOpNoThrow(AppOpsManager.OPSTR_GET_USAGE_STATS,\n Process.myUid(),context.getPackageName());\n }\n if (mode == AppOpsManager.MODE_ALLOWED) {\n\n return true;\n }\n return false;\n\n }", "boolean hasObjUser();", "private boolean checkPermission() {\n\n if ((ContextCompat.checkSelfPermission(this, Manifest.permission.CAMERA)\n != PackageManager.PERMISSION_GRANTED) &&\n (ContextCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE)\n != PackageManager.PERMISSION_GRANTED) &&\n (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE)\n != PackageManager.PERMISSION_GRANTED) &&\n (ContextCompat.checkSelfPermission(this,\n Manifest.permission.RECORD_AUDIO) != PackageManager.PERMISSION_GRANTED)\n\n ) {\n\n // Permission is not granted\n return false;\n\n }\n return true;\n }", "@Override\n public boolean hasPermission(CommandSender sender, String pNode) {\n if (!(sender instanceof Player)) return true;\n return hasPermission((Player) sender, pNode);\n }", "private Boolean checkRuntimePermission() {\n List<String> permissionsNeeded = new ArrayList<String>();\n\n final List<String> permissionsList = new ArrayList<String>();\n if (!addPermission(permissionsList, Manifest.permission.READ_EXTERNAL_STORAGE))\n permissionsNeeded.add(\"Storage\");\n if (!addPermission(permissionsList, Manifest.permission.CAMERA))\n permissionsNeeded.add(\"Camera\");\n /* if (!addPermission(permissionsList, Manifest.permission.WRITE_CONTACTS))\n permissionsNeeded.add(\"Write Contacts\");*/\n\n if (permissionsList.size() > 0) {\n if (permissionsNeeded.size() > 0) {\n // Need Rationale\n String message = \"You need to grant access to \" + permissionsNeeded.get(0);\n for (int i = 1; i < permissionsNeeded.size(); i++)\n message = message + \", \" + permissionsNeeded.get(i);\n showMessageOKCancel(message,\n new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(permissionsList.toArray(new String[permissionsList.size()]),\n REQUEST_CODE_ASK_MULTIPLE_PERMISSIONS);\n }\n }\n });\n return false;\n }\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n requestPermissions(permissionsList.toArray(new String[permissionsList.size()]),\n REQUEST_CODE_ASK_MULTIPLE_PERMISSIONS);\n }\n return false;\n }\n return true;\n }", "private boolean validateAccess(String permission) {\n\t\tif (\"READ\".equalsIgnoreCase(permission)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isDenied();", "private boolean checkPermission() {\n Log.d(\"TAG\", \"checkPermission()\");\n // Ask for permission if it wasn't granted yet\n return (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) == PackageManager.PERMISSION_GRANTED );\n }", "@Override\n\tpublic boolean isUserExist(StudentForm student) {\n\t\treturn false;\n\t}", "boolean hasPermission(final Player sniper, final String permission);", "private static boolean hasPermissions(Context context, String... permissions) {\n for (String permission : permissions) {\n if (ContextCompat.checkSelfPermission(context, permission)\n != PackageManager.PERMISSION_GRANTED) {\n return false;\n }\n }\n return true;\n }", "@Override\n public boolean isDM(Optional<BaseCharacter> inUser)\n {\n if(!inUser.isPresent())\n return false;\n\n return inUser.get().hasAccess(Group.DM);\n }", "public boolean hasPermissions(Player player) {\n\t\tif (!m_bHasPermissions && player.isOp())\n\t\t\treturn true;\n\t\telse if (m_bHasPermissions && m_PermissionHandler.has(player, \"lord.orbitalstrike\"))\n\t\t\treturn true;\n\t\telse {\n\t\t\tOrbitalStrike.sendMessage(player, \"You do not have permission to use this plugin.\");\n\t\t\tOrbitalStrike.logInfo(\"Player \" + player + \" does not have permission.\", 1);\n\t\t\treturn false;\n\t\t}\n\t}", "public boolean isAdmissible();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();", "boolean hasUserID();" ]
[ "0.70949394", "0.6636567", "0.65953904", "0.6510315", "0.63980585", "0.63729966", "0.6325476", "0.6302289", "0.62756413", "0.62442714", "0.6212526", "0.61369133", "0.61168766", "0.61168766", "0.6103444", "0.6086488", "0.60682946", "0.6062217", "0.60619503", "0.60609114", "0.6051372", "0.6024069", "0.6017446", "0.6017446", "0.6017446", "0.6017446", "0.6017446", "0.6017446", "0.6017446", "0.60047626", "0.5999401", "0.59953433", "0.5941493", "0.5940943", "0.59234357", "0.59170616", "0.5897058", "0.58954704", "0.58522636", "0.58290064", "0.58241653", "0.5780599", "0.57794094", "0.5772577", "0.5763819", "0.57592475", "0.5758926", "0.5758926", "0.575817", "0.5756877", "0.5747398", "0.57468426", "0.5733835", "0.5731258", "0.5730557", "0.5730557", "0.5728537", "0.5726912", "0.5718279", "0.5714665", "0.5711799", "0.57064027", "0.569983", "0.5690844", "0.56851673", "0.56851673", "0.56851673", "0.5681184", "0.56760067", "0.5674243", "0.56733084", "0.56733084", "0.5660653", "0.565596", "0.56511", "0.5634774", "0.56228507", "0.5621677", "0.5613123", "0.5612795", "0.56076276", "0.5606639", "0.56048954", "0.56000835", "0.5599242", "0.5599168", "0.5589768", "0.55801165", "0.5575742", "0.55712783", "0.55712783", "0.55712783", "0.55712783", "0.55712783", "0.55712783", "0.55712783", "0.55712783", "0.55712783", "0.55712783", "0.55712783" ]
0.6205241
11
Grants a permission to a user.
@Override public void grant(User subject, Permission permission) { //TODO figure out how to implement since we're using role based permissions }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void grantAdministrate(User user) throws ServiceException{\n }", "public void addPermission(T object, Permission permission, User user);", "public void grantAdminOnIndividualToSystemUser(Individual i, SystemUser user);", "public void grantPermission(String objectId, String objectType, User user, List<String> actions) throws UserManagementException;", "public void grantModerate(User user) throws ServiceException{\n }", "public boolean hasPermission(T object, Permission permission, User user);", "@Override\n public boolean hasAccessPermission(String user, NamespaceKey key, DatasetConfig datasetConfig) {\n return userPredicate.test(user);\n }", "public synchronized void grantAdminPrivilege(UserEntity userEntity) {\n final PrivilegeEntity adminPrivilege = new PrivilegeEntity();\n adminPrivilege.setPermission(permissionDAO.findAmbariAdminPermission());\n adminPrivilege.setPrincipal(userEntity.getPrincipal());\n adminPrivilege.setResource(resourceDAO.findAmbariResource());\n if (!userEntity.getPrincipal().getPrivileges().contains(adminPrivilege)) {\n privilegeDAO.create(adminPrivilege);\n userEntity.getPrincipal().getPrivileges().add(adminPrivilege);\n principalDAO.merge(userEntity.getPrincipal()); //explicit merge for Derby support\n userDAO.merge(userEntity);\n }\n }", "public void grantPermissionPending(String objectId, String objectType, User user, List<String> actions) throws UserManagementException;", "public void addPermission(T object, Permission permission);", "public void grantRole(String roleName, User user) throws UserManagementException;", "public Permission getPermission(String objectId, User user, Boolean pending) throws UserManagementException;", "public boolean addPermission(Permission permission);", "void setPermission(String perm, boolean add);", "void permissionGranted(int requestCode);", "@Test(dependsOnMethods = \"testRoleAdd\", groups = \"role\", priority = 1)\n public void testRoleGrantPermission() throws ExecutionException, InterruptedException {\n this.authDisabledAuthClient\n .roleGrantPermission(rootRole, rootRolekeyRangeBegin, rootkeyRangeEnd,\n Permission.Type.READWRITE).get();\n this.authDisabledAuthClient\n .roleGrantPermission(userRole, userRolekeyRangeBegin, userRolekeyRangeEnd, Type.READWRITE)\n .get();\n }", "@Override\n protected String requiredGetPermission() {\n return \"user\";\n }", "void changePermissions(Training training, User user, Permission permission, String token) throws AuthenticationException;", "protected void grantPrivileges() {\n if (!PRIVILEGES_FEATURE_ENABLED.contains(dbType)) {\n return;\n }\n\n // The case where all are to be granted on the default schemas.\n if (!(updateFhirSchema || grantFhirSchema || updateOauthSchema\n || grantOauthSchema || updateJavaBatchSchema || grantJavaBatchSchema)) {\n grantOauthSchema = true;\n grantFhirSchema = true;\n grantJavaBatchSchema = true;\n }\n\n // Build/update the tables as well as the stored procedures\n PhysicalDataModel pdm = new PhysicalDataModel();\n buildCommonModel(pdm, updateFhirSchema || grantFhirSchema, updateOauthSchema || grantOauthSchema,\n updateJavaBatchSchema || grantJavaBatchSchema);\n\n final IDatabaseAdapter adapter = getDbAdapter(dbType, connectionPool);\n try (ITransaction tx = TransactionFactory.openTransaction(connectionPool)) {\n try {\n pdm.applyGrants(adapter, FhirSchemaConstants.FHIR_USER_GRANT_GROUP, grantTo);\n pdm.applyGrants(adapter, FhirSchemaConstants.FHIR_OAUTH_GRANT_GROUP, grantTo);\n pdm.applyGrants(adapter, FhirSchemaConstants.FHIR_BATCH_GRANT_GROUP, grantTo);\n } catch (DataAccessException x) {\n // Something went wrong, so mark the transaction as failed\n tx.setRollbackOnly();\n throw x;\n }\n }\n }", "public Boolean setFloodPerm(String floodPerm) throws PermissionDeniedException;", "public synchronized void grantAdminPrivilege(Integer userId) {\n grantAdminPrivilege(userDAO.findByPK(userId));\n }", "protected void grantAdminAuthority( ApplicationContext ctx ) {\n ProviderManager providerManager = ( ProviderManager ) ctx.getBean( \"authenticationManager\" );\n providerManager.getProviders().add( new TestingAuthenticationProvider() );\n\n // Grant all roles to test user.\n TestingAuthenticationToken token = new TestingAuthenticationToken( \"administrator\", \"administrator\",\n new GrantedAuthority[] { new GrantedAuthorityImpl( \"GROUP_ADMIN\" ) } );\n\n token.setAuthenticated( true );\n\n putTokenInContext( token );\n }", "@Test\n public void testRequestGrantedPermission() throws Exception {\n assertEquals(PackageManager.PERMISSION_DENIED, getInstrumentation().getContext()\n .checkSelfPermission(Manifest.permission.WRITE_CONTACTS));\n\n String[] permissions = new String[] {Manifest.permission.WRITE_CONTACTS};\n\n // Request the permission and allow it\n BasePermissionActivity.Result firstResult = requestPermissions(permissions,\n REQUEST_CODE_PERMISSIONS,\n BasePermissionActivity.class, () -> {\n try {\n clickAllowButton();\n getUiDevice().waitForIdle();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n });\n\n // Expect the permission is granted\n assertPermissionRequestResult(firstResult, REQUEST_CODE_PERMISSIONS,\n permissions, new boolean[] {true});\n\n // Request the permission and do nothing\n BasePermissionActivity.Result secondResult = requestPermissions(new String[] {\n Manifest.permission.WRITE_CONTACTS}, REQUEST_CODE_PERMISSIONS + 1,\n BasePermissionActivity.class, null);\n\n // Expect the permission is granted\n assertPermissionRequestResult(secondResult, REQUEST_CODE_PERMISSIONS + 1,\n permissions, new boolean[] {true});\n }", "UserPermissions authenticate (Request request);", "private void requestPermission() {\n boolean shouldProvideRationale = ActivityCompat.shouldShowRequestPermissionRationale(this, Manifest.permission.ACCESS_FINE_LOCATION);\n\n if (shouldProvideRationale) {\n Log.i(TAG, \"requestPermission: \" + \"Displaying the permission rationale\");\n // provide a way so that user can grant permission\n\n showSnackbar(R.string.warning_txt, android.R.string.ok, new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n startLocationPermissionRequest();\n }\n });\n\n } else {\n startLocationPermissionRequest();\n }\n }", "public boolean isPermissionGranted(String permission){\n return true;\n// else\n// return false;\n }", "public void isAllowed(String user) {\n \r\n }", "public void confirmPermission(String objectId, User user) throws UserManagementException;", "public void grantPermission(Permission permission, Role role) {\n List<Role> roles = new ArrayList<>();\n roles.add(role);\n if (hasPermission(roles, permission)) {\n return;\n }\n\n Connection conn = null;\n PreparedStatement ps = null;\n String uuid = PermissionUtil.createPermissionID(permission);\n String query = null;\n try {\n conn = getConnection();\n query = queryManager.getQuery(conn, QueryManager.GRANT_PERMISSION_QUERY);\n conn.setAutoCommit(false);\n ps = conn.prepareStatement(query);\n ps.setString(1, uuid);\n ps.setString(2, permission.getAppName());\n ps.setString(3, permission.getPermissionString());\n ps.setString(4, role.getId());\n ps.executeUpdate();\n conn.commit();\n } catch (SQLException e) {\n log.debug(\"Failed to execute SQL query {}\", query);\n throw new PermissionException(\"Unable to grant permission.\", e);\n } finally {\n closeConnection(conn, ps, null);\n }\n }", "public void assignAuthorisedUser(final boolean val) {\n authorisedUser = val;\n }", "private void callPermission() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M\n && checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n\n requestPermissions(\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n PERMISSIONS_ACCESS_FINE_LOCATION);\n\n } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M\n && checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION)\n != PackageManager.PERMISSION_GRANTED){\n\n requestPermissions(\n new String[]{Manifest.permission.ACCESS_COARSE_LOCATION},\n PERMISSIONS_ACCESS_COARSE_LOCATION);\n } else {\n isPermission = true;\n }\n }", "@Override\n public void onPermissionGranted() {\n }", "public GrantPermissionSystemResponse grantPermissionSystem(GrantPermissionSystemRequest request) throws GPUdbException {\n GrantPermissionSystemResponse actualResponse_ = new GrantPermissionSystemResponse();\n submitRequest(\"/grant/permission/system\", request, actualResponse_, false);\n return actualResponse_;\n }", "public void askForPermissionsGrant(){\n int res =ContextCompat.checkSelfPermission(this,Manifest.permission.ACCESS_FINE_LOCATION);\n int res2 =ContextCompat.checkSelfPermission(this,Manifest.permission.ACCESS_FINE_LOCATION);\n if (res!= PackageManager.PERMISSION_GRANTED || res2!= PackageManager.PERMISSION_GRANTED) {\n // Permission is not granted\n // Should we show an explanation?\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.ACCESS_FINE_LOCATION)) {\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(\"We need to access your location\")\n .setMessage(\"We want to track every breath you take\")\n .setPositiveButton(\"Ok\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(MainActivity.this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION,\n Manifest.permission.READ_CONTACTS},\n MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n });\n builder.create().show();\n }\n else {\n // No explanation needed; request the permission\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n // MY_PERMISSIONS_REQUEST_READ_CONTACTS is an\n // app-defined int constant. The callback method gets the\n // result of the request.\n }\n } else {\n // Permission has already been granted\n publishLastLocation();\n }\n\n }", "@Override\n public void onPermissionGranted() {\n }", "private void callPermission() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M\r\n && checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION)\r\n != PackageManager.PERMISSION_GRANTED) {\r\n\r\n requestPermissions(\r\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\r\n PERMISSIONS_ACCESS_FINE_LOCATION);\r\n\r\n } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M\r\n && checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION)\r\n != PackageManager.PERMISSION_GRANTED){\r\n\r\n requestPermissions(\r\n new String[]{Manifest.permission.ACCESS_COARSE_LOCATION},\r\n PERMISSIONS_ACCESS_COARSE_LOCATION);\r\n } else {\r\n isPermission = true;\r\n }\r\n }", "private void askPermission() {\n if (ContextCompat.checkSelfPermission(this,\n android.Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n Parameters.MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n }\n }", "UserPermissionsType createUserPermissionsType();", "abstract public void getPermission();", "void grant(Object dbobject, int rights) {\n\n if (rights == 0) {\n return;\n }\n\n int n = rightsMap.get(dbobject, 0);\n\n n |= rights;\n\n rightsMap.put(dbobject, n);\n }", "public GrantPermissionSystemResponse grantPermissionSystem(String name, String permission, Map<String, String> options) throws GPUdbException {\n GrantPermissionSystemRequest actualRequest_ = new GrantPermissionSystemRequest(name, permission, options);\n GrantPermissionSystemResponse actualResponse_ = new GrantPermissionSystemResponse();\n submitRequest(\"/grant/permission/system\", actualRequest_, actualResponse_, false);\n return actualResponse_;\n }", "@Override\n public void checkPermission(Permission perm, Object context) {\n }", "void askForPermissions();", "@RequiresApi(api = Build.VERSION_CODES.M)\n public void requestPermissionLlamada() {\n //shouldShowRequestPermissionRationale es verdadero solamente si ya se había mostrado\n //anteriormente el dialogo de permisos y el usuario lo negó\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.CALL_PHONE)) {\n } else {\n //si es la primera vez se solicita el permiso directamente\n requestPermissions(new String[]{Manifest.permission.CALL_PHONE},\n MY_WRITE_EXTERNAL_STORAGE);\n }\n }", "@Override\n public AddPermissionResult addPermission(AddPermissionRequest request) {\n request = beforeClientExecution(request);\n return executeAddPermission(request);\n }", "private void requestPermission(){\r\n ActivityCompat.requestPermissions(activity,new String[]{Manifest.permission.ACCESS_FINE_LOCATION},1);\r\n }", "public boolean checkPermission(Permission permission);", "private void requestPermission() {\n\n ActivityCompat.requestPermissions(CalltoVendor.this, new String[]\n {\n CALL_PHONE\n }, RequestPermissionCode);\n }", "private Future<Void> migratePermsAssignUser(PermissionUser permUser, Conn connection, Context vertxContext, String tenantId) {\n return PermsCache.expandPerms(permUser.getPermissions(), vertxContext, tenantId)\n .compose(expandedPerms -> {\n JsonArray originalList = new JsonArray(permUser.getPermissions());\n JsonArray newList = new JsonArray(permUser.getPermissions());\n List<String> permissionsToBeAdded = Collections.emptyList();\n if (originalList.contains(PermissionUtils.PERMS_OKAPI_ALL)) {\n permissionsToBeAdded = List.of(PermissionUtils.PERMS_USERS_ASSIGN_OKAPI,\n PermissionUtils.PERMS_USERS_ASSIGN_IMMUTABLE,\n PermissionUtils.PERMS_USERS_ASSIGN_MUTABLE);\n }\n boolean added = false;\n for (String perm : permissionsToBeAdded) {\n if (!originalList.contains(perm)) {\n newList.add(perm);\n added = true;\n }\n }\n if (!added) {\n return Future.succeededFuture();\n }\n permUser.setPermissions(newList.getList());\n return connection.update(PermsAPI.TABLE_NAME_PERMSUSERS, permUser, permUser.getId())\n .compose(x -> updateUserPermissions(connection, permUser.getId(), originalList, newList,\n null, null, null));\n });\n }", "public void setPermission(String permission)\r\n {\r\n this.permission = permission;\r\n }", "@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n if (requestCode == REQUEST_PERMISSION_SETTING) {\n checkPermission();\n }\n }", "private void requestPermissionFromUser() {\n if(ActivityCompat.shouldShowRequestPermissionRationale(this,android.Manifest.permission.READ_EXTERNAL_STORAGE)){\n Toast.makeText(getApplicationContext(),\"READ STORAGE Allows Us To Upload Image From Your Gallery To The DataBase\",Toast.LENGTH_SHORT).show();\n }else{\n ActivityCompat.requestPermissions(this,new String[]{android.Manifest.permission.READ_EXTERNAL_STORAGE},PERMISSION_REQUEST_CODE);\n }\n }", "private void usersCheckPermission(PermissionRequest.ActionType grantedAction, IEntity entity)\n {\n authGrantedUser();\n try {\n executeAction(grantedAction, entity);\n } catch (AccessDeniedException e) {\n fail(\"Action \" + grantedAction.name() + \" was granted but could not be executed \" + entity.getEntityName());\n }\n\n authNotGrantedUser();\n try {\n executeAction(grantedAction, entity);\n fail(\"Action \" + grantedAction.name() + \" was not granted but could be executed \" + entity.getEntityName());\n } catch (AccessDeniedException e) {\n //\n }\n }", "public synchronized void grantPrivilegeToGroup(Integer groupId, Long resourceId, ResourceType resourceType, String permissionName) {\n final GroupEntity group = groupDAO.findByPK(groupId);\n final PrivilegeEntity privilege = new PrivilegeEntity();\n ResourceTypeEntity resourceTypeEntity = new ResourceTypeEntity();\n resourceTypeEntity.setId(resourceType.getId());\n resourceTypeEntity.setName(resourceType.name());\n privilege.setPermission(permissionDAO.findPermissionByNameAndType(permissionName, resourceTypeEntity));\n privilege.setPrincipal(group.getPrincipal());\n privilege.setResource(resourceDAO.findById(resourceId));\n if (!group.getPrincipal().getPrivileges().contains(privilege)) {\n privilegeDAO.create(privilege);\n group.getPrincipal().getPrivileges().add(privilege);\n principalDAO.merge(group.getPrincipal()); //explicit merge for Derby support\n groupDAO.merge(group);\n privilegeDAO.merge(privilege);\n }\n }", "void requestNeededPermissions(int requestCode);", "void add(User user) throws AccessControlException;", "boolean makeAdmin(User user);", "@Override\n public boolean userCanAccess(int id) {\n return true;\n }", "public void setUserModificationPermission(int permission) {\n this.permission = permission;\n }", "public void onPermissionGranted() {\n\n }", "public void setUserPermissionId( Integer userPermissionId ) {\n this.userPermissionId = userPermissionId ;\n }", "public static void addMemberPermission(String username, String permission)\r\n throws ObjectNotFoundException, CreateException, DatabaseException, ForeignKeyNotFoundException {\r\n \r\n MemberXML.addMemberPermission(username, permission);\r\n }", "private void setPrivilagesToModifyUser(User user){\n\t\tsetFields(false);\n\t\tif (!LoginWindowController.loggedUser.getPermissions().equals(\"administrator\"))\n\t\t{\n\t\t\tif (LoginWindowController.loggedUser.getId() != user.getId()){\n\t\t\t\tif ((user.getPermissions().equals(\"manager\")) \n\t\t\t\t\t\t|| (user.getPermissions().equals(\"administrator\"))){\n\t\t\t\t\tsetFields(true);\n\t\t\t\t}\n\t\t\t\tif (user.getPermissions().equals(\"pracownik\")){\n\t\t\t\t\tsetFields(false);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\telse {\n\t\t\t\tsetFields(false);\n\t\t\t\tdeleteMenuItem.setDisable(true);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tif (LoginWindowController.loggedUser.getId() == user.getId()){\n\t\t\t\tdeleteMenuItem.setDisable(true);\n\t\t\t\tuserPermissionsBox.setDisable(true);\n\t\t\t}\n\t\t}\n\t}", "@NonNull\n public Permission toBukkit(@NonNull Group group, String context) {\n if (context == null)\n return Permissions.register(\n new Permission(\n this.groups().getNode(group),\n this.groups().isDefault(group) ? PermissionDefault.TRUE : PermissionDefault.FALSE,\n new HashMap<>()));\n Map<String, Boolean> permissions = new HashMap<>();\n Set<PermissionStack> stacks =\n Lots.set(\n group.getPermissions(context),\n group.getPermissions(Guido.getConfiguration().getContext()),\n group.getPermissions(\"global\"));\n for (PermissionStack stack : stacks) {\n if (stack != null) {\n for (AbstractPermission abstractPermission : stack.getPermissions()) {\n permissions.put(abstractPermission.getNode(), abstractPermission.isEnabled());\n }\n }\n }\n return Permissions.register(\n new Permission(\n this.groups().getNode(group) + \".\" + context, PermissionDefault.OP, permissions));\n }", "public abstract void grantModerator(String nickname);", "@Override\n public void onGranted() {\n }", "@Override\n public void checkPermission(Permission perm) {\n }", "@Override\n public void onPermissionGranted(PermissionGrantedResponse permissionGrantedResponse) {\n\n }", "@RequiresApi(api = Build.VERSION_CODES.M)\n public void requestPermission() {\n //shouldShowRequestPermissionRationale es verdadero solamente si ya se había mostrado\n //anteriormente el dialogo de permisos y el usuario lo negó\n\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.SEND_SMS)) {\n } else {\n //si es la primera vez se solicita el permiso directamente\n requestPermissions(new String[]{Manifest.permission.SEND_SMS},\n MY_WRITE_EXTERNAL_STORAGE);\n }\n }", "private void requestPermission() {\r\n\r\n if (ActivityCompat.shouldShowRequestPermissionRationale(UniformDrawer.this, android.Manifest.permission.WRITE_EXTERNAL_STORAGE)) {\r\n Toast.makeText(UniformDrawer.this, \"Write External Storage permission allows us to do store images. Please allow this permission in App Settings.\", Toast.LENGTH_LONG).show();\r\n } else {\r\n ActivityCompat.requestPermissions(UniformDrawer.this, new String[]{android.Manifest.permission.WRITE_EXTERNAL_STORAGE}, PERMISSION_REQUEST_CODE);\r\n }\r\n }", "@Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ActivityCompat.requestPermissions(a,\n new String[]{permission},\n b);\n }", "@Override\n public boolean hasPermission(User user, E entity, Permission permission) {\n\n // always grant READ access (\"unsecured\" object)\n if (permission.equals(Permission.READ)) {\n logger.trace(\"Granting READ access on \" + entity.getClass().getSimpleName() + \" with ID \" + entity.getId());\n return true;\n }\n\n // call parent implementation\n return super.hasPermission(user, entity, permission);\n }", "public List<Permission> getPermissions(User user) throws UserManagementException;", "private Authentication grantAdminRole(UserInfo u, Authentication authentication) throws AuthenticationException\n\t{\n\t\tList<GrantedAuthority> rights = new ArrayList<GrantedAuthority>();\n\t\trights.add(new SimpleGrantedAuthority(ADMIN));\n\t\t// Return valid authentication token.\n\t\tUsernamePasswordAuthenticationToken token;\n\t\ttoken = new UsernamePasswordAuthenticationToken(authentication.getPrincipal(),\n\t\t\t\tauthentication.getCredentials(),\n\t\t\t\trights);\n\t\treturn token;\n\t}", "public void addUserToAccessControlList(Site site, String permission) {\n \t\n \tString gcalid = getGoogleCalendarID( site);\n \tif (gcalid == null){\n \t\tM_log.error(\"Google calendar id not found in site properties for site: \" + site.getId());\n \t\treturn;\n \t}\n \t\n \tString currentUserId = getCurrentUserId();\n \t\n \tCalendar client;\n \t\n \tPreferences prefs = (PreferencesEdit)m_preferencesService.getPreferences(currentUserId);\n\t\tResourceProperties props = prefs.getProperties(GOOGLE_CALENDAR_PREFS);\n\t\tString googleCalendarPrefPropValue = props.getProperty(gcalid);\n\t\tboolean isSuper = securityService.isSuperUser(currentUserId);\n \t\n\t\t// if the current user is a valid user in the site or a superuser\n\t\t// and if the current user is not in google calendar acl (access control list)\n\t\t// OR if their permissions have changed\n\t\t// add the current user to the google calendar acl (access control list)\t\t\n\t\tif (site.getMember(currentUserId) != null \n\t\t\t\t&& ( googleCalendarPrefPropValue == null || !googleCalendarPrefPropValue.equals(permission) )\n\t\t\t\t|| isSuper ) {\n\t\t\t\n\t\t\t// Site creator \n\t\t\tString siteCreatorEmailAddress = site.getCreatedBy().getEmail();\n\t\t\t\n\t\t\t// no email associated with the site owner results in the call to Google to fail.\n\t\t\tif ( null == siteCreatorEmailAddress || siteCreatorEmailAddress.isEmpty() ) {\n\t\t\t\t// TODO: error message to the user here?\n\t\t\t\tM_log.error(\"Missing email address for site creator - unable to create google calender. Site \" + site.getId() + \" creator \" + site.getCreatedBy().getSortName() );\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\t// Create ACL using site creator email\n\t\t\tGoogleCredential credential = getGoogleCredential(siteCreatorEmailAddress);\n\t\t\t\n\t\t\tif (credential == null) {\n\t\t\t\tM_log.error(\"addUserToAccessControlList: bad credentials for \" + site.getId() + \" creator \" + siteCreatorEmailAddress);\n\t\t\t\treturn; // user not authorized\n\t\t\t}\n\n\t\t\tclient = getGoogleClient( credential );\n\t\t\t\t\n\t\t\tString currentUserEmailAddress = getUserEmailAddress();\n\t\t\tAclRule rule = new AclRule();\n\t\t\tScope scope = new Scope();\n\n\t\t\tscope.setType(SakaiGCalendarServiceStaticVariables.RULE_SCOPE_TYPE_USER);\n\t\t\tscope.setValue(currentUserEmailAddress);\n\t\t\trule.setScope(scope);\n\t\t\t\n\t\t\t// Determine Google calendar permissions based on Sakai permissions\n\t\t\tif ( permission.equals(org.sakaiproject.site.api.SiteService.SECURE_UPDATE_SITE_MEMBERSHIP)) {\n\t\t\t\trule.setRole(SakaiGCalendarServiceStaticVariables.RULE_ROLE_OWNER);\n\t\t\t}\n\t\t\telse if ( permission.equals(SakaiGCalendarServiceStaticVariables.SECURE_GCAL_EDIT)) {\n\t\t\t\trule.setRole(SakaiGCalendarServiceStaticVariables.RULE_ROLE_WRITER);\n\t\t\t}\n\t\t\telse if ( permission.equals(SakaiGCalendarServiceStaticVariables.SECURE_GCAL_VIEW_ALL) || isSuper) {\n\t\t\t\trule.setRole(SakaiGCalendarServiceStaticVariables.RULE_ROLE_READER);\n\t\t\t}\n\t\t\telse if ( permission.equals(SakaiGCalendarServiceStaticVariables.SECURE_GCAL_VIEW)) {\n\t\t\t\trule.setRole(SakaiGCalendarServiceStaticVariables.RULE_ROLE_FREEBUSYREADER);\n\t\t\t}\n\t\t\telse {\n\t\t\t\trule.setRole(SakaiGCalendarServiceStaticVariables.RULE_ROLE_FREEBUSYREADER); // should never fall through\n\t\t\t}\n\t\t\t// TODO: although this seems to work, we should update the role if it already exists AND we should test the return\n\t\t\ttry {\n\t\t\t\tAclRule createdRule = client.acl().insert(gcalid, rule).execute();\n\t\t\t} catch (IOException e) {\n\t\t\t\tM_log.error(\"addUserToAccessControlList for site \" + site.getId() + \" \" + e.getMessage());\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t\n\t\t\t// Save gcalid in user preferences (so we know the user has been added to the google calendar ACL)\t\t\n\t\t\tsaveGCalProperty(currentUserId, gcalid, permission);\n \t}\n }", "@Override\n public void onGranted() {\n }", "@Override\n public void onGranted() {\n }", "private void checkIfPermissionGranted() {\n\n //if user already allowed the permission, this condition will be true\n if (ContextCompat.checkSelfPermission(this, PERMISSION_CODE)\n == PackageManager.PERMISSION_GRANTED) {\n Intent launchIntent = getPackageManager().getLaunchIntentForPackage(\"com.example.a3\");\n if (launchIntent != null) {\n startActivity(launchIntent);//null pointer check in case package name was not found\n }\n }\n //if user didn't allow the permission yet, then ask for permission\n else {\n ActivityCompat.requestPermissions(this, new String[]{PERMISSION_CODE}, 0);\n }\n }", "@Override\n\tpublic boolean can(String permission)\n\t{\n\t\treturn this.auth() != null && this.auth().getRole() != null && this.auth().getRole().getPermissions().parallelStream().filter(p -> Pattern.compile(p.getName()).matcher(permission).groupCount() == 0).count() != 0;\n\t}", "@Override\n public void onClick(View v) {\n if (Build.VERSION.SDK_INT >= 23)\n {\n if (permissionUtils.checkPermissions())\n {\n Log.e(TAG, \"Permission Is Not Granted. Request For Permission\");\n permissionUtils.askPermission();\n }\n else\n {\n Log.e(TAG, \"Permission Already Granted\");\n Intent intent = new Intent(RuntimePermissionActivity.this, PermissionGrantedActivity.class);\n startActivity(intent);\n finish();\n }\n }\n else\n {\n /*\n * Pre-Marshmallow\n * If build version is less than or 23, then all permission is\n * granted at install time in google play store.\n */\n Intent intent = new Intent(RuntimePermissionActivity.this, PermissionGrantedActivity.class);\n startActivity(intent);\n finish();\n }\n }", "public static void requestPermission(Activity act, PermissionsMapping pm){\n if (ContextCompat.checkSelfPermission(act, pm.permission[0])\n != PackageManager.PERMISSION_GRANTED) {\n if (ActivityCompat.shouldShowRequestPermissionRationale(act, pm.permission[0])) {\n ActivityCompat.requestPermissions(act, pm.permission, pm.requestCode);\n } else {\n ActivityCompat.requestPermissions(act, pm.permission, pm.requestCode);\n }\n }\n }", "public String getFloodPerm() throws PermissionDeniedException;", "private void requestPermissions(){\n Intent intent = new Intent(this.getApplication(), MainActivity.class);\r\n intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\r\n startActivity(intent);\r\n }", "private void requestPermission() {\n if (shouldShowRequestPermissionRationale(android.Manifest.permission.ACCESS_FINE_LOCATION)) {\n AlertDialog.Builder builder = new AlertDialog.Builder(getContext());\n builder.setMessage(this.getResources().getString(R.string.request_location_permission_message))\n .setPositiveButton(this.getResources().getString(R.string.OK), new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n ActivityCompat.requestPermissions(getActivity(),\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.ACCESS_COARSE_LOCATION},\n REQUEST_LOCATION);\n }\n });\n AlertDialog alertDialog = builder.create();\n alertDialog.show();\n } else {\n ActivityCompat.requestPermissions((Activity) mContext,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.ACCESS_COARSE_LOCATION},\n REQUEST_LOCATION);\n }\n }", "public void testAllowDeterminedByRuleOrder()\n {\n assertTrue(_ruleSet.addGroup(\"aclgroup\", Arrays.asList(new String[] {\"usera\"})));\n \n _ruleSet.grant(1, \"usera\", Permission.ALLOW, Operation.ACCESS, ObjectType.VIRTUALHOST, ObjectProperties.EMPTY);\n _ruleSet.grant(2, \"aclgroup\", Permission.DENY, Operation.ACCESS, ObjectType.VIRTUALHOST, ObjectProperties.EMPTY);\n assertEquals(2, _ruleSet.getRuleCount());\n\n assertEquals(Result.ALLOWED, _ruleSet.check(TestPrincipalUtils.createTestSubject(\"usera\"),Operation.ACCESS, ObjectType.VIRTUALHOST, ObjectProperties.EMPTY));\n }", "@Test\n public void testRuntimeGroupGrantSpecificity() throws Exception {\n assertEquals(PackageManager.PERMISSION_DENIED, getInstrumentation().getContext()\n .checkSelfPermission(Manifest.permission.WRITE_CONTACTS));\n assertEquals(PackageManager.PERMISSION_DENIED, getInstrumentation().getContext()\n .checkSelfPermission(Manifest.permission.READ_CONTACTS));\n\n String[] permissions = new String[] {Manifest.permission.WRITE_CONTACTS};\n\n // request only one permission from the 'contacts' permission group\n BasePermissionActivity.Result result = requestPermissions(permissions,\n REQUEST_CODE_PERMISSIONS,\n BasePermissionActivity.class,\n () -> {\n try {\n clickAllowButton();\n getUiDevice().waitForIdle();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n });\n\n // Expect the permission is granted\n assertPermissionRequestResult(result, REQUEST_CODE_PERMISSIONS,\n permissions, new boolean[] {true});\n\n // Make sure no undeclared as used permissions are granted\n assertEquals(PackageManager.PERMISSION_DENIED, getInstrumentation().getContext()\n .checkSelfPermission(Manifest.permission.READ_CONTACTS));\n }", "public List<Permission> getPermissions(T object, User user);", "private Future<Void> migratePermsAssign(ModuleId moduleId, Map<String, Permission> dbPerms,\n Conn connection, Context vertxContext, String tenantId) {\n Permission permission = dbPerms.get(PermissionUtils.PERMS_USERS_ASSIGN_MUTABLE);\n if (!\"mod-permissions\".equals(moduleId.getProduct())\n || (permission != null && !permission.getDeprecated())) {\n return Future.succeededFuture();\n }\n Criteria nameCrit = new Criteria();\n nameCrit.addField(PERMISSION_NAME_FIELD);\n nameCrit.setVal(PermissionUtils.PERMS_OKAPI_ALL);\n nameCrit.setOperation(\"=\");\n return connection.get(PermsAPI.TABLE_NAME_PERMS, Permission.class, new Criterion(nameCrit), false)\n .compose(res -> {\n if (res.getResults().isEmpty()) {\n return Future.succeededFuture(); // okapi not enabled\n }\n Permission perm = res.getResults().get(0);\n List<Object> grantedTo = perm.getGrantedTo();\n List<Future<Void>> futures = new ArrayList<>(grantedTo.size());\n for (Object o : grantedTo) {\n futures.add(connection.getById(PermsAPI.TABLE_NAME_PERMSUSERS, (String) o, PermissionUser.class)\n .compose(permUser -> migratePermsAssignUser(permUser, connection, vertxContext, tenantId))\n .mapEmpty());\n }\n return GenericCompositeFuture.all(futures).mapEmpty();\n });\n }", "PermissionService getPermissionService();", "private void askForPermission(String permission) {\n ActivityCompat.requestPermissions(\n this,\n new String[] {Manifest.permission.ACCESS_COARSE_LOCATION},\n PERM_REQUEST_CODE\n );\n }", "private void fetchPermissionsFromUser() {\n Log.d(TAG, \"in fetch permisssion s\");\n if (ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_COARSE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n Log.d(TAG, \"in fetch permisssion s ACCESS_COARSE_LOCATION\");\n // Should we show an explanation?\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.READ_CONTACTS)) {\n\n // Show an expanation to the user *asynchronously* -- don't block\n // this thread waiting for the user's response! After the user\n // sees the explanation, try again to request the permission.\n Log.d(TAG, \"in fetch permisssion s ACCESS_COARSE_LOCATION show request\");\n\n } else {\n\n // No explanation needed, we can request the permission.\n Log.d(TAG, \"in fetch permisssion s ACCESS_COARSE_LOCATION with return request\");\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_COARSE_LOCATION},\n MY_PERMISSIONS_REQUEST_ACCESS_COARSE_LOCATION);\n\n // MY_PERMISSIONS_REQUEST_READ_CONTACTS is an\n // app-defined int constant. The callback method gets the\n // result of the request.\n }\n }\n\n if (ContextCompat.checkSelfPermission(this,\n Manifest.permission.ACCESS_FINE_LOCATION)\n != PackageManager.PERMISSION_GRANTED) {\n Log.d(TAG, \"in fetch permisssion s ACCESS_FINE_LOCATION\");\n // Should we show an explanation?\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.ACCESS_FINE_LOCATION)) {\n Log.d(TAG, \"in fetch permisssion s ACCESS_FINE_LOCATION erequest\");\n // Show an expanation to the user *asynchronously* -- don't block\n // this thread waiting for the user's response! After the user\n // sees the explanation, try again to request the permission.\n\n } else {\n\n // No explanation needed, we can request the permission.\n Log.d(TAG, \"in fetch permisssion s ACCESS_FINE_LOCATION with return requet\");\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n MY_PERMISSIONS_REQUEST_ACCESS_FINE_LOCATION);\n\n // MY_PERMISSIONS_REQUEST_READ_CONTACTS is an\n // app-defined int constant. The callback method gets the\n // result of the request.\n }\n }\n\n\n }", "@Test\n\t// Delivery 2 Use Case 1. Grant/Deny Access to commands based on profile's role\n\tpublic void test() {\n\n\t\tUsers user1 = new Users(\"Test1\", \"PARENT\");\n\t\tUsers user2 = new Users(\"Test2\", \"STRANGER\");\n\t\tUsers user3 = new Users(\"Test3\", \"CHILDREN\");\n\t\tUsers user4 = new Users(\"Test4\", \"GUEST\");\n\n\t\t// Checking if users have permissions\n\t\tassertEquals(\"PARENT\", user1.getPermission());\n\t\tassertEquals(\"STRANGER\", user2.getPermission());\n\t\tassertEquals(\"CHILDREN\", user3.getPermission());\n\t\tassertEquals(\"GUEST\", user4.getPermission());\n\n\t}", "void setPerm(String name,\n Object value);", "void checkPermission(T request) throws AuthorizationException;", "protected void requestPermission() {\n if (ActivityCompat.shouldShowRequestPermissionRationale(this,\n Manifest.permission.WRITE_EXTERNAL_STORAGE)) {\n ActivityCompat.requestPermissions(this,\n new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE},\n PERMISSION_REQUEST_WRITE_EXTERNAL_STORATE);\n\n } else {\n // Request the permission. The result will be received in onRequestPermissionResult().\n ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE},\n PERMISSION_REQUEST_WRITE_EXTERNAL_STORATE);\n }\n }", "@Override\n public Completable setAccessToken(DomainUserModel user) {\n return userService.setAccessToken(user);\n }", "private void requestPermissionAccessLocation() {\n int permissionCheck = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION);\n\n Log.d(TAG, \"permissionCheck: \" + permissionCheck);\n\n if (permissionCheck == PackageManager.PERMISSION_GRANTED) {\n updateFragmentOnLocationSuccess();\n } else {\n ActivityCompat\n .requestPermissions(this, new String[]{Manifest.permission.ACCESS_FINE_LOCATION},\n REQUEST_CODE_PERMISSION_LOCATION);\n }\n }", "public boolean granted(){\n\t\treturn this.granted;\n\t}", "public String grantStreamPermission(CommandManager cm, String walletAddress, String permissionIdentifier) {\n String result = null;\n try {\n result = (String) cm.invoke(CommandElt.GRANT, walletAddress, permissionIdentifier);\n } catch (MultichainException e) {\n e.printStackTrace();\n //should return meaningful message to the front-end\n return GSonUtil.getInstance().object2Json(new MultichainOperationResult(e.getMessage(), false));\n }\n return GSonUtil.getInstance().object2Json(result);\n }", "public List<Permission> getPermissionsPending(User user) throws UserManagementException;" ]
[ "0.65333056", "0.6509968", "0.6487543", "0.63042957", "0.61955106", "0.61085904", "0.6014651", "0.60127383", "0.59689385", "0.5900061", "0.58254683", "0.5810128", "0.5789589", "0.5786866", "0.57630926", "0.5697258", "0.5640502", "0.56195307", "0.5606892", "0.5603741", "0.55890566", "0.5552718", "0.5537675", "0.5536191", "0.5535074", "0.5523781", "0.55031925", "0.5474271", "0.5473595", "0.54400134", "0.54396224", "0.54253644", "0.54163915", "0.5416123", "0.54120505", "0.54069847", "0.5392466", "0.53830886", "0.5368275", "0.5352727", "0.5344574", "0.5325531", "0.5314573", "0.53058547", "0.529773", "0.52808183", "0.5273999", "0.5271227", "0.5265844", "0.5252449", "0.5229496", "0.5225572", "0.5216294", "0.52040565", "0.519897", "0.51825255", "0.51784945", "0.5169939", "0.5163196", "0.5161185", "0.5155901", "0.5154728", "0.5154165", "0.5149446", "0.5146643", "0.5140195", "0.5135999", "0.5121694", "0.512066", "0.51149774", "0.5113037", "0.5108744", "0.5101558", "0.5089018", "0.5083659", "0.5081019", "0.5081019", "0.50788033", "0.5077431", "0.5074226", "0.5068312", "0.50648856", "0.5057817", "0.50534064", "0.5048291", "0.5045834", "0.504123", "0.50369704", "0.5028987", "0.5028228", "0.5026906", "0.5022937", "0.5021656", "0.5018371", "0.5013748", "0.5007405", "0.5003661", "0.5001909", "0.50011915", "0.49968848" ]
0.7001684
0
Revoke a permission from a user. This function has no effect if the user doesn't have given permission.
@Override public void revoke(User subject, Permission permission) { //TODO figure out how to implement since we're using role based permissions }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void revokePermission(Permission permission) {\n Connection conn = null;\n PreparedStatement ps = null;\n String query = null;\n try {\n conn = getConnection();\n query = queryManager.getQuery(conn, QueryManager.REVOKE_PERMISSION_QUERY);\n conn.setAutoCommit(false);\n ps = conn.prepareStatement(query);\n ps.setString(1, permission.getAppName());\n ps.setString(2, permission.getPermissionString());\n ps.execute();\n conn.commit();\n } catch (SQLException e) {\n log.debug(\"Failed to execute SQL query {}\", query);\n throw new PermissionException(\"Unable to revoke permission.\", e);\n } finally {\n closeConnection(conn, ps, null);\n }\n }", "public void declinePermission(String objectId, User user) throws UserManagementException;", "public void revokePermission(String objectId, User user, List<String> actions) throws UserManagementException;", "public void removePermission(T object, Permission permission, User user);", "public boolean removePermission(Permission permission);", "public void revokePermission(String permissionID) {\n Connection conn = null;\n PreparedStatement ps = null;\n String query = null;\n try {\n conn = getConnection();\n query = queryManager.getQuery(conn, QueryManager.REVOKE_PERMISSION_BY_PERMISSION_ID_QUERY);\n conn.setAutoCommit(false);\n ps = conn.prepareStatement(query);\n ps.setString(1, permissionID);\n ps.execute();\n conn.commit();\n } catch (SQLException e) {\n log.debug(\"Failed to execute SQL query {}\", query);\n throw new PermissionException(\"Unable to revoke permission.\", e);\n } finally {\n closeConnection(conn, ps, null);\n }\n }", "public void revokePermission(Permission permission, Role role) {\n Connection conn = null;\n PreparedStatement ps = null;\n String query = null;\n try {\n conn = getConnection();\n query = queryManager.getQuery(conn, QueryManager.REVOKE_PERMISSION_BY_ROLE_QUERY);\n conn.setAutoCommit(false);\n ps = conn.prepareStatement(query);\n ps.setString(1, permission.getAppName());\n ps.setString(2, permission.getPermissionString());\n ps.setString(3, role.getId());\n ps.execute();\n conn.commit();\n } catch (SQLException e) {\n log.debug(\"Failed to execute SQL query {}\", query);\n throw new PermissionException(\"Unable to revoke permission.\", e);\n } finally {\n closeConnection(conn, ps, null);\n }\n }", "public RevokePermissionSystemResponse revokePermissionSystem(RevokePermissionSystemRequest request) throws GPUdbException {\n RevokePermissionSystemResponse actualResponse_ = new RevokePermissionSystemResponse();\n submitRequest(\"/revoke/permission/system\", request, actualResponse_, false);\n return actualResponse_;\n }", "public RevokePermissionSystemResponse revokePermissionSystem(String name, String permission, Map<String, String> options) throws GPUdbException {\n RevokePermissionSystemRequest actualRequest_ = new RevokePermissionSystemRequest(name, permission, options);\n RevokePermissionSystemResponse actualResponse_ = new RevokePermissionSystemResponse();\n submitRequest(\"/revoke/permission/system\", actualRequest_, actualResponse_, false);\n return actualResponse_;\n }", "@Override\n public RemovePermissionResult removePermission(RemovePermissionRequest request) {\n request = beforeClientExecution(request);\n return executeRemovePermission(request);\n }", "public void revoke() {\n WebsitePreferenceBridge.nativeRevokeUsbPermission(mOrigin, mEmbedder, mObject);\n }", "public void revokeRole(String roleName, User user) throws UserManagementException;", "public RevokePermissionTableResponse revokePermissionTable(String name, String permission, String tableName, Map<String, String> options) throws GPUdbException {\n RevokePermissionTableRequest actualRequest_ = new RevokePermissionTableRequest(name, permission, tableName, options);\n RevokePermissionTableResponse actualResponse_ = new RevokePermissionTableResponse();\n submitRequest(\"/revoke/permission/table\", actualRequest_, actualResponse_, false);\n return actualResponse_;\n }", "public RevokePermissionTableResponse revokePermissionTable(RevokePermissionTableRequest request) throws GPUdbException {\n RevokePermissionTableResponse actualResponse_ = new RevokePermissionTableResponse();\n submitRequest(\"/revoke/permission/table\", request, actualResponse_, false);\n return actualResponse_;\n }", "public synchronized void revokeAdminPrivilege(UserEntity userEntity) {\n for (PrivilegeEntity privilege : userEntity.getPrincipal().getPrivileges()) {\n if (privilege.getPermission().getPermissionName().equals(PermissionEntity.AMBARI_ADMINISTRATOR_PERMISSION_NAME)) {\n userEntity.getPrincipal().getPrivileges().remove(privilege);\n principalDAO.merge(userEntity.getPrincipal()); //explicit merge for Derby support\n userDAO.merge(userEntity);\n privilegeDAO.remove(privilege);\n break;\n }\n }\n }", "public synchronized void revokeAdminPrivilege(Integer userId) {\n revokeAdminPrivilege(userDAO.findByPK(userId));\n }", "boolean unblockUser(User user);", "@RequiresPermission(Manifest.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS)\n public void removeOnPermissionsChangeListener(\n @NonNull PackageManager.OnPermissionsChangedListener listener) {\n synchronized (mPermissionListeners) {\n final IOnPermissionsChangeListener delegate = mPermissionListeners.get(listener);\n if (delegate != null) {\n try {\n mPermissionManager.removeOnPermissionsChangeListener(delegate);\n mPermissionListeners.remove(listener);\n } catch (RemoteException e) {\n throw e.rethrowFromSystemServer();\n }\n }\n }\n }", "public void revoke();", "@Override\r\n\tpublic int delPermission(int id) {\n\t\treturn 0;\r\n\t}", "void remove(User user) throws AccessControlException;", "void stopShellPermissionIdentityDelegation();", "private void revokeGooglePlusAccess() {\n if (mGoogleApiClient.isConnected()) {\n Plus.AccountApi.clearDefaultAccount(mGoogleApiClient);\n Plus.AccountApi.revokeAccessAndDisconnect(mGoogleApiClient)\n .setResultCallback(new ResultCallback<Status>() {\n @Override\n public void onResult(Status arg0) {\n Log.e(TAG, \"User access revoked!\");\n mGoogleApiClient.connect();\n }\n\n });\n }\n }", "public abstract void revokeModerator(String nickname);", "public void removeAdminOnIndividualFromSystemUser(Individual i, SystemUser user);", "public void removePermissions(IPermission[] permissions) throws AuthorizationException;", "public void revoke(String role) throws HsqlException {\n Trace.check(hasRoleDirect(role), Trace.DONT_HAVE_ROLE, role);\n roles.remove(role);\n }", "public RevokeRoleResponse revokeRole(RevokeRoleRequest request) throws GPUdbException {\n RevokeRoleResponse actualResponse_ = new RevokeRoleResponse();\n submitRequest(\"/revoke/role\", request, actualResponse_, false);\n return actualResponse_;\n }", "public int deleteByPrimaryKey(String id) {\n\t\tUserPermission key = new UserPermission();\n\t\tkey.setId(id);\n\t\tint rows = getSqlMapClientTemplate().delete(\n\t\t\t\t\"userpermission.deleteByPrimaryKey\", key);\n\t\treturn rows;\n\t}", "public void revokeAllPrivilegesForSubject(GrouperSession grouperSession, Subject subject);", "public void confirmPermission(String objectId, User user) throws UserManagementException;", "private void revokeGplusAccess() {\n if (mGoogleApiClient.isConnected()) {\n Plus.AccountApi.clearDefaultAccount(mGoogleApiClient);\n Plus.AccountApi.revokeAccessAndDisconnect(mGoogleApiClient)\n .setResultCallback(new ResultCallback<Status>() {\n @Override\n public void onResult(Status arg0) {\n Log.e(TAG, \"User access revoked!\");\n mGoogleApiClient.connect();\n updateUI(false);\n }\n });\n }\n }", "@Override\r\n\tpublic void deletePsermission(Permission permission) {\n\t\tpermissionDao.deletePsermission(permission);\r\n\t}", "public void revokePermissionsFor(String userName, String fileName) throws InterruptedException {\n Log.i(\"revokePermissionsFor\",\n \"About to revoke permissions for \" + userName + \" on file \" + fileName);\n String userPublicKey = getUserKeyFromUserName(userName);\n Log.i(\"revokePermissionsFor\", \"About to revoke permissions for \" + userPublicKey);\n database.delete(\"FileKeys\", \"UserPublicKey = ? AND File = ?\", new String[]{\n userPublicKey, fileName\n });\n AsyncTask.execute(new Runnable() {\n @Override\n public void run() {\n updateDatabaseFile();\n Log.i(\"AsyncTask\", \"database file updated\");\n finished = true;\n }\n });\n customWait();\n }", "public void revokeAccess(CommandSender sender, String[] args) {\n if (sender instanceof Player && ( ((Player) sender).hasPermission(\"mf.revokeaccess\") || ((Player) sender).hasPermission(\"mf.default\")) ) {\n\n Player player = (Player) sender;\n\n if (args.length > 1) {\n if (args[1].equalsIgnoreCase(\"cancel\")) {\n if (main.playersRevokingAccess.containsKey(player.getName())) {\n main.playersRevokingAccess.remove(player.getName());\n player.sendMessage(ChatColor.GREEN + \"Cancelled!\");\n return;\n }\n }\n }\n else {\n player.sendMessage(ChatColor.RED + \"Usage: /mf revokeaccess (player-name)\");\n return;\n }\n\n if (!main.playersRevokingAccess.containsKey(player.getName())) {\n main.playersRevokingAccess.put(player.getName(), args[1]);\n player.sendMessage(ChatColor.GREEN + \"Right click a locked block to revoke this player's access to it! Type '/mf revokeaccess cancel' to cancel!\");\n }\n else {\n player.sendMessage(ChatColor.RED + \"You have already entered this command! Type '/mf revokeaccess cancel' to cancel!\");\n }\n\n }\n\n }", "void revoke(Object dbobject, int rights) {\n\n if (rights == 0) {\n return;\n }\n\n int n = rightsMap.get(dbobject, 0);\n\n if (n == 0) {\n return;\n }\n\n rights = n & (GranteeManager.ALL - rights);\n\n if (rights == 0) {\n rightsMap.remove(dbobject);\n } else {\n rightsMap.put(dbobject, rights);\n }\n }", "protected void remove(User<PERM> user) {\n\t\tuserMap.remove(user.principal.getName());\n\t}", "public abstract void revokeMembership(String nickname);", "void revokeDbObject(Object dbobject) {\n rightsMap.remove(dbobject);\n }", "public void removePermission(String messageBoxId, PermissionLabel permissionLabel)\n throws MessageBoxException {\n try {\n AuthorizationManager authorizationManager = Utils.getUserRelam().getAuthorizationManager();\n\n String messageBoxPath = MessageBoxConstants.MB_MESSAGE_BOX_STORAGE_PATH + \"/\" +\n messageBoxId;\n\n for (String sharedUser : permissionLabel.getSharedUsers()) {\n for (String operation : permissionLabel.getOperations()) {\n authorizationManager.clearUserAuthorization(sharedUser, messageBoxPath, operation);\n }\n }\n } catch (UserStoreException e) {\n String error = \"Failed to clear permissions authorized for \" + messageBoxId +\n \" with permission label \" + permissionLabel.getLabelName();\n log.error(error);\n throw new MessageBoxException(error, e);\n }\n }", "@SuppressWarnings(\"unused\")\n private void revokeGplusAccess() {\n if (mGoogleApiClient.isConnected()) {\n Plus.AccountApi.clearDefaultAccount(mGoogleApiClient);\n Plus.AccountApi.revokeAccessAndDisconnect(mGoogleApiClient).setResultCallback(new ResultCallback<Status>() {\n @Override\n public void onResult(Status arg0) {\n Log.e(TAG, \"User access revoked!\");\n mGoogleApiClient.connect();\n updateUI(false);\n }\n });\n }\n }", "void resetRuntimePermissions(@NonNull AndroidPackage pkg,\n @UserIdInt int userId);", "Integer removeUserByUserId(Integer user_id);", "public void revokeRole(String role, boolean recursive) {\n\t\tif (path != null) {\n\t\t\tMain.get().securityPopup.status.setFlag_update();\n\t\t\tauthService.revokeRole(path, role, recursive, callbackRevokeRole);\n\t\t}\n\t}", "public void deleteUser(Integer uid);", "public void removeUser(User user) throws UserManagementException;", "public void deleteUser(ExternalUser userMakingRequest, String userId);", "@Override\n public void clearPermissions() {\n permissions.clear();\n }", "@Test\n public void revokeRequested() {\n /*\n * Given\n */\n var uid = UID.apply();\n var grantFor = UserAuthorization.random();\n var privilege = DatasetPrivilege.CONSUMER;\n\n var executed = Executed.now(UserId.random());\n var request = AccessRequest.apply(executed, Markdown.lorem());\n var grant = DatasetGrant.createRequested(uid, grantFor, privilege, request);\n\n /*\n * When\n */\n DatasetGrant revoked = grant.revoke(UserId.random(), Instant.now(), Markdown.lorem());\n\n /*\n * Then\n */\n assertThat(revoked)\n .as(\"The request is closed and not active after it is revoked\")\n .satisfies(g -> {\n assertThat(g.asDatasetMember()).isNotPresent();\n assertThat(g.isOpen()).isFalse();\n assertThat(g.isActive()).isFalse();\n assertThat(g.isClosed()).isTrue();\n });\n }", "@Override\r\n\tpublic int deleteRolePermission(int id) {\n\t\treturn rolePermissionMapper.deleteByPrimaryKey(id);\r\n\t}", "@POST\n @Path(\"DeletePermission/{roleId : [1-9][0-9]*}/{permission}\")\n public boolean deletePermissionByInstance(@PathParam(value = \"roleId\") Long roleId, @PathParam(value = \"permission\") String permission) {\n\n String splitedPermission[] = permission.split(\":\");\n\n checkGmOrGPermission(splitedPermission[2], \"GameModel:Edit:\", \"Game:Edit:\");\n\n return this.userFacade.deleteRolePermission(roleId, permission);\n }", "@Override\n public void clearPermissions(Class<? extends AeroCommandBase<?>> command) {\n permissions.remove(command);\n }", "void removeUser(String uid);", "void unFollow(User user);", "public void deletePermission(String permissionID) {\n Connection conn = null;\n PreparedStatement ps = null;\n String query = null;\n try {\n conn = getConnection();\n query = queryManager.getQuery(conn, QueryManager.DELETE_PERMISSION_BY_ID_QUERY);\n conn.setAutoCommit(false);\n ps = conn.prepareStatement(query);\n ps.setString(1, permissionID);\n ps.execute();\n conn.commit();\n } catch (SQLException e) {\n log.debug(\"Failed to execute SQL query {}\", query);\n throw new PermissionException(\"Unable to delete permission.\", e);\n } finally {\n closeConnection(conn, ps, null);\n }\n }", "@Override\r\n\tpublic void deleSysPrivilege(SysPrivilege sysPrivilege) {\n\t\tsysPrivilegeDao.delete(sysPrivilege);\r\n\t}", "@Test\n public void revokeRevoked() {\n var uid = UID.apply();\n var user = UserAuthorization.random();\n var granted = Instant.now();\n var privilege = DatasetPrivilege.CONSUMER;\n var executor = UserId.random();\n\n var grant = DatasetGrant.createApproved(\n uid, user, privilege,\n executor, granted, Markdown.lorem());\n\n /*\n * When\n */\n DatasetGrant firstRevoked = grant.revoke(UserId.random(), Instant.now(), Markdown.lorem());\n DatasetGrant secondRevoked = firstRevoked.revoke(UserId.random(), Instant.now(), Markdown.lorem());\n\n /*\n * Then\n */\n assertThat(firstRevoked)\n .as(\"The request is closed and not active after it is revoked\")\n .satisfies(g -> {\n assertThat(g.asDatasetMember()).isNotPresent();\n assertThat(g.isOpen()).isFalse();\n assertThat(g.isActive()).isFalse();\n assertThat(g.isClosed()).isTrue();\n })\n .isEqualTo(secondRevoked);\n }", "@DefaultMessage(\"This action will remove all the permissions for this user and make it inactive. The user itself will not be removed.\")\n @Key(\"systemUser.deleteUserMessage\")\n String systemUser_deleteUserMessage();", "private void removePendingAction(PermissionsResultAction paramPermissionsResultAction) {\n }", "void unblock(User user) throws RepositoryException;", "int deleteByExample(TUserPermissionExample example);", "public void revoke(String contextId) {\n\t\t\tIterator<Permit> i = permits.iterator();\n\n\t\t\twhile (i.hasNext()) {\n\t\t\t\tPermit permit = i.next();\n\t\t\t\t\n\t\t\t\tif (permit.id().equals(contextId)) {\n\t\t\t\t\tpermit.revoke();\n\t\t\t\t\ti.remove();\n\t\t\t\t}\n\t\t\t}\n\t\t}", "public void deleteUserRequest(UserRequest request){\n userRequests.remove(request);\n }", "void deleteUser(User user, String token) throws AuthenticationException;", "User canceledUserRegistration(User user) throws LogicException;", "public void supprimerRole(Long idRoUt);", "@Override\n\tpublic int deleteUserReimbRecord(int reimbid) {\n\t\treturn 0;\n\t}", "void removeUser(Long id);", "public void deleteUser(long userId);", "public int deleteByExample(UserPermissionExample example) {\n\t\tint rows = getSqlMapClientTemplate().delete(\n\t\t\t\t\"userpermission.deleteByExample\", example);\n\t\treturn rows;\n\t}", "int removeUser(User user);", "public void remove() {\n session.removeAttribute(\"remoteUser\");\n session.removeAttribute(\"authCode\");\n setRemoteUser(\"\");\n setAuthCode(AuthSource.DENIED);\n }", "public void deleteUserPrivilegesByUserID(User user) {\r\n try {\r\n List<UserPrivileges> userPrivileges = this.findUserPrivilegesByUser(user);\r\n\r\n for (int i = 0; i < userPrivileges.size(); i++) {\r\n\r\n delete(userPrivileges.get(i));\r\n }\r\n\r\n } catch (Exception ex) {\r\n ex.printStackTrace();\r\n }\r\n }", "@RequestMapping(value = \"/token/revoke\", method = RequestMethod.DELETE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)\n public ResponseEntity<?> revokeToken(\n @RequestHeader(value = HttpHeaders.AUTHORIZATION, required = false) String authorization)\n throws ServletRequestBindingException {\n if (!authorization.startsWith(String.format(\"%s \", BEARER_TYPE))) {\n throw new ServletRequestBindingException(\"Invalid access token\");\n }\n String accessToken = authorization.substring(BEARER_TYPE.length()).trim();\n Token token = tokenService.loadToken(accessToken);\n tokenService.revokeToken(token);\n return new ResponseEntity<String>(\"\", HttpStatus.NO_CONTENT);\n }", "@Override\r\n\tpublic void del(int uid) {\n\t\tuserDao.del(uid);\r\n\t}", "public void destroy(User user);", "public static void removeAcl(boolean grant, Permission permssion, String key,\n List<AclModification> modifications) {\n if (grant) {\n key = AclModification.grantKey(key);\n } else {\n key = AclModification.denyKey(key);\n }\n modifications.add(new AclModification(key, ~permssion.getPermission(),\n AclModification.Operation.OP_AND));\n }", "public void removeByUserId(long userId);", "public void removeByUserId(long userId);", "public void Logout(){\n preferences.edit().remove(userRef).apply();\n }", "@Override\n\tpublic void deleteUser(user theUser) {\n\t\t\n\t}", "private void removeUser(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {\n\t\ttry {\n\t\t\tPrintWriter out = res.getWriter();\n\t\t\tPreferenceDB.removePreferencesUser(Long.parseLong(req.getParameter(Constants.USER_IDENTIFIER)));\n\t\t\tif (UserDB.getnameOfUser(Long.parseLong(req.getParameter(Constants.USER_IDENTIFIER))) == null)\n\t\t\t\tout.print(\"ok\");\n\t\t\tUserDB.removeUser(Long.parseLong(req.getParameter(Constants.USER_IDENTIFIER)));\n\t\t\tout.print(\"ok\");\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\tres.setStatus(HttpServletResponse.SC_BAD_REQUEST);\n\t\t}\n\t}", "public void revokeAuthorization(\n String clientId,\n String code,\n AuthorizationRevokeSpec request) throws InternalException {\n Client client = database.findClientById(clientId);\n if (client == null) {\n throw new ClientNotFoundException(clientId);\n }\n\n if (client.getSecret() != null &&\n !client.getSecret().equals(request.getClientSecret())) {\n throw new ClientUnauthorizedException(clientId);\n }\n\n AuthorizationTicket ticket = database.findAuthorizationTicketByCodeAndClientId(code, clientId);\n if (ticket == null) {\n throw new AuthorizationTicketNotFoundError(clientId, code);\n }\n\n database.removeAuthorizationTicket(clientId, code);\n }", "@Override\n\tpublic void removeMember(User user) throws Exception {\n\n\t}", "public void unregister(boolean userRequest)\n throws OperationFailedException\n {\n this.unregister();\n }", "public void removeAdminRole()\r\n {\r\n getSemanticObject().removeProperty(swpres_adminRole);\r\n }", "public void removeTokenFromUser(UserEntry user) {\n\t\tQuery<UserEntry> query = ds.createQuery(UserEntry.class)\n\t\t\t\t.field(UserEntry.USER_ID).equal(user.getUserId());\n\t\tUpdateOperations<UserEntry> ops = getDatastore()\n\t\t\t\t.createUpdateOperations(UserEntry.class).unset(\n\t\t\t\t\t\tUserEntry.USER_TOKEN);\n\t\tds.update(query, ops);\n\t}", "@TestApi\n @RequiresPermission(Manifest.permission.REVOKE_POST_NOTIFICATIONS_WITHOUT_KILL)\n public void revokePostNotificationPermissionWithoutKillForTest(@NonNull String packageName,\n int userId) {\n try {\n mPermissionManager.revokePostNotificationPermissionWithoutKillForTest(packageName,\n userId);\n } catch (RemoteException e) {\n e.rethrowFromSystemServer();\n }\n }", "CratePrize removeEditingUser(Player player);", "public void deleteUserById(Long userId);", "void exitPermission() throws RemoteException;", "@Override\r\n\tpublic int delUserRole(long urId) {\n\t\treturn 0;\r\n\t}", "public Permission getPermission(String objectId, User user, Boolean pending) throws UserManagementException;", "void removeUserListener(String uid);", "public HiveRemoveUserFromInitiative(Context context){\n this.context = context;\n }", "@Override\r\n\tpublic void deleSysPrivilege(Long id) {\n\t\tsysPrivilegeDao.deleteByKey(id);\r\n\t}", "public void removeByApproved(boolean approved)\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;", "public void setUserModificationPermission(int permission) {\n this.permission = permission;\n }", "@Override\n\tpublic void removeUser(int id) {\n\t\t\n\t}", "private void revokeLogin(long studentID) throws Exception {\n String url = MASTER_URL + MEMBERS + studentID + \".api\";\n\n URL obj = new URL(url);\n HttpURLConnection con = (HttpURLConnection) obj.openConnection();\n con.setDoOutput(true);\n // request method\n con.setRequestMethod(\"PUT\");\n\n // request headers\n con.setRequestProperty(\"token\", USER_TOKEN);\n con.setRequestProperty(\"Content-Type\", \"application/x-www-form-urlencoded\");\n\n String data = \"user[login_enabled]=0\";\n\n OutputStreamWriter writer = new OutputStreamWriter(con.getOutputStream());\n\n writer.write(data);\n writer.close();\n\n con.getResponseCode();\n }" ]
[ "0.75103664", "0.7507942", "0.73154473", "0.7191736", "0.70145136", "0.70074403", "0.7000838", "0.6927054", "0.6787131", "0.6683743", "0.6672381", "0.6624849", "0.6389406", "0.6367876", "0.6337091", "0.6273037", "0.6189882", "0.6180626", "0.6079145", "0.6077501", "0.6057215", "0.6045553", "0.60364896", "0.6028502", "0.5942623", "0.59033674", "0.585807", "0.5853975", "0.58327466", "0.5825529", "0.5801676", "0.5759776", "0.57515025", "0.5734485", "0.5728905", "0.57139", "0.56962043", "0.56919676", "0.5650333", "0.56404626", "0.55820924", "0.5524231", "0.550022", "0.54803264", "0.54597145", "0.54479957", "0.5441124", "0.5424317", "0.5421862", "0.54206", "0.54069155", "0.54054564", "0.538411", "0.5367608", "0.53589803", "0.53473467", "0.5343856", "0.53297824", "0.5294935", "0.5276523", "0.5275473", "0.5274451", "0.5273156", "0.5262699", "0.5254735", "0.52520305", "0.5244706", "0.52200896", "0.5219243", "0.5208276", "0.52058727", "0.5194512", "0.51912534", "0.5185629", "0.5185239", "0.5184073", "0.51811385", "0.517269", "0.517269", "0.5168933", "0.5161994", "0.5159573", "0.51582754", "0.51570034", "0.5140105", "0.512603", "0.511883", "0.51131344", "0.5111863", "0.5096198", "0.5081587", "0.50808233", "0.5077142", "0.50749505", "0.5070182", "0.5059024", "0.5054906", "0.5051236", "0.5048751", "0.5045874" ]
0.77238625
0
get Last Id row in table patients
public int getRecommentPatientID() { int nextPatientID=1000; try { String query= "SELECT * FROM patients "; Statement stm= super.getConnection().createStatement(); ResultSet results= stm.executeQuery(query); while(results.next()) { results.last(); nextPatientID= results.getInt(1); } } catch (Exception e) { System.out.println(e); } nextPatientID++; return nextPatientID; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet getLastPatientId() {\n\t\t\n\t\treturn dbObject.select(\"SELECT `patientId` FROM `patients` ORDER BY patientId DESC LIMIT 1\");\n\t}", "private int getLastID() {\n\t\t\n\t\tArrayList<Integer> domandeIdList = new ArrayList<>();\n\t\tdomandeIdList.add(0);\n\t\tDB db = getDB();\n\t\tMap<Long, Domanda> domande = db.getTreeMap(\"domande\");\n\t\t\n\t\tfor(Map.Entry<Long, Domanda> domanda : domande.entrySet())\n\t\t\tif(domanda.getValue() instanceof Domanda)\n\t\t\t\tdomandeIdList.add(domanda.getValue().getId());\n\t\t\n\t\tInteger id = Collections.max(domandeIdList);\n\t\treturn id;\n\t}", "private void getLastId() {\n for (int i = 0; i < remindersTable.getRowCount(); i++) {\n if (parseInt(remindersTable.getValueAt(i, 7).toString()) > maxId) {\n maxId = parseInt(remindersTable.getValueAt(i, 7).toString());\n }\n }\n }", "@Query(value = \"select last_insert_id() from orden limit 1;\",nativeQuery = true)\n\tpublic Integer getLastId();", "@Override\r\n\tpublic int getLastId() {\n\t\treturn adminDAO.getLastId();\r\n\t}", "@Override\n public Long getLastInsertId() {\n Long lastId = 0L;\n Map<String, Object> paramMap = new HashMap<>();\n paramMap.put(\"lastID\", lastId);\n jdbc.query(SELECT_LAST_INSERT_ID, paramMap, rowMapper);\n return lastId;\n }", "@Override\r\n\tpublic int selectLastNo() {\n\t\treturn sqlSession.selectOne(namespace + \".selectLastNo\");\r\n\t}", "@Override\r\n\tpublic int selectLastNo() {\n\t\treturn sqlSession.selectOne(namespace + \".selectLastNo\");\r\n\t}", "public int getLastSavedId() {\n\t\tNativeQuery query = session.createNativeQuery(\"SELECT Id FROM terms ORDER BY Id DESC LIMIT 1\");\n\t\t// int lastUpdatedValue=(int)query;\n\t\tint lastUpdatedValue = ((Number) query.getSingleResult()).intValue();\n\t\tSystem.out.println(\"the result is\" + lastUpdatedValue);\n\t\treturn lastUpdatedValue;\n\t}", "public int getLastOrderId() {\r\n ArrayList<OrderRecord> result = new ArrayList<>();\r\n String sqlQuery = \"SELECT * FROM `orders`\";\r\n try {\r\n PreparedStatement p = myConn.prepareStatement(sqlQuery);\r\n ResultSet rs = p.executeQuery(sqlQuery);\r\n rs.last();\r\n return rs.getInt(\"id\");\r\n } catch (Exception e) {\r\n System.out.println(\"Could not get orders \" + e.toString());\r\n System.out.println(myStmt);\r\n }\r\n return 0;\r\n }", "protected long getLastDLRow() {\n List<String> res = dbconnector.execRead(\"SELECT id FROM DW_station_state \" +\n \"ORDER BY id DESC \" +\n \"LIMIT 1\").get(0);\n return Long.parseLong(res.get(0));\n }", "public Taxi getLastInserted() {\n\t\t\n\t\tprepareStatement();\n\t\t\n\t\tquery = \"SELECT * FROM TAXI ORDER BY update DESC LIMIT 1\";\n\t\t\n\t\tlogger.debug(\"Taxi ->getLastInserted()\");\n\t\tlogger.debug(query);\n\t\t\n\t\texecuteStatement();\t\n\t\t\n\t\tassignResult();\n\t\t\n\t\treturn taxi;\n\t}", "private static String getLastDateFromDb(int personsId) {\n String lastDate = \"\";\n String lastDateQuery = \"SELECT lastdate FROM users WHERE idusers = \" + personsId + \";\";\n ResultSet resultDate = DbConnector.selectQuery(lastDateQuery);\n try {\n resultDate.next();\n lastDate = resultDate.getString(\"lastdate\");\n } catch (SQLException throwables) {\n throwables.printStackTrace();\n }\n if (lastDate==null) {\n lastDate = \"\";\n }\n return lastDate;\n }", "public long LastInsertRowID() {\r\n\tlong result = 0;\r\n\r\n\tif (isConnected()) {\r\n\t Statement stat = null;\r\n\t ResultSet rs = null;\r\n\r\n\t try {\r\n\t\tstat = conn.createStatement();\r\n\t\trs = stat.executeQuery(\"select last_insert_rowid()\");\r\n\r\n\t\trs.next();\r\n\t\tresult = rs.getLong(1);\r\n\r\n\t } catch (Exception e) {\r\n\t\t// nothing todo here\r\n\t } finally {\r\n\t\tCleanup(stat, rs);\r\n\t }\r\n\t}\r\n\r\n\treturn result;\r\n }", "private static int getNextID() {\n return persons.get(persons.size() - 1).getId() + 1;\n }", "private int getLastIDRisposte() {\n\n\t\tArrayList<Integer> risposteIdList = new ArrayList<>();\n\t\trisposteIdList.add(0);\n\t\tDB db = getDB();\t\t\n\t\tMap<Long, Risposta> risposte = db.getTreeMap(\"risposte\");\n\t\t\n\t\tfor(Map.Entry<Long, Risposta> risposta : risposte.entrySet())\n\t\t\tif(risposta.getValue() instanceof Risposta)\n\t\t\t\trisposteIdList.add(risposta.getValue().getId());\n\t\t\n\t\tInteger id = Collections.max(risposteIdList);\n\t\treturn id;\n\t}", "public int getLast() {\n\treturn _last;\n }", "@Override\r\n\tpublic Integer getCurrentInsertID() throws Exception {\n\t\treturn sqlSession.selectOne(namespaceOrder+\".getLastInsertID\");\r\n\t}", "public static Items findLastRow() {\r\n Items item = dao().findLastRow();\r\n return item;\r\n }", "@Override\n\tpublic long getLastSavedId() throws SQLException {\n\t\treturn 0;\n\t}", "public Long getMaxHospitalID() {\n\t\tConnection conn = null; // Resets the connection to the database\n\t\tLong max = new Long(0);\n\t\t\n\t\ttry {\n\t\t\tconn = dataSource.getConnection();\n\t\t\t\n\t\t\tString sql = \"Select max(id) from hospital\";\n\t\t\tPreparedStatement ps = conn.prepareStatement(sql);\n\t\t\tResultSet rs = ps.executeQuery();\n\t\t\t\n\t\t\tif (rs.next()) {\n\t\t\t\tmax = rs.getLong(1);\n\t\t\t}\n\t\t\t\n\t\t\trs.close();\n\t\t\tps.close();\n\t\t\treturn max;\n\t\t} catch (SQLException e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t} finally {\n\t\t\tif (conn != null) {\n\t\t\t\ttry {\n\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {}\n\t\t\t}\n\t\t}\n\t}", "long getLastUpdate(long inId);", "public int getLast() {\n\t\treturn last;\n\t}", "java.lang.String getPatientId();", "public static int idUltimoRegistroEntradaSalida(){\n\t\tint idRegistro=-1;\n\t\tString sql = \"SELECT MAX(id) as ultimoId FROM registro_entrada_salida\";\n\t\tPreparedStatement comando;\n\t\tResultSet resultadoConsulta;\n\t\ttry {\n\t\t\tcomando = conexion.prepareStatement(sql);\n\t\t\tresultadoConsulta = comando.executeQuery();\n\t\t\twhile(resultadoConsulta.next()){\n\t\t\t\tidRegistro = resultadoConsulta.getInt(\"ultimoId\");\n\t\t\t}\n\t\t\treturn idRegistro;\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn idRegistro;\n\t}", "protected long getLastUID() throws Exception {\n\t\tif(psmt != null) {\n\t\t\tResultSet rs = psmt.getGeneratedKeys();\n\t\t\tif(rs.next())\n\t\t\t\treturn rs.getLong(1);\n\t\t}\n\t\treturn -1L;\n\t}", "private static Integer getSeq()throws SQLException{\r\n String selectSql = \"SELECT max(idArt) from Artigo\";\r\n Statement statement = dbConnection.createStatement();\r\n ResultSet rs = statement.executeQuery(selectSql);\r\n int seqIdPe = -1;\r\n if(rs.next()){\r\n seqIdPe = rs.getInt(1);\r\n }\r\n return seqIdPe + 1; \r\n }", "public Integer getId() {\n\t\treturn getPatientId();\n\t}", "int getNextID(String table, String primaryKey) {\n try {\n ResultSet result = connection\n .prepareStatement(\"SELECT MAX(\" + primaryKey + \") FROM \" + table + \";\")\n .executeQuery();\n return result.getInt(1) + 1;\n }\n catch (SQLException e) {\n System.err.println(e.getMessage()\n + \"\\nFailed to get MAX(\" + primaryKey + \") from \" + table + \".\");\n return -1;\n }\n }", "private long getLastUpdateId() throws SQLException {\n\t\tlong result = 0;\n\t\tResultSet resultset = null;\n\t\tStatement statement = this.connection.createStatement();\n\t\tresultset = statement.executeQuery(\"SELECT LAST_INSERT_ID()\");\n\t\twhile (resultset.next()) {\n\t\t\tresult = resultset.getInt(1);\n\t\t}\n\t\tresultset.close();\n\t\tstatement.close();\n\t\treturn result;\n\t}", "public static int getLastPesananID(){\n return LAST_PESANAN_ID;\n }", "protected long getLastCleanedRow() {\n List<String> res = dbconnector.execRead(\"SELECT value FROM MS_DataCleaning_conf \" +\n \"WHERE name='sample_last_cleaned_row'\").get(0);\n return Long.parseLong(res.get(0));\n }", "int getMaxID() throws DatabaseNotAccessibleException;", "private int getLatestID(String table, String column) {\n String query = \"SELECT \" + column + \" FROM \" + table + \" ORDER BY \" + column + \" DESC LIMIT 1\";\n sendQuery(query);\n Number result = 0;\n try {\n if(resultSet.next()){\n result = ((Number) resultSet.getObject(1)).intValue();\n }\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return result.intValue() + 1;\n }", "long getLastProducerSequenceId(ProducerId id) throws IOException;", "@Override\n\tpublic Object selectOne() {\n\t\t\n\t\tInteger pt_idx = session.selectOne(\"party.recently_insert\");\n\t\t\n\t\t\n\t\treturn pt_idx;\n\t}", "public int getLastAliveId() {\n\t\treturn this.aliveId;\n\t}", "private int getEmployeeId() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tint employeeId1 = 0;\r\n\t\tString sql = \"SELECT Patient_Id_Sequence.NEXTVAL FROM DUAL\";\r\n\t\ttry {\r\n\t\t\tPreparedStatement pstmt = con.prepareStatement(sql);\r\n\t\t\tResultSet res = pstmt.executeQuery();\r\n\t\t\tif (res.next()) {\r\n\t\t\t\temployeeId1 = res.getInt(1);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tSystem.out.println(\"error while fetching data from database\");\r\n\t\t}\r\n\t\treturn employeeId1;\r\n\r\n\t}", "public long getLastTweetId() {\n return tweetAdapter.getItem(tweetAdapter.getCount()-1).getTweetId();\n }", "private int findLastIndex(int id) {\n\n NmpReportPoint point = DataSupport.where(\"remark <> 1 AND nmpreportdata_id = \" + id).findLast(NmpReportPoint.class);\n if (point != null) {\n int pointIndex = point.getPointIndex();\n return Math.abs(pointIndex % 10000);\n }\n\n return 0;\n }", "public int getImportedMaxId();", "@SuppressWarnings({ \"rawtypes\", \"unchecked\" })\n private List<SensorData> getLastSensorData(Session session, int idConcentrator)\n {\n Query query = session\n .createSQLQuery(\n \"SELECT SensorDatas.idMonitorData FROM SensorDatas, Sensors, Concentrators WHERE SensorDatas.idSensor = Sensors.idSensor AND Sensors.idConcentrator = Concentrators.idConcentrator AND Concentrators.idConcentrator = :id ORDER By SensorDatas.timeStamp DESC LIMIT 1\")\n .setParameter(\"id\", idConcentrator);\n List result = query.list();\n if (result.isEmpty()) {\n return null;\n }\n else\n {\n int idMonitorData = (Integer) result.iterator().next();\n Criteria cr = session.createCriteria(SensorData.class)\n .add(Restrictions.eq(\"monitorData.idMonitorData\", idMonitorData));\n return cr.list();\n }\n }", "private Integer getSequence() {\r\n\t\t\tInteger seq;\r\n\t\t\tString sql = \"select MAX(vendorid)from vendorTable\";\r\n\t\t\tseq = template.queryForObject(sql, new Object[] {}, Integer.class);\r\n\t\t\treturn seq;\r\n\t\t}", "public int getPatientId() {\n\t\t\n\t\treturn this.patientId;\n\t}", "public int getLastUserId();", "public synchronized String getLastPostId() {\n try {\n this.connect();\n Post lastPost = linkedin.groupOperations().getGroupDetails(groupId).getPosts().getPosts().get(0);\n return lastPost.getId();\n } catch (Exception e) {\n log.debug(\"An exception occured when reading id of the last inserted post from group: \" + groupId);\n }\n return null;\n }", "public List<Integer> getMostRecentResourceId() {\n\t\treturn jtemp.queryForList(\"select max(resource_id) from resources\", Integer.class);\n\t\t//Note: Should probably be changed to use queryForObject.\n\t}", "public Integer getLastUpdatorId() {\n return lastUpdatorId;\n }", "public int getMaxIdTask()\n {\n SQLiteDatabase db = this.getReadableDatabase();\n \n String query = \"SELECT MAX(id) AS max_id FROM \" + TASK_TABLE_NAME;\n Cursor cursor = db.rawQuery(query, null);\n\n int id = 0; \n if (cursor.moveToFirst())\n {\n do\n { \n id = cursor.getInt(0); \n } while(cursor.moveToNext()); \n }\n \n return id;\n }", "String getLastInt();", "public int largestEntry() throws SQLException {\r\n String statement = \"SELECT Appointment_ID FROM appointments ORDER BY Appointment_ID DESC LIMIT 0,1\";\r\n ResultSet rs = conn.prepareStatement(statement).executeQuery();\r\n rs.next();\r\n return rs.getInt(\"Appointment_ID\");\r\n }", "@Override\n public Persona Last() {\n return array.get(tamano - 1);\n }", "Response addPatientInfo(String request) throws Exception {\n CassandraConnector client = new CassandraConnector();\n Session session = client.getSession();\n try {\n String idQuery=\"SELECT MAX(patientid) FROM BasicInfo\";\n ResultSet result=session.execute(idQuery);\n Row r=result.one();\n int lastID=r.getInt(\"system.max(patientid)\");\n PatientBasicInfo newRecord=new PatientBasicInfo(request,lastID+1);\n String query = \"INSERT INTO BasicInfo (id,patientid,address,createddate,dob,gender,lastvisited,\" +\n \"patientname,phonenumber,status,symptom,diagnosis,treatment) VALUES (\";\n query = query+newRecord.getPatientID()+\",\"+newRecord.getPatientID()+\",'\"+newRecord.getAddress()+\"','\"+\n newRecord.getCreatedDate()+\"','\"+newRecord.getDoB()+\"','\"+newRecord.getGender()+\"','\"+\n newRecord.getLastVisted()+\"','\"+newRecord.getPatientName()+\"',\"+newRecord.getPhoneNumber()\n +\",'\"+newRecord.getStatus()+\"','\"+newRecord.getSymptom()+\"','\"+newRecord.getDiagnosis()+\"','\"+newRecord.getTreatment()+\"')\";\n System.out.println(query);\n session.execute(query);\n result=session.execute(idQuery);\n r=result.one();\n int newlastID=r.getInt(\"system.max(patientid)\");\n System.out.println(newlastID);\n updateCache(\"New Record Added\");\n if(newlastID>lastID){\n client.close();\n return Response.status(200).entity(\"Patient Added! Patient ID is \"+newlastID).build();\n }\n client.close();\n return Response.status(405).entity(\"Unable to added New patient Record\").build();\n } catch(Exception e)\n {\n e.printStackTrace();\n client.close();\n return Response.status(405).entity(\"Unable to added New patient Record\").build();\n }\n }", "protected static int findLastInsertedRow(String table)\r\n throws ConnectionFailedException, DatabaseException {\r\n int result = NONEXISTENT_ROW;\r\n\r\n String sql = \"SELECT * FROM sqlite_sequence WHERE name = ?\";\r\n\r\n try (Connection conn = connect();\r\n PreparedStatement preparedStatement = conn.prepareStatement(sql)) {\r\n\r\n preparedStatement.setString(1, table);\r\n try (ResultSet rs = preparedStatement.executeQuery()) {\r\n if (rs.next()) {\r\n result = rs.getInt(\"seq\");\r\n }\r\n }\r\n if (result == NONEXISTENT_ROW) {\r\n throw new DatabaseException(\"findLastInsertedRow : Last inserted row not found\");\r\n }\r\n } catch (SQLException e) {\r\n throwException(e);\r\n } catch (ClassNotFoundException e) {\r\n throwConnectionException(e);\r\n }\r\n return result;\r\n }", "T last();", "public int getMaxId() {\n int count = driver.findElements(By.xpath(xpathTableRows)).size();\n int maxID = -1;\n if (count > 0) {\n maxID = Integer.parseInt(assertAndGetText(xpathTableRows + \"[\" + count + \"]//td[1]\"));\n }\n return maxID;\n }", "private static int selectDernierIdUtilisateur() {\n SQLiteDatabase db = MoteurBD.getMoteurBD().getDb();\n //TODO devrais getter sur les interwebs\n Cursor c = db.rawQuery(\"select id from utilisateur order by id desc limit 1;\", null);\n try {\n return c.moveToFirst() ? c.getInt(0) : 1;\n }\n finally {\n c.close();\n }\n }", "public int getMaxID(){\n return recipes.get(recipes.size() - 1).getID();\n }", "public Object last()throws ListExeption;", "@Override\n @SuppressWarnings(\"unchecked\")\n public long getUpperBound() {\n AuditReader auditService = Framework.getService(AuditReader.class);\n String auditQuery = \"from LogEntry log order by log.id desc\";\n log.debug(\"Querying audit log for greatest id: {}\", auditQuery);\n\n List<LogEntry> entries = (List<LogEntry>) auditService.nativeQuery(auditQuery, 1, 1);\n if (entries.isEmpty()) {\n log.debug(\"Found no audit log entries, returning -1\");\n return -1;\n }\n return entries.get(0).getId();\n }", "@Override\n\tpublic Integer getLastMenuId() {\n\t\treturn this.menuDao.getLastMenuId();\n\t}", "protected abstract int getLastTokenId();", "@Override\n\tpublic int getMaxID() throws SQLException {\n\t\treturn 0;\n\t}", "public Integer generateID(){\n String sqlSelect = \"SELECT max(id) from friends\";\n Connection connection = null;\n Statement statement = null;\n ResultSet resultSet = null;\n int maxId=0;\n try {\n connection = new DBConnection().connect();\n statement = connection.createStatement();\n resultSet = statement.executeQuery(sqlSelect);\n while (resultSet.next())\n maxId = resultSet.getInt(1);\n \n } catch (SQLException e) {\n System.err.print(\"err in select \" + e);\n } finally {\n try {\n if (resultSet != null) {\n resultSet.close();\n }\n if (statement != null) {\n statement.close();\n }\n if (connection != null) {\n connection.close();\n }\n } catch (SQLException e) {\n System.err.print(\"err in close select \" + e);\n }\n }\n\n return ++maxId;\n }", "protected int lastIdx() {\n return arrayIndex(currentWindowIndex() - 1);\n }", "public T getLast() {\n return this.getHelper(this.indexCorrespondingToTheLatestElement).data;\n }", "public T getLast();", "public T getLast();", "@Transactional(readOnly = true)\n IndexData findLastIndexData();", "@Override\n\tpublic String getMaxSetId() throws RemoteException {\n\t\treturn dao.getMaxSetId();\n\t}", "public int getMaxIdPermit() {\n\n\t\t\tConnection con = null;\n\t\t\tPreparedStatement pstmt = null;\n\t\t\tResultSet rs = null;\n\t\t\tString query = null;\n\t\t\t\n\t\t\t\n\t\t\tquery = \" SELECT max(seq) as id FROM bwfl_license.import_permit_duty \";\n\n\t\t\tint maxid = 0;\n\t\t\ttry {\n\t\t\t\tcon = ConnectionToDataBase.getConnection();\n\t\t\t\tpstmt = con.prepareStatement(query);\n\t\t\t\trs = pstmt.executeQuery();\n\t\t\t\tif (rs.next()) {\n\t\t\t\t\tmaxid = rs.getInt(\"id\");\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t} finally {\n\t\t\t\ttry {\n\t\t\t\t\tif (pstmt != null)\n\t\t\t\t\t\tpstmt.close();\n\t\t\t\t\tif (rs != null)\n\t\t\t\t\t\trs.close();\n\t\t\t\t\tif (con != null)\n\t\t\t\t\t\tcon.close();\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn maxid + 1;\n\n\t\t}", "public Integer getMaxId(){\n\t\tInteger max=0;\n\t\tfor(Integer i : getIdList()){\n\t\t\tif (i>max)\n\t\t\t\tmax=i;\n\t\t}\n\t\treturn max;\n\t}", "public int obtId() {\r\n\t\treturn id;\r\n\t}", "private Integer getNewId(){\n List<Integer> allIds = new ArrayList<>();\n for (T entity : allEntities) {\n allIds.add(entity.getId());\n }\n return allIds.size() > 0 ? Collections.max(allIds) + 1 : 1;\n }", "private long getNextCityId() {\n\t\tSqlRowSet nextIdResult = jdbcTemplate.queryForRowSet(\"SELECT nextval('seq_city_id')\");\n\n\t\t// Remember, we only get a single row back, so we just need to check if we got a\n\t\t// row.\n\t\tif (nextIdResult.next()) {\n\t\t\t// While we usually get the columns by name explicitly (see the mapCityToRow\n\t\t\t// method), we can also get a column at a specific index. Keep in mind the index\n\t\t\t// starts at one (1), unlike arrays that start at an index of zero (0).\n\t\t\treturn nextIdResult.getLong(1);\n\t\t} else {\n\t\t\t// in this case, if we weren't able to get a single row back, we need to throw\n\t\t\t// an unchecked RuntimeException.\n\t\t\tthrow new RuntimeException(\"Something went wrong while getting an id for the new city\");\n\t\t}\n\t}", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "long getId();", "public static int getIdentifier(){\n\t\tif(index > ids.size() - 1){\n\t\t\tindex = 0;\n\t\t}\n\t\t// Post increment is used here, returns index then increments index\n\t\treturn ids.get(index++);\n\t}", "long getNoId();", "@Override\n\tpublic Long getNextPjpeNo(Long pjId) {\n\t\tSession session = sessionAnnotationFactory.getCurrentSession();\t\t\n\t\tQuery query =session.createQuery( \"select max(pstJobPayExt.id.pjpeNo) from PstJobPayExt pstJobPayExt where pstJobPayExt.id.pjId=\"+pjId);\n\t\tObject obj=query.uniqueResult();\n\t\tif(obj!=null){\n\t\t\treturn ((Long)obj)+1;\n\t\t}\n\t\treturn 1l;\n\t}", "private static synchronized String getNextID() {\r\n\t\tlastID = lastID.add(BigInteger.valueOf(1));\r\n\t\t\r\n\t\treturn lastID.toString();\r\n\t}", "public int getPatientID() {\r\n\t\treturn patientID;\r\n\t}", "@Query(value = \"select max(user_id) from tbl_rating\", nativeQuery = true)\n Long getHighestId();" ]
[ "0.8515591", "0.71803063", "0.70762855", "0.70704323", "0.6938416", "0.6766586", "0.66782385", "0.66782385", "0.66361594", "0.6515559", "0.6504226", "0.6347274", "0.62760055", "0.61829925", "0.6161496", "0.61439604", "0.61413145", "0.61395884", "0.61373925", "0.6127115", "0.61180085", "0.6101578", "0.6086654", "0.60860825", "0.60857904", "0.606859", "0.60613024", "0.60419446", "0.60329926", "0.60326785", "0.60226625", "0.5996587", "0.5980993", "0.59795034", "0.5978169", "0.5955485", "0.5947972", "0.59337956", "0.59227824", "0.5906807", "0.58511126", "0.5842457", "0.5814625", "0.5813862", "0.5801988", "0.5791836", "0.57891166", "0.5783522", "0.57758737", "0.5773757", "0.57383394", "0.57382697", "0.5711508", "0.5707712", "0.56915957", "0.5680149", "0.5676304", "0.56359315", "0.5635839", "0.5635045", "0.563218", "0.5631917", "0.56160355", "0.56096214", "0.5600058", "0.55865186", "0.5569669", "0.5569669", "0.55668193", "0.5563494", "0.5555208", "0.55495703", "0.55422336", "0.5539134", "0.55353165", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.55303437", "0.5525242", "0.55236465", "0.5519383", "0.5516264", "0.5513984", "0.55134326" ]
0.6464286
11
Get all patients both Type
public void displayAllPatients() { try { String query= "SELECT * FROM patients"; Statement stm= super.getConnection().createStatement(); ResultSet results= stm.executeQuery(query); while(results.next()) { String[] row= new String[7]; row[0]= results.getInt(1)+""; row[1]= results.getString(2); row[2]= results.getString(3); row[3]= results.getString(4); row[4]= results.getString(5); row[5]= results.getInt(6)+""; modelHostory.addRow(row); } } catch (Exception e) { System.out.println(e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Patient> getPatients() {\n List<Patient> patients = new ArrayList<>();\n String query = \"SELECT * FROM PATIENTS\";\n try (PreparedStatement ps = this.transaction.prepareStatement(query); ResultSet rs = ps.executeQuery()) {\n while (rs.next()) {\n patients.add(new Patient(rs));\n }\n } catch (SQLException ex) {\n ex.printStackTrace(System.out);\n }\n\n return patients;\n }", "List<Patient> findAllPatients();", "Collection<Patient> findAll();", "@Override\n\tpublic List<Patientstreatments> getallpatienttreat() {\n\t\treturn patreatrep.findAll();\n\t}", "@Override\n\tpublic List<Patient> findAll() {\n\t\t// setting logger info\n\t\tlogger.info(\"Find the details of the patient\");\n\t\treturn patientRepo.findAll();\n\t}", "public List<Patient> listAllPatient() {\n\t\treturn null;\n\t}", "List<TypePatientPropertyCondition> findAll();", "@ApiOperation(value = \"Api Endpoint to retrieve all the Patient details\")\n @GetMapping(\"getAll\")\n @LogExecutionTime\n public List<PatientDto> getAllPatientRecords(@RequestParam(name = \"page\", defaultValue = \"0\") int page,\n @RequestParam(name = \"limit\", defaultValue = \"10\") int limit,\n @RequestParam(name = \"orderBy\", defaultValue = \"asc\") String orderBy) {\n return patientService.getAllPatientRecords(page, limit, orderBy);\n }", "@Override\n public List<PatientCaseDto> getAllByPatient(Long patientId) {\n return null;\n }", "@GetMapping(\"/patient\")\r\n\t@ApiOperation(value = \"To list Patient Directory\")\r\n\t// @Cacheable(value = \"getRecordWithDat\", key = \"#root.methodName\")\r\n\tpublic List<PatientRecord> getAllPatientRecords() {\r\n\t\tlogger.info(\"listAllPatient {}\", patientService.getAll());\r\n\t\t// kafkaTemplate.send(\"kafkaExample\",\r\n\t\t// patientService.getAll().stream().findAny());\r\n\t\treturn patientService.getAll();\r\n\t}", "public List<Patient> getFHIR() {\n IGenericClient client;\n FhirContext ctx;\n ctx = FhirContext.forDstu3();\n ctx.setRestfulClientFactory(new OkHttpRestfulClientFactory(ctx));\n client = ctx.newRestfulGenericClient(\"http://fhirtest.uhn.ca/baseDstu3\");\n\n // .lastUpdated(new DateRangeParam(\"2011-01-01\",\"2018-11-25\")) - to get latest data\n // Not used since unable to get proper records with names\n Bundle bundle = client.search().forResource(Patient.class)\n .where(Patient.NAME.isMissing(false))\n .and(Patient.BIRTHDATE.isMissing(false))\n .and(Patient.GENDER.isMissing(false))\n .sort().ascending(Patient.NAME)\n .count(10)\n .returnBundle(Bundle.class)\n .execute();\n return BundleUtil.toListOfResourcesOfType(ctx, bundle, Patient.class);\n }", "public List<Type> getAll();", "@Select(\"SELECT id_patient, first_name, last_name, PESEL, id_address,\" +\n \" email, phone_number, id_firstcontact_doctor, password FROM patients;\")\n @Results({\n @Result(property = \"id\", column = \"id_patient\"),\n @Result(property = \"firstName\", column = \"first_name\"),\n @Result(property = \"lastName\", column = \"last_name\"),\n @Result(property = \"pesel\", column = \"PESEL\"),\n @Result(property = \"address\", column = \"id_address\",\n javaType = Address.class, one = @One(select = \"selectAddress\",\n fetchType = FetchType.EAGER)),\n @Result(property = \"email\", column = \"email\"),\n @Result(property = \"phoneNumber\", column = \"phone_number\"),\n @Result(property = \"password\", column = \"password\"),\n @Result(property = \"firstContactDoctor\", column = \"id_firstcontact_doctor\",\n javaType = Doctor.class, one = @One(select = \"selectFirstcontactDoctor\",\n fetchType = FetchType.EAGER))\n })\n List<Patient> getAllPatientsDataToTable();", "@Override\n\tpublic List<Patient> listOfPatients() {\n\t\treturn null;\n\t}", "@RequestMapping(value = {\"/patients\" }, method = RequestMethod.GET)\r\n\tpublic String listPatients(ModelMap model) {\r\n\t\tList<User> users = service.findAllUsers(Type.patients.getValue());\r\n\t\tmodel.addAttribute(\"users\", users);\r\n\t\tmodel.addAttribute(\"type\", new String(\"patient\"));\r\n\t\treturn \"allusers\";\r\n\t}", "public ArrayList<Patient> getPatientList()\n {\n ArrayList<Patient> patientList = new ArrayList<Patient>();\n Connection con = getConnection();\n String query = \"SELECT * FROM patients\";\n \n java.sql.Statement st;\n ResultSet rs;\n try {\n \n st = con.createStatement();\n rs = st.executeQuery(query);\n Patient patient;\n \n while(rs.next())\n {\n patient = new Patient(rs.getInt(\"id\"),rs.getString(\"name\"),rs.getString(\"sex\"),rs.getString(\"age\"),rs.getString(\"contact\"),\n rs.getString(\"address\"),rs.getString(\"patient_Type\"),rs.getString(\"doctor\"),rs.getBytes(\"image\"),rs.getString(\"modified_Date\"),\n rs.getString(\"modified_Time\"));\n patientList.add(patient);\n }\n } catch (SQLException ex) {\n Logger.getLogger(Patients_Data_Frame.class.getName()).log(Level.SEVERE, null, ex);\n }\n return patientList;\n }", "@Override\n public List<Patente> getAllPatente() {\n return this.getDaoPatente().takeAll();\n }", "@Override\n\tpublic List<HospitalDto> getHospital(String type, String code) throws Exception {\n\t\treturn sqlSession.getMapper(HouseMapper.class).getHospital(type, code);\n\t}", "List<Patient> findPatients(Employee nurse_id);", "@Transactional(readOnly = true)\n public List<Patient> findAll() {\n log.debug(\"Request to get all Patients\");\n List<Patient> result = patientRepository.findAllByDelStatusIsFalse();\n\n return result;\n }", "public abstract List<Patient> getAllPatientNode();", "@Select(\"SELECT id_patient, first_name, last_name, PESEL, id_address,\" +\n \" email, phone_number,id_firstcontact_doctor FROM patients \" +\n \"WHERE id_patient = #{patientId}\")\n @Results({\n @Result(property = \"id\", column = \"id_patient\"),\n @Result(property = \"firstName\", column = \"first_name\"),\n @Result(property = \"lastName\", column = \"last_name\"),\n @Result(property = \"pesel\", column = \"PESEL\"),\n @Result(property = \"address\", column = \"id_address\",\n javaType = Address.class, one = @One(select = \"selectAddress\",\n fetchType = FetchType.EAGER)),\n @Result(property = \"email\", column = \"email\"),\n @Result(property = \"phoneNumber\", column = \"phone_number\"),\n @Result(property = \"firstContactDoctor\", column = \"id_firstcontact_doctor\",\n javaType = Doctor.class, one = @One(select = \"selectFirstcontactDoctor\",\n fetchType = FetchType.EAGER))\n })\n Patient getPatient(int patientId);", "public List<PrsMain> listPatients() {\n Log.info(LifeCARDAdmin.class.getName() + \":listPatients()\");\n\n List<PrsMain> list;\n String sql = \"SELECT p.* FROM prs_main p where p.prsid IN (SELECT l.prsid FROM lc_main l where l.prsid>0 and l.prsid is not null)\";\n Query query = em.createNativeQuery(sql, PrsMain.class);\n try {\n list = query.getResultList();\n } catch (PersistenceException pe) {\n Log.warning(LifeCARDAdmin.class.getName() + \":listPatients():\" + pe.getMessage());\n return null;\n }\n return list;\n }", "List<VehicleTypeDto> findAll();", "@Override\n\tpublic List<PatientTelephone> fetchAll(Patient patient) {\n\t\treturn this.sessionFactory.getCurrentSession()\n\t\t\t\t.createCriteria(PatientTelephone.class)\n\t\t\t\t.add(Restrictions.eq(\"patient\", \"patient\"))\n\t\t\t\t.setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY)\n\t\t\t\t.list();\n\t\t\n\t}", "public ResultSet getAppointmentsByType() throws SQLException {\r\n String statement = \"SELECT DISTINCT Type as Type, COUNT(Type) as AMOUNT FROM appointments GROUP BY Type\";\r\n return conn.prepareStatement(statement).executeQuery();\r\n }", "@ApiOperation(value = \"Api Endpoint to get the patient details\")\n @GetMapping(path = \"/{patientId}\")\n @LogExecutionTime\n public PatientDto getPatientRecords(@PathVariable long patientId) {\n return patientService.getPatientRecords(patientId);\n }", "@GET\n @Path(\"patients/{ipp}\")\n @Produces(\"application/json\")\n public Patient getPatient(@PathParam(\"ipp\") int IPP) {\n return serv.getPatientByIPP(IPP);\n }", "public abstract List<ClinicalDocumentDto> findClinicalDocumentDtoByPatientId(Long patientId);", "@GET(DOCTOR_PATIENTS_PATH)\n\tCollection<Patient> getPatients(\n\t\t\t@Path(DOCTOR_ID_PARAM) long doctorId);", "@Override\n public List<PatientCaseDto> getAll() {\n return null;\n }", "@Override\n public List<PatientCaseDto> getMany() {\n return null;\n }", "public ArrayList<Patient> getPatients() {\n return this.patients;\n }", "List<VitalDTO> findAll();", "List<ReportType> findTypes();", "@GET\n @Path(\"patients\")\n @Produces(\"application/json\")\n public List<Patient> findPatient(@DefaultValue(\"\") @QueryParam(\"nom\") String nom,@DefaultValue(\"\") @QueryParam(\"prenom\") String prenom,@DefaultValue(\"\") @QueryParam(\"datenaiss\") String dateNaiss){\n if (nom.equals(\"\") && prenom.equals(\"\") && dateNaiss.equals(\"\")){\n return serv.getAllPatient();\n } else {\n return serv.findPatient(nom, prenom, dateNaiss);\n }\n }", "public List<ItemTypeDTO> getAll();", "@Override\n\tpublic List<Record> getRecordsByType(Type type) {\n\t\tSession session=HibernateSessionFactory.getSession();\n\t\tTransaction tx=session.beginTransaction();\n\t\tList<Record> list=new ArrayList<Record>();\n\t\tRecordDAO recordDAO=new RecordDAO();\n\t\t\n\t\ttry{\n\t\t\tlist=recordDAO.getRecordsByType(type);\n\t\t\ttx.commit();\n\t\t}catch(RuntimeException e){\n\t\t\te.printStackTrace();\n\t\t\ttx.rollback();\n\t\t}finally{\n\t\t\tsession.close();\n\t\t}\n\t\treturn list;\n\t}", "public List<Triplet> selectAllBySubjectAndRelation(int idSubject, int idRelation, TripletType type) throws DAOException;", "@GetMapping(\"/biometrics/patient/{id}\")\r\n public List<Biometric> findByPatient(@PathVariable Long id) {\r\n return patientRepository.findById(id).map(biometricRepository::findByPatient).orElse(new ArrayList<>());\r\n }", "@Search()\n\t\tpublic List<Patient> getResourceById(@RequiredParam(name = \"_id\") String theId) {\n\t\t\tPatient patient = getIdToPatient().get(theId);\n\t\t\tif (patient != null) {\n\t\t\t\treturn Collections.singletonList(patient);\n\t\t\t} else {\n\t\t\t\treturn Collections.emptyList();\n\t\t\t}\n\t\t}", "public List<OutwardDTO> getOutwardReport(String type,String month,String year);", "@Override\n @Transactional\n public List<Patient> allPatients() {\n return patientDAO.allPatients();\n }", "List<ClinicalData> selectAll();", "public List<Measurement> findPatientMeasurements(int patientId) {\n return entityManager\n .createQuery(\"SELECT m from Measurement m \" +\n \"WHERE m.patientId.patientId = :patientId\", Measurement.class)\n .setParameter(\"patientId\", patientId)\n .getResultList();\n }", "List<DenialReasonDto> showAll();", "List<Admission> findPAdmissionBYpatientNumber(String patientNumber, Long hospitalId);", "List<Hospital> listall();", "@Override\r\n\tpublic List<PartyType> findAll() {\n\t\treturn null;\r\n\t}", "@GetMapping\n public ResponseEntity<List<TechnicianDTO>> findAll () {\n List<TechnicianDTO> listDTO = technicianService.findAll().stream()\n .map(obj -> new TechnicianDTO(obj)).collect(Collectors.toList());\n\n return ResponseEntity.ok().body(listDTO);\n }", "@GetMapping(value = \"/list\", produces = \"application/json\")\n List<Patient> list();", "public static ArrayList<Patient> getPatientsFromMedic(Medic medic) {\n ArrayList<Patient> tempPatientList = new ArrayList<>();\n for (Patient patient :\n patients\n ) {\n for (Consultation consultation :\n patient.getMedicalFile().getConsultationsList()\n ) {\n if (consultation.getMedicId() == medic.getMedicDetails().getMedicId()) {\n tempPatientList.add(patient);\n break;\n }\n }\n }\n StringBuilder stringBuilder = new StringBuilder();\n stringBuilder.append(new Object() {\n }.getClass().getEnclosingMethod().getName()).append(\",\").append(new Timestamp(System.currentTimeMillis()));\n writeToAudit(stringBuilder);\n return tempPatientList;\n }", "public List<Patient> readParticularDoctorPatients(Doctor doctor) throws SystemException, BusinessException {\n\t\tList<Patient> patients = new ArrayList<>();\n\t\ttry {\n\n\t\t\tpatients = patientDb.readParticularDoctorPatients(doctor);\n\n\t\t} catch (SQLException | ClassNotFoundException e) {\n\t\t\tthrow new BusinessException(e);\n\t\t} catch (Exception e) {\n\t\t\tthrow new SystemException(e);\n\t\t}\n\t\t\n\t\treturn patients;\n\n\t}", "@GET(PATIENT_BY_ID_PATH)\n\tPatient getPatient(\n\t\t\t@Path(PATIENT_ID_PARAM) long patientId);", "List<MedicalRecord> getAllPatientMedicalRecords(HttpSession session, int patientId);", "List<Type> getAllTypeList();", "public ResultSet getPatientDetailsByPatientId(int patientId) {\n\t\treturn dbObject.select(\"SELECT * FROM patients where patientId=\"+patientId);\n\n\t}", "ObservableList<Patient> getFilteredPatientList();", "public List<Patient> getByName(String name) {\n\t\treturn getByCriterion(Restrictions.or(Restrictions.like(\"firstname\", name), Restrictions.like(\"lastname\", name)));\n\t}", "@SystemAPI\n\tPatient getPatient();", "public List<Doctor> acceptingNewPatients(String specialty);", "@RequestMapping(method = RequestMethod.GET, path = \"/patients\")\n @Secured({\"ROLE_DOCTOR\"})\n @ResponseStatus(HttpStatus.OK)\n public List<User> fetchAllPatients(Principal principal) {\n log.info(\"Fetching all patients using user with Id [{}]\", principal.getName());\n return userService.fetchAllPatients(\"ROLE_PATIENT\");\n }", "public List<TipoAnimalEntity> obtenerTipoAnimal(){\n List<TipoAnimalEntity> tipoAnimal = persistence.findall();\n return tipoAnimal;\n }", "public abstract List<ClinicalDocument> findByPatientId(long patientId);", "@Read()\n public Patient read(@IdParam IdType theId) {\n Patient patient = DBService.getPatient(theId.getIdPart());\n if (patient == null) {\n throw new ResourceNotFoundException(theId);\n }\n return patient;\n }", "List<ClaimDocumentTypeDTO> findAll();", "PatientInfo getPatientInfo(int patientId);", "List<MedicationPlan> getAllByPatientId(Long id);", "public List<PersonaDTO> consultarPersonas() ;", "@RequestMapping(value=\"/datatypes\",method=RequestMethod.GET)\n public DataFieldType[] getAllDataTypes(){\n return DataFieldType.values();\n }", "@Override\r\n\tpublic List<AsxDataVO> findByType(int type) {\n\t\treturn mongoTemplate.find(new Query(Criteria.where(\"type\").is(type)), AsxDataVO.class);\r\n\t}", "@SuppressWarnings(\"unchecked\")\r\n\t@Override\r\n\tpublic List<T> getAll(Class<T> type) {\n\t\treturn super.getSessionFactory().getCurrentSession().createQuery(\"from \"+type.getName()+\"\").list();\r\n\t}", "List<TypePatientPropertyCondition> search(String query);", "@RequestMapping(path = \"medservices/search\", method = RequestMethod.GET, params = \"type\")\n public List<MedicalService> getMedServicesByType(@RequestParam String type){\n return medicalServiceService.findMedServicesByType(type);\n }", "List<Teacher> selectAll();", "public static List<TypeCharge> getListeTypeCharge() \t{\r\n\t\treturn s.createQuery(\"from TypeCharge\").list();\r\n\t\t\t\t\t}", "public List<Appointment> getAllDetailsRecp();", "List<HospitalType> selectByExample(HospitalTypeExample example);", "@Override\n\tpublic List<FoodType> FindAllType() {\n\t\treturn ftb.FindAllType();\n\t}", "ResponseEntity<List<Type>> findTaskTypes();", "public List<UserType> list() {\r\n\t\t\r\n\t\t//!!! Show only Buyer and Farmer\r\n\t\tString selectAllUserType = \"FROM UserType WHERE Acronym = :farmer\"; \r\n\t\tQuery query = sessionFactory.getCurrentSession().createQuery(selectAllUserType);\r\n\t\tquery.setParameter(\"farmer\", 'F');\r\n\t\t\r\n\t\treturn query.getResultList();\r\n\t\t\r\n\t\t//return sessionFactory.getCurrentSession().createQuery(\"FROM UserType\", Farmer.class).getResultList();\r\n\t}", "@Override\n public List<PatientCaseDto> getAllByDoctor(Long doctorId) {\n return null;\n }", "@Override\n public List<AbstractPass> getAllTypesOfPass() {\n CriteriaBuilder builder = entityManager.getCriteriaBuilder();\n CriteriaQuery<AbstractPass> criteria = builder.createQuery(AbstractPass.class);\n Root<AbstractPass> root = criteria.from(AbstractPass.class);\n Predicate restriction = builder.and(builder.notEqual(root.get(\"price\"), 0));\n criteria.select(root).where(restriction);\n TypedQuery<AbstractPass> query = entityManager.createQuery(criteria);\n try {\n return query.getResultList();\n } catch (NoResultException nre){\n return new ArrayList<>();\n }\n }", "@Override\n\tpublic List<PermitType> GetAllPermitTypes() {\n\t\tConnection connection = null;\n\t\tPreparedStatement preparedStatement = null;\n\t\tResultSet resultSet = null;\n\t\tint count=1;\n\t\ttry {\n\t\t\tconnection = dataSource.getConnection();\n\t\t\tpreparedStatement = connection\n\t\t\t\t\t.prepareStatement(Queryconstants.getPermitTypes);\n\t\t\tresultSet = preparedStatement.executeQuery();\n\t\t\tList<PermitType> permittypes = new ArrayList<PermitType>();\n\t\t\twhile (resultSet.next()) {\n\t\t\t\tPermitType permitType=new PermitType();\n\n\t\t\t\tpermitType.permitTypeId=resultSet.getInt(\"ID\");\n\t\t\t\tpermitType.permitTypeCode=resultSet.getString(\"permit_type_Code\");\n\t\t\t\tpermitType.permitTypeName=resultSet.getString(\"permit_type_Name\");\n\t\t\t\tpermitType.permitType=resultSet.getString(\"permit_type_code\");\n\t\t\t\tpermitType.permitFee=resultSet.getDouble(\"permit_fee\");\n\t\t\t\tpermitType.active=resultSet.getBoolean(\"active\");\n\t\t\t\tpermitType.respCode=200;\n\t\t\t\tpermitType.count=count;\n\t\t\t\tpermittypes.add(permitType);\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\treturn permittypes;\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t\treturn null;\n\t\t} finally {\n\t\t\tDBOperations.DisposeSql(connection, preparedStatement, resultSet);\n\t\t}\n\t}", "Optional<List<Type>> buscarPorTodosType();", "@Read()\n\t\tpublic Patient getResourceById(@IdParam IdType theId) {\n\t\t\tString key = theId.getIdPart();\n\t\t\treturn getIdToPatient().get(key);\n\t\t}", "@GetMapping(value = \"/selectById\", produces = \"application/json\")\n Patient selectById(@RequestParam int id);", "private ArrayList<Patient> getPatients(String key) {\n\n BlueCareApolloClient.getBlueCareApolloClient().query(GetPatientsQuery.builder()\n ._authKey(key)\n .build())\n .enqueue(new ApolloCall.Callback<GetPatientsQuery.Data>() {\n\n @Override\n public void onResponse(@Nonnull com.apollographql.apollo.api.Response<GetPatientsQuery.Data> response) {\n\n res1 = response.data().getPatients().toString();\n List res = response.data().getPatients().patientRecords();\n String name;\n String age;\n\n Log.d(\"staff res: \", res1);\n\n\n\n for(int i = 0; i != res.size(); i++) {\n Object obj = (Object) res.get(i);\n Gson gson = new Gson();\n String jsonString = gson.toJson(obj);\n\n try {\n JSONObject patientRecords = new JSONObject(jsonString);\n name = patientRecords.getString(\"name\");\n age = patientRecords.getString(\"age\");\n\n //JSONArray cond = patientRecords.getJSONArray(\"conditions\");\n Patient x = new Patient(name, age);\n\n //x.setCondition(cond);\n patientList.add(x);\n\n\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n\n\n\n StaffActivity.this.runOnUiThread(new Runnable() {\n @Override\n public void run() {\n // patientList.add(new Patient(name, cName, cStatus));\n thisListView.setAdapter(thisAdapter);\n\n\n thisListView.setOnItemClickListener(new AdapterView.OnItemClickListener() {\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\n Patient currentPatient = patientList.get(position);\n\n //Log.d(\"clicker: \", patientList.get(position).getCondition().toString());\n\n\n //thisIntent = new Intent(StaffActivity.this, SinglePatientView.class);\n //thisIntent.putExtra(\"patientName\", currentPatient.getpName());\n //thisIntent.putExtra(\"patientConditions\", currentPatient.getCondition().toString());\n //startActivity(thisIntent);\n\n }\n\n });\n\n }\n });\n\n\n }\n\n @Override\n public void onFailure(@Nonnull ApolloException e) {\n Log.d(\"onResponse\", e.toString());\n }\n });\n\n return patientList;\n }", "@Override\n public void filter(String type) {\n\n List<Doctor> newDocs = new ArrayList<>();\n \n for (Doctor doctor : doctors) {\n //If doctor's specialization matches user searched specialization add to new doctor list\n if (doctor.getSpecialization()!=null && doctor.getSpecialization().equals(type)) {\n newDocs.add(doctor);\n }\n }\n \n //Set new doctor list as the doctor list\n doctors = newDocs;\n }", "public static com.statuspatients.plugins.model.Patients getPatients(\n long fooId)\n throws com.liferay.portal.kernel.exception.PortalException,\n com.liferay.portal.kernel.exception.SystemException {\n return getService().getPatients(fooId);\n }", "@Query(value = \"Select t From TestReport t left join t.patient p where t.testResult <> null and p.patientId = :patientId and t.billed = false\")\n\tpublic List<TestReport> getPendingBillingTestReportsByPatientId(int patientId);", "public List<PlantDTO> fetchPlants(String filter);", "@Override\n\tpublic List<Type> listType() {\n\t\treturn goodsDao.listType();\n\t}", "@RequestMapping(value=\"/ospfilter/{type}\",method=RequestMethod.GET)\n\t\tpublic List<Map<String, String>> ospDetails(@PathVariable String type)\n\t\t{\n\t\t\treturn ospServiceServiceImpl.ospDetails(type);\n\t\t\t\n\t\t}", "@Override\n @Transactional\n public List<Patient> selectPatientsByAttendingDoctor(String doctorFullname) {\n return patientDAO.getByAttendingDoctor(doctorFullname);\n }", "@Override\n\tpublic List<Patient> query_Name() {\n\t\tList<Patient> list = dd.query_Name();\n\t\tsqlSession.close();\n\t\treturn list;\n\t}", "@Override public ArrayList<Sample> getAllPatientSamples(Patient patient)\n {\n try\n {\n return clientDoctor.getAllPatientSamples(patient);\n }\n catch (RemoteException e)\n {\n throw new RuntimeException(\"Error while fetching samples. Please try again.\");\n }\n }", "@Override\n\tpublic List<TypeContratEmployee> Getdetail(TypeContrat e) {\n\t\treturn rep.findAllByPkContratContrat(e);\n\t}", "public List<RecordDTO> selectRecordByGameType(String gameType);", "List<Usertype> selectAll();", "@Override\r\n\tpublic List<PersonneDTO> getAllPersonne() {\n\t\treturn daoPersonne.getAllPersonne();\r\n\t}" ]
[ "0.6733845", "0.66317785", "0.6596175", "0.6507553", "0.64519733", "0.6379235", "0.63603646", "0.6163196", "0.61381036", "0.6106731", "0.6061941", "0.6057257", "0.59481144", "0.5944613", "0.5935914", "0.589406", "0.5884022", "0.5853282", "0.5851719", "0.58409995", "0.5813041", "0.581126", "0.5801058", "0.57924575", "0.5776538", "0.5765982", "0.57327026", "0.5704552", "0.57014406", "0.5692582", "0.5683372", "0.5673005", "0.5650003", "0.56410444", "0.562156", "0.56074744", "0.55974376", "0.5591838", "0.558725", "0.55823267", "0.5571127", "0.55578154", "0.55530053", "0.5546102", "0.55320346", "0.5527325", "0.5527113", "0.55249137", "0.55196553", "0.55166876", "0.5513805", "0.55067605", "0.5504432", "0.55018944", "0.550027", "0.54946446", "0.5469825", "0.54691", "0.5466453", "0.54618794", "0.5447385", "0.5442598", "0.542792", "0.54244304", "0.5415851", "0.5411102", "0.5390437", "0.53818136", "0.53805053", "0.53793275", "0.53712314", "0.53711665", "0.5352152", "0.5349321", "0.53353286", "0.53328747", "0.53151083", "0.53146183", "0.5309686", "0.5307561", "0.530144", "0.5297776", "0.5297488", "0.5297243", "0.5288501", "0.52872527", "0.5286028", "0.52849805", "0.528343", "0.5273398", "0.5271233", "0.5270326", "0.5266757", "0.52641773", "0.5263521", "0.5253848", "0.5250093", "0.52459073", "0.52397734", "0.52397394", "0.5234007" ]
0.0
-1
get a patients by ID
public Patient getPatientByID(int pid) { Patient patient=null; try { String query= "SELECT * FROM patients WHERE id = ? "; PreparedStatement pStatement= super.getConnection().prepareStatement(query); pStatement.setInt(1, pid); ResultSet results= pStatement.executeQuery(); while(results.next()) { //Patient table int idPatient= results.getInt(1); String fname= results.getString(2); String lname= results.getString(3); String gender= results.getString(4); int age= results.getInt(5); String phone= results.getString(6); String villege= results.getString(7); String commune= results.getString(8); String city= results.getString(9); String province= results.getString(10); String country= results.getString(11); Address address= new Address(villege, commune, city, province, country); String type= results.getString(12); patient= new Patient(idPatient, fname, lname, gender, age, phone, address, type); System.out.println("Get Patients succeed From DatabasePatient"); } } catch (Exception e) { System.out.println(e); } return patient; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Search()\n\t\tpublic List<Patient> getResourceById(@RequiredParam(name = \"_id\") String theId) {\n\t\t\tPatient patient = getIdToPatient().get(theId);\n\t\t\tif (patient != null) {\n\t\t\t\treturn Collections.singletonList(patient);\n\t\t\t} else {\n\t\t\t\treturn Collections.emptyList();\n\t\t\t}\n\t\t}", "@RequestMapping(value = \"/patients\", method = RequestMethod.GET, headers = {\"patient_id\"})\n public Patient getAPatient(@RequestHeader(\"patient_id\") Long id) {\n return patientRepository.findById(id).orElseThrow(() -> new ResourceNotFoundException(\"Patient\", \"id\" , id));\n }", "public static ResultSet getPatientInfo(int id) {\r\n\t\ttry{\r\n\t\t\tconnection = DriverManager.getConnection(connectionString);\r\n\t\t\tstmt = connection.prepareStatement(\"SELECT * FROM Patient WHERE ID =?;\");\r\n\t\t\tstmt.setString(1, String.valueOf(id));\r\n\t\t\tdata = stmt.executeQuery();\r\n\t\t}\r\n\t\tcatch (SQLException ex){\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t\treturn data;\r\n\t}", "@Override\n\tpublic Patient findByPatientId(int id) {\n\t\t// setting logger info\n\t\tlogger.info(\"Find the patient details By Id\");\n\t\tOptional<Patient> patient = patientRepo.findById(id);\n\t\tif (!patient.isPresent()) {\n\t\t\treturn null;\n\t\t}\n\t\treturn patient.get();\n\t}", "@Override\n @Transactional\n public Patient getPatientById(int id) {\n return patientDAO.getById(id);\n }", "@GET(PATIENT_BY_ID_PATH)\n\tPatient getPatient(\n\t\t\t@Path(PATIENT_ID_PARAM) long patientId);", "@GetMapping(\"getpatient\")\n\tpublic CustomResponseBody<List<Doctor>> readRecordById(@PathParam(\"id\") Integer id)\n\t\t\tthrows BusinessException, SystemException {\n\t\tlogger.entry(id);\n\t\tif (id == null) {\n\t\t\tid = 0;\n\t\t}\n\t\tCustomResponseBody<List<Doctor>> response = new CustomResponseBody<List<Doctor>>();\n\t\tresponse.setStatus(HttpStatusConstant.OK);\n\t\tresponse.setMessage(doctorOperationDelegate.readRecordById(id));\n\t\tlogger.traceExit(response);\n\t\treturn response;\n\t}", "public static Patient find(int id) {\n\tPatient patient = null;\n\tfor (Patient a : patients) {\n\t if (a.getId() == id) {\n\t\tpatient = a;\n\t\tbreak;\n\t }\n\t}\t\n\t\n\treturn patient;\n }", "@GetMapping(\"/biometrics/patient/{id}\")\r\n public List<Biometric> findByPatient(@PathVariable Long id) {\r\n return patientRepository.findById(id).map(biometricRepository::findByPatient).orElse(new ArrayList<>());\r\n }", "@GetMapping(value = \"/selectById\", produces = \"application/json\")\n Patient selectById(@RequestParam int id);", "@Transactional(value = \"cleia-txm\")\n public List<Patient> findPatientsByMedicalId(Long id) throws Exception {\n Medical medical = entityManager.find(Medical.class, id);\n \n if (medical == null) {\n throw new Exception(\"Error. El medico no existe\");\n }\n \n medical.getPatients().size();\n \n return medical.getPatients();\n }", "List<MedicationPlan> getAllByPatientId(Long id);", "@GetMapping(\"/charts/patient/{id}\")\n @Timed\n public Patient getPatientByChart(@PathVariable Long id) {\n log.debug(\"REST request to get Chart : {}\", id);\n Patient patient = chartService.findPatientByChart(id);\n return patient;\n }", "public Patient returnPatFromId(String id)\r\n\t{\r\n\t\tPatient foundPatient = null;// blank patient is made\r\n\r\n\t\tfor(int i=0; arrayPatients[i]!=null ;i++)//loops through the array\r\n\t\t{\r\n\t\t\tif(arrayPatients[i].patientID.equals(id))//if the id passed matches the id of that term in the array it will save that array term \r\n\t\t\t{\r\n\t\t\t\tfoundPatient = arrayPatients[i];\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn foundPatient;// that saved array term is then returned\r\n\t}", "PatientInfo getPatientInfo(int patientId);", "Collection<Patient> findByName(String name, int id);", "public Patient chercherPatientId(int id_patient) {\r\n Patient p = null;\r\n int i = 0;\r\n while (i != patients.size() && patients.get(i).getIdPatient() != id_patient) {\r\n i++;\r\n }\r\n if (i != patients.size()) {\r\n p = patients.get(i);\r\n }\r\n return p;\r\n }", "public static ResultSet searchByID(int id) {\r\n\t\ttry{\r\n\t\t\tconnection = DriverManager.getConnection(connectionString);\r\n\t\t\tstmt = connection.prepareStatement(\"SELECT * FROM Patient WHERE ID =?;\");\r\n\t\t\tstmt.setString(1, String.valueOf(id));\r\n\t\t\tdata = stmt.executeQuery();\r\n\t\t}\r\n\t\tcatch (SQLException ex){\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t\treturn data;\r\n\t}", "@ApiOperation(value = \"Api Endpoint to get the patient details\")\n @GetMapping(path = \"/{patientId}\")\n @LogExecutionTime\n public PatientDto getPatientRecords(@PathVariable long patientId) {\n return patientService.getPatientRecords(patientId);\n }", "@Override\n public List<PatientCaseDto> getAllByPatient(Long patientId) {\n return null;\n }", "private void getPatient (String id) throws MqttException {\n MqttMessage message = new MqttMessage(new Gson().toJson(dao.getPatient(id)).getBytes());\n message.setQos(0);\n publishThread(\"patient\", message, UniMed.mqttClient);\n }", "@Read()\n public Patient read(@IdParam IdType theId) {\n Patient patient = DBService.getPatient(theId.getIdPart());\n if (patient == null) {\n throw new ResourceNotFoundException(theId);\n }\n return patient;\n }", "@Read()\n\t\tpublic Patient getResourceById(@IdParam IdType theId) {\n\t\t\tString key = theId.getIdPart();\n\t\t\treturn getIdToPatient().get(key);\n\t\t}", "public List<Measurement> findPatientMeasurements(int patientId) {\n return entityManager\n .createQuery(\"SELECT m from Measurement m \" +\n \"WHERE m.patientId.patientId = :patientId\", Measurement.class)\n .setParameter(\"patientId\", patientId)\n .getResultList();\n }", "@GET(DOCTOR_PATIENTS_PATH)\n\tCollection<Patient> getPatients(\n\t\t\t@Path(DOCTOR_ID_PARAM) long doctorId);", "@Override\n\tpublic Patientstreatments getonepatienttreat(int id) {\n\t\tPatientstreatments pt=patreatrep.findById(id).orElseThrow(()->\n\t\t\t\tnew DataNotFoundException(\"patienttreatments with id \" + id + \" not found\") );\n\t\t\n\t\treturn pt;\n\t}", "public Patient getPatientById(int patientId) {\n Patient p = null;\n String query = \"SELECT * FROM PATIENTS WHERE patient_id = ? LIMIT 1\";\n try (PreparedStatement pst = this.transaction.prepareStatement(query)) {\n pst.setInt(1, patientId);\n try (ResultSet rs = pst.executeQuery()) {\n if (rs.next()) {\n p = new Patient(rs);\n }\n }\n } catch (SQLException ex) {\n ex.printStackTrace(System.out);\n }\n return p;\n }", "public ResultSet getPatientDetailsByPatientId(int patientId) {\n\t\treturn dbObject.select(\"SELECT * FROM patients where patientId=\"+patientId);\n\n\t}", "@Override\n\tpublic Optional<Patient> findOnePatient(int id) {\n\t\treturn null;\n\t}", "public List<Patient> getPatients() {\n List<Patient> patients = new ArrayList<>();\n String query = \"SELECT * FROM PATIENTS\";\n try (PreparedStatement ps = this.transaction.prepareStatement(query); ResultSet rs = ps.executeQuery()) {\n while (rs.next()) {\n patients.add(new Patient(rs));\n }\n } catch (SQLException ex) {\n ex.printStackTrace(System.out);\n }\n\n return patients;\n }", "@GET\n @Path(\"patients/{ipp}\")\n @Produces(\"application/json\")\n public Patient getPatient(@PathParam(\"ipp\") int IPP) {\n return serv.getPatientByIPP(IPP);\n }", "List<MedicalRecord> getAllPatientMedicalRecords(HttpSession session, int patientId);", "public Patient getPatientByPatientId(long pid) throws PatientExn {\n\t\tTypedQuery<Patient> query = \n\t\t\t\tem.createNamedQuery(\"SearchPatientByPatientID\", Patient.class)\n\t\t\t\t.setParameter(\"pid\", pihhd);\n\t\tList<Patient> patients = query.getResultList();\n\t\tif(patients.size() > 1)\n\t\t\tthrow new PatientExn(\"Duplicate patient records: patient id = \" +pid);\n\t\telse if (patients.size() < 1)\n\t\t\tthrow new PatientExn(\"Patient not found: patient id = \" +pid);\n\t\telse {\n\t\t\tPatient p = patients.get(0);\n\t\t\tp.setTreatmentDAO(this.treatmentDAO);\n\t\t\treturn p;\n\t\t}\n\t}", "@Transactional(readOnly = true)\n public Patient findOne(Long id) {\n log.debug(\"Request to get Patient : {}\", id);\n Patient patient = patientRepository.findOne(id);\n return patient;\n }", "@Override\n\tpublic Patients findById(Object... valrs) throws Exception {\n\t\treturn null;\n\t}", "public Patient getPatientByDbId(long id) throws PatientExn {\n\t\tPatient p = em.find(Patient.class, id);\n\t\tif (p == null) {\n\t\t\tthrow new PatientExn(\"Patient not found: primary key = \" + id);\n\t\t} else {\n\t\t\tp.setTreatmentDAO(this.treatmentDAO);\n\t\t\treturn p;\n\t\t}\n\t}", "@GetMapping(\"/patient\")\r\n\t@ApiOperation(value = \"To list Patient Directory\")\r\n\t// @Cacheable(value = \"getRecordWithDat\", key = \"#root.methodName\")\r\n\tpublic List<PatientRecord> getAllPatientRecords() {\r\n\t\tlogger.info(\"listAllPatient {}\", patientService.getAll());\r\n\t\t// kafkaTemplate.send(\"kafkaExample\",\r\n\t\t// patientService.getAll().stream().findAny());\r\n\t\treturn patientService.getAll();\r\n\t}", "List<Patient> findAllPatients();", "List<Patient> findPatients(Employee nurse_id);", "public abstract List<ClinicalDocumentDto> findClinicalDocumentDtoByPatientId(Long patientId);", "public Doctor findById(int id);", "public abstract List<ClinicalDocument> findByPatientId(long patientId);", "@Override\n public PatientCaseDto getByPatient(Long patientId) {\n return null;\n }", "public People getPeopleById(Long id);", "public static com.statuspatients.plugins.model.Patients getPatients(\n long fooId)\n throws com.liferay.portal.kernel.exception.PortalException,\n com.liferay.portal.kernel.exception.SystemException {\n return getService().getPatients(fooId);\n }", "@Override\n public List<Doctor> searchById(int id) throws IOException, ClassNotFoundException {\n doctorList = FileSystem.readFile(file, Doctor.class);\n List<Doctor> searchList = search(doctorList, Doctor::getId, id);\n return searchList;\n }", "public person findbyid(int id){\n\t\t\treturn j.queryForObject(\"select * from person where id=? \", new Object[] {id},new BeanPropertyRowMapper<person>(person.class));\r\n\t\t\r\n\t}", "public Patient readPatientById(int id) throws BusinessException, SystemException {\n\t\tlogger.entry(id);\n\t\tPatient patient = patientCrudHelper.readPatientById(id);\n\t\tlogger.traceExit(patient);\n\t\treturn patient;\n\t}", "@GetMapping(\"/family-histories/by-patient/{id}\")\n @Timed\n public ResponseEntity<FamilyHistory> getFirstFamilyHistoryByPatientId(@PathVariable Long id) {\n log.debug(\"REST request to get Family History by Patient Id : {}\", id);\n FamilyHistory familyHistory = familyHistoryService.findFirstByPatientId(id);\n if (familyHistory == null) {\n familyHistory = new FamilyHistory();\n }\n return ResponseEntity.ok(familyHistory);\n }", "@RequestMapping(path = \"medservices/search\", method = RequestMethod.GET, params = \"id\")\n public List<MedicalService> getMedicalServicesById(@RequestParam int id){\n return medicalServiceService.findMedicalServicesById(id);\n }", "private static Person findPersonById(int id) {\n Person personReturn = null;\n\n for (Person person : persons) {\n if (id == person.getId()) {\n personReturn = person;\n }\n }\n\n return personReturn;\n }", "public Doctor get(String id) {\n\t\treturn dao.get(id);\n\t}", "Object getDados(long id);", "public Paciente get( Long id ) {\r\n\t\t\tlogger.debug(\"Retrieving codigo with id: \" + id);\r\n\t\t\t\r\n\t\t\t/*for (Paciente paciente:codigos) {\r\n\t\t\t\tif (paciente.getId().longValue() == id.longValue()) {\r\n\t\t\t\t\tlogger.debug(\"Found record\");\r\n\t\t\t\t\treturn paciente;\r\n\t\t\t\t}\r\n\t\t\t}*/\r\n\t\t\t\r\n\t\t\tlogger.debug(\"No records found\");\r\n\t\t\treturn null;\r\n\t\t}", "public List<PersonManage> queryPersonById(String id) {\n\t\treturn getSqlSession().selectList(NAME_SPACE+\".findById\",id);\n\t}", "@Override\n public PatientCaseDto getById(Long id) {\n return null;\n }", "@GetMapping(value=\"/set/{patientId}\")\n\tpublic ResponseEntity<List<MedicalHistory>> getMedicalHistoryByPatientId(@Valid @PathVariable(value = \"patientId\") Integer patientId) throws PatientNotFoundException{\n\t\treturn doctorService.getMedicalHistoryByPatientId(patientId);\n\t}", "public ArrayList<MedicalRecord> getPatientRecords(String patient) {\n if (database.containsKey(patient)) {\n return database.get(patient);\n } else {\n System.out.println(\"No such patient found\");\n return null;\n }\n }", "@Override\r\n\tpublic Person findbyid(int id) {\n\t\tQuery query=em.createQuery(\"Select p from Person p where p.id= \"+id);\r\n\t\tPerson p=(Person) query.getSingleResult();\r\n\t\treturn p;\r\n\t\r\n\t}", "@Override\r\n\tpublic Subjects getById( int id) {\n\t\treturn subectsDao.getById( id);\r\n\t}", "java.lang.String getPatientId();", "public Citas getCita(int id) {\n Citas c = new Citas();\n try {\n PreparedStatement pstm = null;\n ResultSet rs = null;\n String query = \"SELECT *FROM paciente WHERE id_paciente=?\";\n pstm = con.prepareStatement(query);\n pstm.setInt(1, id);\n rs = pstm.executeQuery();\n while (rs.next()) {\n c.setId(rs.getInt(\"id_paciente\"));\n c.setName(rs.getString(\"name\"));\n c.setDoctor(rs.getString(\"doctor\"));\n c.setFecha(rs.getString(\"fecha\"));\n c.setHora(rs.getString(\"hora\"));\n c.setTel(rs.getString(\"tel\"));\n c.setCorreo(rs.getString(\"correo\"));\n c.setGenero(rs.getString(\"genero\"));\n c.setMotivo(rs.getString(\"motivo\"));\n c.setSintomas(rs.getString(\"sintomas\"));\n } \n }catch (SQLException ex) {\n ex.printStackTrace();\n }\n return c;\n }", "public static ResultSet getPatientName(String patientId){\r\n\t\ttry{\r\n\t\t\t// this is how you connect\r\n\t\t\tconnection = DriverManager.getConnection(connectionString);\r\n\t\t\t\r\n\t\t\tstmt = connection.prepareStatement(\"SELECT ID,Forename,Surname FROM Patient WHERE ID =?;\");\r\n\t\t\tstmt.setString(1, patientId);\r\n\t\t\tdata = stmt.executeQuery();\r\n\t\t}\r\n\t\tcatch (SQLException ex){\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t\treturn data;\r\n\t}", "@Override\n public RiceptDto getRicept(int id) {\n Optional<Ricept> ricept = riceptRepository.findById(id);\n if (!ricept.isPresent()) {\n log.error(\"Ricept not found by id. Class RiceptServiceImpl, method getRicept\");\n throw new NotFoundException(\"Ricept not found by id\");\n }\n log.info(\"Get ingredient by id. Class RiceptServiceImpl, method getRicept\");\n return RiceptDto.of(ricept.get());\n }", "@Override\r\n\tpublic List<Object[]> searchPlantDetails(int id) {\n\t\tList<Object[]> list = null;\r\n\t\ttry {\r\n\t\t\tsql = \"select p.plantId ,p.plantName,p.add1,p.add2,p.add3,p.city,p.state,p.phone,p.fax,p.mobile,p.organization,p.countrysList from Plant p where p.plantId=\"\r\n\t\t\t\t\t+ id + \"\";\r\n\t\t\tlist = getHibernateTemplate().find(sql);\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn list;\r\n\t}", "List<Admission> findPAdmissionBYpatientNumber(String patientNumber, Long hospitalId);", "public List<Analysis> getAllAnalyzesByPatientId(long id){\n List<Analysis> analyzes;\n try{\n return analyzes = analysisDAO.getAllAnalyzesByPatientId(id);\n }catch (PersistenceException e) {\n e.printStackTrace();\n }\n return null;\n }", "@GetMapping(\"/charts-current-patients-vo/{id}\")\n @Timed\n public List<ChartVO> getAllChartsCurrentPatientsVO(@PathVariable Long id) {\n log.debug(\"REST request to get all ChartsVO By Facility\");\n ZonedDateTime now = ZonedDateTime.now();\n return chartService.findAllByFacilityWaitingRoomFalseAndDischargeDateVO(id, now);\n }", "@Override\n\tpublic List<Person> search(Integer id) {\n\t\treturn null;\n\t}", "@GetMapping(\"/doctors/{id}\")\n @Timed\n public ResponseEntity<Doctor> getDoctor(@PathVariable String id) {\n log.debug(\"REST request to get Doctor : {}\", id);\n Doctor doctor = doctorRepository.findOne(id);\n return ResponseUtil.wrapOrNotFound(Optional.ofNullable(doctor));\n }", "public ResultSet getPerson(int id) throws SQLException {\n\t\tquery = \"SELECT * FROM person WHERE id=\"+ id;\n\t\treturn stmt.executeQuery(query);\n\t}", "public Patient (String patientID) {\n this.patientID = patientID;\n this.associatedDoctor = new ArrayList<>();\n }", "public ArrayList<Patient> getPatientList()\n {\n ArrayList<Patient> patientList = new ArrayList<Patient>();\n Connection con = getConnection();\n String query = \"SELECT * FROM patients\";\n \n java.sql.Statement st;\n ResultSet rs;\n try {\n \n st = con.createStatement();\n rs = st.executeQuery(query);\n Patient patient;\n \n while(rs.next())\n {\n patient = new Patient(rs.getInt(\"id\"),rs.getString(\"name\"),rs.getString(\"sex\"),rs.getString(\"age\"),rs.getString(\"contact\"),\n rs.getString(\"address\"),rs.getString(\"patient_Type\"),rs.getString(\"doctor\"),rs.getBytes(\"image\"),rs.getString(\"modified_Date\"),\n rs.getString(\"modified_Time\"));\n patientList.add(patient);\n }\n } catch (SQLException ex) {\n Logger.getLogger(Patients_Data_Frame.class.getName()).log(Level.SEVERE, null, ex);\n }\n return patientList;\n }", "@Override\n @Transactional\n public List<ReportView> getForAllPatients(UUID therapistId) {\n List<User> patients = userRepository.findAllByTherapistId(therapistId);\n List<ReportView> reports = new ArrayList<>(patients.size());\n\n patients.forEach(patient -> reports.add(getHistoryForPatientId(patient.getId())));\n return reports;\n }", "public void getDetail(int id) {\n\t\t\n\t}", "@Override\n public PatientCaseDto getByDoctorPatient(Long patientId, Long doctorId) {\n return null;\n }", "@GetMapping(\"/charts-current-patients/{id}\")\n @Timed\n @Deprecated\n public List<Chart> getAllChartsCurrentPatients(@PathVariable Long id) {\n log.debug(\"REST request to get all Charts By Facility\");\n ZonedDateTime now = ZonedDateTime.now();\n return chartService.findAllByFacilityWaitingRoomFalseAndDischargeDate(id, now);\n }", "Collection<Patient> findAll();", "@Override\n public Pessoa buscar(int id) {\n try {\n for (Pessoa p : pessoa.getPessoas()){\n if(p.getCodPessoa()== id){\n return p;\n }\n }\n } catch (Exception ex) {\n Logger.getLogger(AnimalDAO.class.getName()).log(Level.SEVERE, null, ex);\n }\n return null;\n }", "public PersonaDTO consultarPersona(Long idPersona) ;", "public Data findById(Object id);", "public void findbyid() throws Exception {\n try {\n IPi_per_intDAO pi_per_intDAO = getPi_per_intDAO();\n List<Pi_per_intT> listTemp = pi_per_intDAO.getByPK(pi_per_intT);\n\n pi_per_intT = listTemp.size() > 0 ? listTemp.get(0) : new Pi_per_intT();\n\n } catch (Exception e) {\n easyLogger.error(e.getMessage(), e);\n setMsg(ERROR, \"Falha ao realizar consulta!\");\n } finally {\n close();\n }\n }", "RespuestaRest<ParqueaderoEntidad> consultar(String id);", "public Pregunta getPregunta(int id);", "CustDataNotesResponseDTO getById(String id) throws Exception;", "public Person get( Integer id ) {\n\t\t\n\t\tSession session = sessionFactory.getCurrentSession();\t\t\n\t\t\n\t\treturn(Person) session.get(Person.class,id);\n\t}", "@Override\n\tpublic List<Patient> findAll() {\n\t\t// setting logger info\n\t\tlogger.info(\"Find the details of the patient\");\n\t\treturn patientRepo.findAll();\n\t}", "void dischargePatient(int id);", "public Person getPerson(String id) throws DataAccessException {\n Person person;\n ResultSet rs = null;\n String sql = \"SELECT * FROM persons WHERE person_id = ?;\";\n try(PreparedStatement stmt = conn.prepareStatement(sql)) {\n stmt.setString(1, id);\n rs = stmt.executeQuery();\n if (rs.next()) {\n person = new Person(rs.getString(\"person_id\"), rs.getString(\"assoc_username\"),\n rs.getString(\"first_name\"), rs.getString(\"last_name\"),\n rs.getString(\"gender\"), rs.getString(\"father_id\"),\n rs.getString(\"mother_id\"), rs.getString(\"spouse_id\"));\n return person;\n }\n } catch (SQLException e) {\n e.printStackTrace();\n throw new DataAccessException(\"Error encountered while finding person\");\n } finally {\n if (rs != null) {\n try {\n rs.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }\n }\n return null;\n }", "public void findbyid() throws Exception {\n try {\n Ume_unidade_medidaDAO ume_unidade_medidaDAO = getUme_unidade_medidaDAO();\n List<Ume_unidade_medidaT> listTemp = ume_unidade_medidaDAO.getByPK( ume_unidade_medidaT);\t \n\n ume_unidade_medidaT= listTemp.size()>0?listTemp.get(0):new Ume_unidade_medidaT();\n \n } catch (Exception e) {\n e.printStackTrace();\n setMsg(\"Falha ao realizar consulta!\");\t\n } finally {\n\tclose();\n }\n }", "Persona buscarPersonaPorId(Long id) throws Exception;", "public static Pregnancy getOne(Connection conn, Long id) throws SQLException, ServletException, ObjectNotFoundException {\r\n\t\tPregnancy item = null;\r\n\t\tString sql;\r\n\t\tArrayList values;\r\n\t\tsql = \"SELECT id, patient_id AS patientId, date_pregnancy_begin AS datePregnancyBegin, \" +\r\n\t\t\"pregnancy_begin_encounter_id AS pregnancyBeginEncounter, date_pregnancy_end AS datePregnancyEnd, \" +\r\n\t\t\"last_modified AS lastModified, created AS created, last_modified_by AS lastModifiedBy, \" +\r\n\t\t\"created_by AS createdBy, site_id AS siteId, created_site_id AS createdSiteId,\" +\r\n\t\t\"labour_admission_encounter_id AS labourAdmissionEncounterId, date_labour_admission AS dateActiveLabour, \" +\r\n\t\t\"import_pregnancy_id AS importPregnancyId, uuid, \" +\r\n\t\t\"pregnancy_begin_encounter_uuid AS pregnancyBeginEncounterUuid, pregnancy_end_encounter_id AS pregnancyEndEncounter, \" +\r\n\t\t\"pregnancy_end_encounter_uuid AS pregnancyEndEncounterUuid, \" +\r\n\t\t\"labour_admission_encounter_uuid AS labourAdmissionEncounterUuid \" +\r\n\t\t\"FROM pregnancy WHERE id=?\";\r\n\t\tvalues = new ArrayList();\r\n\t\tvalues.add(id);\r\n\t\titem = (Pregnancy) DatabaseUtils.getZEPRSBean(conn, Pregnancy.class, sql, values);\r\n\t\treturn item;\r\n\t}", "@Override\n public Optional<Seq> getbyid(int id) {\n \tConnection conn = null;\n \tPreparedStatement pstmt=null;\n \tResultSet rs;\n \tSeq seq=null;\n ProcessesDAO pdao = new ProcessesDAO();\n \ttry {\n \t\tString url = \"jdbc:sqlite:src\\\\database\\\\AT2_Mobile.db\";\n \t\tconn = DriverManager.getConnection(url);\n\t \tpstmt = conn.prepareStatement(\n\t \t \"select * from seq where id =?\");\n\t \t \n\t \tpstmt.setInt(1,id); \n\t\n\t \trs = pstmt.executeQuery();\n\t \twhile (rs.next()) {\n\t \t\tseq = new Seq(rs.getInt(\"id\"), pdao.getbyidentifier(rs.getString(\"identifier\")), rs.getInt(\"seq_number\"));\n\t \t}\n\t \trs.close(); \n\t \tpstmt.close();\n\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n } finally {\n \ttry {\n if (conn != null) {\n conn.close();\n }\n } catch (SQLException ex) {\n System.out.println(ex.getMessage());\n }\n\n }\n return Optional.of(seq);\n }", "public Paciente obtenerPorId(long id) {\n return pacienteRepository.findById(id);\n }", "@GetMapping(value = \"/{id}\")\n\tpublic ResponseEntity<Response<PedidoDto>> listarPorId(@PathVariable(\"id\") Long id) {\n\t\tlog.info(\"Buscando pedido por ID: {}\", id);\n\t\tResponse<PedidoDto> response = new Response<PedidoDto>();\n\t\tOptional<Pedido> pedido = this.pedidoService.buscarPorId(id);\n\n\t\tif (!pedido.isPresent()) {\n\t\t\tlog.info(\"Pedido não encontrado para o ID: {}\", id);\n\t\t\tresponse.getErrors().add(\"Pedido não encontrado para o id \" + id);\n\t\t\treturn ResponseEntity.badRequest().body(response);\n\t\t}\n\n\t\tresponse.setData(pedidoService.converterPedidoDto(pedido.get()));\n\t\treturn ResponseEntity.ok(response);\n\t}", "public List<String> getPatientDetails(int id){\n List<String> patientList = new ArrayList<String>();\n try{\n DbConnection connection = new DbConnection();\n ResultSet data = connection.getData(\"SELECT * FROM patient WHERE patient.num='\"+id+\"'\");\n System.out.println(connection);\n while(data.next()){\n patientList.add(\"<div class=\\\"divtext\\\"> INITIALS : \"+data.getString(3)+\"</div><div class=\\\"divtext\\\"> SURNAME : \"+data.getString(4)+\"</div><div class=\\\"divtext\\\"> NAME OF THE GUARDIAN : \" +data.getString(5)+ \"</div><div class=\\\"divtext\\\"> GUARDIAN'S NIC NO : \" +data.getString(2)+ \"</div><div class=\\\"divtext\\\"> AGE : \"+data.getString(6)+\"</div><div class=\\\"divtext\\\"> PHONE NO : \"+data.getString(7)+\"</div>\");\n patientList.add(\"<div class=\\\"divtext\\\"></div>\");\n patientList.add(\"<div class=\\\"divtext\\\">________________________________________________________</div>\");\n patientList.add(\"<div class=\\\"divtext\\\"></div>\");\n } \n } catch(ClassNotFoundException | SQLException e){\n e.printStackTrace();\n }\n return patientList;\n}", "public Result all(String id);", "@Override\n public List<PatientCaseDto> getAllByDoctor(Long doctorId) {\n return null;\n }", "public List<Reminder> getAllBy(Integer idu);", "@GetMapping(value = \"/consultarByID\")\n public ResponseEntity consultar(@RequestParam Long id) {\n return empleadoService.consultar(id);\n }" ]
[ "0.7580179", "0.74714315", "0.7361346", "0.73256624", "0.73153734", "0.72969145", "0.7277549", "0.72592884", "0.72022796", "0.7146963", "0.70675254", "0.7067496", "0.6998869", "0.69655055", "0.69319504", "0.6923293", "0.6914221", "0.6900036", "0.6873183", "0.6867343", "0.6841825", "0.68246454", "0.6729432", "0.67080325", "0.6695034", "0.66814995", "0.6642508", "0.6641862", "0.6623671", "0.6591813", "0.6528251", "0.65262675", "0.6510795", "0.6507995", "0.64815706", "0.64808154", "0.6465225", "0.64571863", "0.64561385", "0.64489853", "0.6447351", "0.64263034", "0.6406378", "0.63948226", "0.63279927", "0.6324358", "0.63018894", "0.6284424", "0.6274016", "0.62405115", "0.623632", "0.62281716", "0.6227909", "0.62264925", "0.62199163", "0.6188381", "0.61737084", "0.6169607", "0.61646485", "0.6157737", "0.615489", "0.6150244", "0.6143847", "0.61399734", "0.6139746", "0.61362994", "0.6127824", "0.61222345", "0.6114849", "0.61062616", "0.60600066", "0.6059358", "0.60562736", "0.6050587", "0.6040843", "0.6030917", "0.60304534", "0.602443", "0.6017386", "0.60032725", "0.5994873", "0.59947574", "0.5993646", "0.5990715", "0.5985681", "0.5984101", "0.5980845", "0.59796804", "0.5970114", "0.5967402", "0.5964468", "0.59622705", "0.5959406", "0.59578", "0.59352803", "0.59148407", "0.5897046", "0.58924836", "0.5887902", "0.58748245" ]
0.6967994
13
Create a patient and also create its record into patient_record
public boolean createPatient(Patient patient,PatientRecord patientRecord) { boolean isCreated= false; String[] row= new String[9]; try { String query = "INSERT INTO patients VALUES (?,?,?,?,?,?,?,?,?,?,?,?)"; PreparedStatement pStatement= super.getConnection().prepareStatement(query); pStatement.setInt(1, patient.getId()); pStatement.setString(2, patient.getFirstName()); pStatement.setString(3, patient.getLastName()); pStatement.setString(4, patient.getGender()); pStatement.setInt(5, patient.getAge()); pStatement.setString(6, patient.getPhone()); pStatement.setString(7, patient.getAddress().getVillege()); pStatement.setString(8, patient.getAddress().getCommune()); pStatement.setString(9, patient.getAddress().getCity()); pStatement.setString(10, patient.getAddress().getProvince()); pStatement.setString(11, patient.getAddress().getCountry()); pStatement.setString(12, patient.getType()); if(pStatement.executeUpdate() > 0) { patientID.add(patient.getId()); row[0]= patient.getId()+""; row[1]= patient.getFirstName(); row[2]= patient.getLastName(); row[3]= patient.getGender(); row[4]= patient.getAge()+""; row[5]= patientRecord.getDate()+""; row[6]= patient.getPhone(); modelPatient.addRow(row); isCreated= true; System.out.println("You have insert a patient record"); }; }catch (Exception e) { System.out.println(e); } return isCreated; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createNewPatient(String firstName, String lastName, String tz, String diagnosis, final Context context){\n final DocumentReference myDocPatient = db.collection(Constants.PATIENTS_COLLECTION_FIELD).document();\n final Patient patientToAdd = new Patient(firstName, lastName, myDocPatient.getId(), diagnosis, tz, localUser.getId());\n myDocPatient.set(patientToAdd);\n localUser.addPatientId(patientToAdd.getId());\n updateUserInDatabase(localUser);\n }", "@RequestMapping(path = \"/patient\", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE)\r\n\t@ApiOperation(value = \"To create new Patient Entry into Database\")\r\n\tpublic PatientRecord insertPatientRecord(@RequestBody PatientRecord patientRecord) {\r\n\t\tPatientRecord patient = patientService.insertPatientDetails(patientRecord);\r\n\t\tlogger.info(\"addNewRecord {}\", patient);\r\n\t\t// kafkaTemplate.send(\"kafkaExample\", patient);\r\n\t\t//template.convertAndSend(MessagingConfig.EXCHANGE, MessagingConfig.ROUTING_KEY, patient);\r\n\t\treturn patient;\r\n\t}", "Patient save(Patient patient);", "@Insert(\"INSERT into patients(id_patient, first_name, last_name, PESEL, id_address, email, phone_number, \" +\n \"id_firstcontact_doctor, password) VALUES (#{id}, #{firstName}, #{lastName}, #{pesel}, #{address.addressId},\" +\n \"#{email}, #{phoneNumber}, #{firstContactDoctor.id}, #{password})\")\n @Options(useGeneratedKeys = true, keyProperty = \"id\", keyColumn = \"id_patient\")\n void addPatient(Patient patient);", "@ResponseStatus(value = HttpStatus.CREATED)\n @ApiOperation(value = \"Api Endpoint to create the patient details\")\n @PostMapping\n @LogExecutionTime\n public PatientDto createPatientRecord(@Valid @RequestBody PatientDto patientDto) {\n return patientService.createPatientRecord(patientDto);\n }", "public void createNew(PatientBO patient)\n {\n _dietTreatment = new DietTreatmentBO();\n _dietTreatment.setPatient(patient);\n setPatient(patient);\n }", "public Long addPatient(long pid, String name, Date dob, int age) throws PatientExn;", "@PostMapping(value = \"/insert\", produces = \"application/json\")\n void insert(@RequestBody Patient patient);", "protected void recordPatientVisit() {\r\n\r\n\t\t// obtain unique android id for the device\r\n\t\tString android_device_id = Secure.getString(getApplicationContext().getContentResolver(),\r\n Secure.ANDROID_ID); \r\n\t\t\r\n\t\t// add the patient record to the DB\r\n\t\tgetSupportingLifeService().createPatientAssessment(getPatientAssessment(), android_device_id);\r\n\t}", "@Transactional\n\tpublic void saveNewPatient(FlowObjCreator foc){\n\t\tlog.debug(\"-----------\");\n\t\tlog.debug(\"-----------\"+foc.getIdf());\n\t\tlog.debug(\"-----------\"+foc.getBdate());\n\t\tTimestamp bd = new Timestamp(foc.getBdate().getTime());\n\t\tTree folderT = readDocT(foc.getIdf());\n\t\tPatient newPatientO = foc.getNewPatient();\n\t\tnewPatientO.setBirthdate(bd);\n\t\t\n\t\tsaveNewPatient(folderT, newPatientO);\n\t}", "public void create(Singer newRecord);", "MedicalRecord createMedicalRecord(HttpSession session, MedicalRecord medicalRecord);", "@Override\n\tpublic void createDoctorRecord(String FirstName, String LastName, String Address, String PhoneNumber,\n\t\t\tString Specialization, String Location)\tthrows RemoteException \n\t{\n\t\tDoctorRecord record = new DoctorRecord();\n\t\t\n\t\trecord.FirstName = FirstName;\t\n\t\trecord.LastName = LastName;\n\t\trecord.Address = Address;\n\t\trecord.PhoneNumber = PhoneNumber;\n\t\trecord.Specialization = Specialization;\n\t\trecord.getRecordID();\n\t\n\t\tStaffRecords.Add(record);\n\t\tif(Location.equals(\"MTL\")){\n\t\t\tMTLcount++;\n\t\t}\n\t\tif(Location.equals(\"DDO\")){\n\t\t\tDDOcount++;\n\t\t}\n\t\tif(Location.equals(\"LVL\")){\n\t\t\tLVLcount++;\n\t\t}\n\t}", "public int createNewPatient(Patient p) {\n int id = 0;\n String query = \"INSERT INTO PATIENTS(name, gender, birth, dpi, phone, weight, blood, email, password) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)\";\n try (PreparedStatement pst = this.transaction.prepareStatement(query, PreparedStatement.RETURN_GENERATED_KEYS)) {\n pst.setString(1, p.getName());\n pst.setBoolean(2, p.isGender());\n pst.setDate(3, p.getBirth());\n pst.setString(4, p.getDpi());\n pst.setString(5, p.getPhone());\n pst.setDouble(6, p.getWeight());\n pst.setString(7, p.getBlood());\n pst.setString(8, p.getEmail());\n pst.setString(9, p.getPass());\n pst.executeUpdate();\n \n ResultSet rs = pst.getGeneratedKeys();\n if(rs.next()) {\n id = rs.getInt(1);\n }\n } catch (SQLException ex) {\n ex.printStackTrace(System.out);\n }\n return id;\n }", "@POST\n @Path(\"patients\")\n @Consumes(MediaType.APPLICATION_JSON)\n @Produces(\"application/json\")\n public Patient newPatient(Patient pat){\n serv.editPatient(pat);\n return pat;\n }", "@Override\n public Patient savePatient(Patient patient) {\n return patientRepository.save(patient);\n }", "public void insertPatient(Patient p) {\n String query = \"INSERT INTO PATIENTS(patient_id, name, gender, birth, dpi, phone, weight, blood, email, password) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)\";\n try (PreparedStatement pst = this.transaction.prepareStatement(query)) {\n pst.setInt(1, p.getPatientId());\n pst.setString(2, p.getName());\n pst.setBoolean(3, p.isGender());\n pst.setDate(4, p.getBirth());\n pst.setString(5, p.getDpi());\n pst.setString(6, p.getPhone());\n pst.setDouble(7, p.getWeight());\n pst.setString(8, p.getBlood());\n pst.setString(9, p.getEmail());\n pst.setString(10, p.getPass());\n pst.executeUpdate();\n } catch (SQLException ex) {\n ex.printStackTrace(System.out);\n }\n }", "@Override\n @Transactional\n public void addPatient(Patient patient) {\n patientDAO.addPatient(patient);\n }", "private void savePatientToDatabase(Patient patient){\n DatabaseAdapter cateDB = new DatabaseAdapter(AddPatientActivity.this);\n try {\n cateDB.openDatabaseForRead();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n patient.printPatient();\n cateDB.insertPatient(patient);\n\n cateDB.closeDatabase();\n }", "void AddPatiant(Patient p) throws Exception;", "private void saveNewPerson() {\r\n\r\n\t\tSystem.out.println(\"Start Save new Patient...\");\r\n\r\n\t\ttry {\r\n\t\t\tIPerson p1 = new Person(\"admin\", new Role(Roles.ADMINISTRATOR,\r\n\t\t\t\t\t\"Hauptadministrator\"), \"Passwort\", \"te@te.te\", \"Vorname\",\r\n\t\t\t\t\t\"Nachname\", \"Organisation\", \"Abteilung\", \"Fachrichtung\",\r\n\t\t\t\t\t\"Strasse\", \"3e\", \"54321\", \"Ort\");\r\n\r\n\t\t\tp1.save();\r\n\t\t} catch (BusinesslogicException e) {\r\n\r\n\t\t\te.printStackTrace();\r\n\r\n\t\t} catch (DatabaseException e) {\r\n\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\t\tSystem.out.println(\"New Patient saved!!\");\r\n\t}", "public boolean addPaient(Patient patient) throws TooManyExceptions;", "public void addPatientPersoanlRecords(String pat_id, String doctor_id, String doc_membership_id, String patient_info_type_form,\n String pat_first_name, String pat_middle_name, String pat_last_name, String pat_gender,\n String pat_date_of_birth, String pat_age, String pat_mobile_no, String pat_address,\n String pat_city_town, String pat_pincode, String pat_district, String pref_lang,\n String photo_name, String consent, String special_instruction, String added_by,\n String added_on, String addedTime, String modified_by, String modified_on,\n String is_disabled, String disabled_by, String disabled_on, String is_deleted,\n String deleted_by, String deleted_on, String flag, String status, String email, String phoneType, String isdCode, String alternateNumber, String alternatePhoneType, String uid, String uidType, String alternateNoIsd) {\n\n SQLiteDatabase db = this.getWritableDatabase();\n try {\n ContentValues contentValue = new ContentValues();\n\n contentValue.put(KEY_PATIENT_ID, pat_id);\n contentValue.put(DOCTOR_ID, doctor_id);\n contentValue.put(DOCTOR_MEMBERSHIP_ID, doc_membership_id);\n contentValue.put(PATIENT_INFO_TYPE_FORM, patient_info_type_form);\n contentValue.put(FIRST_NAME, pat_first_name);\n contentValue.put(MIDDLE_NAME, pat_middle_name);\n contentValue.put(LAST_NAME, pat_last_name);\n\n contentValue.put(GENDER, pat_gender);\n contentValue.put(DOB, pat_date_of_birth);\n contentValue.put(AGE, pat_age);\n contentValue.put(PHONE_NUMBER, pat_mobile_no);\n contentValue.put(PATIENT_ADDRESS, pat_address);\n contentValue.put(PATIENT_CIT_CITY_TOWN, pat_city_town);\n\n contentValue.put(PIN_CODE, pat_pincode);\n contentValue.put(DISTRICT, pat_district);\n contentValue.put(LANGUAGE, pref_lang);\n contentValue.put(PHOTO, photo_name);\n contentValue.put(CONSENT, consent);\n contentValue.put(SPECIAL_INSTRUCTION, special_instruction);\n\n contentValue.put(ADDED_BY, added_by);\n contentValue.put(ADDED_ON, added_on);\n contentValue.put(ADDED_TIME, addedTime);\n contentValue.put(MODIFIED_BY, modified_by);\n contentValue.put(MODIFIED_ON, modified_on);\n contentValue.put(IS_DISABLED, is_disabled);\n contentValue.put(DISABLED_BY, disabled_by);\n\n contentValue.put(DISABLED_ON, disabled_on);\n contentValue.put(IS_DELETED, is_deleted);\n contentValue.put(DELETED_BY, deleted_by);\n contentValue.put(DELETED_ON, deleted_on);\n contentValue.put(SYCHRONIZED, flag);\n\n contentValue.put(KEY_EMAIL, email);\n contentValue.put(PHONE_TYPE, phoneType);\n contentValue.put(ISD_CODE, isdCode);\n contentValue.put(ALTERNATE_PHONE_NO, alternateNumber);\n contentValue.put(ALTERNATE_PHONE_TYPE, alternatePhoneType);\n contentValue.put(ATERNATE_NO_ISD_CODE, alternateNoIsd);\n contentValue.put(UID, uid);\n contentValue.put(UIDTYPE, uidType);\n contentValue.put(STATUS, status);\n\n db.delete(TABLE_PATIENT, KEY_PATIENT_ID + \" = ?\" + \" AND \" + DOB + \" = ? \" + \" AND \" + PHONE_NUMBER + \" = ? \" + \" AND \" + ADDED_ON + \" = ? \", new String[]{pat_id, pat_date_of_birth, pat_mobile_no, added_on});\n // Inserting Row\n db.insert(TABLE_PATIENT, null, contentValue);\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n if (db != null) {\n db.close(); // Closing database connection\n }\n }\n }", "@Override\n public PatientCaseDto createByDoctor(PatientCaseDto patientCaseDto) {\n return null;\n }", "@Override\n\tpublic Patient save(Patient patient) {\n\t\t// setting logger info\n\t\tlogger.info(\"save the details of the patient\");\n\t\treturn patientRepo.save(patient);\n\t}", "private Patient setPatientIdentifier(Patient patient){\n\t\tUUID u = new UUID(1,0);\n\t\ttry{\n\t\t\tUUID randomUUID = u.randomUUID();\n\t\t\tPatientIdentifier pi = new PatientIdentifier();\n\t\t\tpi.setIdentifier(randomUUID.toString());\n\t\t\tpatient.addIdentifier(pi);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn patient;\n\t}", "public boolean createPersonalDetails(Integer staffID, String surname, String name, Date dob, String address, String town, String county,\n String postCode, String telNo, String mobileNo, String emergencyContact, String emergencyContactNo){\n\n\n hrDB.addPDRecord(staffID, surname, name, dob, address, town, county,\n postCode, telNo, mobileNo, emergencyContact, emergencyContactNo);\n return true;\n\n\n }", "public String createTRecord(String firstName, String lastName, String address, String phone, String specialization,\n\t\t\tString location, String managerID);", "Patient update(Patient patient);", "@Override\n\tpublic Patientstreatments createpatienttreat(patienttreatmentDto ptd) {\n\t\tPatientstreatments pt = new Patientstreatments();\n\t\tpt.setOther_Details(ptd.getOtherdetails());\n\t\t\n\t\t \n\t\tPatients pp = new Patients();\n\t\t\t\t//pp.setDateOfbirth(ptd.getDateOfbirth());\n\t\t pt.setPatient(pp);\n\t\t \n\t\t Treatments treat = new Treatments();\n\t\t treat.setTreatmentcost(ptd.getTreatmentcost());\n\t\t treat.setMedicationorsugery(ptd.getMedicationorsugery());\n\t\t treat.setOtherdetails(ptd.getOtherdetails());\n\t\t pt.setTreatment(treat);\n\t\t \n\t\t Refcalendar cal = new Refcalendar();\n\t\t cal.setDay_Date_Time(ptd.getDay_Date_Time());\n\t\t cal.setDay_Number(ptd.getDay_Number());\n\t\t pt.setRefCalendar(cal);\n\t\t \n\t\t Helpscore help = new Helpscore();\n\t\t help.setHelp_Score(ptd.getHelp_Score());\n\t\t pt.setHelpScore(help);\n\t\t \n\t\t Sideeffectscores side = new Sideeffectscores();\n\t\t side.setSide_Effect_Score(ptd.getSide_Effect_Score());\n\t\t pt.setSideEffectScore(side);\n\t\t \t\t \n\t\treturn patreatrep.save(pt);\n\t}", "TeacherRecord createTeacherRecord(String firstName, String lastName, String address, String phone,\n\t\t\tCourseType specialization, String location, String clientId) throws Exception;", "int insert(PublicDoctorNotice record);", "int insert(ac_teacher_instrument record);", "public static Patient createPatient(String givenName, String familyName, String gender, String birthdate,\n String line, String city, String postalCode, String country,\n String birthplaceCity, String birthplaceCountry){\n // Create a patient object\n Patient patient = new Patient();\n\n // Set Identifier of the patient object\n patient.addIdentifier()\n .setSystem(\"http://www.kh-uzl.de/fhir/patients\")\n .setValue(UUID.randomUUID().toString());\n\n // Set official name of the patient object\n patient.addName()\n .setUse(HumanName.NameUse.OFFICIAL)\n .setFamily(familyName)\n .addGiven(givenName);\n\n // Set gender of the patient object\n if(gender.equals(\"MALE\")){\n patient.setGender(Enumerations.AdministrativeGender.MALE);\n }\n else if(gender.equals(\"FEMALE\")){\n patient.setGender(Enumerations.AdministrativeGender.FEMALE);\n }\n else if(gender.equals(\"OTHER\")){\n patient.setGender(Enumerations.AdministrativeGender.OTHER);\n }\n else{\n patient.setGender(Enumerations.AdministrativeGender.UNKNOWN);\n }\n\n // Set birth date of the patient object\n patient.setBirthDateElement(new DateType(birthdate));\n\n // Set address date of the patient object\n patient.addAddress()\n .setUse(Address.AddressUse.HOME)\n .setType(Address.AddressType.BOTH)\n .addLine(line)\n .setCity(city)\n .setPostalCode(postalCode)\n .setCountry(country);\n\n // Set birthplace of the patient object\n Extension ext = new Extension();\n ext.setUrl(\"http://hl7.org/fhir/StructureDefinition/patient-birthPlace\");\n Address birthplace = new Address();\n birthplace.setCity(birthplaceCity).setCountry(birthplaceCountry);\n ext.setValue(birthplace);\n patient.addExtension(ext);\n\n return patient;\n }", "public void addNewPatient(View v) {\n\tDataHandler dh;\n\ttry {\n\t dh = new DataHandler(this.getApplicationContext().getFilesDir(),\n\t\t DataHandler.PATIENT_DATA);\n\t vitalSigns\n\t\t .put(new Date(),\n\t\t\t new VitalSigns(\n\t\t\t\t Double.parseDouble(((EditText) findViewById(R.id.temperature_field))\n\t\t\t\t\t .getText().toString()),\n\t\t\t\t Double.parseDouble(((EditText) findViewById(R.id.heartRate_field))\n\t\t\t\t\t .getText().toString()),\n\t\t\t\t new BloodPressure(\n\t\t\t\t\t Integer.parseInt(((EditText) findViewById(R.id.bloodpressure_systolic_field))\n\t\t\t\t\t\t .getText().toString()),\n\t\t\t\t\t Integer.parseInt(((EditText) findViewById(R.id.bloodpressure_diastolic_field))\n\t\t\t\t\t\t .getText().toString()))));\n\t Patient pat = new Patient(personalData, vitalSigns, symptoms,\n\t\t new Date(), new Prescription());\n\n\t dh.appendNewPatient(pat);\n\t try {\n\t\tdh.savePatientsToFile(this\n\t\t\t.getApplicationContext()\n\t\t\t.openFileOutput(DataHandler.PATIENT_DATA, MODE_PRIVATE));\n\t } catch (FileNotFoundException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t }\n\t} catch (NumberFormatException e) {\n\t // TODO Auto-generated catch block\n\t e.printStackTrace();\n\t} catch (IOException e) {\n\t // TODO Auto-generated catch block\n\t e.printStackTrace();\n\t} catch (ParseException e) {\n\t // TODO Auto-generated catch block\n\t e.printStackTrace();\n\t}\n\n\tIntent newIntent = new Intent(this, DisplayActivityNurse.class);\n\tstartActivity(newIntent);\n }", "public void addPatientNextVisitRecord(@NonNull String visit_id, @NonNull String strPatientId, String actualFod, String daysSel, String fowSel, String monthSel, String clinical_note, String prescriptionimgPath, String visit_date, String doc_id, String doc_mem_id, String addedOnDate, String addedTime, String flag, String added_by, String action, String patInfoType,\n String weight, String pulse, String bp, String mmhg, String temparature, String symptoms, String dignosis, String strHeight, String strbmi, String referedBy, String referedTo, String strFollowUpStatus, String rec_source, String strSpo2, String strRespirationRate, String strObesity) {\n\n SQLiteDatabase db = this.getWritableDatabase();\n\n try {\n ContentValues values = new ContentValues();\n\n values.put(KEY_VISIT_ID, visit_id);\n values.put(KEY_PATIENT_ID, strPatientId);\n values.put(ACTUAL_FOLLOW_UP_DATE, actualFod);\n values.put(DAYS, daysSel);\n values.put(WEEKS, fowSel);\n values.put(MONTHS, monthSel); // Created At\n values.put(CLINICAL_NOTES, clinical_note);\n values.put(PRESCRIPTION, prescriptionimgPath);\n values.put(VISIT_DATE, visit_date);\n values.put(ADDED_ON, addedOnDate);\n values.put(ADDED_TIME, addedTime);\n values.put(DOCTOR_ID, doc_id);\n values.put(DOCTOR_MEMBERSHIP_ID, doc_mem_id);\n values.put(SYCHRONIZED, flag);\n values.put(ADDED_BY, added_by);\n values.put(ACTION, action);\n values.put(PATIENT_INFO_TYPE_FORM, patInfoType);\n values.put(WEIGHT, weight);\n values.put(PULSE, pulse);\n values.put(BP, bp);\n values.put(BP_LOW, mmhg);\n values.put(TEMP, temparature);\n values.put(SYMPTOMS, symptoms);\n values.put(DIGNOSIS, dignosis);\n values.put(HEIGHT, strHeight);\n values.put(BMI, strbmi);\n values.put(REFERED_BY, referedBy);\n values.put(REFERED_TO, referedTo);\n values.put(RECORD_SOURCE, rec_source);\n values.put(FOLLOW_UP_STATUS, strFollowUpStatus);\n values.put(SPO2, strSpo2);\n values.put(RESPIRATION, strRespirationRate);\n values.put(OBESITY, strObesity);\n\n\n db.insert(TABLE_PATIENT_HISTORY, null, values);\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n if (db != null) {\n db.close();\n }\n }\n }", "public Long createRecord(Record object);", "int insert(PersonRegisterDo record);", "int insert(HospitalType record);", "int insert(PrescriptionVerifyRecordDetail record);", "protected void contructPatientInstance() {\r\n\t\tResources resources = getApplicationContext().getResources();\r\n\t\r\n \t// constuct the patient instance\r\n try {\r\n \tsetPatientAssessment((new PatientHandlerUtils()).populateCcmPatientDetails(resources, getReviewItems()));\t\r\n\t\t} catch (ParseException e) {\r\n\t\t\tLoggerUtils.i(LOG_TAG, \"Parse Exception thrown whilst constructing patient instance\");\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public org.hl7.fhir.ResourceReference addNewPatient()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.hl7.fhir.ResourceReference target = null;\n target = (org.hl7.fhir.ResourceReference)get_store().add_element_user(PATIENT$2);\n return target;\n }\n }", "int insert(ClinicalData record);", "public void addPatientPersonalfromLocal(@NonNull int patient_id, @NonNull String doctor_id, @NonNull String first_name, String middle_name, @NonNull String last_name, String sex, String strdate_of_birth, String current_age, String phone_number, String selectedLanguage, String patientImagePath, String create_date, String doctor_membership_number, String flag, String patientInfoType, String addedTime, String added_by, String action,\n String address, String city, String district, String pinno, String state, String phoneType, String alternatePhone_no, String selectedPhoneTypealternate_no, String uid, String uidType, String selectedIsd_codeType, String alternate_no_isdcode, String email, String mOccupation, String mReligion, String strFamilyHistory, String strHospitalizationSurgery, String boloodGroup, String maritalStatus, String incomeRange, int sendSmsFlag, int days_dob, int month_dob, int year_dob) {\n\n SQLiteDatabase db = this.getWritableDatabase();\n try {\n ContentValues values = new ContentValues();\n values.put(KEY_PATIENT_ID, patient_id);\n values.put(DOCTOR_ID, doctor_id);\n values.put(FIRST_NAME, first_name); // Name\n values.put(MIDDLE_NAME, middle_name);\n values.put(LAST_NAME, last_name);\n values.put(GENDER, sex);\n\n values.put(DOB, strdate_of_birth);\n values.put(AGE, current_age);\n\n values.put(PHONE_NUMBER, phone_number);\n values.put(LANGUAGE, selectedLanguage);\n values.put(PHOTO, patientImagePath);\n\n values.put(ADDED_ON, create_date);\n\n values.put(DOCTOR_MEMBERSHIP_ID, doctor_membership_number);\n values.put(SYCHRONIZED, flag);\n values.put(PATIENT_INFO_TYPE_FORM, patientInfoType);\n values.put(ADDED_TIME, addedTime);\n values.put(ADDED_BY, added_by);\n values.put(ACTION, action);\n values.put(PATIENT_ADDRESS, address);\n values.put(PATIENT_CIT_CITY_TOWN, city);\n values.put(DISTRICT, district);\n values.put(PIN_CODE, pinno);\n values.put(PATIENT_STATE, state);\n values.put(PHONE_TYPE, phoneType);\n values.put(ALTERNATE_PHONE_NO, alternatePhone_no);\n values.put(ALTERNATE_PHONE_TYPE, selectedPhoneTypealternate_no);\n values.put(UID, uid);\n values.put(UIDTYPE, uidType);\n values.put(ISD_CODE, selectedIsd_codeType);\n values.put(ATERNATE_NO_ISD_CODE, alternate_no_isdcode);\n values.put(KEY_EMAIL, email);\n values.put(OCCUPATION, mOccupation);\n values.put(RELIGION, mReligion);\n values.put(FAMILY_HISTORT, strFamilyHistory);\n values.put(HOSPITALIZATION_SUREGERY, strHospitalizationSurgery);\n values.put(BLOOD_GROUP, boloodGroup);\n values.put(MARITIAL_STATUS, maritalStatus);\n values.put(INCOME_RANGE, incomeRange);\n values.put(CONSENT, sendSmsFlag);\n\n values.put(DAYS_DOB, days_dob);\n values.put(MONTH_DOB, month_dob);\n values.put(YEAR_DOB, year_dob);\n\n\n // Inserting Row\n // db.insert(TABLE_PATIENT, null, values);\n db.insertWithOnConflict(TABLE_PATIENT, null, values, SQLiteDatabase.CONFLICT_REPLACE);\n\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n if (db != null) {\n db.close();\n }\n }\n }", "public Patient(String n, String type){\n name =\"Brendan\";\n pid = \"01723-X72312-7123\";\n birthDate = new Date();\n nationalID = n;\n sex =\"Female\";\n mothersName = \"Mary\";\n fathersName = \"John\";\n enrolledSchema = new Schema();\n doctype = 1;\n }", "public void insertPatientShortInfo(PatientShortInfo patient) throws DataAccessException {\n\t\tjdbcTemplate.update(\n\t\t \"INSERT INTO patient (id, name, second_name, surname, born_date, id_number, \"\n\t\t\t\t+ \"sex, phone_number, nationality, insurance_number, home_address, health_status, \"\n\t\t\t\t+ \"disease, medicines, allergies) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)\",\n\t\t\t\tpatient.getId(), patient.getName(), patient.getSecondName(), patient.getSurname(),\n\t\t\t\tpatient.getBornDate(), patient.getIdNumber(), patient.getSex(), patient.getPhoneNumber(),\n\t\t\t\tpatient.getNationality(), patient.getInsuranceNumber(), patient.getHomeAddress(),\n\t\t\t\tpatient.getHealthStatus(), patient.getDisease(), patient.getMedicines(), patient.getAllergies());\n\t}", "private void storePatient(final Patient patient) {\n\n\t\ttry {\n\t\t\tpatients.put(patient.getIdentifierFirstRep().getValue(), patient);\n\t\t\t// if storing is successful the notify the listeners that listens on\n\t\t\t// any patient => patient/*\n\n\t\t\tfinal String bundleToString = currentPatientsAsJsonString();\n\n\t\t\tbroadcaster\n\t\t\t\t\t.broadcast(new OutboundEvent.Builder().name(\"patients\").data(String.class, bundleToString).build());\n\n\t\t} catch (final Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "public void createResident(Resident resident);", "public void addPatient(Patient P)\r\n {\r\n\t int age =0;\r\n\t String secQ =\"What is your favorite food?\";\r\n\t String newPat = \"INSERT INTO PATIENTDATA (FIRSTNAME,LASTNAME,AGE,USERNAME,PASSWORD,SECURITYQN,SECURITYANS,\"+\r\n\t\t\t \t\t \"SYMPTOM1,SYMPTOM2,SYMPTOM3,SYMPTOM4,SYMPTOM5,SYMPTOM6,SYMPTOM7,\"+\r\n \t\t\t\t\t\"PrevSYMPTOM1_1,PrevSYMPTOM1_2,PrevSYMPTOM1_3,PrevSYMPTOM1_4,PrevSYMPTOM1_5,PrevSYMPTOM1_6,PrevSYMPTOM1_7,\"+\r\n \t\t\t\t\t\"PrevSYMPTOM2_1,PrevSYMPTOM2_2,PrevSYMPTOM2_3,PrevSYMPTOM2_4,PrevSYMPTOM2_5,PrevSYMPTOM2_6,PrevSYMPTOM2_7,\"+\r\n\t\t\t \t\t \"SYMPTOM1Thresh,SYMPTOM2Thresh,SYMPTOM3Thresh,SYMPTOM4Thresh,SYMPTOM5Thresh,SYMPTOM6Thresh,SYMPTOM7Thresh, DOCTORSNAME, NOTIFICATION ) \"; //added notification\r\n\t newPat = newPat+\"VALUES ('\"+P.firstName+\"', '\"+P.lastName+\"', \"+age+\", '\"+P.userName+\"', '\"+P.password+\"', '\"+secQ+\"', '\"+P.securityQuestionAnswer+\"',\"\r\n\t\t\t \t\t +P.getEnterSymptomLevel()[0]+\",\"+P.getEnterSymptomLevel()[1]+\",\"+P.getEnterSymptomLevel()[2]+\",\"+P.getEnterSymptomLevel()[3]+\",\"+P.getEnterSymptomLevel()[4]+\",\"+P.getEnterSymptomLevel()[5]+\",\"+P.getEnterSymptomLevel()[6]+\r\n\t\t\t \t\t\t\",\" +P.getPreviousSymptomLevel1()[0]+\",\"+P.getPreviousSymptomLevel1()[1]+\",\"+P.getPreviousSymptomLevel1()[2]+\",\"+P.getPreviousSymptomLevel1()[3]+\",\"+P.getPreviousSymptomLevel1()[4]+\",\"+P.getPreviousSymptomLevel1()[5]+\",\"+P.getPreviousSymptomLevel1()[6]+\",\"\r\n\t\t\t \t\t\t+P.getPreviousSymptomLevel2()[0]+\",\"+P.getPreviousSymptomLevel2()[1]+\",\"+P.getPreviousSymptomLevel2()[2]+\",\"+P.getPreviousSymptomLevel2()[3]+\",\"+P.getPreviousSymptomLevel2()[4]+\",\"+P.getPreviousSymptomLevel2()[5]+\",\"+P.getPreviousSymptomLevel2()[6]+\",\"\r\n\t\t\t \t\t\t+P.getSymptomsThreshold()[0]+\",\"+P.getSymptomsThreshold()[1]+\",\"+P.getSymptomsThreshold()[2]+\",\"+P.getSymptomsThreshold()[3]+\",\"+P.getSymptomsThreshold()[4]+\",\"+P.getSymptomsThreshold()[5]+\",\"+P.getSymptomsThreshold()[6]+\",'\"+P.getPatientsDoctor()+\"',0);\";\r\n\t \r\n\t try {\r\n\t\tstmt.executeUpdate(newPat);\r\n\t} catch (SQLException e) {\r\n\t\t\r\n\t\te.printStackTrace();\r\n\t}\r\n }", "public void addNewPatient(Date birthday, String province, String profession, String medic, int riskFactor, String description) {\n patientDao = new PatientDaoImpl();\n\n String idPatient = province + birthday.toString().replace(\"-\", \"\")\n + profession.substring(0 , 3).toUpperCase();\n\n patientDao.createPatient(idPatient, birthday, province, profession, medic,riskFactor, description);\n }", "public void careForPatient(Patient patient);", "public void CRUD(patient r1) {\n\t\t// TODO Auto-generated method stub\n\t\tString query1 = \"INSERT INTO pmohan_medicine (medicineName, review,pid,pname,Did) VALUES ( ?, ?, ?,?,?) ;\";\n\t\t\n\t\ttry(PreparedStatement statement = connection.prepareStatement(query1))\n\t\t{ \n\t\t\tstatement.setString(1, r1.getMedcineName());\n\t\t\tstatement.setString(2, r1.getReview());\t\n\t\t\tstatement.setString(4, r1.getPatientName());\n\t\t\tstatement.setInt(3, r1.getPid());\n\t\t\tstatement.setInt(5, r1.getDocId());\n\t\t\tstatement.executeUpdate();\n\t\t}\n\t\t\n\tcatch(Exception e){\n\tSystem.out.println(e.getMessage());\t\n\t}\n}", "private static void changePatient(){\r\n // opretter ny instans af tempPatinet som overskriver den gamle\r\n Patient p = new Patient(); // det her kan udskiftes med en nulstil funktion for at forsikre at der altid kun er en patient.\r\n Patient.setCprNumber((Long) null);\r\n }", "public static void createRecord() throws IOException {\r\n\t\tstudRecs.add(new Student());\r\n\t\tint i = studRecs.size() - 1;\r\n\t\tStudent tempRecord = studRecs.get(i);\r\n\t\tSystem.out.println(\"Creating Student \" + i + \" (\" + tempRecord.getStudentID() + \")\");\r\n\t\ttempRecord.setFirstName(StudentInput.firstName());\r\n\t\ttempRecord.setLastName(StudentInput.lastName());\r\n\t\ttempRecord.setStreetAddress(StudentInput.streetAddress());\r\n\t\ttempRecord.setCity(StudentInput.city());\r\n\t\ttempRecord.setProvince(StudentInput.province());\r\n\t\ttempRecord.setPostalCode(StudentInput.postalCode());\r\n\t\ttempRecord.setPhoneNumber(StudentInput.phoneNumber());\r\n\t\ttempRecord.setBirthDate(StudentInput.birthDate());\r\n\t\tSystem.out.println(\"Student \" + i + \" (\" + tempRecord.getStudentID() + \")\" + \" Created!\");\r\n\t}", "@Test\n public void testAddRecord() throws Exception {\n // Save pat1\n pat1.save();\n\n // pat1 should start with no records\n assert (pat1.getHealthRecords().length == 0);\n\n // Add one health record\n HealthRecordController.getInstance().addRecord(pat1.getPatientID(), new Date(), 1, 1, 1, 1);\n assert (pat1.getHealthRecords().length == 1);\n\n // Add another health record\n HealthRecordController.getInstance().addRecord(pat1.getPatientID(), new Date(), 2, 2, 2, 2);\n assert (pat1.getHealthRecords().length == 2);\n\n // Delete them both\n HealthRecord[] hrs = HealthRecordController.getInstance().getRecordsForPatient(pat1.getPatientID());\n for (HealthRecord hr : hrs) {\n hr.delete();\n }\n\n // Now this patient should have no HealthRecords\n assert (pat1.getHealthRecords().length == 0);\n }", "int insert(PcQualificationInfo record);", "private void addPatient(Patient patient) {\n Location location = mLocationTree.findByUuid(patient.locationUuid);\n if (location != null) { // shouldn't be null, but better to be safe\n if (!mPatientsByLocation.containsKey(location)) {\n mPatientsByLocation.put(location, new ArrayList<Patient>());\n }\n mPatientsByLocation.get(location).add(patient);\n }\n }", "public void create(Employee employee, Company company, IncomingReport incoming_report) throws IllegalArgumentException, DAOException;", "public void createPatient() throws IOException\n {\n addPatientToList();\n \n //creates the patient's empty folders and files\n File userFolder = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB); \n File patientEvaluation = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm\");\n File patientProgressReports = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/ProgressNotes\"); \n \n try\n \t{\n \tuserFolder.mkdir();\n patientEvaluation.mkdir();\n patientProgressReports.mkdir();\n \t//result = true;\n \t} \n \tcatch(SecurityException se)\n \t{\n \t//handle it\n \t} \n \t\n File listOfProgressReports = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/ProgressReports.txt\");\n FileWriter writer = new FileWriter(listOfProgressReports, true);\t \n BufferedWriter bufferedreader = new BufferedWriter(writer);\n writer.append(\"\");\n bufferedreader.close();\n writer.close();\n \n \n /*if(result) \n \t{ \n \t\tSystem.out.println(\"DIR created\"); \n \t}*/\n \n //creates the patient's empty evaluation form files\n File signedStatus = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/signed.txt\");\n FileWriter w = new FileWriter(signedStatus, true);\t \n BufferedWriter b = new BufferedWriter(w);\n w.append(\"false\");\n b.close();\n w.close();\n \n File firstName = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/first.txt\");\n FileWriter writ = new FileWriter(firstName, true);\t \n BufferedWriter bw = new BufferedWriter(writ);\n writ.append(currentPatientFirstName);\n bw.close();\n writ.close();\n \n File lastName = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/last.txt\");\n FileWriter writ1 = new FileWriter(lastName, true);\t \n BufferedWriter bw1 = new BufferedWriter(writ1);\n writ1.append(currentPatientLastName);\n bw1.close();\n writ1.close();\n \n File age = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/age.txt\");\n FileWriter writ2 = new FileWriter(age, true);\t \n BufferedWriter bw2 = new BufferedWriter(writ2);\n writ2.append(\"\");\n bw2.close();\n writ2.close();\n \n File dob = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/dateofbirth.txt\");\n FileWriter writ3 = new FileWriter(dob, true);\t \n BufferedWriter bw3 = new BufferedWriter(writ3);\n writ3.append(\"\");\n bw3.close();\n writ3.close();\n \n File maritalstatus = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/maritalstatus.txt\");\n FileWriter writ4 = new FileWriter(maritalstatus, true);\t \n BufferedWriter bw4 = new BufferedWriter(writ4);\n writ4.append(\"\");\n bw4.close();\n writ4.close();\n \n File ethnicity = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/ethnicity.txt\");\n FileWriter writ5 = new FileWriter(ethnicity, true);\t \n BufferedWriter bw5 = new BufferedWriter(writ5);\n writ5.append(\"\");\n bw5.close();\n writ5.close();\n\n File ethnicityother = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/ethnicity-other.txt\");\n FileWriter writt = new FileWriter(ethnicityother, true);\t \n BufferedWriter bww = new BufferedWriter(writt);\n writt.append(\"\");\n bww.close();\n writt.close();\n \n File sex = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/sex.txt\");\n FileWriter writ6 = new FileWriter(sex, true);\t \n BufferedWriter bw6 = new BufferedWriter(writ6);\n writ6.append(\"\");\n bw6.close();\n writ6.close();\n \n File referredBy = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/referredby.txt\");\n FileWriter writ7 = new FileWriter(referredBy, true);\t \n BufferedWriter bw7 = new BufferedWriter(writ7);\n writ7.append(\"\");\n bw7.close();\n writ7.close();\n \n File referredByTherapist = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/referredby-therapist.txt\");\n FileWriter writ8 = new FileWriter(referredByTherapist, true);\t \n BufferedWriter bw8 = new BufferedWriter(writ8);\n writ8.append(\"\");\n bw8.close();\n writ8.close();\n \n File referredByOther = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/referredby-other.txt\");\n FileWriter writ9 = new FileWriter(referredByOther, true);\t \n BufferedWriter bw9 = new BufferedWriter(writ9);\n writ9.append(\"\");\n bw9.close();\n writ9.close();\n \n //dr. prince\n File reasonForReferral = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/reasonforreferral.txt\");\n FileWriter writ10 = new FileWriter(reasonForReferral, true);\t \n BufferedWriter bw10 = new BufferedWriter(writ10);\n writ10.append(\"\");\n bw10.close();\n writ10.close();\n \n File sourceOfInformation = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/sourceofinformation.txt\");\n FileWriter writ11 = new FileWriter(sourceOfInformation, true);\t \n BufferedWriter bw11 = new BufferedWriter(writ11);\n writ11.append(\"\");\n bw11.close();\n writ11.close();\n \n File sourceOfInformationOther = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/sourceofinformation-other.txt\");\n FileWriter writ12 = new FileWriter(sourceOfInformationOther, true);\t \n BufferedWriter bw12 = new BufferedWriter(writ12);\n writ12.append(\"\");\n bw12.close();\n writ12.close();\n \n File reliabilityOfInformation = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/reliabilityofinformation.txt\");\n FileWriter writ13 = new FileWriter(reliabilityOfInformation, true);\t \n BufferedWriter bw13 = new BufferedWriter(writ13);\n writ13.append(\"\");\n bw13.close();\n writ13.close();\n \n File reliabilityOfInformationOther = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/reliabilityofinformation-other.txt\");\n FileWriter writ14 = new FileWriter(reliabilityOfInformationOther, true);\t \n BufferedWriter bw14 = new BufferedWriter(writ14);\n writ14.append(\"\");\n bw14.close();\n writ14.close();\n \n File historyOfPresentIllness = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/historyofpresentillness.txt\");\n FileWriter writ15 = new FileWriter(historyOfPresentIllness, true);\t \n BufferedWriter bw15 = new BufferedWriter(writ15);\n writ15.append(\"\");\n bw15.close();\n writ15.close();\n \n File signsSymptoms = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/signsandsymptoms.txt\");\n FileWriter writ16 = new FileWriter(signsSymptoms, true);\t \n BufferedWriter bw16 = new BufferedWriter(writ16);\n writ16.append(\"\");\n bw16.close();\n writ16.close();\n \n File currentMedications = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/currentmedications.txt\");\n FileWriter writ17 = new FileWriter(currentMedications, true);\t \n BufferedWriter bw17 = new BufferedWriter(writ17);\n writ17.append(\"\");\n bw17.close();\n writ17.close();\n \n File pastHistoryOf = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/pasthistoryof.txt\");\n FileWriter writ18 = new FileWriter(pastHistoryOf, true);\t \n BufferedWriter bw18 = new BufferedWriter(writ18);\n writ18.append(\"\");\n bw18.close();\n writ18.close();\n \n File pastHistoryOfText = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/pasthistoryoftext.txt\");\n FileWriter writ19 = new FileWriter(pastHistoryOfText, true);\t \n BufferedWriter bw19 = new BufferedWriter(writ19);\n writ19.append(\"\");\n bw19.close();\n writ19.close();\n \n File medicationTrialsTable = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/medicationtrialstable.txt\");\n FileWriter writ20 = new FileWriter(medicationTrialsTable, true);\t \n BufferedWriter bw20 = new BufferedWriter(writ20);\n writ20.append(\"\");\n bw20.close();\n writ20.close();\n \n File medicationTrialsComments = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/medicationtrialscomments.txt\");\n FileWriter writ21 = new FileWriter(medicationTrialsComments, true);\t \n BufferedWriter bw21 = new BufferedWriter(writ21);\n writ21.append(\"\");\n bw21.close();\n writ21.close();\n \n File substanceUseHistory = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/substanceusehistory.txt\");\n FileWriter writ22 = new FileWriter(substanceUseHistory, true);\t \n BufferedWriter bw22 = new BufferedWriter(writ22);\n writ22.append(\"\");\n bw22.close();\n writ22.close();\n \n File deniesHistoryOf = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/denieshistoryof.txt\");\n FileWriter writ23 = new FileWriter(deniesHistoryOf, true);\t \n BufferedWriter bw23 = new BufferedWriter(writ23);\n writ23.append(\"\");\n bw23.close();\n writ23.close();\n \n File deniesHistoryOfText = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/denieshistoryoftext.txt\");\n FileWriter writ24 = new FileWriter(deniesHistoryOfText, true);\t \n BufferedWriter bw24 = new BufferedWriter(writ24);\n writ24.append(\"\");\n bw24.close();\n writ24.close();\n \n File socialHistoryText = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/socialhistorytext.txt\");\n FileWriter writ25 = new FileWriter(socialHistoryText, true);\t \n BufferedWriter bw25 = new BufferedWriter(writ25);\n writ25.append(\"\");\n bw25.close();\n writ25.close();\n \n File socialHistoryParents = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/socialhistoryparents.txt\");\n FileWriter writ26 = new FileWriter(socialHistoryParents, true);\t \n BufferedWriter bw26 = new BufferedWriter(writ26);\n writ26.append(\"\");\n bw26.close();\n writ26.close();\n \n File socialHistorySiblings = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/socialhistorysiblings.txt\");\n FileWriter writ27 = new FileWriter(socialHistorySiblings, true);\t \n BufferedWriter bw27 = new BufferedWriter(writ27);\n writ27.append(\"\");\n bw27.close();\n writ27.close();\n \n File socialHistoryChildren = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/socialhistorychildren.txt\");\n FileWriter writ28 = new FileWriter(socialHistoryChildren, true);\t \n BufferedWriter bw28 = new BufferedWriter(writ28);\n writ28.append(\"\");\n bw28.close();\n writ28.close();\n \n File familyHistoryOfMentalIllness = new File(installationPath + \"/userdata/\" + currentPatientFirstName + currentPatientLastName + currentPatientDOB + \"/EvaluationForm/familyhistoryofmentalillness.txt\");\n FileWriter writ29 = new FileWriter(familyHistoryOfMentalIllness, true);\t \n BufferedWriter bw29 = new BufferedWriter(writ29);\n writ29.append(\"\");\n bw29.close();\n writ29.close();\n \n }", "public void createAppointment(Doctor doctor, Patient patient, Date date, String time)\n {\n AppointmentListSingleton appointments = AppointmentListSingleton.getInstance();\n appointments.addAppointment(doctor, patient, date, time);\n }", "@Override\r\n public long insertRecord(Object o) throws SQLException {\r\n\r\n String sql = \"insert into patient (LastName, FirstName, Diagnosis, AdmissionDate, ReleaseDate) values (?,?,?,?,?)\";\r\n long result = -1;\r\n PatientBean pb;\r\n\r\n try (PreparedStatement pStatement = connection.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS);) {\r\n\r\n pb = (PatientBean) o;\r\n\r\n pStatement.setString(1, pb.getLastName());\r\n pStatement.setString(2, pb.getFirstName());\r\n pStatement.setString(3, pb.getDiagnosis());\r\n pStatement.setTimestamp(4, pb.getAdmissionDate());\r\n pStatement.setTimestamp(5, pb.getReleaseDate());\r\n\r\n pStatement.executeUpdate();\r\n\r\n // Retrieve new primary key\r\n try (ResultSet rs = pStatement.getGeneratedKeys()) {\r\n if (rs.next()) {\r\n result = rs.getLong(1);\r\n }\r\n }\r\n }\r\n\r\n logger.info(\"New patient record has been added: \" + pb.getFirstName() + \" \" + pb.getLastName() + \", new patient id: \" + result);\r\n\r\n return result;\r\n }", "public void addPatient()\n {\n Scanner sc=new Scanner(System.in);\n System.out.println(\"Enter name of patient\");\n String name=sc.nextLine();\n int pos,id;\n\n do\n {\n System.out.println(\"Enter doctor id to assign to\");\n id=sc.nextInt();\n pos=checkDoctor(id);\n if(pos==-1)\n System.out.println(\"Invalid doctor id\");\n }\n while(pos==-1);\n String docname=doc.get(pos).getName();\n Patient p=new Patient(name,id,docname);\n pt.add(p);\n\n }", "@Insert(\"INSERT into addresses(id_address, city, zip_code, street, number) VALUES (\" +\n \"#{addressId}, #{city}, #{zip}, #{street}, #{number})\")\n @Options(useGeneratedKeys = true, keyProperty = \"addressId\", keyColumn = \"id_address\")\n void addPatientAddressAsChild(Address address);", "int insert(MedicalOrdersExecutePlan record);", "public Patient (String patientID) {\n this.patientID = patientID;\n this.associatedDoctor = new ArrayList<>();\n }", "@Override\n\tpublic void save(PatientTelephone patientTelephone) {\n\t\tthis.sessionFactory.getCurrentSession().save(patientTelephone);\n\t}", "int insert(BusinessRepayment record);", "public void addAnalysisByPatient(Analysis analysis, Patient patient){\n try {\n analysisDAO.addAnalysis(analysis, patient);\n log.info(analysisDAO);\n log.info(\"Analyzes was added!\");\n } catch (PersistenceException e) {\n e.printStackTrace();\n log.info(\"Analyzes was not added!\");\n }\n }", "int insert(ResourcePojo record);", "public long addPatient(Patient pat) throws PatientExn{\n\t\tlong pid = pat.getPatientId();\n\t\tTypedQuery<Patient> query = \n\t\t\t\tem.createNamedQuery(\"SearchPatientByPatientID\", Patient.class).setParameter(\"pid\", pid);\n\t\tList<Patient> patients = query.getResultList();\n\t\tif (patients.size() < 1) {\n\t\t\tem.persist(pat);\n\t\t\tpat.setTreatmentDAO(this.treatmentDAO);\n\t\t\treturn pat.getId();\n\t\t}\n\t\telse {\n\t\t\tPatient pat2 = patients.get(0);\n\t\t\tthrow new PatientExn(\"\\nInsertion: Patient with patient id (\"+ pid \n\t\t\t\t\t+\") already exists.\\n** Name: \"+ pat2.getName());\n\t\t}\n\t}", "int insertSelective(PublicDoctorNotice record);", "void createRuntimeRecord(ScriptRuntimeDTO record) throws PersistenceException;", "public void savePatientDetails(View view){\r\n\t\tsaveToSQLite();\r\n createCalendarEntry();\r\n\t\tToast.makeText(this, \"Saved. Reminder created.\", Toast.LENGTH_SHORT).show();\r\n\t}", "public void create(Person p) {\n\t\t\n\t}", "int insert(TdxNoticeCertificate record);", "public Patient(String firstName, String lastName, String birthdate, String gender,\n\t\t\tString address1, String address2, String city, String state, String zipcode, String country,\n\t\t\tString insuranceProvider, String insuranceNumber) {\n this.patientID = -1;\n this.firstName = firstName;\n this.lastName = lastName;\n this.birthdate = birthdate;\n this.gender = gender;\n this.address1 = address1;\n this.address2 = address2;\n this.city = city;\n this.state = state;\n this.zipcode = zipcode;\n this.country = country;\n this.insuranceProvider = insuranceProvider;\n this.insuranceNumber = insuranceNumber;\n }", "int insert(LawPerson record);", "int insertSelective(PersonRegisterDo record);", "int insert(FinancialManagement record);", "@Override\n public Paciente create(Paciente paciente) {\n return this.pacienteRepository.save(paciente);\n }", "public Patient(int patientID, String firstName, String lastName, String birthdate,\n\t\t\tString gender, String address1, String address2, String city, String state, String zipcode,\n\t\t\tString country, String insuranceProvider, String insuranceNumber) {\n\t\tthis.patientID = patientID;\n\t\tthis.firstName = firstName;\n\t\tthis.lastName = lastName;\n\t\tthis.birthdate = birthdate;\n\t\tthis.gender = gender;\n\t\tthis.address1 = address1;\n\t\tthis.address2 = address2;\n\t\tthis.city = city;\n\t\tthis.state = state;\n\t\tthis.zipcode = zipcode;\n\t\tthis.country = country;\n\t\tthis.insuranceProvider = insuranceProvider;\n\t\tthis.insuranceNumber = insuranceNumber;\n\t}", "int insert(RepaymentPlanInfoUn record);", "@Transactional\n\tpublic void addPatientByAdminOrEmployee(Patient patient) throws Exception {\n\t\tString password = passwordService.createPassword();\n\t\tString passwordEncode = passwordEncoder.encode(password);\n\t\tUser user = patient.getUser();\n\t\tuser.setEnabled(true);\n\t\tuser.setPassword(passwordEncode);\n\t\tOptional<Role> role = roleRepository.findById(2L);\n List<Role> roles = new ArrayList<>();\n roles.add(role.get());\n user.setRoles(roles);\n patient.setRegisterDateTime(LocalDateTime.now());\n final User userFromRequest = getUserFromRequest();\n patient.setUserRegister(userFromRequest);\n\t\tpatientRepository.save(patient);\n String emailSubject = messageSource.getMessage(\"patient.add.email.subject\", null, new Locale(patient.getUser().getLanguage()));\n String emailContent = messageSource.getMessage(\"patient.add.email.content.admin\",\n new String[]{patient.getUser().getFirstName(), patient.getUser().getLastName(), patient.getUser().getUsername(), \n \t\tpassword, emailService.getMailFrom()},\n new Locale(patient.getUser().getLanguage()));\n emailService.sendEmail(patient.getUser().getEmail(), emailSubject, emailContent);\n\t}", "int insert(ScPartyMember record);", "int insert(DepAcctDO record);", "public void recordPrescription(Date date, String healthCardNum, String name, String instructions){\n\t\t\n\t\t// The Patient with health card number healthCardNum is InTriage.\n\t \tif (this.getInTriagePatients().contains(healthCardNum)){\n\t \t\tPatient patient = this.getInTriagePatients().getPatientByCardNum(healthCardNum);\n\t\t\tPrescription prescription = new Prescription(name, instructions);\n\t\t\t\n\t\t\t// Sets a prescription entry to the prescription record of this \n\t\t\t// InTriage Patient.\n\t\t\tpatient.setPrescription(date, prescription);\n\t \t}\n\t \t\n\t // The Patient with health card number healthCardNum is PostTriage.\n\t \telse if (this.getPostTriagePatients().containsKey(healthCardNum)){\n\t \t\tPatient patient \n\t \t\t= this.getPostTriagePatients().get(healthCardNum);\n\t\t\tPrescription prescription = new Prescription(name, instructions);\n\t\t\t\n\t\t\t// Sets a prescription entry to the prescription record of this \n\t\t\t// PostTriage Patient.\n\t\t\tpatient.setPrescription(date, prescription);\n\t \t}\n\t}", "public Patient() {\r\n\r\n\t}", "@PostMapping(\"/tbl-phones\")\n @Timed\n public ResponseEntity<TblPhone> createTblPhone(@Valid @RequestBody TblPhone tblPhone) throws URISyntaxException {\n log.debug(\"REST request to save TblPhone : {}\", tblPhone);\n if (tblPhone.getId() != null) {\n throw new BadRequestAlertException(\"A new tblPhone cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n TblPhone result = tblPhoneRepository.save(tblPhone);\n return ResponseEntity.created(new URI(\"/api/tbl-phones/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "public void addPatientHistoryRecords(String visit_id, String pat_id, String ailment, String visit_date, String follow_up_date,\n String follow_up_days, String follow_up_weeks, String follow_up_months,\n String act_follow_up_date, String notes, String added_by, String added_on, String addedTime,\n String modified_by, String modified_on, String is_disabled, String disabled_by,\n String disabled_on, String is_deleted, String deleted_by, String deleted_on, String flag, String patient_info_type_form,\n String precription, String weight, String pulse, String bphigh, String bplow, String temparature, String sugar, String symptoms, String dignosis, String tests, String drugs, String doc_mem_id, String doc_id,\n String height, String bmi, String recordSource, String sugarFast, String referredBy, String referredTo) {\n\n SQLiteDatabase db = this.getWritableDatabase();\n\n try {\n ContentValues contentValue = new ContentValues();\n\n contentValue.put(KEY_VISIT_ID, visit_id);\n contentValue.put(KEY_PATIENT_ID, pat_id);\n contentValue.put(AILMENT, ailment);\n contentValue.put(VISIT_DATE, visit_date);\n contentValue.put(FOLLOW_UP_DATE, follow_up_date);\n contentValue.put(DAYS, follow_up_days);\n contentValue.put(WEEKS, follow_up_weeks);\n contentValue.put(MONTHS, follow_up_months);\n contentValue.put(ACTUAL_FOLLOW_UP_DATE, act_follow_up_date);\n contentValue.put(CLINICAL_NOTES, notes);\n contentValue.put(ADDED_BY, added_by);\n contentValue.put(ADDED_ON, added_on);\n contentValue.put(ADDED_TIME, addedTime);\n contentValue.put(MODIFIED_BY, modified_by);\n contentValue.put(MODIFIED_ON, modified_on);\n contentValue.put(IS_DISABLED, is_disabled);\n contentValue.put(DISABLED_BY, disabled_by);\n\n contentValue.put(DISABLED_ON, disabled_on);\n contentValue.put(IS_DELETED, is_deleted);\n contentValue.put(DELETED_BY, deleted_by);\n contentValue.put(DELETED_ON, deleted_on);\n contentValue.put(SYCHRONIZED, flag);\n contentValue.put(PATIENT_INFO_TYPE_FORM, patient_info_type_form);\n contentValue.put(WEIGHT, weight);\n contentValue.put(PRESCRIPTION, precription);\n contentValue.put(PULSE, pulse);\n contentValue.put(BP, bphigh);\n contentValue.put(BP_LOW, bplow);\n contentValue.put(TEMP, temparature);\n contentValue.put(SUGAR, sugar);\n contentValue.put(SYMPTOMS, symptoms);\n contentValue.put(DIGNOSIS, dignosis);\n contentValue.put(TESTS, tests);\n contentValue.put(DRUGS, drugs);\n contentValue.put(DOCTOR_MEMBERSHIP_ID, doc_mem_id);\n contentValue.put(DOCTOR_ID, doc_id);\n\n contentValue.put(HEIGHT, height);\n contentValue.put(BMI, bmi);\n contentValue.put(RECORD_SOURCE, recordSource);\n contentValue.put(SUGAR_FASTING, sugarFast);\n contentValue.put(REFERED_BY, referredBy);\n contentValue.put(REFERED_TO, referredTo);\n\n db.delete(TABLE_PATIENT_HISTORY, KEY_PATIENT_ID + \" = ?\" + \" AND \" + KEY_VISIT_ID + \" = ? \", new String[]{pat_id, visit_id});\n // Inserting Row\n db.insert(TABLE_PATIENT_HISTORY, null, contentValue);\n\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n if (db != null) {\n db.close();\n }\n }\n }", "@Override\n\tpublic void createNurseRecord(String FirstName, String LastName,NurseDesignation designation, NurseStatus status,\n\t\t\tString string, String Location) throws RemoteException \n\t{\n\t\tNurseRecord record = new NurseRecord();\n\t\trecord.FirstName = FirstName;\n\t\trecord.LastName = LastName;\n\t\trecord.designation = designation;\n\t\trecord.status = status;\n\t\trecord.statusDate = string;\n\t\trecord.getRecordID();\n\t\t\n\t\tStaffRecords.Add(record);\n\t\t\n\t\tif(Location.equals(\"MTL\")){\n\t\t\tMTLcount++;\n\t\t}\n\t\tif(Location.equals(\"DDO\")){\n\t\t\tDDOcount++;\n\t\t}\n\t\tif(Location.equals(\"LVL\")){\n\t\t\tLVLcount++;\n\t\t}\n\t\t\n\t}", "int insert(ProcurementSource record);", "int insert(DBPublicResources record);", "@Override\n\tpublic void putPatientTests(int pId, int tId) throws DAOException\n\t{\n\t\tConnection con = DBUtil.getConnection();\n\t\ttry {\n\t\t\tString query = \" insert into patient_test(P_ID,T_ID,DATE)\" + \" values (?, ?, ?)\";\n\n\t\t\tPreparedStatement preparedStmt = con.prepareStatement(query);\n\t\t\tpreparedStmt.setInt(1, pId);\n\t\t\tpreparedStmt.setInt(2, tId);\n\t\t\tpreparedStmt.setString(3, LocalDate.now().toString().trim());\n\n\t\t\tpreparedStmt.execute();\n\n\t\t\tcon.close();\n\t\t} catch (SQLException e) \n\t\t{\n\t\t\tthrow new DAOException(\"Sorry cannot reach now.\",e);\n\t\t}\n\t\tfinally \n\t\t{\n\t\t\tDBUtil.releaseResource(con);\n\t\t}\n\t}", "int insert(DrpCommissionRule record);", "public void addPatient(String name,String lasname, int age, String unam, String pas, String sec, String secAns, int sympt[],int prevSm1[],int prevSm2[],int threshold[], String dname)\r\n {\r\n\t String newPat = \"INSERT INTO PATIENTDATA (FIRSTNAME,LASTNAME,AGE,USERNAME,PASSWORD,SECURITYQN,SECURITYANS,\"+\r\n\t\t\t \t\t \"SYMPTOM1,SYMPTOM2,SYMPTOM3,SYMPTOM4,SYMPTOM5,SYMPTOM6,SYMPTOM7,\"+\r\n \t\t\t\t\t\"PrevSYMPTOM1_1,PrevSYMPTOM1_2,PrevSYMPTOM1_3,PrevSYMPTOM1_4,PrevSYMPTOM1_5,PrevSYMPTOM1_6,PrevSYMPTOM1_7,\"+\r\n \t\t\t\t\t\"PrevSYMPTOM2_1,PrevSYMPTOM2_2,PrevSYMPTOM2_3,PrevSYMPTOM2_4,PrevSYMPTOM2_5,PrevSYMPTOM2_6,PrevSYMPTOM2_7,\"+\r\n\t\t\t \t\t \"SYMPTOM1Thresh,SYMPTOM2Thresh,SYMPTOM3Thresh,SYMPTOM4Thresh,SYMPTOM5Thresh,SYMPTOM6Thresh,SYMPTOM7Thresh, DOCTORSNAME, NOTIFICATION) \";\r\n\t newPat = newPat+\"VALUES ('\"+name+\"', '\"+lasname+\"', \"+age+\", '\"+unam+\"', '\"+pas+\"', '\"+sec+\"', '\"+secAns+\"',\"\r\n\t\t\t \t\t +sympt[0]+\",\"+sympt[1]+\",\"+sympt[2]+\",\"+sympt[3]+\",\"+sympt[4]+\",\"+sympt[5]+\",\"+sympt[6]+\r\n\t\t\t \t\t\t\",\" +prevSm1[0]+\",\"+prevSm1[1]+\",\"+prevSm1[2]+\",\"+prevSm1[3]+\",\"+prevSm1[4]+\",\"+prevSm1[5]+\",\"+prevSm1[6]+\",\"\r\n\t\t\t \t\t\t+prevSm2[0]+\",\"+prevSm2[1]+\",\"+prevSm2[2]+\",\"+prevSm2[3]+\",\"+prevSm2[4]+\",\"+prevSm2[5]+\",\"+prevSm2[6]+\",\"\r\n\t\t\t \t\t\t+threshold[0]+\",\"+threshold[1]+\",\"+threshold[2]+\",\"+threshold[3]+\",\"+threshold[4]+\",\"+threshold[5]+\",\"+threshold[6]+\",'\"+dname+\"',0);\";\r\n\t \r\n\t try {\r\n\t\tstmt.executeUpdate(newPat);\r\n\t\t\r\n\t\t\r\n\t} catch (SQLException e) {\r\n\t\t\r\n\t\te.printStackTrace();\r\n\t}\r\n\t \r\n }", "@Override\n\tpublic void createResident(Resident resident) {\n\t\tgetSession().saveOrUpdate(resident);\n\t\tSystem.out.println(\"Resident stored successfully\");\n\t\t\n\t}", "public void patientPost(String firstName, String lastName, String facility, String dob, String sex){\n\n Callback<Users> callback = new Callback<Users>() {\n\n @Override\n public void success(Users serverResponse, Response response2) {\n if(serverResponse.getResponseCode() == 0){\n BusProvider.getInstance().post(produceServerEvent(serverResponse));\n }else{\n BusProvider.getInstance().post(produceErrorEvent(serverResponse.getResponseCode(),\n serverResponse.getMessage()));\n }\n }\n\n @Override\n public void failure(RetrofitError error) {\n if(error != null ){\n Log.e(TAG, error.getMessage());\n error.printStackTrace();\n }\n BusProvider.getInstance().post(produceErrorEvent(-200,error.getMessage()));\n }\n };\n communicatorInterface.postData(firstName, lastName, dob, facility, sex, callback);\n }", "private void makeDiagnosis(Patient patient, String diagnosis) {\n patient.setDiagnosis(diagnosis);\n }", "@Override\n public final boolean create(T toCreate) {\n if (toCreate == null) {\n throw new IllegalArgumentException(\"Argument cannot be null\");\n }\n return addRecord(toCreate);\n }", "public Patient() {\n\t\t\n\t}" ]
[ "0.7268592", "0.72145617", "0.68581563", "0.68181187", "0.6649591", "0.66244334", "0.66022086", "0.65874743", "0.6546008", "0.63657945", "0.63261956", "0.62983453", "0.62723863", "0.62661093", "0.6264788", "0.62591296", "0.61753243", "0.6173465", "0.61686623", "0.6148814", "0.6127628", "0.60989445", "0.60542333", "0.60484624", "0.60286105", "0.60266036", "0.60254717", "0.5987128", "0.5972203", "0.59639025", "0.595351", "0.5940443", "0.59400463", "0.593078", "0.590168", "0.5866575", "0.5837195", "0.581772", "0.579298", "0.5792743", "0.5788144", "0.57676256", "0.57567406", "0.57532316", "0.5714036", "0.5701582", "0.56689084", "0.56684184", "0.56593734", "0.56586814", "0.5632293", "0.5626749", "0.5613538", "0.5613423", "0.5599973", "0.5567597", "0.55644584", "0.5556656", "0.5555035", "0.55543953", "0.55343515", "0.5531839", "0.5521551", "0.55135155", "0.5511911", "0.5504586", "0.5480774", "0.5477697", "0.5477448", "0.5473553", "0.5471567", "0.5466316", "0.54587066", "0.5452858", "0.5450897", "0.5446394", "0.54422146", "0.5440249", "0.5430117", "0.5424206", "0.5419904", "0.54174274", "0.54113215", "0.5411011", "0.5410265", "0.53975594", "0.5397413", "0.5393345", "0.5385138", "0.5384907", "0.5384285", "0.53716993", "0.53630406", "0.5358342", "0.53551036", "0.53550154", "0.53278214", "0.5326659", "0.5322413", "0.5319535" ]
0.68810755
2
update Patient type to cured value
public void changeType(int patient_id,String type) { try { String query= "UPDATE patients SET type=? WHERE id = ?"; PreparedStatement pStatement= super.getConnection().prepareStatement(query); pStatement.setString(1, type); pStatement.setInt(2, patient_id); pStatement.executeUpdate(); patientID.remove(patientID.indexOf(patient_id)); System.out.println("You have change type value to cured"); } catch (Exception e) { System.out.println(e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void updatePatientInfo(PatientInfo patientInfo);", "private static void changePatient(){\r\n // opretter ny instans af tempPatinet som overskriver den gamle\r\n Patient p = new Patient(); // det her kan udskiftes med en nulstil funktion for at forsikre at der altid kun er en patient.\r\n Patient.setCprNumber((Long) null);\r\n }", "Patient update(Patient patient);", "UpdateType updateType();", "void update(Type type);", "@Override\r\n\tpublic void update(PartyType entity) {\n\t\t\r\n\t}", "void changeType(NoteTypes newType) {\n this.type = newType;\n }", "@Override\n\tpublic int update(Coursetype coursetype) {\n\t\treturn courseTypeDaoImpl.update(coursetype);\n\t}", "void setDataType(int type );", "Update withKind(String kind);", "gov.nih.nlm.ncbi.www.MedlineSiDocument.MedlineSi.Type addNewType();", "public void setPersonType(PersonType_Tp type) { this.personType = type; }", "@Update(\"UPDATE patients SET first_name=#{firstName}, last_name=#{lastName}, PESEL=#{pesel}, \" +\n \"email=#{email}, phone_number=#{phoneNumber} WHERE id_patient=#{id}\")\n void updatePatient(Patient patient);", "public void setPatient(org.hl7.fhir.ResourceReference patient)\n {\n generatedSetterHelperImpl(patient, PATIENT$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);\n }", "@Override\n\tpublic Patient update( Patient model, int patientId) {\n\t\treturn null;\n\t}", "public void assignDiscountType(int acc_no, String discount_type){\n try {\n Stm = conn.prepareStatement(\"UPDATE `bapers`.`Customer` SET Discount_type = ? WHERE Account_no =? AND Customer_type = ?;\");\n Stm.setString(1, discount_type);\n Stm.setInt(2,acc_no);\n Stm.setString(3, \"Valued\");\n Stm.executeUpdate();\n Stm.close();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "public void setPatientID(java.lang.String param){\n \n this.localPatientID=param;\n \n\n }", "public void setPatientID(java.lang.String param){\n \n this.localPatientID=param;\n \n\n }", "public void change_type(int type_){\n\t\ttype = type_;\n\t\tif(type != 0)\n\t\t\toccupe = 1;\n\t}", "@Override\n public Patient editPatient(Patient patient) {\n return patientRepository.save(patient);\n }", "void addIsPersonType(Integer newIsPersonType);", "int updateByPrimaryKey(HospitalType record);", "boolean updateCharacterType(CharacterType t);", "@Update(\"UPDATE patients SET id_firstcontact_doctor=#{newDoctorId} WHERE id_patient=#{patient.id}\")\n void updatePatientFirstcontactDoctor(@Param(\"patient\") Patient patient,\n @Param(\"newDoctorId\") int newDoctorId);", "public void setAccidentDetail(typekey.AccidentDetailPEL value);", "public void setAccidentCircumstance(typekey.AccidentCircumstancePEL value);", "public void setType(String newtype)\n {\n type = newtype;\n }", "int updateByPrimaryKeySelective(HospitalType record);", "public void setValue(int type)\r\n\t{\r\n\t\tif(type < NONE || type > CENTIMETER)\r\n\t\t{\r\n\t\t\tthrow new IllegalArgumentException(\"type < NONE || type > CENTIMETER\");\r\n\t\t}\r\n\t\tsuper.setShort(0, (short)type);\r\n\t}", "public void setNewValues_descriptionType(int param){\n \n // setting primitive attribute tracker to true\n localNewValues_descriptionTypeTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localNewValues_descriptionType=param;\n \n\n }", "public void setType(String newValue);", "public void setType(String newValue);", "@RequestMapping(value = PatientSvcApi.CHANGESTATUS_PATH, method = RequestMethod.POST)\n\tpublic @ResponseBody Patient changeStatus(@RequestBody Patient patient, HttpServletResponse response)\n\t{\n\t\tPatient p = operations.changePatientStatus(patient);\n\t\tif (p == null)\n\t\t{\n\t\t\tresponse.setStatus(HttpServletResponse.SC_NOT_FOUND);\n\t\t\treturn null;\n\t\t}\n\t\treturn p;\n\t}", "public TCustAffType updateTCustAffType(final TCustAffType tCustAffType) {\n\t\tLOGGER.info(\"=========== Update TCustAffType ===========\");\n\t\treturn genericDAO.update(tCustAffType);\n\t}", "public int editType(BikeType type){\n final int EDITED = 0;\n final int NOT_EDITED = 1;\n final int NOT_FOUND = 2;\n if(!findType(type.getTypeId())){ //No matching type_id registered\n return NOT_FOUND;\n }else{ \n \n try(Connection con = DatabaseConnector.getConnection();\n PreparedStatement ps = con.prepareStatement(UPDATE)){\n \n ps.setString(1, type.getTypeName());\n ps.setDouble(2, type.getRentalPrice());\n ps.setInt(3, type.getTypeId());\n ps.executeUpdate();\n return EDITED;\n }catch(Exception e){\n System.out.println(\"Exception: \" + e);\n }\n }\n return NOT_EDITED;\n }", "@PutMapping(value = \"/update\", produces = \"application/json\")\n void update(@RequestParam int id, @RequestBody Patient patient);", "@Override\n\tpublic Patient updatePatient(Patient patient) {\n\t\t// setting logger info\n\t\tlogger.info(\"update the patient details \");\n\n\t\tPatient p = patientRepo.findById(patient.getPatientId()).get();\n\t\tp.setPatientName(patient.getPatientName());\n\t\tp.setPatientAge(patient.getPatientAge());\n\t\tp.setRegistrationFee(patient.getRegistrationFee());\n\t\tp.setPatientContactNumber(patient.getPatientContactNumber());\n\t\tp.setSymptoms(patient.getSymptoms());\n\t\tp.setCreatedAt(patient.getCreatedAt());\n\t\tp.setUpdatedAt(patient.getUpdatedAt());\n\t\treturn patientRepo.save(p);\n\t}", "public void setType(int type) {\n type_ = type;\n }", "public void changeDataType(int type) throws IOException, NumberFormatException {\r\n saveDataType(type);\r\n loadDataType();\r\n }", "public void setType(String newVal) {\n if ((newVal != null && this.type != null && (newVal.compareTo(this.type) == 0)) || \n (newVal == null && this.type == null && type_is_initialized)) {\n return; \n } \n this.type = newVal; \n\n type_is_modified = true; \n type_is_initialized = true; \n }", "public void setGender(Gender_Tp gender) { this.gender = gender; }", "public void careForPatient(Patient patient);", "public void setType(int t){\n this.type = t;\n }", "public void settype(String cat) { this.type = cat; }", "public void setCustomerType(int v) \n {\n \n if (this.customerType != v)\n {\n this.customerType = v;\n setModified(true);\n }\n \n \n }", "public String updateContactTypeStatement() {\n\t\treturn \"UPDATE CONTACTSTYPES SET (CONTACT_TYPE) = ? WHERE ID = ?\";\n\t}", "public void setRiskLocation(typekey.APDRiskLocationType value);", "public void setType(String type);", "public void setType(String type);", "public void setType(String type);", "public void changeToType(TYPE type){\n this.type=type;\n return;\n }", "public void setType(int type)\n {\n editor.putInt(KEY_TYPE, type);\n // commit changes\n editor.commit();\n Log.d(TAG,\"user type modified in pref\");\n }", "public void updateUserDataByType(UserData userData,String type) {\n\t\tSQLiteDatabase db = getReadableDatabase();\n\t\t// Cursor cursor = db.rawQuery(\"select * from city\",null);//得到游标\n\t\t//Cursor c = db.rawQuery(\"select * from user where usertype=?\", new String[]{type});// 得到游标\n\t\t//String sql = \"update user set username = 654321 where usertype = type\";\n\t\t//db.execSQL(sql);\n ContentValues values = new ContentValues();\n values.put(\"username\", userData.userName);\n values.put(\"password\", userData.passWord);\n \n db.update(\"user\", values, \"usertype=?\", new String[]{type});\n\t}", "void AddPatiant(Patient p) throws Exception;", "public static void set(ISPProgram prog, TooType newType) {\n // REL-538 Move TooType to SPProgram\n final SPProgram spProgram = (SPProgram) prog.getDataObject();\n if (newType != spProgram.getTooType()) {\n spProgram.setTooType(newType);\n prog.setDataObject(spProgram);\n }\n }", "public void setOldValues_descriptionType(int param){\n \n // setting primitive attribute tracker to true\n localOldValues_descriptionTypeTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localOldValues_descriptionType=param;\n \n\n }", "public Integer updatePaymentType(PaymentTypeObject paymentTypeObject) throws AppException;", "void setType(Type type)\n {\n this.type = type;\n }", "public void setUWIssueType(entity.UWIssueType value);", "public void setNewProperty_descriptionType(int param){\n \n // setting primitive attribute tracker to true\n localNewProperty_descriptionTypeTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localNewProperty_descriptionType=param;\n \n\n }", "protected void setPrefValue(String type, String id, String name){\n //adds a key value pair to pref\n edit.putString(AppCSTR.ACCOUNT_TYPE, type);\n edit.putString(AppCSTR.ACCOUNT_ID, id);\n edit.putString(AppCSTR.ACCOUNT_NAME, name);\n //records changes\n edit.commit();\n }", "void setDatty(Datty newDatty);", "public void setType(String type){\n \tthis.type = type;\n }", "public void setType(java.lang.String newType) {\n\ttype = newType;\n}", "public void setType(String type) {\n this.type = type;\n }", "public void setOldProperty_descriptionType(int param){\n \n // setting primitive attribute tracker to true\n localOldProperty_descriptionTypeTracker =\n param != java.lang.Integer.MIN_VALUE;\n \n this.localOldProperty_descriptionType=param;\n \n\n }", "public String onChangeResidenceCode()\r\n {\r\n\ttry\r\n\t{\r\n\r\n\t SessionCO sessionCO = returnSessionObject();\r\n\t residenceTypesSC.setCompCode(sessionCO.getCompanyCode());\r\n\t residenceTypesSC.setPreferredLanguage(sessionCO.getPreferredLanguage());\r\n\t residenceTypesVO = residenceTypesBO.returnDependencyByCode(residenceTypesSC);\r\n\t if(residenceTypesVO == null)\r\n\t {\r\n\t\tthrow new BOException(MessageCodes.INVALID_MISSING_CODE);\r\n\t }\r\n\r\n\t}\r\n\tcatch(Exception e)\r\n\t{\r\n\t residenceTypesVO = new RESIDENCE_TYPESVO();\r\n\t handleException(e, null, null);\r\n\t}\r\n\treturn SUCCESS;\r\n }", "void setValue(gov.nih.nlm.ncbi.www.MedlineSiDocument.MedlineSi.Type.Value.Enum value);", "public void setTypeid(Long typeid) {\n this.typeid = typeid;\n }", "public void setPatientId(int patientId) {\n\t\t\t\n\t\tthis.patientId=patientId;\t\t\n\t}", "void setType(java.lang.String type);", "public void registerPatientMethod1(Patient p);", "public void setType(short type){\n\t\tthis.type = type;\n\t}", "void setType(String type) {\n this.type = type;\n }", "public void setType(int value) {\n this.type = value;\n }", "public void setExaminationType(ExaminationType_type1 param){\n \n this.localExaminationType=param;\n \n\n }", "public void updateBoatData(Boat boat , double length , BoatType type){\n if(boat == null)\n throw new IllegalArgumentException(\"This boat does not exist you will go back to menu\");\n boat.setLength(length);\n boat.setType(type);\n }", "Patient save(Patient patient);", "public void setType(final int evidenceType) {\r\n\t\ttype = evidenceType;\r\n\t}", "public static void saveConstituencyID(Context context, String type) {\n SharedPreferences sharedPreferences = PreferenceManager\n .getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(GMSConstants.KEY_CONSTITUENCY_ID, type);\n editor.apply();\n }", "public void setField(String fieldName, String value, Class type) {\n Field field;\n try {\n field = this.getClass().getField(fieldName);\n } catch (NoSuchFieldException e) {\n log.error(String.format(\"Data record does not have field - %s. Error: %s\", fieldName, e.getMessage()));\n return;\n }\n\n final String typeString = type.toString();\n\n if (typeString.equals(Double.class.toString())) {\n setDouble(field, value);\n } else if (typeString.equals(String.class.toString())) {\n setString(field, value);\n }\n }", "public void setType(String type){\n this.type = type;\n }", "private void makeDiagnosis(Patient patient, String diagnosis) {\n patient.setDiagnosis(diagnosis);\n }", "void xsetValue(gov.nih.nlm.ncbi.www.MedlineSiDocument.MedlineSi.Type.Value value);", "int updateByPrimaryKey(PcQualificationInfo record);", "@Test\n\tpublic void testQuestionType() {\n\t\tquestions.setAuditType(\"Internal\");\n\t\tassertEquals(\"Internal\",questions.getAuditType());\n\t}", "public void setType(int type) {\r\n this.type = type;\r\n }", "public void setType(int type) {\r\n this.type = type;\r\n }", "public String updateByPrimaryKeySelective(MaterialType record) {\r\n SQL sql = new SQL();\r\n sql.UPDATE(\"material_type\");\r\n \r\n if (record.getMtName() != null) {\r\n sql.SET(\"mt_name = #{mtName,jdbcType=VARCHAR}\");\r\n }\r\n \r\n if (record.getRemark() != null) {\r\n sql.SET(\"remark = #{remark,jdbcType=VARCHAR}\");\r\n }\r\n \r\n if (record.getMtOrderNum() != null) {\r\n sql.SET(\"mt_order_num = #{mtOrderNum,jdbcType=INTEGER}\");\r\n }\r\n \r\n sql.WHERE(\"id = #{id,jdbcType=INTEGER}\");\r\n \r\n return sql.toString();\r\n }", "public void setType(String type) \n {\n this.type = type;\n }", "public void batteryType(String type)\n {\n\t batteryType = type;\n }", "public void patientUpdate(long id, String firstName, String lastName, String identifier, String facility, String dob,\n String sex, String contact1, String contact2, String contact3, String location, String outcome,\n String txStart){\n Callback<Users> callback = new Callback<Users>() {\n\n @Override\n public void success(Users serverResponse, Response response2) {\n if(serverResponse.getResponseCode() == 0){\n BusProvider.getInstance().post(produceServerEvent(serverResponse));\n }else{\n BusProvider.getInstance().post(produceErrorEvent(serverResponse.getResponseCode(),\n serverResponse.getMessage()));\n }\n }\n\n @Override\n public void failure(RetrofitError error) {\n if(error != null ){\n Log.e(TAG, error.getMessage());\n error.printStackTrace();\n }\n BusProvider.getInstance().post(produceErrorEvent(-200,error.getMessage()));\n }\n };\n communicatorInterface.updatePatient(id, firstName, lastName, identifier, dob, facility, sex, contact1,\n contact2, contact3, txStart, location, outcome, callback);\n }", "public void setObjtype(short newValue) {\n\tthis.objtype = newValue;\n}", "public void setType(long type) {\r\n this.type = type;\r\n }", "protected void setType(String newType) {\n\t\ttype = newType;\n\t}", "public void setType (int type) {\n this.type = type;\n }", "public void setType (int type) {\n this.type = type;\n }", "private Integer updateFrequency(int freq, Denominator moneyType) {\r\n\t\tif(freq == 0){\r\n\t\t\tthis.denominatorFrequencyMap.put(moneyType, new DenominatorCombination(moneyType, ++freq));\r\n\t\t}else{\r\n\t\t\tDenominatorCombination value = this.denominatorFrequencyMap.get(moneyType);\r\n\t\t\tint frequency = 0;\r\n\t\t\tif(value != null){\r\n\t\t\t\tfrequency = value.getFrequency();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tthis.denominatorFrequencyMap.put(moneyType, new DenominatorCombination(moneyType, frequency +1));\r\n\t\t\tfreq++;\r\n\t\t}\r\n\t\treturn freq;\r\n\t}", "public void OutcomeUpdate(long id, String patient, String outcomeType, String outcomeDate,\n String notes){\n Callback<Outcome> callback = new Callback<Outcome>() {\n\n @Override\n public void success(Outcome serverResponse, Response response2) {\n if(serverResponse.getResponseCode() == 0){\n BusProvider.getInstance().post(produceOutcomeServerResponse(serverResponse));\n }else{\n BusProvider.getInstance().post(produceErrorEvent(serverResponse.getResponseCode(),\n serverResponse.getMessage()));\n }\n }\n\n @Override\n public void failure(RetrofitError error) {\n if(error != null ){\n Log.e(TAG, error.getMessage());\n error.printStackTrace();\n }\n BusProvider.getInstance().post(produceErrorEvent(-200,error.getMessage()));\n }\n };\n communicatorInterface.updateOutcome(id, patient, outcomeType, outcomeDate, notes, callback);\n }", "@DISPID(11)\n\t// = 0xb. The runtime will prefer the VTID if present\n\t@VTID(23)\n\tvoid riskAnalysisType(int pVal);" ]
[ "0.6478761", "0.6386594", "0.5937297", "0.58976823", "0.5868945", "0.57450104", "0.57330734", "0.5659488", "0.56547743", "0.5645133", "0.56210595", "0.5575143", "0.5572905", "0.5571978", "0.5521519", "0.5512197", "0.5511445", "0.5511445", "0.550056", "0.5469743", "0.5457926", "0.54493207", "0.5442223", "0.5436713", "0.54333293", "0.54225445", "0.5418863", "0.5414329", "0.5409936", "0.539712", "0.53885317", "0.53885317", "0.5376517", "0.5357808", "0.53510815", "0.5350809", "0.5349171", "0.53366363", "0.53310424", "0.5327083", "0.5324907", "0.53244394", "0.5321847", "0.5320996", "0.53172046", "0.53168356", "0.5312219", "0.529559", "0.529559", "0.529559", "0.52858686", "0.5284375", "0.5276862", "0.5264743", "0.5254541", "0.5254228", "0.52539706", "0.5221885", "0.5215642", "0.5212191", "0.519776", "0.5197456", "0.51928186", "0.518891", "0.5183217", "0.517644", "0.5172793", "0.51673", "0.51654804", "0.51624346", "0.5161144", "0.514524", "0.5136145", "0.51279116", "0.51242864", "0.5118823", "0.51181215", "0.5113226", "0.5107998", "0.50900394", "0.50890577", "0.508795", "0.5086989", "0.5085401", "0.5084296", "0.5081805", "0.50799155", "0.50799155", "0.50741386", "0.50740594", "0.5066305", "0.50648636", "0.50619566", "0.5061387", "0.50594115", "0.50585514", "0.50585514", "0.5045139", "0.5044459", "0.50415784" ]
0.72888386
0
TODO Autogenerated method stub
private int parseInt(char charAt) { return 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
find all client managers and for each of them use sendText method to send message
private void sendTextToAllClients(String text) { for (ClientManager cm : serverHolder.findAllClientManagers()) { cm.sendText(name, text); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void sendGMToAll(String msg){\r\n for(ClientHandler ch: clientThreads){\r\n try{\r\n //Get the client's ObjectOutputStream\r\n ObjectOutputStream oos = ch.getOOS();\r\n //Print the message to the client\r\n oos.writeObject(new DataWrapper(0, msg, true));\r\n } catch(IOException ioe) {\r\n System.out.println(\"IOException occurred: \" + ioe.getMessage());\r\n ioe.printStackTrace();\r\n }\r\n }\r\n }", "private void sendToAll(String msg){\r\n for(ClientHandler ch: clientThreads){\r\n try{\r\n //Get the client's ObjectOutputStream\r\n ObjectOutputStream oos = ch.getOOS();\r\n //Print the message to the client\r\n oos.writeObject(new DataWrapper(DataWrapper.STRINGCODE, msg, false));\r\n } catch(IOException ioe) {\r\n System.out.println(\"IOException occurred: \" + ioe.getMessage());\r\n ioe.printStackTrace();\r\n }\r\n }\r\n }", "public void sendToManager(){\n String receiveMessage;\n while((receiveMessage=receiveFrom(messageReader)) != null){\n manager.manage(receiveMessage);\n }\n }", "private void enviarMensagem(String mensagem) {\n //Este for anda de acordo com o tamanho do array da mensagem\n for ( int a = 0; a < clientes.size(); a++ ) {\n //Enquanto o cliente estiver enviado ele pega a mensagem\n clientes.get(a).println(mensagem);\n clientes.get(a).flush();\n }\n }", "public synchronized void sendUserList()\n {\n String userString = \"USERLIST#\" + getUsersToString();\n for (ClientHandler ch : clientList)\n {\n ch.sendUserList(userString);\n }\n }", "@Override\n\tpublic void sendMessageGroup(Client cm, String msg) throws RemoteException {\n\t\tif(!users.contains(cm)) {\n\t\t\tusers.add(cm); \n\t\t\t} \t\t\t\n\t\t//envoyes les message vers tous les utilisateur\n\t\ttry {\n\t\t\tfor (Client c : users) {\n\t\t\n\t\t\t// 回调远程客户端方法\n\t\t\tString user=cm.getName(); \n\t if(user==null || user==\"\") {\n\t \t user = \"anonymous\";\n\t }\t \n\t c.afficherMessage(user + \" : \" + msg);\n\t //c.showDialog(msg);\n\t\t\t}\n\t\t} catch (RemoteException ex) {\n\t\t\tusers.remove(cm);\n\t\t\tex.printStackTrace();\n\t\t}\n\t\t/*\n\t\t for(int i=0;i<users.size();i++)\n\t\t {\n\t\t String user=c.getName(); \n\t\t if(user==null || user==\"\")\n\t\t user = \"anonymous\";\n\t\t ( (Client) users.get(i)).sendMessage(user + \" : \" + msg);\n\t\t }*/\n }", "public void sendNameInfoToAll(){\r\n\t\t\r\n\t\tVector<Player> players = lobby.getLobbyPlayers();\t\r\n\t\tString message = \"UDNM\" + lobby.getNameString();\r\n\t\t\r\n\t\tif(!players.isEmpty()){\r\n\t \tfor(int i=0; i<players.size(); i++){\t \t\t\r\n\t \t\tsendOnePlayer(players.get(i), message);\t \t\t\r\n\t \t}\r\n\t\t}\r\n\t}", "private void sendMessageToAll(String message){\n for(Session s : sessions){\n try {\n s.getBasicRemote().sendText(message);\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n }\n }", "public void sendGameInfoToAll(){\r\n\t\t\r\n\t\tVector<Player> players = lobby.getLobbyPlayers();\t\r\n\t\tString message = \"UDGM\" + lobby.getGameString();\r\n\t\t\r\n\t\tif(!players.isEmpty()){\r\n\t \tfor(int i=0; i<players.size(); i++){\t \t\t\r\n\t \t\tsendOnePlayer(players.get(i), message);\t \t\t\r\n\t \t}\r\n\t\t}\r\n\t}", "@Override\n\tpublic void sendMessageSeul(Client cm, String Nomclient, String msg) throws RemoteException {\n\t\tif(!users.contains(cm)) {\n\t\t\tusers.add(cm); \n\t\t\t} \t\t\t\n\t\t//envoyes les message vers un utilisateur\n\t\ttry {\n\t\t\tfor (Client c : users) {\n\t\t\n\t\t\t // 回调远程客户端方法\n\t\t\t String user=cm.getName(); \n\t\t if(user==null || user==\"\") {\n\t\t \t user = \"anonymous\";\n\t\t }\t \n\t\t if (c.getName().equals(Nomclient)) {\n\t\t \t c.afficherMessage(user + \" : \" + msg);\n\t\t }\t\t \n\t\t //c.showDialog(msg); he colll\n\t\t\t}\n\t\t} catch (RemoteException ex) {\n\t\t\tusers.remove(cm);\n\t\t\tex.printStackTrace();\n\t\t}\n\t}", "private void manageClients() {\n manage = new Thread(\"Manage\") {\n public void run() {\n //noinspection StatementWithEmptyBody\n while (running) {\n sendToAll(\"/p/server ping/e/\".getBytes());\n try {\n Thread.sleep(1500);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n //noinspection ForLoopReplaceableByForEach\n for (int i = 0; i < clients.size(); i++) {\n ServerClient tempClient = clients.get(i);\n if (!clientResponse.contains(tempClient.getID())) {\n if (tempClient.getAttempt() >= MAX_ATTEMPTS)\n disconnect(tempClient.getID(), false);\n else\n tempClient.setAttempt(tempClient.getAttempt() + 1);\n } else {\n clientResponse.remove(new Integer(tempClient.getID()));\n tempClient.setAttempt(0);\n }\n }\n }\n }\n };\n manage.start();\n }", "public void messageToAll(String s) {\n\t\tfor(ClientThread player: players) {\n\t\t\tplayer.send(new Package(\"MESSAGE\",s));\n\t\t}\n\t\t\n\t}", "@Override\n public void run(){\n ServerConnection[] clients = new ServerConnection[]{client2, client3, client1};\n\n for( ServerConnection c : clients ) {\n if ( c != null ){\n if ( client3 == null ){\n c.send(\"Game has started with code:\" + gameID + \".\\n\" + \"Current players are \" +\n client1.getName() + \", \" + client2.getName());\n }\n else {\n c.send(\"Game has started with code:\" + gameID + \".\\n\" + \"Current players are \" +\n client1.getName() + \", \" + client2.getName() + \", \" + client3.getName());\n }\n c.setGameID(gameID);\n }\n }\n\n String[] gods = readChallengerMessage();\n\n for (int i=0; i<2 && currClient != client1; i++){\n currClient.send(Arrays.toString(gods) );\n clientMessage = readClientMessage();\n if (i == 0) {\n gameMessage.setGod2(clientMessage.getGod());\n gameMessage.setName2(clientMessage.getName());\n } else if (i == 1) {\n gameMessage.setGod3(clientMessage.getGod());\n gameMessage.setName3(clientMessage.getName());\n }\n List<String> list = new ArrayList<String>(Arrays.asList(gods));\n list.remove( clientMessage.getGod().name());\n gods = list.toArray(new String[0]);\n currClient.send(\"Choice confirmed\");\n updateCurrClient();\n }\n\n currClient.send(gods[0]);\n gameMessage.setGod1(God.valueOf(gods[0]));\n gameMessage.setName1(client1.getName());\n updateCurrClient();\n resetUpdate();\n gameMessage.notify(gameMessage);\n sendLiteGame();\n\n for( ServerConnection c : clients ) {\n resetUpdate();\n if ( c != null ) {\n while ( !updateModel) {\n sendToCurrClient(\"Placing workers\");\n clientMessage = readClientMessage();\n gameMessage.setSpace1(clientMessage.getSpace1());\n gameMessage.setSpace2(clientMessage.getSpace2());\n gameMessage.notify(gameMessage);\n if (!updateModel) {\n sendLiteGame();\n }\n }\n updateCurrClient();\n liteGame.setPlayer(currClient.getName());\n sendLiteGame();\n }\n }\n\n\n while ( !endOfTheGame ) {\n sendToCurrClient(\"Next action\");\n clientMessage = readClientMessage();\n\n if ( \"Choose Worker\".equals(clientMessage.getAction()) ) {\n chooseWorker();\n }\n else if ( \"Charon Switch\".equals(clientMessage.getAction()) ) {\n charonSwitch();\n }\n else if ( \"Prometheus Build\".equals(clientMessage.getAction()) ) {\n build();\n }\n else if ( \"Move\".equals(clientMessage.getAction()) ) {\n move();\n }\n else if ( \"Build\".equals(clientMessage.getAction()) ) {\n build();\n }\n\n if ( \"End\".equals(clientMessage.getAction()) ) {\n gameMessage.resetGameMessage();\n updateCurrClient();\n liteGame.setCurrWorker(5,5);\n liteGame.setPlayer(currClient.getName());\n sendLiteGame();\n }\n else {\n sendLiteGame();\n if ( !endOfTheGame && !playerRemoved ) {\n if (!updateModel) {\n currClient.send(\"Invalid action\");\n } else currClient.send(\"Action performed\");\n }\n else playerRemoved = false;\n }\n }\n\n sendToCurrClient(\"You won the match.\");\n server.endMatch(gameID, null);\n }", "@Override\n\tpublic void run() {\n\t\twhile(!Server.killServer){\n\t\t\ttry {\n\t\t\t\tThread.sleep(Constants.BROADCAST_BATTLEFIELD_PERIOD_TO_CLIENTS);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t//send to EACH client\n\t\t\tfor(Node client : Server.getClientList().keySet()){\n\t\t\t\t//get client's RMI instance\n\t\t\t\tClientServer clientComm = null;\n\t\t\t\tclientComm = Server.getClientReg(client); \n\t\t\t\t//create Message\n\t\t\t\tClientServerMessage sendBattlefieldMessage = new ClientServerMessage(\n\t\t\t\t\t\t\tMessageType.GetBattlefield,\n\t\t\t\t\t\t\tthis.serverOwner.getName(),\n\t\t\t\t\t\t\tthis.serverOwner.getIP(),\n\t\t\t\t\t\t\tclient.getName(),\n\t\t\t\t\t\t\tclient.getIP());\n\t\t\t\tsendBattlefieldMessage.setBattlefield(Server.getBattlefield());\n\t\t\t\t\n\t\t\t\tif(clientComm==null){\n\t\t\t\t\tSystem.out.println(\"clientComm is null\");\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t//System.out.println(\"Server: Battlefield sent\");\n\n\t\t\t\ttry {\n\t\t\t\t\tclientComm.onMessageReceived(sendBattlefieldMessage);\n\t\t\t\t} catch (RemoteException e) {\n\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t} catch (NotBoundException e) {\n\t\t\t\t\t//e.printStackTrace();\n\t\t\t\t}\n\n\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "public void serverSendMessageToAllUsers(String message) {\r\n \t\tServerCommand serverCommand = new MessageServerCommand(message, \"server\", null);\r\n \r\n \t\tthis.sendCommandToClient(this.clients.getClients(), serverCommand);\r\n \t}", "protected void listClients() {\r\n\t\tif (smscListener != null) {\r\n\t\t\tsynchronized (processors) {\r\n\t\t\t\tint procCount = processors.count();\r\n\t\t\t\tif (procCount > 0) {\r\n\t\t\t\t\tSimulatorPDUProcessor proc;\r\n\t\t\t\t\tfor (int i = 0; i < procCount; i++) {\r\n\t\t\t\t\t\tproc = (SimulatorPDUProcessor) processors.get(i);\r\n\t\t\t\t\t\tSystem.out.print(proc.getSystemId());\r\n\t\t\t\t\t\tif (!proc.isActive()) {\r\n\t\t\t\t\t\t\tSystem.out.println(\" (inactive)\");\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tSystem.out.println();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tSystem.out.println(\"No client connected.\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"You must start listener first.\");\r\n\t\t}\r\n\t}", "public void sendToCurrClient ( String message ){\n currClient.send( message );\n ServerConnection[] clients = new ServerConnection[]{client1, client2, client3};\n for(ServerConnection c: clients){\n if(c != currClient && c != null )\n if ( !message.contains(\"You won\") )\n c.send(\"Wait for \" + currClient.getName() + \" to end his turn\" );\n else c.send(\"You lost the match. \" + currClient.getName() + \" won the game.\");\n }\n }", "public static void sendCoordinatorMsg() {\n int numberOfRequestsNotSent = 0;\n for ( int key : ServerState.getInstance().getServers().keySet() ) {\n if ( key != ServerState.getInstance().getSelfID() ){\n Server destServer = ServerState.getInstance().getServers().get(key);\n\n try {\n MessageTransfer.sendServer(\n ServerMessage.getCoordinator( String.valueOf(ServerState.getInstance().getSelfID()) ),\n destServer\n );\n System.out.println(\"INFO : Sent leader ID to s\"+destServer.getServerID());\n }\n catch(Exception e) {\n numberOfRequestsNotSent += 1;\n System.out.println(\"WARN : Server s\"+destServer.getServerID()+\n \" has failed, it will not receive the leader\");\n }\n }\n }\n if( numberOfRequestsNotSent == ServerState.getInstance().getServers().size()-1 ) {\n // add self clients and chat rooms to leader state\n List<String> selfClients = ServerState.getInstance().getClientIdList();\n List<List<String>> selfRooms = ServerState.getInstance().getChatRoomList();\n\n for( String clientID : selfClients ) {\n LeaderState.getInstance().addClientLeaderUpdate( clientID );\n }\n\n for( List<String> chatRoom : selfRooms ) {\n LeaderState.getInstance().addApprovedRoom( chatRoom.get( 0 ),\n chatRoom.get( 1 ), Integer.parseInt(chatRoom.get( 2 )) );\n }\n\n leaderUpdateComplete = true;\n }\n }", "private synchronized void sendToAllClients(Object whatever) // Synchronized to work among multiple clients and multiple threads\n {\n System.out.println(\"Sending '\" + whatever + \"' to everyone.\");\t\n \n ObjectOutputStream[] oosList = whosIn.values().toArray(new ObjectOutputStream[0]);\n \n for (ObjectOutputStream clientOOS : oosList)\n {\n try {clientOOS.writeObject(whatever);}\n catch (IOException e) {} \n }\n\t \n }", "@Override\n\tpublic void addClient(Client c, String msg) throws RemoteException {\n\t\tif(!users.contains(c)){\n\t\t\tusers.add(c);\n\t\t\tfor(int i=0;i<users.size();i++) {\t \n\t //sendMessage((Client)users.get(i),msg);\n\t\t\t\tSystem.out.println(users.get(i).getName());\n\t }\n\t //users.add(c);\n\t }\n\t}", "public void sendCommandToClient(Collection<RoMClient> clientsToSend, ServerCommand serverCommand) {\r\n \t\tLogger.logMessage(\"Sending Command \\\"\" + serverCommand + \"\\\"\");\r\n \r\n \t\t// Add Command to clients MessageQueue\r\n \t\tfor (RoMClient client : clientsToSend) {\r\n \t\t\tclient.addCommandToQueue(serverCommand);\r\n \t\t}\r\n \t}", "public void onlinerequest() {\r\n int size = Server.getUsers().size();\r\n \r\n try {\r\n this.output.flush();\r\n this.output.writeUTF(\"ONLINE\");\r\n this.output.flush();\r\n this.output.writeUTF(Integer.toString(size));\r\n this.output.flush();\r\n// Log.print(\"Sending the data\");\r\n for(int x = 0; x < Server.getUsers().size(); x++){\r\n if(Server.getUsers().get(x).getName().equals(this.name)){\r\n this.output.writeUTF(Server.getUsers().get(x).getName() + \" (You)\");\r\n }\r\n else{\r\n this.output.writeUTF(Server.getUsers().get(x).getName());\r\n this.output.flush();\r\n }\r\n \r\n \r\n }\r\n// Log.print(\"Successfully sent\");\r\n } catch (IOException ex) {\r\n Log.error(ex.getMessage());\r\n }\r\n }", "synchronized static void chat(String name, String message) throws IOException\n {\t \n PrintWriter pw;\n \n //prints message to the server console\n System.out.println(name + \" >> \" + message);\n \n //goes through each ChatClient stored in linkedList \n for (Object o : linkedList)\n {\n //casts object in linked list to a socket\n pw = new PrintWriter(((Socket) o).getOutputStream(), true);\n \n //prints ChatClient's name with message to all connected ChatClients\n //on ChatClient socket outputstream\n pw.println(name + \" >> \" + message);\n }\n }", "private void sendToAll(final byte[] data) {\n for (ServerClient client : clients) {\n send(data, client.getAddress(), client.getPort());\n }\n }", "private void sendMessage(JTextField text){\n \t\tString message = text.getText();\n \t\tfor(int i = 0; i < listeners.size(); i++)\n \t\t{\n \t\t\tboolean b = listeners.get(i).sendMessage(userName, message);\n \t\t\tif(b == false)\n \t\t\t\tSystem.out.println(\"Error, could not send\");\n \t\t}\n \t\t\n \t\ttext.setText(\"\");\n \t}", "private void readMessagesFromClients() throws IOException {\n String message = inputFromClient.readLine(); // Reads data from client\n if (message != null ) {\n if (!message.equals(\"EXIT\")){ // If client still don't want to disconnect\n writeMessageInDataFile(message); // write his message in the txt database\n for (ServerThread client : activeClients) { // then send his message to all active clients\n if (!client.username.equals(this.username)){\n client.outputFromServer.println(toString() + message);\n }\n }\n System.out.println(this + message); // Displays client message in server console\n }else{\n for (ServerThread client : activeClients) { // Send a message to all other clients to announce the client's disconnection\n if (!client.username.equals(this.username)){\n client.outputFromServer.println( \"\\n\" + username + \" has left the chat.\");\n }\n }\n System.out.println(username + \" has left the chat.\"); // Announce client's disconnection on server\n }\n\n }\n }", "static void send(DataOutputStream os, DataInputStream is, String message, String[] active_users, Socket clientSocket) {\n String[] recipient;\n boolean recipient_found = false;\n try {\n recipient = message.split(\" \");\n if(recipient.length != 2) {\n os.writeUTF(\"syntax: SEND <target>\"); \n }\n else {\n for(int i = 0; i < active_users.length; i++) {\n if (active_users[i].equals(recipient[1])) {\n recipient_found = true;\n }\n }\n int userQuery = -1;\n for(int i = 0; i < num_clients; i++) {\n if (sockets[i] == clientSocket) {\n userQuery = i;\n break;\n }\n }\n os = new DataOutputStream(clientSocket.getOutputStream());\n if(active_users[userQuery].equals(\"\")) {\n // fails, user is not logged in which is required\n os.writeUTF(\"401 You are not logged in, please log in first.\");\n os.writeUTF(\"\");\n }\n else if (recipient_found == false) { //server could not find the username of person to send message to\n os.writeUTF(\"420 either the user does not exist or is not logged in.\");\n }\n else {\n //success\n os.writeUTF(\"200 OK \\n Please type message to target.\"); //success acknowledgement\n //os.writeUTF(\"Please type message to target.\");\n message = is.readUTF(); //receive message from the user\n os.writeUTF(\"200 OK\");\n for(int i = 0; i < num_clients; i++) { //this searches the sockets for the correct user\n if(active_users[i].equals(recipient[1])) {\n os = new DataOutputStream(sockets[i].getOutputStream());\n os.writeUTF(\"(PM) \" + active_users[userQuery] + \": \" + message);\n System.out.println(active_users[userQuery] + \" -> \" + active_users[i] + \": \" + message);\n }\n }\n\n }\n }\n } catch (IOException ex) {\n Logger.getLogger(Server.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "private void sendCTToAll(ControlToken ct) {\r\n for(ClientHandler ch: clientThreads){\r\n try{\r\n //Get the client's ObjectOutputStream\r\n ObjectOutputStream oos = ch.getOOS();\r\n //Write the ControlToken to the client\r\n oos.writeObject(new DataWrapper(DataWrapper.CTCODE, ct));\r\n } catch(IOException ioe) {\r\n System.out.println(\"IOException occurred: \" + ioe.getMessage());\r\n ioe.printStackTrace();\r\n }\r\n }\r\n }", "static void sendMsg(String msg){\r\n for(ServerThread t: threads){\r\n t.sendMsgToClient(msg);\r\n }\r\n }", "public void tellEveryone(String message) \r\n\t{\r\n\t\tIterator it = Output_Streams_Client.iterator();\r\n\t\twhile (it.hasNext()) \r\n\t\t{\r\n\t\t\ttry \r\n\t\t\t{\r\n\t\t\t\tPrintWriter writer = (PrintWriter) it.next();\r\n\t\t\t\twriter.println(message);\r\n\t\t\t\tChat.append(\"Sending : \" + message + \"\\n\");\r\n\t\t\t\twriter.flush();\r\n\t\t\t\tChat.setCaretPosition(Chat.getDocument().getLength());\r\n\r\n\t\t\t} \r\n\t\t\tcatch (Exception ex) \r\n\t\t\t{\r\n\t\t\t\tChat.append(\"Mistake to tell everyone \\n\");\r\n\t\t\t}\r\n\t\t} \r\n\t}", "@Override\n\tpublic void onMute(String clientName) {\n\t\t// TODO Auto-generated method stub\n\t\tlog.log(Level.INFO, \"Tiggered sendMute()\");\n\t\tIterator<User> iter = users.iterator();\n\t\twhile (iter.hasNext()) {\n\t\t\t// try {\n\t\t\tString name = clientName;\n\t\t\tUser client = iter.next();\n\t\t\tif (name.equals(client.getName())) {\n\t\t\t\tmuteName = client.getName();\n\t\t\t\tmuteClient = client;\n\t\t\t\tlog.log(Level.INFO, \"Passed name check\");\n\t\t\t}\n\t\t\t// } catch (ConcurrentModificationException e) {\n\t\t\t// log.log(Level.INFO, \"Caught ConcurrentModification\");\n\t\t\t// }\n\t\t}\n\t\treplaceClient(\"<font color=silver>\" + muteName + \"</font>\", muteClient);\n\t\tlog.log(Level.INFO, \"Reached replaceClient with \" + muteName + \" and \" + muteClient.getName());\n\t}", "public void broadcastInfo(String msg){\n\t\tfor (User u : Servidor.users) {\n\t\t\ttry {\t\t\t\t\n\t\t\t\tDataOutputStream o = new DataOutputStream(u.getSocket().getOutputStream());\n\t\t\t\to.writeUTF(msg);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t}", "public void list(String user) {\n\t\tfor (HandleClient c : clients) {\n\t\t\tif (c.getUserName().equals(user)) {\n\t\t\t\tfor (int a = 0; a < clients.size(); a++) {\n\t\t\t\t\tc.sendList(clients.get(a).name, a);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public void writeAll(MESSAGE message) {\n log.debug(\"write all : \" + MessageManger.messageToStringFormatted(message));\n\n ConcurrentHashMap<String, Client> clientsList = ccv.getClients();\n synchronized (clientsList) {\n //invio a tutti il messaggio\n\n //in qiesta lista saòvo tutti gli utenti che hanno dato errore nel socket\n List<Client> toRemoves = new LinkedList<Client>();\n\n for (Client client : clientsList.values()) {\n if (client.getMainSocket() != null) {\n try {\n OutputStream outputStream = client.getMainSocket().getOutputStream();\n MessageManger.directWriteMessage(message, outputStream);\n\n //se il client non risponde lo levo dalla lista dei connessi\n } catch (Exception ex) {\n log.warn(ex + \" \" + ex.getMessage());\n\n //aggiungo alla lista il cliet che ha doto errore\n toRemoves.add(client);\n }\n }\n }\n\n //rimuovo tutti i client che risultno cascati\n //e invio il comando a tutti\n for (Client client : toRemoves) {\n clientsList.remove(client.getNick());\n }\n\n //avviso tutti di eliminare gli utenti che hanno dato errore\n for (Client toRemove : toRemoves) {\n ServerWriter sw = new ServerWriter(ccv);\n MESSAGE toSend = MessageManger.createCommand(Command.REMOVEUSER, null);\n MessageManger.addParameter(toSend, \"nick\", toRemove.getNick());\n sw.writeAll(toSend);\n }\n }\n\n }", "@Override\n\tpublic void send(Trino mensaje, List<String> listaContactos) throws RemoteException{\n\t\tbbdd.almacenTrinos(mensaje);\n\t\tfor(String contacto : listaContactos){\n\t\t\t synchronized (contacto) {\n\t\t\t\t if(bbdd.buscarUsuarioConectado(contacto)){\n\t\t\t\t\t\tif(memoria.isEmpty()){\n\t\t\t\t\t\t\tArrayList<Trino> lista = new ArrayList<Trino>();\n\t\t\t\t\t\t\tlista.add(mensaje);\n\t\t\t\t\t\t\tmemoria.put(contacto, lista);\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\tif(memoria.get(contacto) == null){\n\t\t\t\t\t\t\t\tArrayList<Trino> lista = new ArrayList<Trino>();\n\t\t\t\t\t\t\t\tlista.add(mensaje);\n\t\t\t\t\t\t\t\tmemoria.put(contacto, lista);\n\t\t\t\t\t\t\t} else{\n\t\t\t\t\t\t\t\tList<Trino> list = memoria.get(contacto);\n\t\t\t\t\t\t\t\tlist.add(mensaje);\n\t\t\t\t\t\t\t\tmemoria.replace(contacto, (ArrayList<Trino>) list);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbbdd.setMensajeOffline(contacto, mensaje.getTexto());\n\t\t\t\t\t\tbbdd.setMensajeOffline(contacto, mensaje);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\n\t}", "public void sendMessageToAllClients(MessageWrapper message) {\n sendMessageToServer(message);\n\n for (SendenDevice device : clientsConnected.values()) {\n if (!device.getDeviceMac().equals(wiFiP2PInstance.getThisDevice().getDeviceMac())) {\n sendMessage(device, message);\n }\n }\n }", "private void broadcast(String msg) {\n\t\tfor (PrintWriter out : clients) {\n\t\t\tout.println(msg);\n\t\t\tout.flush();\n\t\t}\n\t}", "private void individualSend(UserLogic t) {\n if(t != UserLogic.this && t != null && ((String)UI.getContacts().getSelectedValue()).equals(t.username)){\r\n if(((String)t.UI.getContacts().getSelectedValue()).equals(username)) { //If both users are directly communicating\r\n t.UI.getProperList().addElement(username + \"> \" + UI.getMessage().getText()); //Send message\r\n t.UI.getContacts().setCellRenderer(clearNotification); //Remove notification\r\n }\r\n else{ //If the user are not directly communicating\r\n t.UI.getContacts().setCellRenderer(setNotification); //Set notification\r\n }\r\n if(t.chats.containsKey(username)){ //Store chats in other users database (When database exists)\r\n ArrayList<String> arrayList = t.chats.get(username); //Get data\r\n arrayList.add(username + \"> \" + UI.getMessage().getText()); //Add new message to the database\r\n t.chats.put(username, arrayList); //Store data\r\n }\r\n else { //When database doesn't exist\r\n ArrayList<String> arrayList = new ArrayList<>(); //create new database\r\n arrayList.add(username + \"> \" + UI.getMessage().getText()); //Add new message to the database\r\n t.chats.put(username, arrayList); //Store data\r\n }\r\n }\r\n //This writes on my screen\r\n if(t == UserLogic.this && t!=null){ //On the current user side\r\n UI.getProperList().addElement(\"Me> \" + UI.getMessage().getText()); //Write message to screen\r\n String currentChat = (String) UI.getContacts().getSelectedValue(); //Get selected user\r\n if(chats.containsKey(currentChat)){ //check if database exists\r\n ArrayList<String> arrayList = chats.get(currentChat);\r\n arrayList.add(\"Me> \" + UI.getMessage().getText());\r\n chats.put(currentChat, arrayList);\r\n }\r\n else { //When database doesn't exist\r\n ArrayList<String> arrayList = new ArrayList<>();\r\n arrayList.add(\"Me> \" + UI.getMessage().getText());\r\n chats.put(currentChat, arrayList);\r\n }\r\n }\r\n }", "public static void sendFormattedMessage(List<CommandSender> senderList, String message) {\r\n for (CommandSender c : senderList) {\r\n sendFormattedMessage(c, message);\r\n }\r\n }", "public static void sendFormattedMessage(List<CommandSender> senderList, List<String> messageList) {\r\n for (CommandSender c : senderList) {\r\n sendFormattedMessage(c, messageList);\r\n }\r\n }", "private static void sendMessageToAll(Message msg) throws IOException, EncodeException {\n String jsonStr = JSON.toJSONString(msg);\n\n for (String key : onlineSessions.keySet()) {\n System.out.println(\"WebSocketChatServer - Message \" + jsonStr + \" sent to client with username \" + key + \" and session \" + onlineSessions.get(key));\n System.out.println(key + \" : \" + onlineSessions.get(key));\n try {\n onlineSessions.get(key).getBasicRemote().sendObject(msg);\n } catch (IOException | EncodeException error) {\n error.printStackTrace();\n }\n }\n }", "public void run()\n {\n \n try {\n String Msg = \"\";\n ArrayList<String> tokens=new ArrayList<String>();\n while ((Msg = this.reader.readLine())!=null)\n {\n if(!tokens.isEmpty())\n {\n //not empty,clear.\n tokens.clear();\n\n }\n //check the msg\n System.out.println(\"Inside while, Received msg in client handler:\"+Msg);\n //all the meta datas are separated using :\n tokens.addAll(Constants.tokens(Msg, \":\"));\n //if it's a login request\n if(tokens.contains(Constants.LOGIN_ID))\n {\n this.userID=tokens.get(1);//the 2nd string of this format LOGIN_ID:username:password\n this.password=tokens.get(2);\n this.client_delegate.validate(this);\n }\n //if it's a log out request.\n if(tokens.contains(Constants.LOGOUT_ID))\n {\n this.client_delegate.logout(this);\n }\n //public room message\n if(tokens.contains(Constants.PUBLIC_ROOM))\n {\n \n if(tokens.get(1).contains(\"file\"))\n {\n //there is smiley,but the parts were separated due to the presence of an internal : after word 'file'\n this.client_delegate.sendMessage(tokens.get(1)+\":\"+tokens.get(2));\n }\n else\n {\n //the message is without smiley...\n this.client_delegate.sendMessage(tokens.get(1));\n }\n \n }\n //private message\n if(tokens.contains(Constants.MESSAGE_ID))\n {\n //private message\n if(tokens.get(2).contains(\"file\"))\n {\n //there is smiley,but the parts were separated due to the presence of an internal : after word 'file'\n this.client_delegate.sendMessageFromThisTo(tokens.get(1), tokens.get(2)+\":\"+tokens.get(3), tokens.get(4));\n }\n else\n {\n //the message is without smiley...\n this.client_delegate.sendMessageFromThisTo(tokens.get(1), tokens.get(2), tokens.get(3));\n }\n }\n if(tokens.contains(Constants.FILE))\n {\n this.client_delegate.sendFileTo(tokens.get(1), Integer.parseInt(tokens.get(2)), tokens.get(3));\n }\n \n \n\n }\n } catch (Exception ex) {\n System.out.printf(\"Error parsing message from client:%s.\",this.userID);\n }\n }", "public void sendAnnouncement(String announce) throws RemoteException {\n System.out.print(\" Announcement received Hello client\");\n for (ClientInt cint : vclient) {\n try {\n cint.receiveAnnouncement(announce);\n } catch (RemoteException e) {\n System.out.println(\"do not send msg to client\");\n e.printStackTrace();\n }\n }\n }", "public void run() {\n try {\n //Create the input object stream and output object stream for this client\n toClient = new ObjectOutputStream(client.getOutputStream());\n fromClient = new ObjectInputStream(client.getInputStream());\n login = false;\n\n while (!login) {/*Wait for a client to login*/\n try {\n receviedProtocol = (Protocol) fromClient.readObject();\n if (receviedProtocol.getMethod().equals(\"HELP\"))\n sendHelpMenu();\n else if (receviedProtocol.getMethod().equals(\"LOGIN\")) {\n authorize(receviedProtocol);\n login = true;\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n logout = false;\n while (!logout) {/*Keep conncetion between client and server until the client logout*/\n try{\n receviedProtocol = (Protocol)fromClient.readObject(); //Wait for client input\n startIndex = 0;//This will be used to track the starting point of next n groups to be send\n if(receviedProtocol.getMethod().equals(\"AG\"))\n allGroupHandler(receviedProtocol);\n else if(receviedProtocol.getMethod().equals(\"LOGOUT\")){\n logout();\n logout = true;\n }\n }catch (Exception e){\n e.printStackTrace();\n }\n\n }\n\n } catch (IOException e) {\n System.out.println(e);\n\n } finally {\n try {\n client.close();\n } catch (IOException e) {\n System.out.println(e);\n }\n }\n }", "public void writeToAllClients(String message) {\n\t\tfor (PrintWriter out : clientOutputs) {\n\t\t\tout.println(message);\n\t\t}\n\t}", "public void run() {\n\t\tTestTool.log(mPort + \"[AutoSender] waiting...\");\n\t\twhile (mUserList.size() < 2) {\n\t\t\ttry {\n\t\t\t\tmClientEvent.trigger(EE.client_command_getListUser, null);\n\t\t\t\tThread.sleep(1000);\n\t\t\t\tif (mUserList.size() >= 2) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} catch (InterruptedException e) { e.printStackTrace(); }\n\t\t}\n\t\tTestTool.log(mPort + \"[AutoSender] ...okay\");\n\n\t\t\n\t\tint count = 0;\n\t\twhile (mIsRunning && count++ < 5) {\n\t\t\tJSONObject msg = autoCreateMessage(count);\n\t\t\tTestTool.log(mPort + \"[AutoSender: run] sending message:\", msg);\n\t\t\tmMessengerUser.addMessage(msg);\n\t\t\t\n\t\t\ttry {\n\t\t\t\tThread.sleep((int) Math.random() * 1000);\n\t\t\t} catch (InterruptedException e) { e.printStackTrace(); }\n\t\t}\n\t}", "static synchronized void SendMessage(String message, ClientHandler user, boolean same) throws IOException\r\n {\r\n String mes = message;\r\n if(!same)\r\n mes = user.username + \": \" + mes;\r\n //System.out.println(mes);\r\n\r\n chatLogWriter.write(mes + \"\\n\");\r\n chatLogWriter.flush();\r\n\r\n for (ClientHandler ch : users)\r\n {\r\n if(!ch.equals(user))\r\n ch.WriteCypherMessage(mes);\r\n else if(same)\r\n ch.WriteCypherMessage(message);\r\n }\r\n }", "@Override\n public void react(@NotNull ClientConnection client) throws IOException {\n String[] params = message.getHeader().split(\" \");\n if( params.length != getMessagesSize || client.getClientID() == null )\n return ;\n int roomID = Integer.parseInt(params[1]);\n List<String> messages = UserRequests.getMessagesFromRoom(roomID, nMessage);\n if (messages == null) return;\n assert client.getStreamMessage() != null;\n client.getStreamMessage().write(\n new Message(getMessagesType + \" \" + roomID, messages));\n }", "public void printClientList(){\n for(String client : clientList){\n System.out.println(client);\n }\n System.out.println();\n }", "public void writeMassege() {\n m = ChatClient.message;\n jtaChatHistory.setText(\"You : \" + m);\n //writeMassageServer();\n }", "private void sendEmailGestorRental(EntityManager manager, String filial, String numOS){\r\n\t\ttry {\r\n\t\t\tQuery query = manager.createNativeQuery(\"SELECT tw.email, tw.EPLSNM FROM tw_funcionario tw, adm_perfil_sistema_usuario perfil\"+\r\n\t\t\t\t\t\" WHERE tw.epidno = perfil.id_tw_usuario\"+\r\n\t\t\t\t\t\" AND perfil.ID_PERFIL = (select id from adm_perfil where sigla = 'GERENT' and tipo_sistema = 'GE')\"+\r\n\t\t\t\t\t\" AND tw.STN1 = '\"+Integer.valueOf(filial).toString()+\"'\");\r\n\t\t\t\r\n\t\t\tif(query.getResultList().size() > 0){\r\n\t\t\t\tList<Object []> list = query.getResultList();\r\n\t\t\t\tfor(Object [] pair : list){\r\n\t\t\t\t\tEmailHelper helper = new EmailHelper();\r\n\t\t\t\t\thelper.sendSimpleMail((String)pair[1]+\" gostaríamos de informar que a OS \"+numOS+\" foi criada!\", \"Ordem de Serviço\", (String)pair[0]);\t\t\r\n\t\t\t\t}\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t}", "public void setup_clients()\n {\n ClientInfo t = new ClientInfo();\n for(int i=0;i<5;i++)\n {\n // for mesh connection between clients\n // initiate connection to clients having ID > current node's ID\n if(i > my_c_id)\n {\n // get client info\n String t_ip = t.hmap.get(i).ip;\n int t_port = Integer.valueOf(t.hmap.get(i).port);\n Thread x = new Thread()\n {\n \tpublic void run()\n {\n try\n {\n Socket s = new Socket(t_ip,t_port);\n // SockHandle instance with svr_hdl false and rx_hdl false as this is the socket initiator\n // and is a connection to another client node\n SockHandle t = new SockHandle(s,my_ip,my_port,my_c_id,c_list,s_list,false,false,cnode);\n }\n catch (UnknownHostException e) \n {\n \tSystem.out.println(\"Unknown host\");\n \tSystem.exit(1);\n } \n catch (IOException e) \n {\n \tSystem.out.println(\"No I/O\");\n e.printStackTrace(); \n \tSystem.exit(1);\n }\n \t}\n };\n \n x.setDaemon(true); \t// terminate when main ends\n x.setName(\"Client_\"+my_c_id+\"_SockHandle_to_Client\"+i);\n x.start(); \t\t\t// start the thread\n }\n }\n\n // another thread to check until all connections are established ( ie. socket list size =4 )\n // then send a message to my_id+1 client to initiate its connection setup phase\n Thread y = new Thread()\n {\n public void run()\n {\n int size = 0;\n // wait till client connections are setup\n while (size != 4)\n {\n synchronized(c_list)\n {\n size = c_list.size();\n }\n }\n // if this is not the last client node (ID =4)\n // send chain init message to trigger connection setup\n // phase on the next client\n if(my_c_id != 4)\n {\n c_list.get(my_c_id+1).send_setup();\n System.out.println(\"chain setup init\");\n }\n // send the setup finish, from Client 4\n // indicating connection setup phase is complete\n else\n {\n c_list.get(0).send_setup_finish();\n }\n }\n };\n \n y.setDaemon(true); \t// terminate when main ends\n y.start(); \t\t\t// start the thread\n }", "public void run() {\n\t\ttry { \n\t\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));\n\t\t\tPrintWriter out = new PrintWriter(socket.getOutputStream(), true);\n\t\t\t \n\t\t\tString fromServer= null;\n\t\t\tString fromUser = null;\n\n\t\t\twhile(true){\n\t\t\t\t//If the user types \"BACKUP\" will make a file of the messages\n\t\t\t\tif ((fromUser = in.readLine()).equals(\"BACKUP\")){\n\t\t\t\t\tbuffer.add(\"BACKUP\");\n\t\t\t\t\tfor(int i = 0; i < buffer.size(); i++){\n\t\t\t\t\t\tout.println(buffer.get(i));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t//put whatever the user input to the Server Buffer\n\t\t\t\tbuffer.add(fromUser);\n\n\t\t\t\t//Displaying the option menu\n\t\t\t\tSystem.out.print(\"\\n1. Send Message to all clients\\n\" +\n\t\t\t\t\t\"2. Print message from client\\n\" +\n\t\t\t\t\t\"3. Quit\\n\\n\" + \n\t\t\t\t\t\"Please choice 1, 2, or 3\\n\" +\n\t\t\t\t\t\"Choice: \");\n\t\t\t\tfromServer = stdIn.readLine();\n\t\t\t\tif(fromServer.equals(\"1\")){ \n\t\t\t\t\tout.println(buffer.lastElement());\n\t\t\t\t}\n\t\t\t\telse if(fromServer.equals(\"2\")){\n\t\t\t\t\tSystem.out.println(buffer.lastElement());\n\t\t\t\t}\n\t\t\t\telse if(fromServer.equals(\"3\")){\n\t\t\t\t\tSystem.out.println(\"\\nLeaving the program. Good Bye!\\n\");\n\t\t\t\t\tSystem.exit(0);\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"Options 1~3 Please\");\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tLogger.dump(0, \"Client Exited by force quitting\");\n\t\t\tSystem.exit(1);\n\t\t} catch (NullPointerException e) {\n\t\t\tLogger.dump(0, \"Client Exited\");\n\t\t} \n\t}", "private void processClientCommand(RoMClient client, ClientCommand clientCommand) {\r\n \t\tServerCommand serverResponseCommand = null;\r\n \t\tCollection<RoMClient> receiverClients = new ArrayList<>();\r\n \r\n \t\t// Check which command was sent\r\n \t\t// ---------------------------\r\n \t\t// UserLoginCommand\r\n \t\tif (clientCommand instanceof UserLoginClientCommand) {\r\n \r\n \t\t\tUserLoginClientCommand loginCommand = (UserLoginClientCommand) clientCommand;\r\n \t\t\tserverResponseCommand = this.processUserLoginCommand(client, loginCommand);\r\n \r\n \t\t\t// LoginResponse to client\r\n \t\t\treceiverClients.add(client);\r\n \t\t}\r\n \r\n \t\t// PrivateMessageCommand\r\n \t\telse if (clientCommand instanceof PrivateMessageClientCommand) {\r\n \t\t\tPrivateMessageClientCommand privateMessageCommand = (PrivateMessageClientCommand) clientCommand;\r\n \t\t\tserverResponseCommand = this.processPrivateMesageCommand(client, privateMessageCommand);\r\n \r\n \t\t\t// Sender\r\n \t\t\treceiverClients.add(client);\r\n \t\t\t// Receiver\r\n \t\t\treceiverClients.add(this.clients.getClientByUsername(privateMessageCommand.getToUser()));\r\n \t\t}\r\n \r\n \t\t// MessageClientCommand\r\n \t\telse if (clientCommand instanceof MessageClientCommand) {\r\n \t\t\tMessageClientCommand messageCommand = (MessageClientCommand) clientCommand;\r\n \t\t\tserverResponseCommand = this.processMessageCommand(client, messageCommand);\r\n \r\n \t\t\t// MessageClient to everybody\r\n \t\t\treceiverClients = this.groupList.getClientsInSameGroup(client);\r\n \t\t}\r\n \r\n \t\t// CreateUserClientCommand\r\n \t\telse if (clientCommand instanceof CreateUserClientCommand) {\r\n \t\t\tCreateUserClientCommand newUserCommand = (CreateUserClientCommand) clientCommand;\r\n \t\t\tserverResponseCommand = this.processCreateUserCommand(client, newUserCommand);\r\n \r\n \t\t\treceiverClients.add(client);\r\n \t\t}\r\n \r\n \t\t// GetGroupsClientCommand\r\n \t\telse if (clientCommand instanceof GetGroupsClientCommand) {\r\n \t\t\tGetGroupsClientCommand getGroupsCommand = (GetGroupsClientCommand) clientCommand;\r\n \t\t\tserverResponseCommand = this.processGetGroupsCommand(client, getGroupsCommand);\r\n \r\n \t\t\treceiverClients.add(client);\r\n \t\t}\r\n \r\n \t\t// JoinGroupClientCommand\r\n \t\telse if (clientCommand instanceof JoinGroupClientCommand) {\r\n \t\t\tJoinGroupClientCommand joinGroupCommand = (JoinGroupClientCommand) clientCommand;\r\n \t\t\tserverResponseCommand = this.processJoinGroupCommand(client, joinGroupCommand);\r\n \r\n \t\t\treceiverClients.add(client);\r\n \t\t}\r\n \t\t// NewGroupClientCommnad\r\n \t\telse if (clientCommand instanceof CreateGroupClientCommand) {\r\n \t\t\tCreateGroupClientCommand createGroupCommand = (CreateGroupClientCommand) clientCommand;\r\n \t\t\tserverResponseCommand = this.processCreateGroupCommand(client, createGroupCommand);\r\n \r\n\t\t\tif (serverResponseCommand != null) {\r\n\t\t\t\treceiverClients = this.clients.getClients();\r\n\t\t\t}\r\n \t\t}\r\n \r\n \t\t// DeleteGroupClientCommand\r\n \t\telse if (clientCommand instanceof DeleteGroupClientCommand) {\r\n \t\t\tDeleteGroupClientCommand delteGroupCommand = (DeleteGroupClientCommand) clientCommand;\r\n \t\t\tserverResponseCommand = this.processDeleteGroupCommand(client, delteGroupCommand);\r\n \r\n \t\t\treceiverClients.add(client);\r\n \t\t}\r\n \r\n \t\t// CreateUserClientCommand\r\n \t\telse if (clientCommand instanceof CreateUserClientCommand) {\r\n \t\t\tCreateUserClientCommand createUserCommand = (CreateUserClientCommand) clientCommand;\r\n \t\t\tserverResponseCommand = this.processCreateUserCommand(client, createUserCommand);\r\n \r\n \t\t\treceiverClients.add(client);\r\n \t\t}\r\n \r\n \t\t// DeleteUserClientCommand\r\n \t\telse if (clientCommand instanceof DeleteUserClientCommand) {\r\n \t\t\tDeleteUserClientCommand deleteUserCommand = (DeleteUserClientCommand) clientCommand;\r\n \t\t\tserverResponseCommand = this.processDeleteUserCommand(client, deleteUserCommand);\r\n \r\n \t\t\treceiverClients.add(client);\r\n \t\t}\r\n \r\n \t\t// GetUserListClientCommand\r\n \t\telse if (clientCommand instanceof GetUserListClientCommand) {\r\n \t\t\tGetUserListClientCommand userListCommand = (GetUserListClientCommand) clientCommand;\r\n \t\t\tserverResponseCommand = this.processGetUserListCommand(client, userListCommand);\r\n \r\n \t\t\treceiverClients.add(client);\r\n \t\t}\r\n \r\n \t\t// UserLogoffCommand\r\n \t\telse if (clientCommand instanceof UserLogoffClientCommand) {\r\n \t\t\t// We won't send a response to a disconnting client\r\n \t\t\tUserLogoffClientCommand logoffCommand = (UserLogoffClientCommand) clientCommand;\r\n \t\t\tserverResponseCommand = this.processUserLogoffCommand(client, logoffCommand);\r\n \r\n \t\t\treceiverClients = null;\r\n \t\t}\r\n \t\t// ---------------------------------\r\n \r\n \t\t// Send server response\r\n \t\tif (serverResponseCommand != null) {\r\n \t\t\tif (receiverClients == null) {\r\n \t\t\t\tLogger.logMessage(\"Tried to send a ServerCommand but receiverClients list is emtpy!\");\r\n \t\t\t} else {\r\n \t\t\t\tthis.sendCommandToClient(receiverClients, serverResponseCommand);\r\n \t\t\t}\r\n \t\t}\r\n \t}", "@Override\n public void handleTextMessage(WebSocketSession client, TextMessage message) throws IOException {\n System.out.println(\"connecting\");\n String [] parseMessage = message.getPayload().split(\" \",2);\n boolean found = false;\n System.out.println(parseMessage[0]);\n System.out.println(parseMessage[0].equals(\"join\"));\n if (parseMessage[0].equals(\"join\")) {\n System.out.println(\"joinning\");\n for (Room room: rooms) {\n System.out.println(room.name);\n if (room.name.equals(parseMessage[1])) {\n System.out.println(\"room found\");\n room.addClient(client);\n\n found = true;\n }\n }\n if (found == false) {\n System.out.println(\"making new room\");\n Room newRoom = new Room(parseMessage[1], client);\n rooms.add(newRoom);\n }\n TextMessage newMessage;\n String json = \"{\\\"user\\\" : \\\"\" + parseMessage[0] + \"\\\", \\\"message\\\": \\\"\"\n + parseMessage[1] + \"\\\"}\";\n newMessage = new TextMessage(json);\n client.sendMessage(newMessage);\n\n }else{\n for (Room room: rooms) {\n if(room.clientInRoom(client))\n System.out.println(\"send message\");\n room.forwardMessage(message);\n }\n\n\n }\n }", "public void sendUserListMessage(UserList userlist){\n UserListMessage ulm = new UserListMessage(userlist);\n try {\n //send the message to the host\n if (this.connectServiceLocator.getService().isHostConnected()) {\n sendMessageToHost(ulm);\n }\n \n if (this.connectServiceLocator.getService().isGuestConnected()) {\n sendMessageToGuests(ulm);\n }\n } catch (ServiceNotBoundException e) {\n Log.wtf(TAG, e);\n }\n }", "public void sendAllOnlineUsers(ArrayList<String> users)\n {\n try {\n this.writeData(Message.getAllUsersMessage(users));\n } catch (IOException ex) {\n ex.printStackTrace();\n }\n }", "private void sendGroupMessage(String message){\n\n\t\tObject[] userIDs = chatInstanceMap.keySet().toArray();\n\n\t\tfor(int i = 0; i < userIDs.length; i++ ){\n\n\t\t\tsendMessage((String) userIDs[i], message);\n\t\t}\n\t}", "public void askToAll() {\n\t\tfor(ClientThread player: players) {\n\t\t\tif(player != dealer)\n\t\t\t\tplayer.send(new Package(\"ASK\",null));\n\t\t\telse {\n\t\t\t\tdealer.send(new Package(\"MESSAGE\",\"As dealer, you'll wait for other players...\"));\n\t\t\t}\n\t\t}\n\t}", "public static void sendFormattedMessage(CommandSender sender, List<String> messageList) {\r\n for (String message : messageList) {\r\n sendFormattedMessage(sender, message);\r\n }\r\n }", "public void sendMatch() {\n for (int i = 0; i < numberOfPlayers; i++) {\n try {\n // s = ss.accept();\n oos = new ObjectOutputStream(sockets.get(i).getOutputStream());\n oos.writeObject(game);\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n }", "void forwardToAll(String text, NodeInfo senderInfo)\n {\n for (CommunicationLink node : allNodes.values())\n {\n NodeInfo nodeInfo = node.getInfo();\n if (nodeInfo.hashCode() != senderInfo.hashCode())\n {\n node.sendMessage(new Message(text, nodeInfo, senderInfo, CHAT));\n try\n {\n node.readMessage();\n } catch (IOException e)\n {\n handleNodeDeath(nodeInfo);\n logger.error(\"Node \" + myInfo + \"\\n - Failed to forward message to: \" +\n nodeInfo.getName() + \", they disconnected unexpectedly.\");\n }\n }\n }\n }", "static void who(DataOutputStream os, Socket clientSocket){\n int userQuery = -1;\n try {\n for(int i = 0; i < num_clients; i++) { //searches for the socket that sent the command\n if (sockets[i] == clientSocket) {\n userQuery = i;\n break;\n }\n } \n os = new DataOutputStream(clientSocket.getOutputStream());\n os.writeUTF(\"200 OK \\nThe list of the active users:\");\n for(int i = 0; i < active_users.length; i++) {//writes a list of users logged into the system\n os.writeUTF(active_users[i] + \"\\t\" + sockets[i].getInetAddress());\n }\n } catch (IOException ex) {\n Logger.getLogger(Server.class.getName()).log(Level.SEVERE, null, ex);\n }\n }", "public String searchClients(String client){\r\n for(ClientHandler ch:clientThreads){\r\n if(ch.getName().equals(client)){\r\n return String.format(\"%s is connected!\\nIndex: %d\\n\", client, clientThreads.indexOf(ch));\r\n }\r\n }\r\n return String.format(\"%s is not connected.\\n\", client);\r\n }", "public void actionPerformed(ActionEvent e) {\n try {\r\n if (roomOrUser == 1) {\r\n // send message to a room\r\n sock.executeCommand(new RoomMessageCommand(new LongInteger(name), textArea_1.getText()\r\n .getBytes()));\r\n textArea_2.setText(textArea_2.getText() + textField.getText() + \": \" + textArea_1.getText()\r\n + \"\\n\");\r\n } else if (roomOrUser == 2) {\r\n // send message to a user\r\n sock.executeCommand(new UserMessageCommand(new LongInteger(name), textArea_1.getText()\r\n .getBytes(), true));\r\n textArea_2.setText(textArea_2.getText() + textField.getText() + \": \" + textArea_1.getText()\r\n + \"\\n\");\r\n }\r\n } catch (InvalidCommandException ex) {\r\n JOptionPane.showMessageDialog(null, \"Unable to join or leave room.\", \"alert\",\r\n JOptionPane.ERROR_MESSAGE);\r\n }\r\n }", "public ArrayList<Client> getClients(String nameClient){\n ArrayList<Client> listClients = new ArrayList<Client>();\n \n \n this.serversList.forEach((server) -> {\n server.getClients().stream().filter((client) -> (client.getName().toLowerCase().contains(nameClient.toLowerCase()))).forEachOrdered((client) -> {\n client.setNameServer(server.getNameServer());\n listClients.add(client);\n });\n });\n \n return listClients;\n }", "@Override\n public void notifyUsers(String authorName, String messageContent) {\n if (!messageContent.equals(IChat.SEND_MESSAGE_COMMAND)) {\n Message message = new Message(authorName, messageContent);\n this.chatMessages.add(message);\n for (Socket socket : getChatUsers()) {\n try {\n PrintWriter messageOut = new PrintWriter(socket.getOutputStream(), true);\n messageOut.println(message.toString());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n }", "public void sentRecieve() throws UnknownHostException, IOException, ClassNotFoundException, InterruptedException {\n InetAddress host = InetAddress.getLocalHost();\r\n Socket socket = null;\r\n ObjectOutputStream output = null;\r\n ObjectInputStream input = null;\r\n \r\n LinkedList client = new LinkedList();\r\n client.add(\"Elifas\");\r\n client.add(\"Andrew\");\r\n client.add(\"Claudia\");\r\n client.add(\"Ester\");\r\n client.add(\"Emilie\");\r\n \r\n for (int i = 0; i < client.size(); i++) {\r\n int size = client.size();\r\n //establishing socket connection to a server\r\n socket = new Socket(host.getHostName(), 2535);\r\n //write to the socket using ObjectOutputStream\r\n output = new ObjectOutputStream(socket.getOutputStream());\r\n System.out.println(client.get(i)+\" sending request to the server\");\r\n if (size > 5) {\r\n output.writeObject(\"exit\");\r\n }\r\n else{\r\n output.writeObject(\" \"+ client.get(i));\r\n }\r\n //reading the server response\r\n input = new ObjectInputStream(socket.getInputStream());\r\n String message = (String) input.readObject();\r\n System.out.println(\"Response: \"+message);\r\n \r\n //close resources\r\n input.close();\r\n output.close();\r\n Thread.sleep(2000);\r\n }\r\n }", "public static void main(String[] args) {\r\n\t\tint portNumber = 1500;\r\n\t\tString serverAddress = \"localhost\";\r\n\t\tString userName = \"Anonymous\";\r\n\t\tint type = 1;\r\n\t\tScanner scan = new Scanner(System.in);\r\n\t\t\r\n\t\tSystem.out.println(\"Enter Character Name: \");\r\n\t\tuserName = scan.nextLine();\r\n\t\tSystem.out.println(\"Type '1' to be a warrior\");\r\n\t\tSystem.out.println(\"Type '2' to be a wizard\");\r\n\t\tSystem.out.println(\"Type '3' to be a paladin\");\r\n\t\ttype = Integer.parseInt(scan.nextLine());\r\n\r\n\t\tswitch(type) {\r\n\t\t\tcase 1:\r\n\t\t\t\tp = new Player(userName, 1);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\tp = new Player(userName, 2);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 3:\r\n\t\t\t\tp = new Player(userName, 3);\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tp = new Player(userName, 1);\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\tClient client = new Client(serverAddress, portNumber, p);\r\n\t\tif(!client.start())\r\n\t\t\treturn;\r\n\t\t\r\n\t\tSystem.out.println(\"Instructions:\");\r\n\t\tSystem.out.println(\"1. Simply type the message to send broadcast to all active clients\");\r\n\t\tSystem.out.println(\"2. Type 'LIST PARTY' to see who is in the game\");\r\n\t\tSystem.out.println(\"3. Type 'STATUS' to show your stats.\");\r\n\t\tSystem.out.println(\"4. Type 'ENEMIES' to show enemies in room\");\r\n\t\tSystem.out.println(\"5. Type 'TURN' to show your parties remaining turns.\");\r\n\t\tSystem.out.println(\"6. Type 'ATTACK X' where X is the enemy target.\");\r\n\t\tSystem.out.println(\"7. Type 'QUIT' to close the game\\n\");\r\n\t\t\r\n\t\twhile(true) {\r\n\t\t\tSystem.out.print(\"> \");\r\n\t\t\tString msg = scan.nextLine();\r\n\t\t\tif(msg.equalsIgnoreCase(\"QUIT\")) {\r\n\t\t\t\tclient.sendMessage(\"QUIT\");\r\n\t\t\t\tbreak;\r\n\t\t\t}else if(msg.length() > 0){\r\n\t\t\t\tclient.sendMessage(msg);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tscan.close();\r\n\t\tclient.disconnect();\t\r\n\t}", "private void printAllClients() {\n Set<Client> clients = ctrl.getAllClients();\n clients.stream().forEach(System.out::println);\n }", "public void SendMessageKik(String message, ArrayList<String> users) {\n FileWriter fw= null;\r\n try {\r\n fw = new FileWriter(\"src\\\\main\\\\java\\\\nl\\\\Ipsen5Server\\\\Service\\\\users.txt\");\r\n\r\n fw.write(users.toString());\r\n fw.close();\r\n\r\n //writes message to file that will be read by API\r\n FileWriter fw1 = new FileWriter(\"src\\\\main\\\\java\\\\nl\\\\Ipsen5Server\\\\Service\\\\message.txt\");\r\n fw1.write(message);\r\n fw1.close();\r\n\r\n //creates client side and connects to API, this will trigger API to send the message to all users in users.txt file\r\n Socket s;\r\n s = new Socket(InetAddress.getLocalHost().getHostName(), 1234);\r\n PrintWriter pr = new PrintWriter(s.getOutputStream());\r\n }\r\n catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }", "@Override\n\tpublic void onClientMessage(ClientThread client, String msg) {\n\t\ttry {\n\t\t\tlockClients.readLock().lock();\n\t\t\tLocalDateTime now = LocalDateTime.now();\n\t\t\tString toSend = \"[\"+dtf.format(now)+\"] \"+client.getClientName()+\" : \"+msg;\n\t\t\tfor (ClientThread ct : this.clients) {\n\t\t\t\tct.sendMessage(toSend);\n\t\t\t}\n\t\t\taddToHistory(toSend);\n\t\t} finally {\n\t\t\tlockClients.readLock().unlock();\n\t\t}\n\t}", "private void sendmessage(int new_offset[], int[] port_list) {\n\t\ttry {\n\n\t\t\t/**\n\t\t\t * \n\t\t\t * port_list has the port of all processes. Message will be sent to\n\t\t\t * all process.\n\t\t\t * \n\t\t\t */\n\n\t\t\tfor (int i = 0; i < port_list.length; i++) {\n\t\t\t\tSocket processClient = new Socket(\"localhost\", port_list[i]);\n\t\t\t\tprocessClient.setReuseAddress(true);\n\t\t\t\tOutputStream processStream = processClient.getOutputStream();\n\t\t\t\tBufferedWriter processWriter = new BufferedWriter(\n\t\t\t\t\t\tnew OutputStreamWriter(processStream));\n\n\t\t\t\tprocessWriter.write(\"Master: Offset =\" + new_offset[i]);\n\n\t\t\t\t// System.out.println(\"Sending data from Master to other process running on \"\n\t\t\t\t// + port_list[i]);\n\n\t\t\t\tprocessWriter.flush();\n\t\t\t\t// processWriter.close();\n\t\t\t\tprocessClient.close();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "private void sendMessageToClient(String messageToClient){\n SwingUtilities.invokeLater(new Runnable() {\n @Override\n public void run() {\n output.println(\"\\n\" + \"Server: \" + messageToClient);\n output.flush();\n }\n });\n }", "protected void sendMessage() throws IOException {\r\n\t\tif (smscListener != null) {\r\n\t\t\tint procCount = processors.count();\r\n\t\t\tif (procCount > 0) {\r\n\t\t\t\tString client;\r\n\t\t\t\tSimulatorPDUProcessor proc;\r\n\t\t\t\tlistClients();\r\n\t\t\t\tif (procCount > 1) {\r\n\t\t\t\t\tSystem.out.print(\"Type name of the destination> \");\r\n\t\t\t\t\tclient = keyboard.readLine();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tproc = (SimulatorPDUProcessor) processors.get(0);\r\n\t\t\t\t\tclient = proc.getSystemId();\r\n\t\t\t\t}\r\n\t\t\t\tfor (int i = 0; i < procCount; i++) {\r\n\t\t\t\t\tproc = (SimulatorPDUProcessor) processors.get(i);\r\n\t\t\t\t\tif (proc.getSystemId().equals(client)) {\r\n\t\t\t\t\t\tif (proc.isActive()) {\r\n\t\t\t\t\t\t\tSystem.out.print(\"Type the message> \");\r\n\t\t\t\t\t\t\tString message = keyboard.readLine();\r\n\t\t\t\t\t\t\tDeliverSM request = new DeliverSM();\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\trequest.setShortMessage(message);\r\n\t\t\t\t\t\t\t\tproc.serverRequest(request);\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"Message sent.\");\r\n\t\t\t\t\t\t\t} catch (WrongLengthOfStringException e) {\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"Message sending failed\");\r\n\t\t\t\t\t\t\t\tevent.write(e, \"\");\r\n\t\t\t\t\t\t\t} catch (IOException ioe) {\r\n\t\t\t\t\t\t\t} catch (PDUException pe) {\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tSystem.out.println(\"This session is inactive.\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"No client connected.\");\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"You must start listener first.\");\r\n\t\t}\r\n\t}", "private void handlemsg(String[] tokens) throws IOException {\n String sendto = tokens[1];\n String body = tokens[2];\n boolean istopic = (sendto.charAt(0) == '#'); //if hash then mssg is being sent to group\n List<ServerHelper> helperList = server.getList();\n for (ServerHelper helper : helperList) {\n if (istopic) { //if group mssg\n if (helper.isMember(sendto)) {\n helper.notify(\"msg \"+login + \" in \" + sendto + \":\" + body + \"\\n\");\n\n }\n } else { //if individual msg\n if (sendto.equalsIgnoreCase(helper.login)) {\n helper.notify(\"msg \"+login + \" : \" + body + \"\\n\");\n }\n }\n }\n }", "public void handleMessageFromClient (Object msg, ConnectionToClient client) \r\n { \r\n\t Envelope en=(Envelope)msg;\r\n\t User user=null;\r\n\t int write=0;\r\n\t String str=msg.toString();\r\n try{\r\n\t Statement stmt = conn.createStatement();\r\n\r\n\t if((en.getTask()).equals(\"login\")) //search Login\r\n\t {\r\n\t\t logInMod showfiles=(logInMod)en.getObject();\r\n\t\t file f;\r\n\t\t String username;\r\n\t\t String pass;\r\n\t\t String mail;\r\n\t\t int status;\r\n\t\t ArrayList<file> files=new ArrayList<>();\r\n\t\t String re = \"SELECT * FROM users WHERE users.username= '\"+(showfiles.getUserName()+\"' AND users.password='\"+showfiles.getPassword()+\"'\");\r\n\t\t rs = stmt.executeQuery(re);\r\n\t\t \r\n\t\t if(rs.next()==true)\r\n\t\t { \r\n\t\t\t username=rs.getString(1);\r\n\t\t\t pass=rs.getString(2);\r\n\t\t\t mail=rs.getString(3);\r\n\t\t\t status=rs.getInt(4);\r\n\t\t\t String re2 = \"SELECT * FROM files WHERE files.username= '\"+(showfiles.getUserName()+\"'\");\r\n\t\t\t\trs1 = stmt.executeQuery(re2);\r\n\t\t\t\twhile(rs1.next()==true)\r\n\t\t\t\t {\r\n\t\t\t\t\t f=new file(rs1.getString(2),rs1.getString(3));\r\n\t\t\t\t\t files.add(f);\r\n\t\t\t\t }\r\n\t \t user = new User(username,pass,mail,status,files);\r\n\t \t en=new Envelope(user,\"log in handle\");\r\n\t \t client.sendToClient(en);\r\n\t\t }\r\n\t\t\r\n\t\t else \r\n\t\t\t client.sendToClient(\"Not found User\");\r\n\t }\r\n\t\r\n\t if(en.getTask().equals(\"forgotPass\"))\r\n\t {\r\n\t\t forgetPassCon forgot=(forgetPassCon)en.getObject();\r\n\t\t String re = \"SELECT * FROM users WHERE users.email= '\"+(forgot.getUserMail()+\"'\");\r\n\t\t rs = stmt.executeQuery(re);\r\n\t\t if(rs.next()==true)\r\n\t\t {\r\n\t\t\t client.sendToClient(\"we found the mail!\");\r\n\t\t\t \r\n\t\t }\r\n\t\t \r\n\t\t else\r\n\t\t\t client.sendToClient(\"mail doesn't exists\");\r\n\t }\r\n\t \r\n\tif(en.getTask().equals(\"log in status\"))\r\n\t{\r\n\t User userloged=(User)en.getObject();\r\n\t String upd = \"UPDATE users SET status= '1' WHERE users.username = '\"+(userloged.getUsreName()+\"' AND users.password='\"+userloged.getUpassword())+\"'\";\r\n\t stmt.executeUpdate(upd);\r\n controller.SetLog(userloged,\"login\"); //update the login serverLogGui\r\n\t}\r\n if(en.getTask().equals(\"log out status\"))\r\n\t{\r\n\t User userloged=(User)en.getObject();\r\n\t String upd = \"UPDATE users SET status= '0' WHERE users.username = '\"+(userloged.getUsreName()+\"' AND users.password='\"+userloged.getUpassword())+\"'\";\r\n\t stmt.executeUpdate(upd);\r\n\t controller.SetLog(userloged,\"logout\"); //update the logout serverLogGui\r\n }\r\n if(en.getTask().equals(\"show user interest groups\"))\r\n {\r\n \tinterestGroups s= null;\r\n \tinterestGroups s2= null;\r\n \tuser=(User)en.getObject();\r\n \tArrayList<interestGroups> interestGroup=new ArrayList<>();\r\n \tArrayList<interestGroups> allGroup=new ArrayList<>();\r\n \tString re=\"select * from test.interstgroups where interstgroups.username= '\"+user.getUserName() +\"'\";\r\n \t rs = stmt.executeQuery(re);\r\n \t while(rs.next()==true)\r\n \t {\r\n \t\ts=new interestGroups(rs.getString(2));\r\n \t\tinterestGroup.add(s);\r\n \t\r\n \t }\r\n \t user.setInterestGroupInDB(interestGroup);\r\n \t String temp;\r\n \t String re2=\"select distinct groupname from test.interstgroups\";\r\n \t rs = stmt.executeQuery(re2);\r\n \t while(rs.next()==true)\r\n \t {\r\n \t\t temp = rs.getString(1);\r\n \t\t s2=new interestGroups(temp);\r\n \t\t allGroup.add(s2);\r\n \t }\r\n \t user.setAllGroupInDB(allGroup);\r\n \t en=new Envelope(user,\"show user interest groups\");\r\n \t\t client.sendToClient(en);\r\n \t \r\n }\r\n\t \r\n\t \r\n }\r\n catch (SQLException e) {\r\n \te.printStackTrace();\r\n } \r\n catch (IOException e) {\r\n e.printStackTrace();}\r\n }", "public void run() {\n try {\n\n // Create character streams for the socket.\n in = new BufferedReader(new InputStreamReader(\n socket.getInputStream()));\n out = new PrintWriter(socket.getOutputStream(), true);\n System.out.println(\"...\"+socket.getInetAddress());\n\n // Request a name from this client. Keep requesting until\n // a name is submitted that is not already used. Note that\n // checking for the existence of a name and adding the name\n // must be done while locking the set of names.\n while (true) {\n out.println(\"SUBMIT NAME\");\n name = in.readLine();\n \tString[] arr= name.split(\":\", 2);\n \tname= arr[1];\n if (name == null) {\n return;\n }\n if (!ip.contains(socket.getInetAddress())) {\n ip.add(socket.getInetAddress());\n }\n else\n {\n \tout.println(\"already opened once.\");\n \tcontinue;\n }\n synchronized (clientOut) {\n if (clientOut.get(name) == null) {\n client.put(count, name);\n id= count;\n break;\n }\n }\n }\n\n // Now that a successful name has been chosen, add the\n // socket's print writer to the set of all writers so\n // this client can receive broadcast messages.\n clientOut.put(name, out);\n out.println(\"NAMEACCEPTED\"+name);\n //adding online users to the new user.\n for (int i= 0;i < count;i++) {\n \tString str;\n\t\t\t\t\tif((str= (String)client.get(i)) != null)\n \t\tout.println(\"TAB\"+i+str);\n }\n \n //adding new user to all the users who are online.\n for (int i= 0;i < count;i++) {\n \tPrintWriter wrt;\n \tif((wrt= clientOut.get(client.get(i))) != null)\n \t\twrt.println(\"TAB\"+count+name);\n }\n count++;\n\n // Accept messages from this client and broadcast them.\n // Ignore other clients that cannot be broadcasted to.\n while (true) {\n \tString input= in.readLine();\n \tchar c1;\n \tint c2;\n \tString[] arr= input.split(\":\", 2);\n \tif(arr[0].equals(\"FILE\"))\n \t{\n \t\tString[] arr1= input.split(\":\", 3);\n \t\tPrintWriter p= clientOut.get(client.get(Integer.valueOf(arr1[1])));\n \t\tp.println(\"FILE:\"+id+\":\"+arr1[2]);\n \t\twhile((input= in.readLine()) != \"stop\")\n \t\t{\n \t\t\tp.println(input);\n \t\t\tp.flush();\n \t\t}\n \t\tp.println(\"stop\");\n \t\tp.flush();\n \t\tSystem.out.println(\"sent.........\");\n/* \t\twhile((c2= in.read()) != -1)\n \t\t{\n \t\t\tc1= (char) c2;\n \t\t\tp.print(c1);\n \t\t\tp.flush();\n \t\t\tSystem.out.print(c2);\n \t\t}\n \t\tSystem.out.println(c2+\".......\");\n \t\tp.print((char)-1);*/\n \t}\n \telse\n \t\tclientOut.get(client.get(Integer.valueOf(arr[0]))).println(\"MESSAGE:\"+id+\":\"+name+\":\"+arr[1]);\n }\n } catch (IOException e) {\n System.out.println(e);\n } finally {\n // This client is going down! Remove its name and its print\n // writer from the sets, and close its socket.\n \t//remove this client from every other client.(TAB)\n \tfor (int i= 0;i < count;i++) {\n \t\tPrintWriter wrt;\n\t\t\t\t\tif(i != id && (wrt= clientOut.get(client.get(i))) != null)\n \t\t\twrt.println(\"REMOVE\"+id);\n }\n\n if (name != null) {\n \tclient.remove(id);\n \tclientOut.remove(name);\n \tip.remove(socket.getInetAddress());\n }\n try {\n socket.close();\n } catch (IOException e) {\n }\n }\n }", "public void send(String raw_msg, AbstractVisitor sender) {\n\n for(AbstractVisitor user : users) {\n if(sender != user) {\n user.receive(\"From \" + sender.getName() + \" to \" + user.getName() + \": \" + raw_msg);\n }\n }\n\n }", "public static void client() \n\t{\n\t\tint cMessage;\n\t\tint cMessageSquared;\n\t\tfor(int i=0; i<serverMsg.length;i++)\n\t\t{\n\t\t\tcMessage = clientMsg[i]; \n\t\t\tcMessageSquared = cMessage*cMessage;\n\t\t\tclientCyphertext[i] = Damgard.Encrypt(BigInteger.valueOf(cMessage),key);\n\t\t\tclientCyphertextSquared[i] = Damgard.Encrypt(BigInteger.valueOf(cMessageSquared),key);\n\t\t\tif(debug) System.out.println(\"x^2 \" + i + \": \" + Damgard.Decrypt(clientCyphertextSquared[i], key));\n\t\t\tif(debug) System.out.println(\"x\" + i + \": \" + Damgard.Decrypt(clientCyphertext[i], key));\n\t\t}\n\t}", "private void sendMessage(JSONArray parameter) {\n String msg = \"\";\n if (parameter.size() > 1) {\n for (int i = 1; i < parameter.size(); i++) {\n msg = msg + parameter.get(i).toString();\n }\n Client xClient = MailboxServer.getClientX((String) parameter.get(0));\n JSONObject j = new JSONObject();\n\n j.put(\"sequence\", ++sequence);\n j.put(\"response\", msg);\n\n if (xClient != null) {\n try {\n PrintWriter xOutput = new PrintWriter(xClient.getClientSocket().getOutputStream());\n xOutput.println(j);\n xOutput.flush();\n } catch (IOException ex) {\n }\n } else {\n failedClientResponse(\"Client doesent exist!\");\n }\n clientResponse(\"Message sent! 200- OK\");\n }\n }", "public static void getWatch() {\n for ( String nodeId : getNodes() ){\n Wearable.MessageApi.sendMessage(\n mGoogleApiClient, nodeId, \"GET_WATCH\", new byte[0]).setResultCallback(\n new ResultCallback<MessageApi.SendMessageResult>() {\n @Override\n public void onResult(MessageApi.SendMessageResult sendMessageResult) {\n if (!sendMessageResult.getStatus().isSuccess()) {\n Log.i(\"MessageApi\", \"Failed to send message with status code: \"\n + sendMessageResult.getStatus().getStatusCode());\n } else if (sendMessageResult.getStatus().isSuccess()) {\n Log.i(\"MessageApi\", \"onResult successful!\");\n }\n }\n }\n );\n }\n }", "public void clientShout(String message) {\n\t\tfor (final Player player : this.players) {\n\t\t\tplayer.sendMessage(message);\n\t\t}\n\t}", "public void updateActiveUsers() {\r\n\t\tif (commandsQueue.isEmpty()) {\r\n\t\t\tString currentDoc = this.toString();\r\n\t\t\tfor (Socket socket : activeClients) {\r\n\t\t\t\tif (!socket.isClosed())\r\n\t\t\t\t\tServer.outs.get(socket).println(id + \"A\" + currentDoc);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void handleMessageFromClient (Object msg, ConnectionToClient client)\n {\n\t int i=0;\n\t int scanCode=0;\n\t ArrayList<Object> answer = new ArrayList<Object>();\n\t \n\t String command = (String)( ((ArrayList<Object>)msg).get(0) );\n\t \t \n\t scanCode = convertToScanCode( command );\n\t \n\t String logLine = new String (client.getName() + \" \" + command + \" \"); \n\t logger.addString(logLine);\n\t\n\t switch (scanCode)\n\t {\n\t \n\t case(001):\n\t\t {\n\t\t\ttry {\n\t\t\t\t\t\n\t\t\t\t\t\tanswer = functions.login( (UserEntity) ((ArrayList<Object>)msg).get(1) );\n\t\t\t\t\t\n\t\t\t\t\t\tclient.sendToClient(answer);\n\n\t\t\t\t\t}catch (IOException e){\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t//\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t }\n\t\t \n\t case(002):\n\t\t {\n\t\t\t\n\t\n\t\t\t String userID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t\t\t answer = functions.getInfo(userID);\n\t\t\t try {\n\t\t\t\tclient.sendToClient(answer);\n\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t//\te.printStackTrace();\n\t\t\t}\n\t\t\t\tbreak;\n\t\t }\n\t\t \n\t case(003):\n\t {\n\t \tRequestEntity request= (RequestEntity) ((ArrayList<Object>)msg).get(1);\n\t \t//int fileLength= (int) ((ArrayList<Object>)msg).get(3);\n\t \tint fileLength= Integer.parseInt((((ArrayList<Object>)msg).get(3).toString()));\n\t \tbyte[] bytes= (byte[]) ((ArrayList<Object>)msg).get(2);\t\t\n\t\tanswer = functions.request( (RequestEntity) ((ArrayList<Object>)msg).get(1) );\n\t \tif(fileLength>0){\n\t \t\tfunctions.uploadFile(request, bytes, fileLength);\n\t \t}\n\t\ttry {\n\t\t\tclient.sendToClient(answer);\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t//\te.printStackTrace();\n\t\t}\n\t\tbreak;\n\t }\n\t\t \n\t case(004):\n\t\t {\n\t\t\t \n\t\t \tanswer = functions.getListOfColumn(\"systeminfo\", \"Description\", \"listOfSystems\"); // General reusable method\n\t\t\t try {\n\t\t\t\tclient.sendToClient(answer);\n\t\t\t} catch (IOException e) \n\t\t\t{\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t//e.printStackTrace();\n\t\t\t}\n\t\t\t\tbreak;\n\t\t }\n\t\t\n\n\t case(007):\n\t {\n\t\t\n\t\t String userID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t\t answer = functions.getRequestHistory(userID);\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t }\n\t \n\t case(8):\n\t {\n\t\t\n\t\t String requestID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t\t answer = functions.getRequest(requestID);\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t }\n\t case(9):\n\t {\n\t\t \n\t\t\n\t\t answer = functions.getReq((String)( ((ArrayList<Object>)msg).get(1)));\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t//\te.printStackTrace();\n\t\t\t}\n\t\t\t\tbreak;\n\t\t }\n\t case(102):\n\t {\n\t\t\n\t\t \n\t\t\n\t\t String userID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t\t String currentStatus= new String((String) ((ArrayList<Object>)msg).get(2));\n\t\t \n\t\t \n\t\t answer = functions.getlistOfRequests(userID,currentStatus);\n\t\t try {\n\t\t\t \n\t\t\t \n\t\t\tclient.sendToClient(answer);\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t }\n case(101):\n {\n\t scanCode=000;\n\t String request = new String((String) ((ArrayList<Object>)msg).get(1));\n\t String days = new String((String) ((ArrayList<Object>)msg).get(2));\n\t String newStatus= new String((String) ((ArrayList<Object>)msg).get(3));\n\t answer = functions.setTaskDuration(request,days,newStatus);\n\t try { \n\t\tclient.sendToClient(answer);\n\t} catch (IOException e) {\n\t\t// TODO Auto-generated catch block\n\t//\te.printStackTrace();\n\t}\n\t\tbreak;\n }\n\n \n case(302):\n { \n\t\t\n \tString assID = new String((String) ((ArrayList<Object>)msg).get(1));\t\n \tanswer = functions.getReviewAndDecision(assID); \n \n \t\t try {\n \t\t\tclient.sendToClient(answer);\n \t\t} catch (IOException e)\n \t\t{\n \t\t//\te.printStackTrace();\n \t\t}\n \t\t\tbreak;\n }\n \n case(303):\n { \n \tString requestID = new String((String) ((ArrayList<Object>)msg).get(1));\n \tString discussionLog = new String((String) ((ArrayList<Object>)msg).get(2));\n \tanswer = functions.setValueByRequestID(\"reviewanddecision\", \"reviewAndDecision\", \"reqID\", requestID, discussionLog, \"discussionLogAnswer\" ); \n \t\n \t\t try {\n \t\t\tclient.sendToClient(answer);\n \t\t} catch (IOException e)\n \t\t{\n \t\t\t//e.printStackTrace();\n \t\t}\n \t\t\tbreak;\n }\n \n case(304):\n\t {\n\t\t\n\t\t String assessmentID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t\t answer = functions.getAssessment(assessmentID);\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t }\n \n case(200):\n {\n\t String userID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t String currentStatus= new String((String) ((ArrayList<Object>)msg).get(2));\n\t String Elid = (String) ((ArrayList<Object>)msg).get(3);\n\t String table = (String) ((ArrayList<Object>)msg).get(4);\n\t answer = functions.getlistOfExRequests(userID,currentStatus,Elid,table);\n\t try {\n\t\tclient.sendToClient(answer);\n\t} catch (IOException e) {\n\t\t//e.printStackTrace();\n\t}\n\t\tbreak;\n }\n \n case(305):\n { \n \t\n \tanswer = functions.getRequestsWithTwoValues(\"request\", \"Status\", \"Rid\", \"5\", \"6\", \"reviewableRequests\"); \n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n \n case(307):\n { \n\t \tString requestID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t \tString discussionLog = new String((String) ((ArrayList<Object>)msg).get(2));\n \tanswer = functions.insertValuesToReviewAndDecision (requestID, discussionLog ); \n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n \n case(308):\n { \n\t \tString requestID = new String((String) ((ArrayList<Object>)msg).get(1));\n \tanswer = functions.convertRequestIDtoAssessmentID(requestID); \n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n \n case(309):\n\t {\n\t\t\n\t\t String requestID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t\t answer = functions.getRequest(requestID);\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t }\n case(310):\n {\n\t\n\t\n\t answer = functions.getAss();\n\t try {\n\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t }\n\t \n\n case(201):\n {\n\t String code = ((String)((ArrayList<Object>)msg).get(0));\n\t String request = new String((String) ((ArrayList<Object>)msg).get(1));\n\t String det= new String((String) ((ArrayList<Object>)msg).get(2));\n\t String newStatus = (String) ((ArrayList<Object>)msg).get(4);\n\t functions.changeStatus(request, newStatus);\n\t int req = Integer.parseInt(request);\n\t answer = functions.getExeccutionEntity(code,req);\n\t if (answer.get(1).equals(\"Valid\"))\n\t {\n\t\t answer = functions.updateExecutedReq(code, request, det);\n\t }\n\t else{\n\t\t answer = functions.enterNewExecutionRecord(code, request, det, \"no\");\n\t }\n\t if(!((ArrayList<Object>)msg).get(5).equals(\"nothing\"))\n\t {\n\t\t ArrayList<Object> ex = new ArrayList<Object>();\n\t\t String code1=((String)((ArrayList<Object>)msg).get(5));\n\t\t int number = Integer.parseInt((((ArrayList<Object>)msg).get(6)).toString());\n\t\t RequestEntity en = ((RequestEntity)((ArrayList<Object>)msg).get(7));\n\t\t String status = ((String)((ArrayList<Object>)msg).get(8));\n\t\t String pid1 = ((String)((ArrayList<Object>)msg).get(9));\n\t\t ex = functions.fillInExceeded(code1,en.getRID(),en.getUid(),number,status);\n\t\t ArrayList<Object> eleader = functions.getUsers(\"getEleader\",pid1);\n\t\t if(eleader.get(1).equals(\"Valid\"))\n\t\t {\n\t\t\t EmailEntity eleMail = (EmailEntity) eleader.get(2);\n\t\t\t String mail = eleMail.getMail();\n\t\t\t SendMailSSL.SendEmail(mail, \"Ass' exceeded\", \"For your notice ! the ass number\" + request + \"have Exceeded!\" );\n\t\t\t SendMailSSL.SendEmail(\"braudeSupervisor@gmail.com\",\"Ass' exceeded\", \"For your notice ! the ass number\"+request + \"have Exceeded!\");\n\t\t\t SendMailSSL.SendEmail(\"no1984name@hotmail.com\",\"Ass' exceeded\", \"For your notice ! the ass number\" + request + \"have Exceeded!\");\n\t\t }\n\t\t \n\t\t \n\t\t answer.add(ex);\n\t }\n\t else\t// was put in order not to check out of bounds place .\n\t {\n\t\t ArrayList<Object> ex = new ArrayList<Object>();\n\t\t String code1 = \"fillInExceeded\";\n\t\t String Valid = \"notValid\";\n\t\t ex.add(code1);\n\t\t ex.add(Valid);\n\t\t answer.add(ex);\n\t }\n\t try {\n\t\tclient.sendToClient(answer);\n\t} catch (IOException e) {\n\t\t// TODO Auto-generated catch block\n\t\t//e.printStackTrace();\n\t}\n\t\tbreak; \n }\n \n case(900):\n { \n\t \tExtendEntity deadlineRequest = ((ExtendEntity) ((ArrayList<Object>)msg).get(1));\n \tanswer = functions.extendDeadlineRequest(deadlineRequest); \n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n\t \n case(901):\n { \n\t \t\n \tanswer.add(\"extentionRequestWasSent\");\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n \n case(902):\n { \n\t String requestID = ((String)((ArrayList<Object>)msg).get(1));\n\t \tanswer = functions.changeStatus(requestID,\"62\");\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n \n\r\n case(903):\n { \n\t String requestID = ((String)((ArrayList<Object>)msg).get(1));\n\t \tanswer = functions.changeStatus(requestID,\"7\");\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n \n case(904):\n { \n\t String requestID = ((String)((ArrayList<Object>)msg).get(1));\n\t String additionalInformation = ((String)((ArrayList<Object>)msg).get(2));\n\t \n\t \tanswer = functions.requireAdditionalInformation(requestID,additionalInformation);\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n \n\r\n case(800):\n {\n\r\n\t\n\t String userID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t answer = functions.getUser(userID);\n\t try {\n\t\tclient.sendToClient(answer);\n\n\t} catch (IOException e) {\n\t\t// TODO Auto-generated catch block\n\t\t//e.printStackTrace();\n\t}\n\t\tbreak;\n }\n case(801):\n {\n\t\n\t String reqID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t String ID = new String((String) ((ArrayList<Object>)msg).get(2));\n\t String identity =new String((String) ((ArrayList<Object>)msg).get(3));\n\t String status =new String((String) ((ArrayList<Object>)msg).get(4));\n\t \n\t answer = functions.Pair(reqID,ID,identity,status);\n\t try {\n\t\tclient.sendToClient(answer);\n\n\t} catch (IOException e) {\n\t\t// TODO Auto-generated catch block\n\t\t//e.printStackTrace();\n\t}\n\t\tbreak;\n }\n case(802):\n {\n\t \n\t\n\t answer = functions.getExe();\n\t try {\n\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t }\n\t\n case(103):\n {\n\t \n\t AssessmentEntity assessmentEntity=((AssessmentEntity) ((ArrayList<Object>)msg).get(1));\n\t String newStatus= new String((String) ((ArrayList<Object>)msg).get(2));\n\t String requestID= assessmentEntity.getRid();\n\t String userID = functions.requestToUserID(requestID);\n\t String email;\n\t \n\t ArrayList<Object> requestArray = functions.getRequest(requestID);\n\t RequestEntity request = (RequestEntity)(requestArray.get(1));\n\t if (CommonMethods.exceededDeadline(request.getDeadline()))\n\t {\n\t\t functions.fillInExceeded(\"fillInExceeded\", Integer.parseInt(requestID), request.getUid(),CommonMethods.getExceededTime(request.getDeadline()), request.getStatusid());\n\t\t if (!userID.equalsIgnoreCase(\"none\"))\n\t\t {\n\t\t\t ArrayList<Object> user = functions.getInfo(userID);\n\t\t\t email = (String)user.get(3);\n\t\t\tSendMailSSL.SendEmail(email, \"Deadline exceeded!\", \"You have exceeded the deadline for request \" + requestID);\n\t\t }\n\t\t\n\t\t\n\t }\n\t \n\t \n\t answer = functions.setAssessment(assessmentEntity, newStatus);\n\t try {\n\t\t \n\t\t client.sendToClient(answer);\n\t\t \n\t } catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t//\te.printStackTrace();\n\t }\n\t break;\n }\n\n case(202):\n { \n\t \tArrayList<Object> extra = new ArrayList<Object>();\n\t \tString code = new String((String) ((ArrayList<Object>)msg).get(0));\n \t\tString requestID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t\tanswer = functions.getRequest(requestID);\n \tint request = Integer.parseInt(requestID);\n \textra = functions.getExeccutionEntity(code,request);\n \tanswer.add(extra);\n \ttry {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n \n case(905):\n { \n\t String status = new String((String) ((ArrayList<Object>)msg).get(1));\n\t \tanswer = functions.getListsForAssignment(status);\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n \n case(906):\n { \n\t String userSkill = new String((String) ((ArrayList<Object>)msg).get(1));\n\t \tanswer = functions.getListOfUsers(userSkill);\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n case(803):\n {\n\t\n\t String reqID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t String status = new String((String) ((ArrayList<Object>)msg).get(2));\n\t answer = functions.approveEXDu(reqID, status);\n\t try {\n\t\tclient.sendToClient(answer);\n\n\t} catch (IOException e) {\n\t\t// TODO Auto-generated catch block\n\t\t//e.printStackTrace();\n\t}\n\t\tbreak;\n }\n case(804):\n {\n\t\n\t String reqID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t\t\n\n\t answer = functions.getDu(reqID);\n\t try {\n\t\tclient.sendToClient(answer);\n\n\t} catch (IOException e) {\n\t\t// TODO Auto-generated catch block\n\t\t//e.printStackTrace();\n\t}\n\t\tbreak;\n }\n \n case(907):\n { \n\t String inspectorID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t String requestID = new String((String) ((ArrayList<Object>)msg).get(2));\n\t \tanswer = functions.setInspectorToRequest(requestID, inspectorID);\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n case(805):\n { \n\t\t\n\n\t String reqID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t //int newDuration=(int)((ArrayList<Object>) msg).get(2);\n\t int newDuration= Integer.parseInt((((ArrayList<Object>) msg).get(2)).toString());\n\t\t\n\t \tanswer = functions.setNewDuration(reqID,newDuration);\n\n\t\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n }\n case(205):\n {\n\t String code = ((String)((ArrayList<Object>)msg).get(0));\n\t String request = new String((String) ((ArrayList<Object>)msg).get(1));\n\t String det= new String((String) ((ArrayList<Object>)msg).get(2));\n\t String bool = new String((String) ((ArrayList<Object>)msg).get(3));\n\t answer = functions.enterNewExecutionRecord(code,request,det,bool);\n\t try {\n\t\t\tclient.sendToClient(answer);\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak; \n }\n case(204):\n {\n\t String code = ((String)((ArrayList<Object>)msg).get(0));\n\t String request = new String((String) ((ArrayList<Object>)msg).get(1));\n\t String det= new String((String) ((ArrayList<Object>)msg).get(2));\n\t answer = functions.updateExecutedReq(code,request,det);\n\t try {\n\t\tclient.sendToClient(answer);\n\t} catch (IOException e) {\n\t//\te.printStackTrace();\n\t}\n\t\tbreak; \n }\n \n case(203):\n { \n\t \tArrayList<Object> extra = new ArrayList<Object>();\n \tString code = ((String) ((ArrayList<Object>)msg).get(0));\n \tString requestID = new String((String) ((ArrayList<Object>)msg).get(1));\n \tint request = Integer.parseInt(requestID);\n \textra = functions.getExeccutionEntity(code,request);\n \ttry {\n\t\t\tclient.sendToClient(extra);\n\t\t} catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n } \n\ncase(908):\n{ \n\t\tString inspectorID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t \tanswer = functions.getRequestsWithTwoValues(\"request\", \"Status\", \"Rid\", \"12\", \"5555\", \"listOfInspectionableRequests\");\n\t\t try\n\t\t {\n\t\t\tclient.sendToClient(answer);\n\t\t}catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n}\n\n\n\ncase(909):\n{ \n\t\tString requestID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t \tanswer = functions.getExeccutionEntity(\"executionEntity\",Integer.parseInt(requestID));\n\r\n\t\t try\n\t\t {\n\t\t\tclient.sendToClient(answer);\n\t\t}catch (IOException e)\n\t\t{\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n}\n\ncase(910):\n{ \n\t\tString requestID = new String((String) ((ArrayList<Object>)msg).get(1));\n\t \tanswer = functions.getInspection(requestID);\n\t\t try\n\t\t {\n\t\t\tclient.sendToClient(answer);\n\t\t}catch (IOException e)\n\t\t{\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t\t\t\n}\n\ncase(911):\n{ \n\t\n\t\tInspectionEntity inspection = ((InspectionEntity) ((ArrayList<Object>)msg).get(1));\n\t\tArrayList<Object> ans1 = new ArrayList<Object>();\n\t\tString action = ((String)((ArrayList<Object>)msg).get(2));\n\t\tanswer = functions.setInspection(inspection, action);\n\t \n\t\tif (action.equalsIgnoreCase(\"approve\") && ((String)answer.get(1)).equalsIgnoreCase(\"Valid\") )\n\t \t{\n\t \t\tans1=functions.changeStatus(inspection.getRequestID(), \"121\");\n\t \t}\n\t \telse\n\t \tif (action.equalsIgnoreCase(\"deny\") && ((String)answer.get(1)).equalsIgnoreCase(\"Valid\") )\n\t\t{\n\t\t \tans1=functions.changeStatus(inspection.getRequestID(), \"122\");\n\t\t}\t\n\t \telse\n\t \t{\n\t\t\tans1.add(\"somthing\");\n\t\t\tans1.add(\"StatusNotSet\");\n\t\t}\t\n\t\tanswer.add(ans1.get(1).toString());\n\t\t try\n\t\t {\n\t\t\tclient.sendToClient(answer);\n\t\t}catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t\t\t\n} \ncase(806):\n{ \n\t\n\t \tanswer = functions.getExtend();\n\t\t try\n\t\t {\n\t\t\tclient.sendToClient(answer);\n\t\t}catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t\t\t\n}\n\ncase(500):\n{ \n\t\t\n\t\tanswer = functions.initializeMangeEmployees();\n\t\t\n\t\t try\n\t\t {\n\t\t\tclient.sendToClient(answer);\n\t\t}catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t\t\t\n} \ncase(807):\n{ \n\t\tString reqID = new String( (String)((ArrayList<Object>)msg).get(1));\n\t \tanswer = functions.getExtendInfo(reqID);\n\t\t try\n\t\t {\n\t\t\tclient.sendToClient(answer);\n\t\t}catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t\t\t\n}\n\ncase(501):\n{ \n\t\tUserEntity oldChairman = ((UserEntity) ((ArrayList<Object>)msg).get(1));\n\t\tUserEntity newChairman = ((UserEntity) ((ArrayList<Object>)msg).get(2));\n\t\tanswer = functions.switchChairman(oldChairman, newChairman);\n\t \n\t\t try\n\t\t {\n\t\t\tclient.sendToClient(answer);\n\t\t}catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t\t\t\n} \ncase(104):\n{\n\t \n\t AssessmentEntity assessmentEntity=((AssessmentEntity) ((ArrayList<Object>)msg).get(1));\n\t answer = functions.newAssessmentRow(assessmentEntity);\n\t try {\n\t\t \n\t\t client.sendToClient(answer);\n\t\t \n\t } catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\t//e.printStackTrace();\n\t }\n\t break;\n}\ncase(808):\n{ \n\t\tString code = new String((String) ((ArrayList<Object>)msg).get(1));\n\t\tString extID = new String((String) ((ArrayList<Object>)msg).get(2));\n\t \tanswer = functions.approvDenyExt(code,extID);\n\t\t try\n\t\t {\n\t\t\tclient.sendToClient(answer);\n\t\t}catch (IOException e)\n\t\t{\n\t//\t\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t\t\t\n}\n\ncase(502):\n{ \n\t\tUserEntity oldCommitteeMember = ((UserEntity) ((ArrayList<Object>)msg).get(1));\n\t\tUserEntity newCommitteeMember = ((UserEntity) ((ArrayList<Object>)msg).get(2));\n\t\tanswer = functions.switchCommitteeMembers(oldCommitteeMember, newCommitteeMember);\n\t \n\t\t try\n\t\t {\n\t\t\tclient.sendToClient(answer);\n\t\t}catch (IOException e)\n\t\t{\n\t\t\t//e.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t\t\t\n} \n\ncase(206):\n{\n\t\n\tString code = ((String) ((ArrayList<Object>)msg).get(0));\n\tString pid = ((String) ((ArrayList<Object>)msg).get(1));\n\tString oldStatus =((String) ((ArrayList<Object>)msg).get(2));\n\tanswer = functions.getDeniedExecutions(code,pid,oldStatus);\n\ttry {\n\t\tclient.sendToClient(answer);\n\t}\n\tcatch (Exception e)\n\t{\n\t\te.getCause();\n\t\t\n\t}\n\tbreak;\n}\n\ncase(207):\n{\n\tArrayList<Object> extra = new ArrayList<Object>();\n\tString code = ((String) ((ArrayList<Object>)msg).get(0));\n\tString rid = ((String) ((ArrayList<Object>)msg).get(1));\n\tString newStatus =((String) ((ArrayList<Object>)msg).get(2));\n\tanswer = functions.changeStatus(rid,newStatus);\n\textra = functions.DelExeReq(rid);\n\ttry{\n\t\tclient.sendToClient(extra);\n\t}\n\tcatch(Exception e)\n\t{\n\t\te.getCause();\n\t\t\n\t}\n\tbreak;\n}\n\ncase(503):\n{ \n\t\tUserEntity currentUser = ((UserEntity) ((ArrayList<Object>)msg).get(1));\n\t\tanswer = functions.setUserAccess(currentUser);\n\t \n\t\t try\n\t\t {\n\t\t\tclient.sendToClient(answer);\n\t\t}catch (IOException e)\n\t\t{\n\t\t//\te.printStackTrace();\n\t\t}\n\t\t\tbreak;\n\t\t\t\n}\ncase(105):\n{\n\tanswer = functions.changeStatus();\n\ttry\n\t{\n\t\tclient.sendToClient(answer);\n\t}\n\tcatch (IOException e)\n\t{\n\t//\te.printStackTrace();\n\t}\n\tbreak;\n}\ncase(809):\n{\n\tString reqID = ((String) ((ArrayList<Object>)msg).get(1));\n\tString currentS = ((String) ((ArrayList<Object>)msg).get(2));\n\tString change = ((String) ((ArrayList<Object>)msg).get(3));\n\tString explanation =((String) ((ArrayList<Object>)msg).get(4));\n\tString supervisorID = ((String) ((ArrayList<Object>)msg).get(5));\n\tanswer = functions.updateFields(reqID,currentS,change,explanation,supervisorID);\n\ttry {\n\t\tclient.sendToClient(answer);\n\t\t\n\t}\n\tcatch (Exception e)\n\t{\n\t\te.getCause();\n\t\t}\n\tbreak;\n}\ncase(810):\n{\n\tString status1 = ((String) ((ArrayList<Object>)msg).get(1));\n\tString status2 = ((String) ((ArrayList<Object>)msg).get(2));\n\tanswer = functions.completeReq(status1,status2);\n\ttry {\n\t\tclient.sendToClient(answer);\n\t\t\n\t}\n\tcatch (Exception e)\n\t{\n\t\te.getCause();\n\t\t}\n\tbreak;\n}\n\n\n\ncase(504):\n{ \n\t\tString userID = ((String) ((ArrayList<Object>)msg).get(1));\n\t\tfunctions.logOff(userID);\n\t\t\n\t\n\t\t\tbreak;\n}\n\n\n\n\n\ncase(811):\n{\n\tString reqID = ((String) ((ArrayList<Object>)msg).get(1));\n\tString status = ((String) ((ArrayList<Object>)msg).get(2));\n\tanswer = functions.changeStatus(reqID,status);\n\ttry {\n\t\tclient.sendToClient(answer);\n\t\t\n\t}\n\tcatch (Exception e)\n\t{\n\t\te.getCause();\n\t\t}\n\tbreak;\n}\ncase(106):\n{\n\tString reqID = ((String) ((ArrayList<Object>)msg).get(1));\n\tanswer = functions.getFile(reqID);\n\n\ttry{\n\t\tclient.sendToClient(answer);\n\t}\n\tcatch(IOException e)\n\t{\n\t\t//e.printStackTrace();\n\t}\n\tbreak;\n}\n\n\ncase(812):\n{\n\tString exeID = ((String) ((ArrayList<Object>)msg).get(1));\n\t\n\tanswer = functions.getExecute(exeID);\n\ttry {\n\t\tclient.sendToClient(answer);\n\t\t\n\t}\n\tcatch (Exception e)\n\t{\n\t\te.getCause();\n\t\t}\n\tbreak;\n}\ncase(813):\n{\n\tString rID = ((String) ((ArrayList<Object>)msg).get(1));\n\t\n\tanswer = functions.ridToAid(rID);\n\ttry {\n\t\tclient.sendToClient(answer);\n\t\t\n\t}\n\tcatch (Exception e)\n\t{\n\t\te.getCause();\n\t\t}\n\tbreak;\n}\n\ncase(912):\n{\n\t \n\tanswer = functions.getListOfColumn(\"request\", \"Rid\", \"getListOfAllRequests\"); // General reusable method\n\t try {\n\t\tclient.sendToClient(answer);\n\t} catch (IOException e) \n\t{\n\t\t// TODO Auto-generated catch block\n\t//\te.printStackTrace();\n\t}\n\t\tbreak;\n}\ncase(913):\n{\n\t \n\tanswer = functions.getListOfColumn(\"assessment\", \"Assid\", \"getListOfAllAssessments\"); // General reusable method\n\t try {\n\t\tclient.sendToClient(answer);\n\t} catch (IOException e) \n\t{\n\t\t// TODO Auto-generated catch block\n\t\t//e.printStackTrace();\n\t}\n\t\tbreak;\n}\n\n\ncase(914):\n{\n\t \n\tanswer = functions.getListOfColumn(\"assessment\", \"Assid\", \"getListOfAllExecutions\"); // General reusable method\n\t try {\n\t\tclient.sendToClient(answer);\n\t} catch (IOException e) \n\t{\n\t\t// TODO Auto-generated catch block\n\t//\te.printStackTrace();\n\t}\n\t\tbreak;\n}\n\n\ncase(915):\n{\n\tint numberofdays;\n\tString days;\n\tString requestID = ((String) ((ArrayList<Object>)msg).get(1));\n\tArrayList<Object> request = functions.getRequest(requestID);\n\t\n\tRequestEntity myrequest = ((RequestEntity) ((ArrayList<Object>)request).get(1));\n\t\t\n\tnumberofdays = functions.getexceedTime(requestID);\n\tnumberofdays = numberofdays + CommonMethods.numberOfDays(myrequest.getDate(), myrequest.getDeadline());\n\tdays= Integer.toString(numberofdays);\n\t\n\tanswer = functions.changeStatus(requestID , \"999\");\n\tfunctions.setTaskDuration(requestID, days, \"999\");\n\t try {\n\t\tclient.sendToClient(answer);\n\t} catch (IOException e) \n\t{\n\t\t// TODO Auto-generated catch block\n\t\t//e.printStackTrace();\n\t}\n\t\tbreak;\n}\n\ncase(814):\n{\n \n answer = functions.getAllReq();\n try {\n client.sendToClient(answer);\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n break;\n }\ncase(815):\n{\n String rID = ((String) ((ArrayList<Object>)msg).get(1));\n String reason= ((String) ((ArrayList<Object>)msg).get(2));\n answer = functions.suspend(rID, reason);\n try {\n client.sendToClient(answer);\n \n }\n catch (Exception e)\n {\n e.getCause();\n }\n break;\n}\ncase(816):\n{\n String rID = ((String) ((ArrayList<Object>)msg).get(1));\n answer = functions.resume(rID);\n try {\n client.sendToClient(answer);\n \n }\n catch (Exception e)\n {\n e.getCause();\n }\n break;\n}\ncase(817):\n{\n String rID = ((String) ((ArrayList<Object>)msg).get(1));\n answer = functions.susInfo(rID);\n try {\n client.sendToClient(answer);\n \n }\n catch (Exception e)\n {\n e.getCause();\n }\n break;\n}\ncase(107):\n{\n\tString from = ((String) ((ArrayList<Object>)msg).get(1));\n\tString to = ((String) ((ArrayList<Object>)msg).get(2));\n\tanswer = functions.activityReport(from, to);\n\tSystem.out.println(\"after answer sent to user\");\n\ttry {\n\t\tclient.sendToClient(answer);\t\t\n\t}\n\tcatch (Exception e)\n\t{\n\t\te.getCause();\n\t}\n\tbreak;\n}\ncase(108):\n{\n\tString date = ((String) ((ArrayList<Object>)msg).get(1));\n\tbyte[] bytes = ((byte[]) ((ArrayList<Object>)msg).get(2));\n\tint fileLength=((int) ((ArrayList<Object>)msg).get(3));\n\tanswer = functions.saveReport(date, bytes, fileLength);\n\ttry {\n\t\tclient.sendToClient(answer);\t\t\n\t}\n\tcatch (Exception e)\n\t{\n\t\te.getCause();\n\t}\n\tbreak;\n}\ncase(109):\n{\n\tString date = ((String) ((ArrayList<Object>)msg).get(1));\n\tanswer = functions.getReport(date);\n\ttry {\n\t\tclient.sendToClient(answer);\t\t\n\t}\n\tcatch (Exception e)\n\t{\n\t\te.getCause();\n\t}\n\tbreak;\n}\n\n }\n}", "private void sendMessage( final String path, final String text ) {\n new Thread( new Runnable() {\n @Override\n public void run() {\n NodeApi.GetConnectedNodesResult nodes = Wearable.NodeApi.getConnectedNodes( mGoogleApiClient ).await();\n for(Node node : nodes.getNodes()) {\n MessageApi.SendMessageResult result = Wearable.MessageApi.sendMessage(\n mGoogleApiClient, node.getId(), path, text.getBytes() ).await();\n }\n }\n }).start();\n }", "public void sendChat(String s) {\n ACLMessage m = new ACLMessage(briscola.common.ACLCodes.ACL_CHAT);\n m.setConversationId(getChatID());\n m.setContent(s);\n if (players == null) {\n say(\"Nessun giocatore in lista\");\n } else {\n for (Player p : players) {\n m.addReceiver(p.getAID());\n }\n send(m);\n }\n }", "public void notifyClients(String message, ClientThread sender) throws IOException {\n for (final ClientThread recipient : clients) {\n if (!recipient.equals(sender) && recipient.isAuthorized()) {\n recipient.writeToClient(sender.getNickname() + \": \" + message);\n }\n }\n }", "public void sendId() {\n for (int i = 0; i < numberOfPlayers; i++) {\n try {\n // s = ss.accept();\n oos = new ObjectOutputStream(sockets.get(i).getOutputStream());\n game.getOne().setID(0);\n game.getTwo().setID(1);\n oos.writeObject(i);\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }\n }", "private static void getClients() throws IOException {\r\n\t\tbidders=new ArrayList<Socket>();\r\n\t\tserverSocket=new ServerSocket(portno);\r\n\t\twhile ((bidders.size()<numBidders)&&(auctioneer==null)) {\r\n\t\t\tSocket temp=serverSocket.accept();\r\n\t\t\t//if (this client is a bidder)\r\n\t\t\t\tbidders.add(temp);\r\n\t\t\t//if (this client is the auctioneer)\r\n\t\t\t\tauctioneer=temp;\r\n\t\t}\r\n\t}", "public void sendPeerListToAll() {\r\n\t\tPacket packet = new Packet();\r\n\t\tpacket.eventCode = 1;\r\n\t\tfor(int i = 0; i < peerClientNodeConnectionList.size(); i++) {\r\n\t\t\tPeer peer = new Peer();\r\n\t\t\tpeer.peerID = peerClientNodeConnectionList.get(i).peerClientID;\r\n\t\t\tpeer.peerIP = peerClientNodeConnectionList.get(i).peerClientIP;\r\n\t\t\tpeer.peerPort = peerClientNodeConnectionList.get(i).peerClientListeningPort;\r\n\t\t\tpacket.peerList.add(peer);\r\n\t\t}\r\n\t\t\r\n\t\tfor(int i = 0; i < peerClientNodeConnectionList.size(); i++) {\r\n\t\t\ttry {\r\n\t\t\t\tpeerClientNodeConnectionList.get(i).outStream.writeObject(packet);\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\t\t\t\r\n\t\t}\r\n\t}", "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\r\n\tvoid updateNames () {\n\t\tConnection[] connections = server.getConnections();\r\n\t\t\r\n\t\tArrayList<String> names = new ArrayList<>(connections.length);\r\n\t\tfor (int i = connections.length - 1; i >= 0; i--) {\r\n\t\t\tChatConnection connection = (ChatConnection)connections[i];\r\n\t\t\tnames.add(connection.name);\r\n\t\t}\r\n\t\t// Send the names to everyone.\r\n\t\tUpdateNames updateNames = new UpdateNames();\r\n\t\tupdateNames.names = (String[])names.toArray(new String[names.size()]);\r\n\t\tserver.sendToAll(updateNames, true);\r\n\t}", "private void sendSMS(String msg) {\n SmsManager smsManager = SmsManager.getDefault();\n for (String destinationAddress : destinationAddresses) {\n smsManager.sendTextMessage(\n destinationAddress,\n null,\n msg,\n null,\n null\n );\n }\n }", "public void notifyClients(String message) throws IOException {\n for (final ClientThread recipient : clients) {\n if (recipient.isAuthorized()) {\n recipient.writeServerMessageToClient(message);\n }\n }\n }", "public void chat_list() {\n\n synchronized(chat_room) {\n Set chat_room_set = chat_room.keySet();\n Iterator iter = chat_room_set.iterator();\n\n clearScreen(client_PW);\n client_PW.println(\"------------Chat Room List-----------\");\n while(iter.hasNext()) {\n client_PW.println(iter.next());\n }\n client_PW.flush();\n }\n }", "@Override\n public void run() {\n try {\n boolean autoFlush = true;\n fromClient = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));\n toClient = new PrintWriter(clientSocket.getOutputStream(), autoFlush);\n } catch (IOException ioe) {\n throw new UncheckedIOException(ioe);\n }\n for (String entry : communicationWhenStarting) {\n sendMsg(entry);\n }\n while (connected) {\n try {\n Message msg = new Message(fromClient.readLine());\n updateClientAction(msg);\n } catch (IOException ioe) {\n disconnectClient();\n throw new MessageException(ioe);\n }\n }\n }", "public static void sendAdminChatMessage(ServerPlayer player, Component textComponent) {\n if (ServerUtil.checkIfAdminSilenced(player)) return; // Don't send if admin silenced\n String text = textComponent.getString();\n\n text = \"[\" + player.getName() + \": \" + text + \"]\";\n TextComponent newtext = getText(ChatFormatting.GRAY + \"\" + ChatFormatting.ITALIC + text);\n List<ServerPlayer> players = ServerPlayerUtil.getOnlinePlayers();\n LogHelper.info(text);\n\n for (ServerPlayer serverPlayer : players) {\n if (ServerPlayerUtil.isOperator(serverPlayer) && !serverPlayer.getName().equals(player.getName())) {\n sendMessage(serverPlayer, newtext, false);\n }\n }\n\n }", "public void run() {\n while (true) {\n try {\n /* Get string from client */\n String fromClient = this.in.readLine();\n \n /* If null, connection is closed, so just finish */\n if (fromClient == null) {\n for (int x=0; x<clientlist.size(); x++) {\n if (this == clientlist.get(x)){ clientlist.get(x).out.println(\"Client \" + this.id + \" disconnected\"); }\n }\n this.in.close();\n this.out.close();\n this.socket.close();\n return;\n }\n \n /* If the client said \"bye\", close the connection */\n if (fromClient.equals(\"bye\")) {\n for (int x=0; x<clientlist.size(); x++) {\n if (this != clientlist.get(x)){ clientlist.get(x).out.println(\"Client \" + this.id + \" said bye, disconnecting\"); }\n }\n this.in.close();\n this.out.close();\n this.socket.close();\n return;\n }\n\n if(fromClient.startsWith(\"/id \")) {\n String oldID=this.id;\n String msg = this.changeID(fromClient.substring(4));\n if (msg.equals(\"\")) {\n for (int x=0; x<clientlist.size(); x++) {\n if (this != clientlist.get(x)){ clientlist.get(x).out.println(\"Client \" + oldID + \" changed his/her name to \" + this.id); }\n }\n }\n else {\n this.out.println(msg);\n }\n }\n else if(fromClient.startsWith(\"/whisper \")){\n String msg = this.whisper(fromClient.substring(9, StringUtils.ordinalIndexOf(fromClient, \" \", 2)));\n String user = fromClient.substring(9, StringUtils.ordinalIndexOf(fromClient, \" \", 2));\n for (int x=0; x<clientlist.size(); x++) {\n if (user.equalsIgnoreCase(clientlist.get(x).id) && !user.equalsIgnoreCase(this.id)){\n clientlist.get(x).out.println(this.id + \" whispered : \" + (fromClient.substring(StringUtils.ordinalIndexOf(fromClient, \" \", 2)+1)).toUpperCase() );\n }\n }\n if(!msg.equalsIgnoreCase(\"\")){ this.out.println(msg); }\n }\n else if(fromClient.startsWith(\"/room \")){\n String msg = this.roomChange(fromClient.substring(6));\n String roomName = fromClient.substring(6);\n for (int x=0; x<rooms.size(); x++) {\n if (rooms.get(x).title.equalsIgnoreCase(roomName)) {\n for (int y = 0; y < clientlist.size(); y++) {\n if (rooms.get(x).hasClient(clientlist.get(y).id) && !clientlist.get(y).id.equalsIgnoreCase(this.id)) {\n clientlist.get(y).out.println(this.id + \" has joined room \" + roomName);\n }\n }\n }\n }\n this.out.println(msg);\n\n room aRoom = new room(\"x\");\n for(room theRoom : rooms){\n ArrayList<String> members = theRoom.getMembers();\n for(String member : members) {\n if (member.equalsIgnoreCase(this.id)) {\n aRoom = theRoom;\n }\n }\n }\n\n this.out.print(\"The admins in the group are: \");\n for(String admin: aRoom.getAdmins()){\n this.out.print(admin + \" \");\n }\n this.out.println(\"\");\n this.out.println(\"The topic of the room is \" + aRoom.topic);\n }\n else if(fromClient.startsWith(\"/+admin \")){\n if (!this.isAdmin()){\n this.out.println(\"You don't have permission to use that command\");\n }\n String roomName=\"\";\n room aRoom = new room(\"x\");\n String user = fromClient.substring(8);\n for(room theRoom : rooms){\n ArrayList<String> admins = theRoom.getAdmins();\n for(String admin : admins) {\n if (admin.equalsIgnoreCase(this.id)) {\n roomName = theRoom.title;\n aRoom = theRoom;\n }\n }\n }\n this.addAdmin(user, roomName);\n for (int x=0; x<clientlist.size(); x++) {\n if (aRoom.getMembers().contains(clientlist.get(x).id) && !user.equalsIgnoreCase(this.id)){\n clientlist.get(x).out.println(user + \" was made an admin of \" + roomName);\n }\n }\n }\n else if(fromClient.startsWith(\"/-admin \")){\n if (!this.isAdmin()){\n this.out.println(\"You don't have permission to use that command\");\n }\n String roomName=\"\";\n room aRoom = new room(\"x\");\n String user = fromClient.substring(8);\n for(room theRoom : rooms){\n ArrayList<String> admins = theRoom.getAdmins();\n for(String admin : admins) {\n if (admin.equalsIgnoreCase(this.id)) {\n roomName = theRoom.title;\n aRoom = theRoom;\n }\n }\n }\n this.removeAdmin(user);\n for (int x=0; x<clientlist.size(); x++) {\n if (aRoom.getMembers().contains(clientlist.get(x).id) && !user.equalsIgnoreCase(this.id)){\n clientlist.get(x).out.println(clientlist.get(x).id + \" was removed from the admin position in \" + roomName);\n }\n }\n }\n else if(fromClient.startsWith(\"/kick \")){\n if (!this.isAdmin()){\n this.out.println(\"You don't have permission to use that command\");\n }\n String user = fromClient.substring(6);\n String roomName=\"\";\n room aRoom = new room(\"x\");\n for(room theRoom : rooms){\n ArrayList<String> admins = theRoom.getAdmins();\n for(String admin : admins) {\n if (admin.equalsIgnoreCase(this.id)) {\n roomName = theRoom.title;\n aRoom = theRoom;\n }\n }\n }\n for (int x=0; x<clientlist.size(); x++) {\n if (aRoom.getMembers().contains(clientlist.get(x).id) && !user.equalsIgnoreCase(this.id) && !clientlist.get(x).id.equalsIgnoreCase(user)){\n clientlist.get(x).out.println(user + \" was kicked from \" + roomName);\n }\n else if (aRoom.getAdmins().contains(user) && clientlist.get(x).id.equalsIgnoreCase(this.id) ){\n this.out.println(\"You cannot kick an admin of the group\");\n }\n else if (aRoom.getMembers().contains(clientlist.get(x).id) && clientlist.get(x).id.equalsIgnoreCase(user)) {\n clientlist.get(x).out.println(\"You are being kicked from \" + roomName + \" by \" + this.id + \", and being placed in Lobby.\");\n this.kick(user);\n }\n }\n }\n else if(fromClient.startsWith(\"/topic \")){\n if (!this.isAdmin()){\n this.out.println(\"You don't have permission to use that command\");\n }\n String topic = fromClient.substring(7);\n String roomName=\"\";\n\n for(room theRoom : rooms){\n ArrayList<String> members = theRoom.getMembers();\n for(String member : members) {\n if (member.equalsIgnoreCase(this.id)) {\n roomName = theRoom.title;\n }\n }\n }\n\n this.addTopic(topic);\n for (int x=0; x<rooms.size(); x++) {\n if (rooms.get(x).title.equalsIgnoreCase(roomName)) {\n for (int y = 0; y < clientlist.size(); y++) {\n if (rooms.get(x).hasClient(clientlist.get(y).id) && !clientlist.get(y).id.equalsIgnoreCase(this.id) && rooms.get(x).getAdmins().contains(this.id)) {\n clientlist.get(y).out.println(this.id + \" changed the topic of the room to \" + topic);\n }\n }\n }\n }\n }\n \n /* Otherwise send the text to the server*/\n\n else {\n for (int y=0; y < rooms.size(); y++) {\n for (int x = 0; x < clientlist.size(); x++) {\n if (this != clientlist.get(x)) {\n if(rooms.get(y).hasClient(this.id) && rooms.get(y).hasClient(clientlist.get(x).id)) {\n clientlist.get(x).out.println(\"Client \" + this.id + \" said: \" + fromClient);\n }\n }\n }\n }\n }\n \n } catch (IOException e) {\n /* On exception, stop the thread */\n System.out.println(\"IOException: \" + e);\n return;\n }\n }\n }", "public void sendMessage() {\n\t\tString myPosition=this.agent.getCurrentPosition();\n\t\tif (myPosition!=null){\n\t\t\t\n\t\t\tList<String> wumpusPos = ((CustomAgent)this.myAgent).getStenchs();\n\t\t\t\n\t\t\tif(!wumpusPos.isEmpty()) {\n\t\t\t\tList<String> agents =this.agent.getYellowpage().getOtherAgents(this.agent);\n\t\t\t\t\n\t\t\t\tACLMessage msg=new ACLMessage(ACLMessage.INFORM);\n\t\t\t\tmsg.setSender(this.myAgent.getAID());\n\t\t\t\tmsg.setProtocol(\"WumpusPos\");\n\t\t\t\tmsg.setContent(wumpusPos.get(0)+\",\"+myPosition);\n\t\t\t\t\n\t\t\t\tfor(String a:agents) {\n\t\t\t\t\tif(this.agent.getConversationID(a)>=0) {\n\t\t\t\t\t\tif(a!=null) msg.addReceiver(new AID(a,AID.ISLOCALNAME));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.agent.sendMessage(msg);\n\t\t\t\tthis.lastPos=myPosition;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t}", "public void recibirMensajesServidor(){\n String mensaje;\n try {\n entradaDatos = new DataInputStream(socket.getInputStream());\n } catch (IOException ex) {\n mostrarMensaje(\"Error al crear el stream de entrada: \" + ex.getMessage());\n } catch (NullPointerException ex) {\n mostrarMensaje(\"El socket no se creo correctamente. \");\n }\n \n // Bucle infinito que recibe mensajes del servidor\n boolean conectado = true; \n while (conectado) {\n try {\n mensaje = entradaDatos.readUTF();\n mostrarMensaje(mensaje);\n } catch (IOException ex) {\n mostrarMensaje(\"Error al leer del stream de entrada: \" + ex.getMessage());\n conectado = false;\n } catch (NullPointerException ex) {\n mostrarMensaje(\"El socket no se creo correctamente. \");\n conectado = false;\n }\n }\n }" ]
[ "0.66921955", "0.6593184", "0.6341492", "0.63099957", "0.63041455", "0.6297655", "0.61690855", "0.61146164", "0.60665905", "0.60408574", "0.60145634", "0.599858", "0.597705", "0.5907199", "0.5883771", "0.5879295", "0.5854757", "0.5839011", "0.5825205", "0.5814559", "0.58027923", "0.5749657", "0.57366264", "0.571209", "0.5694197", "0.5665749", "0.56636864", "0.5645559", "0.5590716", "0.55898595", "0.5560814", "0.5552794", "0.5552018", "0.5546077", "0.5545415", "0.5544012", "0.5541249", "0.554077", "0.5530678", "0.55244803", "0.5518612", "0.550865", "0.5505576", "0.5501653", "0.549031", "0.5483575", "0.54825187", "0.5467697", "0.5459659", "0.54560417", "0.5455567", "0.54374534", "0.5435843", "0.54226846", "0.54111236", "0.5396216", "0.53935313", "0.53794235", "0.5378592", "0.5376307", "0.5366599", "0.5366009", "0.5341363", "0.53399634", "0.53313535", "0.53284574", "0.53237206", "0.529059", "0.5283574", "0.5282197", "0.52762717", "0.5270484", "0.52700555", "0.52618426", "0.5258393", "0.5250959", "0.52509016", "0.5244617", "0.52413183", "0.52396816", "0.52351403", "0.523273", "0.5222545", "0.5218941", "0.52188104", "0.5218734", "0.52139395", "0.52132326", "0.5204725", "0.5204331", "0.5194013", "0.51886564", "0.5188491", "0.5187352", "0.518618", "0.51858187", "0.51806206", "0.51747596", "0.5171887", "0.5166883" ]
0.7969728
0
Defines a Flow interface for the Newsreader pipeline.
public interface Flow { /** * Create a Cascading FlowDef for the specified parameters * * @param inPath * A path to be used as input for the flow * @param outPath * A path to be used as output for the floe * @param errorPath * A path where failed documents will be stored * @return A Flowdefinition * @throws Exception On any error during setup of the flow. */ public abstract FlowDef getFlowDefinition(String inPath, String outPath, String errorPath) throws Exception; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Flow createFlow();", "Flows createFlows();", "public interface FlowManager extends FlowProgrammer {\n\n void saveFlowToSwitch(Flow flow);\n\n void sendPacket(RawPacket rawPacket, Ethernet packet, Flow flow);\n\n Map<String, Integer> getFlowPerConnectorFromSolution();\n\n Map<String, Integer> getFlowPerConnector();\n\n Map<String, Integer> getFlowPerTunnelConnector();\n\n Map<String, Integer> getFlowPerGatewayConnector();\n\n\n}", "public void setFlow(int flow) {\r\n\r\n this.flow = flow;\r\n }", "public interface FlowExtendClient{\n CloseableHttpClient getHttpClient() throws Exception ;\n\n void releaseHttpClient(CloseableHttpClient httpClient);\n\n void setWorkFlowServerUrl(String workFlowServerUrl) ;\n\n void updateFlowInstance(FlowInstance flowInstance);\n\n JSONObject getPorcInfoByNodeInstId(String nodeInstId);\n}", "DataFlow createDataFlow();", "public interface NewsActivityView {\r\n void updateReadStatusError(String code, String msg);\r\n\r\n void updateReadStatusNext(NoReadBean info);\r\n}", "public interface SimpleFlow extends Serializable {\n\n public Pipe getPipe();\n\n public @interface IrSimpleFlow {\n\n String name();\n\n }\n\n}", "public interface WorkflowReader {\n\t/**\n\t * Gives the name of the workflow (a string made of alphanumeric characters only, where the first character is alphabetic).\n\t * @return the name of the workflow\n\t */\n\tpublic String getName();\n\t\n\t/**\n\t * Gives the actions defined for this workflow.\n\t * @return a set of interfaces for accessing information about defined actions\n\t */\n\tpublic Set<ActionReader> getActions();\n\t\n\t/**\n\t * Gives the known processes that instantiate this workflow.\n\t * @return a set of interfaces for accessing the information of known processes that instantiate this workflow\n\t */\n\tpublic Set<ProcessReader> getProcesses();\n\t\n\t/**\n\t * Gives the action with the given name.\n\t * @param name the name (a string made of alphanumeric characters only, where the first character is alphabetic)\n\t * @return an interface for accessing information about the action with the given name\n\t * or null if this action is not in the workflow.\n\t */\n\tpublic ActionReader getAction(String name);\n}", "public void setFlowType(String flowType);", "public interface NewsInterface {\n void add(List<NewsEntity> list);\n void showProgress();\n void hideProgress();\n void showLoadFail();\n}", "public interface ISystem extends INonFlowObject {\n\n}", "public interface ITodayNewsModel {\n void loadNews(String category,OnLoadTodayNewsListener onLoadListener);\n}", "public interface INewsFeedModel {\n void getItems(String ownerEmail, OnContentListerner listerner);\n}", "public interface INewsPresenter {\n void loadNews(int type,int startPage);\n}", "public Flow getFlow() {\n return flow;\n }", "public interface NewsClickListener {\n void onItemNewsClicked(ArticlesItem newsItem);\n}", "public interface FlowInformation {\n /**\n * Returns TRUE is current app setup is master details flow\n */\n public boolean isMasterDetailFlow();\n }", "public interface ShowStreams {\n\tString INPUT =\"show-in\";\n\t@Output(INPUT)\n\tMessageChannel inboundEvents();\n\t\n\tString OUTPUT = \"show-out\";\n @Output(OUTPUT)\n MessageChannel outboundEvents();\n}", "public interface FlowCallback {\n\n /**\n * Method called whenever some sub-set of the flow is complete.\n */\n public void progressMade();\n\n /**\n * Method called when the entire flow has completed and does not have anything else running.\n *\n * @param status the status that the flow ended with.\n */\n public void completed(final Status status);\n}", "public Flow(UseCase useCase) {\r\n\t\tthis.useCase = useCase;\r\n\t}", "public interface NewsPresenter {\n\n void loadNews(int type, int page);\n\n}", "FlowType createFlowType();", "public FlowRule() {\r\n }", "public interface WorkflowService {\n void parseWf(File ff) throws Exception;\n}", "public interface NewsContentListener {\n void onLoadNewsContentSuccess(NewsContent newsContent);\n\n void onLoadNewsContentFailed();\n}", "MakeflowFactory getMakeflowFactory();", "public abstract void enableStreamFlow();", "public interface IFlowableStrategy {\n\n <T> Publisher<CacheResult<T>> flow(RxCache rxCache, String key, Flowable<T> source, Type type);\n}", "public interface ITaskMapPipeModel {\n}", "public Flow getFlow() {\r\n\t\treturn flow;\r\n\t}", "public interface ArticleListViewInterface {\n void showSearchResult(LoaderSearchResult loaderSearchResult);\n}", "InteractionFlowModel createInteractionFlowModel();", "public void buildFlow(FlowDO flow) {\n\t}", "public interface Pipeline {\n void pushMessage(ChatMessage message);\n}", "public interface FeedDbRequest {\n }", "public interface ItemClickListener {\n void onItemClick(NewsEntity newsItem);\n}", "public interface WorkflowExecutionListener {}", "public interface FitmentPresenter {\n void loadTags(int stage);\n void loadNews(int stage,String tag);\n void loadNextNews(int stage,String tag);\n}", "SequenceFlow createSequenceFlow();", "public interface NewsDetailViewInt {\n void onSuccessNewsDetail(NewsObject newsObject);\n\n void onFailRequest();\n\n void onFailResponse(String message);\n\n}", "public interface FeedUserInterface {\n void showData(List<Post> posts);\n\n void showLoading();\n\n void hideLoading();\n}", "public interface GraphReader {\n\n /**\n * Generate graph from file\n */\n void readGraphFromFile();\n\n /**\n * Get Edges of the graph\n *\n * @return Edge string\n */\n String getEdges();\n\n /**\n * Get graph attributes\n *\n * @return Attribute string\n */\n String getAttributes();\n}", "public interface NewsView {\n\n\n void showInternetErrorMessage();\n void stopRefreshLayout();\n void startRefreshing();\n\n void updateArticlesToAdapter(ArrayList<Article> articles);\n}", "public interface WorkflowOrchestrator {\n\n <T> Workflow<T> start(WorkflowMeta workflowMeta, Entity<T> entity);\n List<Task> onComplete(Task task, ExecutionContext context);\n List<Task> onFailure(Task task);\n}", "public interface FeedCarnivore {\n\n void feedMeat();\n}", "public interface INewsContentModel extends IBaseModel {\n\n void loadData(String channelID, String channelName, String page);\n\n}", "public interface Channel {\n\n\t/**\n\t * Call this to send an article to its destination.\n\t * @param article the article to send\n\t */\t\n\tvoid accept(Article article);\n}", "public interface NewsContract {\n interface View extends BaseView<Presenter> {\n void showError(String s);\n\n void showData(List<BasNewsListBean> newsListBean);\n }\n\n interface Presenter extends BasePresenter{\n void load();\n }\n}", "NavigationFlow createNavigationFlow();", "public interface INewsDataSource {\r\n\r\n\r\n void getHandyLifeData( LoadNewsDataCallback loadNewsDataCallback) ;\r\n\r\n\r\n /**\r\n * the callback of getHandyLifeData\r\n */\r\n interface LoadNewsDataCallback {\r\n void onHandyLifeDataSuccess(ArticlesResult handyLifeResultBeans);\r\n void onHandyLifeDataFailed(int code, String message);\r\n }\r\n\r\n}", "interface WithCreate\n extends DefinitionStages.WithSource,\n DefinitionStages.WithDestination,\n DefinitionStages.WithExpirationTimeIfNotActivatedUtc,\n DefinitionStages.WithFilter,\n DefinitionStages.WithPartnerTopicFriendlyDescription {\n /**\n * Executes the create request.\n *\n * @return the created resource.\n */\n EventChannel create();\n\n /**\n * Executes the create request.\n *\n * @param context The context to associate with this operation.\n * @return the created resource.\n */\n EventChannel create(Context context);\n }", "public FdSocialsecurityFlows() {\n this(DSL.name(\"fd_socialsecurity_flows\"), null);\n }", "public interface NewsContract {\n interface View extends BaseView<Presenter> {\n void showError(String s);\n\n void showData(List<VideoData> newsListBean);\n }\n\n interface Presenter extends BasePresenter{\n void load(int curPage);\n }\n}", "interface MyItemClickListner {\n\n void onClick(NewsItem item, ImageView imageView);\n}", "public interface DetailActivityOutput {\n void displaySomething(DetailActivityModel response);\n void displayReviews(Reviews review);\n}", "interface WithSource {\n /**\n * Specifies the source property: Source of the event channel. This represents a unique resource in the\n * partner's resource model..\n *\n * @param source Source of the event channel. This represents a unique resource in the partner's resource\n * model.\n * @return the next definition stage.\n */\n WithCreate withSource(EventChannelSource source);\n }", "FlowSequence createFlowSequence();", "public interface NewsView {\n void initNewsData(ArrayList<News> list);\n\n void initOfflineData(List<News> list);\n\n void toastFailString(String msg);\n}", "public interface NewsItemEnclosure\n{\n\t/**\n\t * Access the Url of the enclosed item.\n\t * \n\t * @return The url of the enclosure.\n\t */\n\tpublic String getUrl();\n\n\t/**\n\t * Access the type of the enclosure.\n\t * \n\t * @return The type of the enclosed item.\n\t */\n\tpublic String getType();\n\n\t/**\n\t * Access the length in Bytes of the enclosed item.\n\t * \n\t * @return The length in Bytes of the enclosed item.\n\t */\n\tpublic long getLength();\n\n\t/**\n\t * Set the url of the enclosure.\n\t * \n\t * @param url\n\t * The url of the enclosure.\n\t */\n\tpublic void setUrl(String url);\n\n\t/**\n\t * Set the type of the enclosure.\n\t * \n\t * @param type\n\t * The type of the enclosure.\n\t */\n\tpublic void setType(String type);\n\n\t/**\n\t * Set the length in Bytes of the enclosed item.\n\t * \n\t * @param length\n\t * The length in Bytes of the enclosed item.\n\t */\n\tpublic void setLength(long length);\n\n}", "public interface Article {\n void produce();\n}", "public interface CommunityView extends HHBaseView {\n\n void setHeadline(Article article);\n}", "public interface StreamsMediator {\n /**\n * Allows the switching to another Stream.\n * @param streamKind The {@link StreamKind} of the stream to switch to.\n */\n default void switchToStreamKind(@StreamKind int streamKind) {}\n\n /**\n * Request the immediate refresh of the contents of the active stream.\n */\n default void refreshStream() {}\n\n /**\n * Disable the follow button, used in case of an error scenario.\n */\n default void disableFollowButton() {}\n }", "public interface Stream {\n /**\n * The mediator of multiple Streams.\n */\n public interface StreamsMediator {\n /**\n * Allows the switching to another Stream.\n * @param streamKind The {@link StreamKind} of the stream to switch to.\n */\n default void switchToStreamKind(@StreamKind int streamKind) {}\n\n /**\n * Request the immediate refresh of the contents of the active stream.\n */\n default void refreshStream() {}\n\n /**\n * Disable the follow button, used in case of an error scenario.\n */\n default void disableFollowButton() {}\n }\n /** Called when the Stream is no longer needed. */\n default void destroy() {}\n\n /** Returns the section type for this stream. */\n @StreamKind\n int getStreamKind();\n\n /**\n * @param scrollState Previous saved scroll state to restore to.\n */\n void restoreSavedInstanceState(FeedScrollState scrollState);\n\n /**\n * Notifies that the header count has changed. Headers are views added to the Recyclerview\n * that the stream should not delete.\n *\n * @param newHeaderCount The new number of headers.\n */\n void notifyNewHeaderCount(int newHeaderCount);\n\n /**\n * @param listener A {@link ContentChangedListener} which activates when the content changes\n * while the stream is bound.\n */\n void addOnContentChangedListener(ContentChangedListener listener);\n\n /**\n * @param listener A previously added {@link ContentChangedListener} to be removed. Will no\n * longer trigger after removal.\n */\n void removeOnContentChangedListener(ContentChangedListener listener);\n\n /**\n * Allow the container to trigger a refresh of the stream.\n *\n * <p>Note: this will assume {@link RequestReason.MANUAL_REFRESH}.\n */\n void triggerRefresh(Callback<Boolean> callback);\n\n /**\n * @return Whether the placeholder is shown.\n */\n boolean isPlaceholderShown();\n\n /**\n * Called when the placeholder is shown and the first batch of articles are about to show.\n */\n void hidePlaceholder();\n\n /** Whether activity logging is enabled for this feed. */\n default boolean isActivityLoggingEnabled() {\n return false;\n }\n\n /** Whether the stream has unread content */\n default ObservableSupplier<Boolean> hasUnreadContent() {\n ObservableSupplierImpl<Boolean> result = new ObservableSupplierImpl<>();\n result.set(false);\n return result;\n }\n\n /** Returns the last content fetch time. */\n default long getLastFetchTimeMs() {\n return 0;\n }\n\n /**\n * Binds the feed to a particular view, manager, and scope.\n * When bound, the feed actively updates views and content. Assumes that whatever\n * views currently shown by manager are headers.\n * @param view The {@link RecyclerView} to which the feed is bound.\n * @param manager The {@link FeedListContentManager} to which we should make updates to.\n * @param savedInstanceState A previously saved instance state to restore to after loading\n * content.\n * @param surfaceScope The {@link FeedSurfaceScope} that is hosting the renderer.\n * @param renderer The {@link HybridListRenderer} that is rendering the feed.\n * @param reliabilityLogger Logger for feed reliability.\n * @param headerCount The number of headers in the RecyclerView that the feed shouldn't touch.\n */\n void bind(RecyclerView view, FeedListContentManager manager, FeedScrollState savedInstanceState,\n FeedSurfaceScope surfaceScope, HybridListRenderer renderer,\n @Nullable FeedReliabilityLogger reliabilityLogger, int headerCount);\n\n /**\n * Unbinds the feed. Stops this feed from updating the RecyclerView.\n *\n * @param shouldPlaceSpacer Whether this feed should place a spacer at the end to\n * prevent abrupt scroll jumps.\n * @param switchingStream Whether another feed is going to be bound right after this.\n */\n void unbind(boolean shouldPlaceSpacer, boolean switchingStream);\n\n /**\n * Whether this stream supports alternate sort options.\n */\n default boolean supportsOptions() {\n return false;\n }\n\n /**\n * Returns a value that uniquely identifies the state of the Stream's content. If this value\n * changes, then scroll state won't be restored.\n */\n String getContentState();\n\n /**\n * Interface users can implement to know when content in the Stream has changed content on\n * screen.\n */\n interface ContentChangedListener {\n /**\n * Called by Stream when content being shown has changed. This could be new cards being\n * created, the content of a card changing, etc...\n * @param feedContents the list of feed contents after the change. Null if the contents are\n * not available.\n */\n void onContentChanged(@Nullable List<FeedContent> feedContents);\n }\n}", "public interface ToNetworkProcessor {\n\n /**\n * Send message.\n *\n * @param message the message\n */\n void sendMessage(String message);\n}", "@Override\n\tpublic FlowMessageFactory getFlowMessageFactory() {\n\t\treturn null;\n\t}", "public interface MyInputChannel {\n\n String INPUT = \"source\";\n @Input(INPUT)\n SubscribableChannel source();\n}", "public interface RecordEventsProcessorFactory<TResult> {\r\n\r\n\t/**\r\n\t * @param res the result to feed by processor\r\n\t */\r\n\tpublic RecordEventsProcessor create(TResult res);\r\n\t\r\n}", "public interface FlowRule extends PiTranslatable {\n\n IndexTableId DEFAULT_TABLE = IndexTableId.of(0);\n int MAX_TIMEOUT = 60;\n int MIN_PRIORITY = 0;\n int MAX_PRIORITY = 65535;\n\n /**\n * Reason for flow parameter received from switches.\n * Used to check reason parameter in flows.\n */\n enum FlowRemoveReason {\n IDLE_TIMEOUT,\n HARD_TIMEOUT,\n DELETE,\n GROUP_DELETE,\n METER_DELETE,\n EVICTION,\n NO_REASON;\n\n /**\n * Covert short to enum.\n * @return reason in enum\n * @param reason remove reason in integer\n */\n public static FlowRemoveReason parseShort(short reason) {\n switch (reason) {\n case -1 :\n return NO_REASON;\n case 0:\n return IDLE_TIMEOUT;\n case 1:\n return HARD_TIMEOUT;\n case 2 :\n return DELETE;\n case 3:\n return GROUP_DELETE;\n case 4:\n return METER_DELETE;\n case 5:\n return EVICTION;\n default :\n return NO_REASON;\n }\n }\n }\n\n /**\n * Returns the ID of this flow.\n *\n * @return the flow ID\n */\n FlowId id();\n\n /**\n * Returns the application id of this flow.\n *\n * @return an applicationId\n */\n short appId();\n\n /**\n * Returns the group id of this flow.\n *\n * @return an groupId\n */\n GroupId groupId();\n\n /**\n * Returns the flow rule priority given in natural order; higher numbers\n * mean higher priorities.\n *\n * @return flow rule priority\n */\n int priority();\n\n /**\n * Returns the identity of the device where this rule applies.\n *\n * @return device identifier\n */\n DeviceId deviceId();\n\n /**\n * Returns the traffic selector that identifies what traffic this rule\n * should apply to.\n *\n * @return traffic selector\n */\n TrafficSelector selector();\n\n /**\n * Returns the traffic treatment that applies to selected traffic.\n *\n * @return traffic treatment\n */\n TrafficTreatment treatment();\n\n /**\n * Returns the timeout for this flow requested by an application.\n *\n * @return integer value of the timeout\n */\n int timeout();\n\n /**\n * Returns the hard timeout for this flow requested by an application.\n * This parameter configure switch's flow hard timeout.\n * In case of controller-switch connection lost, this variable can be useful.\n * @return integer value of the hard Timeout\n */\n int hardTimeout();\n\n /**\n * Returns the reason for the flow received from switches.\n *\n * @return FlowRemoveReason value of reason\n */\n FlowRemoveReason reason();\n\n /**\n * Returns whether the flow is permanent i.e. does not time out.\n *\n * @return true if the flow is permanent, otherwise false\n */\n boolean isPermanent();\n\n /**\n * Returns the table id for this rule.\n *\n * @return an integer.\n * @deprecated in Loon release (version 1.11.0). Use {@link #table()} instead.\n */\n @Deprecated\n int tableId();\n\n /**\n * Returns the table identifier for this rule.\n *\n * @return a table identifier.\n */\n TableId table();\n\n /**\n * {@inheritDoc}\n *\n * Equality for flow rules only considers 'match equality'. This means that\n * two flow rules with the same match conditions will be equal, regardless\n * of the treatment or other characteristics of the flow.\n *\n * @param obj the reference object with which to compare.\n * @return {@code true} if this object is the same as the obj\n * argument; {@code false} otherwise.\n */\n boolean equals(Object obj);\n\n /**\n * Returns whether this flow rule is an exact match to the flow rule given\n * in the argument.\n * <p>\n * Exact match means that deviceId, priority, selector,\n * tableId, flowId and treatment are equal. Note that this differs from\n * the notion of object equality for flow rules, which does not consider the\n * flowId or treatment when testing equality.\n * </p>\n *\n * @param rule other rule to match against\n * @return true if the rules are an exact match, otherwise false\n */\n boolean exactMatch(FlowRule rule);\n\n /**\n * A flowrule builder.\n */\n interface Builder {\n\n /**\n * Assigns a cookie value to this flowrule. Mutually exclusive with the\n * fromApp method. This method is intended to take a cookie value from\n * the dataplane and not from the application.\n *\n * @param cookie a long value\n * @return this\n */\n Builder withCookie(long cookie);\n\n /**\n * Assigns the application that built this flow rule to this object.\n * The short value of the appId will be used as a basis for the\n * cookie value computation. It is expected that application use this\n * call to set their application id.\n *\n * @param appId an application id\n * @return this\n */\n Builder fromApp(ApplicationId appId);\n\n /**\n * Sets the priority for this flow rule.\n *\n * @param priority an integer\n * @return this\n */\n Builder withPriority(int priority);\n\n /**\n * Sets the deviceId for this flow rule.\n *\n * @param deviceId a device id\n * @return this\n */\n Builder forDevice(DeviceId deviceId);\n\n /**\n * Sets the table id for this flow rule, when the identifier is of type {@link TableId.Type#INDEX}. Default\n * value is 0.\n * <p>\n * <em>Important:</em> This method is left here for backward compatibility with applications that specifies\n * table identifiers using integers, e.g. as in OpenFlow. Currently there is no plan to deprecate this method,\n * however, new applications should favor using {@link #forTable(TableId)}.\n *\n * @param tableId an integer\n * @return this\n */\n Builder forTable(int tableId);\n\n /**\n * Sets the table identifier for this flow rule.\n * Default identifier is of type {@link TableId.Type#INDEX} and value 0.\n *\n * @param tableId table identifier\n * @return this\n */\n Builder forTable(TableId tableId);\n\n /**\n * Sets the selector (or match field) for this flow rule.\n *\n * @param selector a traffic selector\n * @return this\n */\n Builder withSelector(TrafficSelector selector);\n\n /**\n * Sets the traffic treatment for this flow rule.\n *\n * @param treatment a traffic treatment\n * @return this\n */\n Builder withTreatment(TrafficTreatment treatment);\n\n /**\n * Makes this rule permanent on the dataplane.\n *\n * @return this\n */\n Builder makePermanent();\n\n /**\n * Makes this rule temporary and timeout after the specified amount\n * of time.\n *\n * @param timeout an integer\n * @return this\n */\n Builder makeTemporary(int timeout);\n\n /**\n * Sets the idle timeout parameter in flow table.\n *\n * Will automatically make it permanent or temporary if the timeout is 0 or not, respectively.\n * @param timeout an integer\n * @return this\n */\n default Builder withIdleTimeout(int timeout) {\n if (timeout == 0) {\n return makePermanent();\n } else {\n return makeTemporary(timeout);\n }\n }\n\n /**\n * Sets hard timeout parameter in flow table.\n * @param timeout an integer\n * @return this\n */\n Builder withHardTimeout(int timeout);\n\n /**\n * Sets reason parameter received from switches .\n * @param reason a short\n * @return this\n */\n Builder withReason(FlowRemoveReason reason);\n\n /**\n * Builds a flow rule object.\n *\n * @return a flow rule.\n */\n FlowRule build();\n\n }\n}", "EDataType getCurrentFlow();", "public interface LinkReadingController extends AbstractControllerInterface {\n\n public void add(final LinkReading reading);\n\n\n public void delete(final int readingId);\n\n public LinkReading getByID(final int id);\n\n public List<LinkReading> list();\n\n public List<LinkReading> list(final Link link);\n\n public List<LinkReading> list(final Link link, final Capability capability, final int limit);\n\n public void insertReading(final String sourceId, final String targetId, final String capabilityName,\n final Double doubleReading, final String stringReading,\n final Date timestamp) throws UnknownTestbedException;\n\n public Long count();\n\n public int count(final Link link);\n}", "public interface MovimentacaoChainHandler {\n\n void handleMovimentacao(Movimentacao movimentacao);\n}", "public interface IPlannerView<Date, Task> {\n\n /**\n * Renders the output of the personal planner.\n * @param date the date to display\n * @param listOfTasks the list of tasks to display\n *\n */\n public void render(Date date, List<Task> listOfTasks);\n\n /**\n * Updates the date label of the personal planner.\n * @param date the new date to display\n */\n public void updateDate(Date date);\n\n /**\n * Updates the list of tasks of the personal planner.\n * @param listOfTasks the new list of tasks to display\n */\n public void updateTasks(List<Task> listOfTasks);\n\n\n}", "public int getFlow() {\r\n\r\n return flow;\r\n }", "public interface IAdapter extends IManagable {\n\n /**\n \t * Instruct the adapter to configure itself. The adapter will call the\n \t * pipeline to configure itself, the pipeline will call the individual\n \t * pipes to configure themselves.\n \t * @see nl.nn.adapterframework.pipes.AbstractPipe#configure()\n \t * @see PipeLine#configure()\n \t */\n \tpublic void configure() throws ConfigurationException;\n \t\n \t/**\n \t * The messagekeeper is used to keep the last x messages, relevant to\n \t * display in the web-functions.\n \t */ \n\tpublic MessageKeeper getMessageKeeper();\n\tpublic IReceiver getReceiverByName(String receiverName);\n\tpublic Iterator getReceiverIterator();\n\tpublic PipeLineResult processMessage(String messageId, String message, IPipeLineSession pipeLineSession);\n\tpublic PipeLineResult processMessageWithExceptions(String messageId, String message, IPipeLineSession pipeLineSession) throws ListenerException;\n\n \tpublic void registerPipeLine (PipeLine pipeline) throws ConfigurationException;\n \tpublic void setName(String name);\n \tpublic boolean isAutoStart();\n\tpublic String toString();\n\n\tpublic String formatErrorMessage(String errorMessage, Throwable t, String originalMessage, String messageID, INamedObject objectInError, long receivedTime);\n\t\t\n\tpublic void forEachStatisticsKeeperBody(StatisticsKeeperIterationHandler hski, Object data, int action) throws SenderException ;\n\n /**\n * state to put in PipeLineResult when a PipeRunException occurs.\n */\n\tpublic String getErrorState();\n}", "public interface LiveHostEvents extends LiveEvents{\n /** Live infomation\n * @param strUrl Rtmp/Hls url\n * @param strSessionId SessionId\n */\n public void OnRtcLiveInfomation(String strUrl, String strSessionId);\n\n /** Guest want to line with you\n * @param strPeerId Peer's ID\n * @param strUserName Peer's user name\n * @param strBrief A brief\n */\n public void OnRtcLiveApplyLine(String strPeerId, String strUserName, String strBrief);\n\n /** Guest cancel line apply\n * @param strPeerId Peer's ID\n * @param strUserName Peer's user name\n */\n public void OnRtcLiveCancelLine(String strPeerId, String strUserName);\n}", "public interface IPreSaleView {\n // 把请求下来的数据存储到PreSaleActivity中\n void setDataInActivity(GoodsInStockActivityBean goodsInStockActivityBean);\n}", "interface LinkDataSources extends LinkApi {\r\n}", "public interface NewsItemClickCallback {\n void onNewsItemClick(NewsBean.ResultBean.DataBean dataBean);\n}", "public interface GetHistoryNewsListener {\n void onGetHistoryNewsSuccess(HistoryNews historyNews);\n\n void onGetHistoryNewsFailed();\n}", "public interface IFenLeiPresenter {\n //显示左侧列表\n void showLeftToView(IFenLeiModel iFenLeiModel, IFenLeiView iFenLeiView);\n //显示右侧列表\n void showRightToView(IFenLeiModel iFenLeiModel, IFenLeiView iFenLeiView);\n\n}", "public interface MakeflowPackage extends EPackage {\n\t/**\n\t * The package name.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNAME = \"makeflow\";\n\n\t/**\n\t * The package namespace URI.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNS_URI = \"http:///de/thiema/easyflow/execution/makeflow/1.0.0\";\n\n\t/**\n\t * The package namespace name.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tString eNS_PREFIX = \"easyflow\";\n\n\t/**\n\t * The singleton instance of the package.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tMakeflowPackage eINSTANCE = easyflow.execution.makeflow.impl.MakeflowPackageImpl.init();\n\n\t/**\n\t * The meta object id for the '{@link easyflow.execution.makeflow.impl.MakeflowImpl <em>Makeflow</em>}' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @see easyflow.execution.makeflow.impl.MakeflowImpl\n\t * @see easyflow.execution.makeflow.impl.MakeflowPackageImpl#getMakeflow()\n\t * @generated\n\t */\n\tint MAKEFLOW = 0;\n\n\t/**\n\t * The feature id for the '<em><b>Logger</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint MAKEFLOW__LOGGER = ExecutionPackage.IEXECUTION_SYSTEM__LOGGER;\n\n\t/**\n\t * The feature id for the '<em><b>Writer</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint MAKEFLOW__WRITER = ExecutionPackage.IEXECUTION_SYSTEM__WRITER;\n\n\t/**\n\t * The feature id for the '<em><b>Unix</b></em>' attribute.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint MAKEFLOW__UNIX = ExecutionPackage.IEXECUTION_SYSTEM_FEATURE_COUNT + 0;\n\n\t/**\n\t * The number of structural features of the '<em>Makeflow</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint MAKEFLOW_FEATURE_COUNT = ExecutionPackage.IEXECUTION_SYSTEM_FEATURE_COUNT + 1;\n\n\n\t/**\n\t * The operation id for the '<em>Get Jgraphx Visitor</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint MAKEFLOW___GET_JGRAPHX_VISITOR = ExecutionPackage.IEXECUTION_SYSTEM___GET_JGRAPHX_VISITOR;\n\n\t/**\n\t * The operation id for the '<em>Generate Execution String</em>' operation.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint MAKEFLOW___GENERATE_EXECUTION_STRING__RULE = ExecutionPackage.IEXECUTION_SYSTEM___GENERATE_EXECUTION_STRING__RULE;\n\n\t/**\n\t * The number of operations of the '<em>Makeflow</em>' class.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @generated\n\t * @ordered\n\t */\n\tint MAKEFLOW_OPERATION_COUNT = ExecutionPackage.IEXECUTION_SYSTEM_OPERATION_COUNT + 0;\n\n\n\t/**\n\t * Returns the meta object for class '{@link easyflow.execution.makeflow.Makeflow <em>Makeflow</em>}'.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the meta object for class '<em>Makeflow</em>'.\n\t * @see easyflow.execution.makeflow.Makeflow\n\t * @generated\n\t */\n\tEClass getMakeflow();\n\n\t/**\n\t * Returns the factory that creates the instances of the model.\n\t * <!-- begin-user-doc -->\n\t * <!-- end-user-doc -->\n\t * @return the factory that creates the instances of the model.\n\t * @generated\n\t */\n\tMakeflowFactory getMakeflowFactory();\n\n\t/**\n\t * <!-- begin-user-doc -->\n\t * Defines literals for the meta objects that represent\n\t * <ul>\n\t * <li>each class,</li>\n\t * <li>each feature of each class,</li>\n\t * <li>each enum,</li>\n\t * <li>and each data type</li>\n\t * </ul>\n\t * <!-- end-user-doc -->\n\t * @generated\n\t */\n\tinterface Literals {\n\t\t/**\n\t\t * The meta object literal for the '{@link easyflow.execution.makeflow.impl.MakeflowImpl <em>Makeflow</em>}' class.\n\t\t * <!-- begin-user-doc -->\n\t\t * <!-- end-user-doc -->\n\t\t * @see easyflow.execution.makeflow.impl.MakeflowImpl\n\t\t * @see easyflow.execution.makeflow.impl.MakeflowPackageImpl#getMakeflow()\n\t\t * @generated\n\t\t */\n\t\tEClass MAKEFLOW = eINSTANCE.getMakeflow();\n\n\t}\n\n}", "public interface SaleDataInterface {\n\n public void preparedDataSales(List<Film> salesFilm);\n public void onTapSale(Film film);\n}", "public interface IPacketProcessor {\n\n\t/**\n\t * Processes the incoming chat message.\n\t * \n\t * @param msg The message.\n\t * @param addr The sender of the the message.\n\t * @param port The port of the sender.\n\t */\n\tvoid processMessage(JSONObject msg, InetAddress addr, int port);\n\t\n\t/**\n\t * Notifies the observers of an error during the connection process\n\t * \n\t * @param notification A detailed notification.\n\t */\n\tvoid onError(ModelNotification notification);\n\t\n\t/**\n\t * Notifies the observers of the establishment of the connection\n\t */\n\tvoid onSuccessfulStarted();\n\t\n}", "public FlowNodeInstance() {\n\t}", "public interface IStreamAwareScopeHandler extends IScopeHandler {\r\n\t/**\r\n\t * A broadcast stream starts being published. This will be called\r\n\t * when the first video packet has been received.\r\n\t * \r\n\t * @param stream stream\r\n\t */\r\n\tpublic void streamPublishStart(IBroadcastStream stream);\r\n\r\n\t/**\r\n\t * A broadcast stream starts being recorded. This will be called\r\n\t * when the first video packet has been received.\r\n\t * \r\n\t * @param stream stream \r\n\t */\r\n\tpublic void streamRecordStart(IBroadcastStream stream);\r\n\r\n\t/**\r\n\t * Notified when a broadcaster starts.\r\n\t * \r\n\t * @param stream stream\r\n\t */\r\n\tpublic void streamBroadcastStart(IBroadcastStream stream);\r\n\r\n\t/**\r\n\t * Notified when a broadcaster closes.\r\n\t * \r\n\t * @param stream stream\r\n\t */\r\n\tpublic void streamBroadcastClose(IBroadcastStream stream);\r\n\r\n\t/**\r\n\t * Notified when a subscriber starts.\r\n\t * \r\n\t * @param stream stream\r\n\t */\r\n\tpublic void streamSubscriberStart(ISubscriberStream stream);\r\n\r\n\t/**\r\n\t * Notified when a subscriber closes.\r\n\t * \r\n\t * @param stream stream\r\n\t */\r\n\tpublic void streamSubscriberClose(ISubscriberStream stream);\r\n\r\n\t/**\r\n\t * Notified when a playlist item plays.\r\n\t * \r\n\t * @param stream stream\r\n\t * @param item item\r\n\t * @param isLive treu if live\r\n\t * TODO\r\n\t */\r\n\tpublic void streamPlaylistItemPlay(IPlaylistSubscriberStream stream,\r\n\t\t\tIPlayItem item, boolean isLive);\r\n\r\n\t/**\r\n\t * Notified when a playlist item stops.\r\n\t * \r\n\t * @param stream stream\r\n\t * @param item item\r\n\t */\r\n\tpublic void streamPlaylistItemStop(IPlaylistSubscriberStream stream,\r\n\t\t\tIPlayItem item);\r\n\r\n\t/**\r\n\t * Notified when a playlist vod item pauses.\r\n\t * \r\n\t * @param stream stream\r\n\t * @param item item\r\n * @param position position\r\n\t */\r\n\tpublic void streamPlaylistVODItemPause(IPlaylistSubscriberStream stream,\r\n\t\t\tIPlayItem item, int position);\r\n\r\n\t/**\r\n\t * Notified when a playlist vod item resumes.\r\n\t * \r\n\t * @param stream stream\r\n\t * @param item item\r\n * @param position position\r\n\t */\r\n\tpublic void streamPlaylistVODItemResume(IPlaylistSubscriberStream stream,\r\n\t\t\tIPlayItem item, int position);\r\n\r\n\t/**\r\n\t * Notified when a playlist vod item seeks.\r\n\t * \r\n\t * @param stream stream\r\n\t * @param item item\r\n * @param position position\r\n\t */\r\n\tpublic void streamPlaylistVODItemSeek(IPlaylistSubscriberStream stream,\r\n\t\t\tIPlayItem item, int position);\r\n}", "public void setFileFlow(String fileFlow) {\r\n\t\tthis.fileFlow = fileFlow;\r\n\t}", "public interface IListenModel {\n\n void loadListen(Context context, boolean isFirst, String type, String page, OnListenListener listenListener);\n\n void loadListen(Context context, boolean isFirst, String page, OnListenListener listenListener);\n}", "public interface AddNoticeViewInterface {\n /**\n * 上传附件完成\n */\n void uploadAttachmentOnComplete(Data data);\n\n /**\n * 显示文件上传的百分比\n *\n * @param value\n */\n void onProgress(int value);\n\n /**\n * 发布公告\n */\n void publishNoticeOnComplete(Notice notice);\n\n}", "public interface InputPort extends Component, AbstractConnectionSource {\n}", "public interface IIncomePresenter {\n /**\n * 点击了列表项,跳转到响应的详情\n *\n * @param style 0:收支列表\n * 1:信用卡\n * @param id 对应的id\n */\n void ShowInfo(int style, int id);\n\n /**\n * 点击了更多或者管理,跳到列表\n *\n * @param style 0:收支列表\n * 1:信用卡\n */\n void ShowList(int style);\n}", "@Bean\n\tpublic Flow myFlow() {\n\t\tFlowBuilder<Flow> flowBuilder = new FlowBuilder<>(\"myFlow\");\n\t\t\n\t\tflowBuilder.start(flowFoo1())\n\t\t\t.next(flowFoo2())\n\t\t\t.end();\n\t\t\n\t\treturn flowBuilder.build();\n\t}", "public FlowType type() {\r\n\t\treturn FlowType.FLOW;\r\n\t}", "@Override\n public FlowBuilder getFlowBuilder() {\n return this.flowBuilder;\n }", "public BaseFlow getFlow() {\n\t\treturn this;\n\t}", "public interface FileDownloader {\n boolean setInputSteam(String sourceUrl);\n void downloadFileFromStream();\n String getFileName();\n\n}", "public interface MessageInputChannel extends\r\n Channel<MessageInput, MessageInputChannelAPI>, OneDimensional, MessageCallback {\r\n\r\n}", "public interface PostsScreen {\n}", "public interface IRequestFlowMapper extends BaseMapper<RequestFlow> {\n\n int changeState(RequestFlow requestFlow) throws Exception;\n\n int updateRequestFlowByRequestNum(RequestFlow requestFlow);\n\n List<RequestFlow> queryBatch(QureyCondition condition);\n}", "public interface VideoScrapper extends Scrapper<Video> {\n\n}" ]
[ "0.68191266", "0.63652223", "0.5965638", "0.5898749", "0.58684576", "0.5812223", "0.5793705", "0.5786226", "0.57804173", "0.57575077", "0.56350946", "0.55208564", "0.5490339", "0.5477929", "0.54756266", "0.5472853", "0.5468636", "0.5434206", "0.54297364", "0.54106337", "0.54055524", "0.5378221", "0.5356191", "0.5338299", "0.5335097", "0.53319675", "0.532592", "0.53093624", "0.53002447", "0.52907246", "0.52588505", "0.5254402", "0.52506185", "0.522845", "0.52045476", "0.5191781", "0.51805156", "0.5174885", "0.5171117", "0.51647794", "0.5164633", "0.51643115", "0.5139958", "0.5139342", "0.51386076", "0.5132797", "0.5124676", "0.51070374", "0.50775856", "0.5075198", "0.5073551", "0.5071375", "0.506924", "0.50673157", "0.5063165", "0.50570333", "0.5056721", "0.5055965", "0.50540805", "0.5049264", "0.504784", "0.5044797", "0.5034734", "0.5031227", "0.50253236", "0.5019712", "0.5017201", "0.50164694", "0.5015354", "0.50070333", "0.50026685", "0.5000995", "0.49980664", "0.49919486", "0.49836323", "0.4954521", "0.49400178", "0.49312675", "0.49309483", "0.49281687", "0.49256647", "0.4924524", "0.49227712", "0.4918202", "0.4906634", "0.49024522", "0.4902332", "0.49019074", "0.48966622", "0.48956552", "0.48924622", "0.48917383", "0.48904222", "0.4883087", "0.48812053", "0.48806792", "0.48781878", "0.48770326", "0.48758024", "0.4869523" ]
0.65695924
1
Create a Cascading FlowDef for the specified parameters
public abstract FlowDef getFlowDefinition(String inPath, String outPath, String errorPath) throws Exception;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Flow {\n\n\t/**\n\t * Create a Cascading FlowDef for the specified parameters\n\t * \n\t * @param inPath\n\t * A path to be used as input for the flow\n\t * @param outPath\n\t * A path to be used as output for the floe\n\t * @param errorPath\n\t * A path where failed documents will be stored\n\t * @return A Flowdefinition\n\t * @throws Exception On any error during setup of the flow.\n\t */\n\tpublic abstract FlowDef getFlowDefinition(String inPath, String outPath, String errorPath) throws Exception;\n}", "public void buildFlow(FlowDO flow) {\n\t}", "Flows createFlows();", "Flow createFlow();", "DataFlow createDataFlow();", "FlowType createFlowType();", "public CreateFlowResponse createFlowWithOptions(CreateFlowRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception {\n com.aliyun.teautil.Common.validateModel(request);\n java.util.Map<String, Object> body = new java.util.HashMap<>();\n if (!com.aliyun.teautil.Common.isUnset(request.definition)) {\n body.put(\"Definition\", request.definition);\n }\n\n if (!com.aliyun.teautil.Common.isUnset(request.flowDescription)) {\n body.put(\"FlowDescription\", request.flowDescription);\n }\n\n if (!com.aliyun.teautil.Common.isUnset(request.flowName)) {\n body.put(\"FlowName\", request.flowName);\n }\n\n if (!com.aliyun.teautil.Common.isUnset(request.flowSource)) {\n body.put(\"FlowSource\", request.flowSource);\n }\n\n if (!com.aliyun.teautil.Common.isUnset(request.resourceGroupId)) {\n body.put(\"ResourceGroupId\", request.resourceGroupId);\n }\n\n if (!com.aliyun.teautil.Common.isUnset(request.templateId)) {\n body.put(\"TemplateId\", request.templateId);\n }\n\n com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap(\n new TeaPair(\"body\", com.aliyun.openapiutil.Client.parseToMap(body))\n ));\n com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap(\n new TeaPair(\"action\", \"CreateFlow\"),\n new TeaPair(\"version\", \"2018-12-12\"),\n new TeaPair(\"protocol\", \"HTTPS\"),\n new TeaPair(\"pathname\", \"/\"),\n new TeaPair(\"method\", \"POST\"),\n new TeaPair(\"authType\", \"AK\"),\n new TeaPair(\"style\", \"RPC\"),\n new TeaPair(\"reqBodyType\", \"formData\"),\n new TeaPair(\"bodyType\", \"json\")\n ));\n return TeaModel.toModel(this.callApi(params, req, runtime), new CreateFlowResponse());\n }", "FlowRule build();", "interface WithCreate\n extends DefinitionStages.WithRepoUrl,\n DefinitionStages.WithBranch,\n DefinitionStages.WithFolderPath,\n DefinitionStages.WithAutoSync,\n DefinitionStages.WithPublishRunbook,\n DefinitionStages.WithSourceType,\n DefinitionStages.WithSecurityToken,\n DefinitionStages.WithDescription {\n /**\n * Executes the create request.\n *\n * @return the created resource.\n */\n SourceControl create();\n\n /**\n * Executes the create request.\n *\n * @param context The context to associate with this operation.\n * @return the created resource.\n */\n SourceControl create(Context context);\n }", "public CreateFlowResponse createFlow(CreateFlowRequest request) throws Exception {\n com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();\n return this.createFlowWithOptions(request, runtime);\n }", "MakeflowFactory getMakeflowFactory();", "private SequenceFlow createSequenceFlow(FlowNode source, FlowNode target, ICreateConnectionContext context) {\r\n SequenceFlow sequenceFlow = new SequenceFlow();\r\n\r\n sequenceFlow.setId(getNextId());\r\n sequenceFlow.setSourceRef(source.getId());\r\n sequenceFlow.setTargetRef(target.getId());\r\n\r\n if (PreferencesUtil.getBooleanPreference(Preferences.EDITOR_ADD_LABELS_TO_NEW_SEQUENCEFLOWS)) {\r\n sequenceFlow.setName(String.format(\"to %s\", target.getName()));\r\n } else {\r\n sequenceFlow.setName(\"\");\r\n }\r\n\r\n ContainerShape targetContainer = null;\r\n if (source instanceof BoundaryEvent) {\r\n BoundaryEvent boundaryEvent = (BoundaryEvent) source;\r\n if (boundaryEvent.getAttachedToRef() != null) {\r\n Activity attachedActivity = boundaryEvent.getAttachedToRef();\r\n targetContainer = (ContainerShape) getFeatureProvider().getPictogramElementForBusinessObject(attachedActivity);\r\n }\r\n } else {\r\n targetContainer = (ContainerShape) context.getSourcePictogramElement();\r\n }\r\n \r\n ContainerShape parentContainer = targetContainer.getContainer();\r\n if (parentContainer instanceof Diagram) {\r\n ModelHandler.getModel(EcoreUtil.getURI(getDiagram())).getBpmnModel().getMainProcess().addFlowElement(sequenceFlow);\r\n\r\n } else {\r\n Object parentObject = getBusinessObjectForPictogramElement(parentContainer);\r\n if (parentObject instanceof SubProcess) {\r\n ((SubProcess) parentObject).addFlowElement(sequenceFlow);\r\n\r\n } else if (parentObject instanceof Lane) {\r\n Lane lane = (Lane) parentObject;\r\n lane.getParentProcess().addFlowElement(sequenceFlow);\r\n }\r\n }\r\n \r\n source.getOutgoingFlows().add(sequenceFlow);\r\n target.getIncomingFlows().add(sequenceFlow);\r\n return sequenceFlow;\r\n }", "public COMCLayout(IDynamicGraph<V, E> pIGraph, TimeFrame tf, String[] parameters) {\n super(pIGraph, tf, parameters);\n }", "FlowSequence createFlowSequence();", "void makeControlFlowGraph(SubpDefinition pSubpDef, SubpFlow pSubpFlow) {\n BBlock firstBBlock;\n BBlock lastBBlock;\n Stmt lHirBody = pSubpDef.getHirBody();\n generateBBlocks(lHirBody, pSubpFlow);\n flowRoot.ioRoot.dbgFlow.print(2, //##11 //##25\n \"makeControlFlowGraph\", \"of HIR\"); //##11\n\n firstBBlock = null;\n lastBBlock = null;\n lastBBlock = makeEdge(lHirBody, firstBBlock);\n firstBBlock = findEntryBlock();\n deleteEdge(firstBBlock);\n recordReachableBBlocks();\n findExitBlock();\n pSubpFlow.correlateBBlockAndIR(); //##25\n }", "interface WithCreate\n extends DefinitionStages.WithSource,\n DefinitionStages.WithDestination,\n DefinitionStages.WithExpirationTimeIfNotActivatedUtc,\n DefinitionStages.WithFilter,\n DefinitionStages.WithPartnerTopicFriendlyDescription {\n /**\n * Executes the create request.\n *\n * @return the created resource.\n */\n EventChannel create();\n\n /**\n * Executes the create request.\n *\n * @param context The context to associate with this operation.\n * @return the created resource.\n */\n EventChannel create(Context context);\n }", "public FlowRule(Flow flow, int seq) {\r\n super(flow, seq);\r\n }", "public FlowRule() {\r\n }", "SequenceFlow createSequenceFlow();", "Definition createDefinition();", "public FlowLayout(int paramInt1, int paramInt2, int paramInt3) {\n/* 659 */ this.serialVersionOnStream = 1;\n/* */ this.hgap = paramInt2;\n/* */ this.vgap = paramInt3;\n/* */ setAlignment(paramInt1);\n/* */ }", "public Flow(UseCase useCase) {\r\n\t\tthis.useCase = useCase;\r\n\t}", "public FdSocialsecurityFlows() {\n this(DSL.name(\"fd_socialsecurity_flows\"), null);\n }", "HxMethod createConstructorReference(final String declaringType,\n final String... parameterTypes);", "interface WithSourceType {\n /**\n * Specifies the sourceType property: The source type. Must be one of VsoGit, VsoTfvc, GitHub, case\n * sensitive..\n *\n * @param sourceType The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive.\n * @return the next definition stage.\n */\n WithCreate withSourceType(SourceType sourceType);\n }", "public void setFlowType(String flowType);", "interface WithCreate\n extends DefinitionStages.WithTags,\n DefinitionStages.WithNetworkProfile,\n DefinitionStages.WithAutoShutdownProfile,\n DefinitionStages.WithConnectionProfile,\n DefinitionStages.WithVirtualMachineProfile,\n DefinitionStages.WithSecurityProfile,\n DefinitionStages.WithRosterProfile,\n DefinitionStages.WithLabPlanId,\n DefinitionStages.WithTitle,\n DefinitionStages.WithDescription {\n /**\n * Executes the create request.\n *\n * @return the created resource.\n */\n Lab create();\n\n /**\n * Executes the create request.\n *\n * @param context The context to associate with this operation.\n * @return the created resource.\n */\n Lab create(Context context);\n }", "interface DefinitionStages {\n /** The first stage of the SourceControl definition. */\n interface Blank extends WithParentResource {\n }\n /** The stage of the SourceControl definition allowing to specify parent resource. */\n interface WithParentResource {\n /**\n * Specifies resourceGroupName, automationAccountName.\n *\n * @param resourceGroupName Name of an Azure Resource group.\n * @param automationAccountName The name of the automation account.\n * @return the next definition stage.\n */\n WithCreate withExistingAutomationAccount(String resourceGroupName, String automationAccountName);\n }\n /**\n * The stage of the SourceControl definition which contains all the minimum required properties for the resource\n * to be created, but also allows for any other optional properties to be specified.\n */\n interface WithCreate\n extends DefinitionStages.WithRepoUrl,\n DefinitionStages.WithBranch,\n DefinitionStages.WithFolderPath,\n DefinitionStages.WithAutoSync,\n DefinitionStages.WithPublishRunbook,\n DefinitionStages.WithSourceType,\n DefinitionStages.WithSecurityToken,\n DefinitionStages.WithDescription {\n /**\n * Executes the create request.\n *\n * @return the created resource.\n */\n SourceControl create();\n\n /**\n * Executes the create request.\n *\n * @param context The context to associate with this operation.\n * @return the created resource.\n */\n SourceControl create(Context context);\n }\n /** The stage of the SourceControl definition allowing to specify repoUrl. */\n interface WithRepoUrl {\n /**\n * Specifies the repoUrl property: The repo url of the source control..\n *\n * @param repoUrl The repo url of the source control.\n * @return the next definition stage.\n */\n WithCreate withRepoUrl(String repoUrl);\n }\n /** The stage of the SourceControl definition allowing to specify branch. */\n interface WithBranch {\n /**\n * Specifies the branch property: The repo branch of the source control. Include branch as empty string for\n * VsoTfvc..\n *\n * @param branch The repo branch of the source control. Include branch as empty string for VsoTfvc.\n * @return the next definition stage.\n */\n WithCreate withBranch(String branch);\n }\n /** The stage of the SourceControl definition allowing to specify folderPath. */\n interface WithFolderPath {\n /**\n * Specifies the folderPath property: The folder path of the source control. Path must be relative..\n *\n * @param folderPath The folder path of the source control. Path must be relative.\n * @return the next definition stage.\n */\n WithCreate withFolderPath(String folderPath);\n }\n /** The stage of the SourceControl definition allowing to specify autoSync. */\n interface WithAutoSync {\n /**\n * Specifies the autoSync property: The auto async of the source control. Default is false..\n *\n * @param autoSync The auto async of the source control. Default is false.\n * @return the next definition stage.\n */\n WithCreate withAutoSync(Boolean autoSync);\n }\n /** The stage of the SourceControl definition allowing to specify publishRunbook. */\n interface WithPublishRunbook {\n /**\n * Specifies the publishRunbook property: The auto publish of the source control. Default is true..\n *\n * @param publishRunbook The auto publish of the source control. Default is true.\n * @return the next definition stage.\n */\n WithCreate withPublishRunbook(Boolean publishRunbook);\n }\n /** The stage of the SourceControl definition allowing to specify sourceType. */\n interface WithSourceType {\n /**\n * Specifies the sourceType property: The source type. Must be one of VsoGit, VsoTfvc, GitHub, case\n * sensitive..\n *\n * @param sourceType The source type. Must be one of VsoGit, VsoTfvc, GitHub, case sensitive.\n * @return the next definition stage.\n */\n WithCreate withSourceType(SourceType sourceType);\n }\n /** The stage of the SourceControl definition allowing to specify securityToken. */\n interface WithSecurityToken {\n /**\n * Specifies the securityToken property: The authorization token for the repo of the source control..\n *\n * @param securityToken The authorization token for the repo of the source control.\n * @return the next definition stage.\n */\n WithCreate withSecurityToken(SourceControlSecurityTokenProperties securityToken);\n }\n /** The stage of the SourceControl definition allowing to specify description. */\n interface WithDescription {\n /**\n * Specifies the description property: The user description of the source control..\n *\n * @param description The user description of the source control.\n * @return the next definition stage.\n */\n WithCreate withDescription(String description);\n }\n }", "interface DefinitionStages {\n /** The first stage of the EventChannel definition. */\n interface Blank extends WithParentResource {\n }\n /** The stage of the EventChannel definition allowing to specify parent resource. */\n interface WithParentResource {\n /**\n * Specifies resourceGroupName, partnerNamespaceName.\n *\n * @param resourceGroupName The name of the resource group within the user's subscription.\n * @param partnerNamespaceName Name of the partner namespace.\n * @return the next definition stage.\n */\n WithCreate withExistingPartnerNamespace(String resourceGroupName, String partnerNamespaceName);\n }\n /**\n * The stage of the EventChannel definition which contains all the minimum required properties for the resource\n * to be created, but also allows for any other optional properties to be specified.\n */\n interface WithCreate\n extends DefinitionStages.WithSource,\n DefinitionStages.WithDestination,\n DefinitionStages.WithExpirationTimeIfNotActivatedUtc,\n DefinitionStages.WithFilter,\n DefinitionStages.WithPartnerTopicFriendlyDescription {\n /**\n * Executes the create request.\n *\n * @return the created resource.\n */\n EventChannel create();\n\n /**\n * Executes the create request.\n *\n * @param context The context to associate with this operation.\n * @return the created resource.\n */\n EventChannel create(Context context);\n }\n /** The stage of the EventChannel definition allowing to specify source. */\n interface WithSource {\n /**\n * Specifies the source property: Source of the event channel. This represents a unique resource in the\n * partner's resource model..\n *\n * @param source Source of the event channel. This represents a unique resource in the partner's resource\n * model.\n * @return the next definition stage.\n */\n WithCreate withSource(EventChannelSource source);\n }\n /** The stage of the EventChannel definition allowing to specify destination. */\n interface WithDestination {\n /**\n * Specifies the destination property: Represents the destination of an event channel..\n *\n * @param destination Represents the destination of an event channel.\n * @return the next definition stage.\n */\n WithCreate withDestination(EventChannelDestination destination);\n }\n /** The stage of the EventChannel definition allowing to specify expirationTimeIfNotActivatedUtc. */\n interface WithExpirationTimeIfNotActivatedUtc {\n /**\n * Specifies the expirationTimeIfNotActivatedUtc property: Expiration time of the event channel. If this\n * timer expires while the corresponding partner topic is never activated, the event channel and\n * corresponding partner topic are deleted..\n *\n * @param expirationTimeIfNotActivatedUtc Expiration time of the event channel. If this timer expires while\n * the corresponding partner topic is never activated, the event channel and corresponding partner topic\n * are deleted.\n * @return the next definition stage.\n */\n WithCreate withExpirationTimeIfNotActivatedUtc(OffsetDateTime expirationTimeIfNotActivatedUtc);\n }\n /** The stage of the EventChannel definition allowing to specify filter. */\n interface WithFilter {\n /**\n * Specifies the filter property: Information about the filter for the event channel..\n *\n * @param filter Information about the filter for the event channel.\n * @return the next definition stage.\n */\n WithCreate withFilter(EventChannelFilter filter);\n }\n /** The stage of the EventChannel definition allowing to specify partnerTopicFriendlyDescription. */\n interface WithPartnerTopicFriendlyDescription {\n /**\n * Specifies the partnerTopicFriendlyDescription property: Friendly description about the topic. This can be\n * set by the publisher/partner to show custom description for the customer partner topic. This will be\n * helpful to remove any ambiguity of the origin of creation of the partner topic for the customer..\n *\n * @param partnerTopicFriendlyDescription Friendly description about the topic. This can be set by the\n * publisher/partner to show custom description for the customer partner topic. This will be helpful to\n * remove any ambiguity of the origin of creation of the partner topic for the customer.\n * @return the next definition stage.\n */\n WithCreate withPartnerTopicFriendlyDescription(String partnerTopicFriendlyDescription);\n }\n }", "WithCreate withSourceType(SourceType sourceType);", "@Bean\n\tpublic Flow myFlow() {\n\t\tFlowBuilder<Flow> flowBuilder = new FlowBuilder<>(\"myFlow\");\n\t\t\n\t\tflowBuilder.start(flowFoo1())\n\t\t\t.next(flowFoo2())\n\t\t\t.end();\n\t\t\n\t\treturn flowBuilder.build();\n\t}", "public Flow createFlow(ProcessXmlOptions options) throws IOException, InterruptedException {\n System.setProperty(\"javax.xml.parsers.DocumentBuilderFactory\",\n \"com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl\");\n\n JobConf conf = new JobConf();\n conf.set(\"mapred.child.java.opts\", \"-server\");\n \n Properties props = new Properties();\n FlowConnector.setApplicationJarClass(props, ProcessXmlTool.class);\n\n if (!options.isDebugLogging()) {\n props.put(\"log4j.logger\", \"cascading=INFO\");\n }\n \n MultiMapReducePlanner.setJobConf(props, conf);\n\n Tap sourceTap = new Hfs(new TextLine(), options.getInputFile());\n \n Tap sinkTap = new Hfs(new SequenceFile(FIELDS), options.getOutputDir(), SinkMode.REPLACE);\n \n Pipe xmlPipe = new Pipe(\"xml\");\n xmlPipe = new Each(xmlPipe, new ParseXml());\n xmlPipe = new Each(xmlPipe, new Debug());\n \n FlowConnector flowConnector = new FlowConnector(props);\n return flowConnector.connect(sourceTap, sinkTap, xmlPipe);\n }", "@Override\n public ParameterDefinition newInstance(StaplerRequest req, JSONObject formData) throws hudson.model.Descriptor.FormException {\n if (req != null) {\n List<Ancestor> ancestors = req.getAncestors();\n AbstractProject<?, ?> project = null;\n for (Ancestor ancestor : ancestors) {\n Object object = ancestor.getObject();\n if (object instanceof AbstractProject<?, ?>) {\n project = (AbstractProject<?, ?>) object;\n break;\n }\n }\n this.project = project;\n }\n return super.newInstance(req, formData);\n }", "public void createDefectBuilder(String defName, String testcaseId, String workspaceId, String projId, String DefSeverity,\r\n\t\t\t String DefOwner, String DefNotes, String storyId, String attachmentPath){\r\n\r\n\t \r\n\t try{\r\n\t \r\nMap<String, String> reqMap = new HashMap<String, String>();\r\nreqMap.put(RallyConstants.NAME, defName);\r\nreqMap.put(RallyConstants.CREATEDATE, DateUtil.getCurrentDateTime(RallyConstants.CREATION_DATE_FORMAT));\r\nreqMap.put(RallyConstants.TESTCASE, testcaseId);\r\nreqMap.put(RallyConstants.PROJECT, projId);\r\nreqMap.put(RallyConstants.SEVERITY, DefSeverity);\r\nreqMap.put(RallyConstants.OWNER, DefOwner);\r\nreqMap.put(RallyConstants.NOTES, DefNotes);\r\nreqMap.put(RallyConstants.WORKSPACE, workspaceId);\r\n//reqMap.put(\"Requirement\", storyId);\r\n\r\n\tRequestInfo reqInfo= new RequestInfo(RallyConstants.DEFECT, RallyConstants.CREATE, reqMap);\r\n\ttry {\r\n\t\t\tcreate(reqInfo, attachmentPath);\r\n\t\t\tSystem.out.println(\"done with logging defect. Now updating the testcase result\");\r\n\t\t\t\r\n\t\t} catch (DefectException ex) {\r\n\t\tlog.error(ex.getMessage());\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t}catch(NullPointerException e){\r\n\t\tlog.error(e.getMessage());\r\n\t\t}\r\n\t\t}", "public BlockFluidFlowing(FlowingFluid fluid, Block.Properties builder) {\n super(fluid, builder);\n// this.name = unlocalizedName;\n// todo: check this\n// this.displacements.put(this, false);\n\n// this.register();\n }", "@Override\n public void onStarting(Flow flow) {\n //init flow\n List<BaseFlowStep> steps = flow.getFlowSteps();\n totalNumberOfJobs = steps.size();\n runnigJobs = 0;\n currentFlowId = flow.getID();\n\n // convert the graph generated by cascading toDAGNodes Graph to be sent to ambrose\n AmbroseCascadingGraphConverter convertor = new AmbroseCascadingGraphConverter((SimpleDirectedGraph) Flows.getStepGraphFrom(flow), dagNodeNameMap);\n convertor.convert();\n try {\n statsWriteService.sendDagNodeNameMap(null, this.dagNodeNameMap);\n } catch (IOException e) {\n log.error(\"Couldn't send dag to StatsWriteService\", e);\n }\n Workflow workflow = new Workflow(currentFlowId, currentFlowId, jobs);\n try {\n outputStatsData(workflow);\n } catch (IOException e) {\n log.error(\"Exception outputting workflow\", e);\n }\n }", "public interface Simpleflowmodel4pcmFactory extends EFactory {\r\n\t/**\r\n\t * The singleton instance of the factory.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @generated\r\n\t */\r\n\tSimpleflowmodel4pcmFactory eINSTANCE = edu.kit.kastel.scbs.simpleflowmodel4pcm.impl.Simpleflowmodel4pcmFactoryImpl\r\n\t\t\t.init();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Flows</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Flows</em>'.\r\n\t * @generated\r\n\t */\r\n\tFlows createFlows();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Flow</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Flow</em>'.\r\n\t * @generated\r\n\t */\r\n\tFlow createFlow();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Signature Source</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Signature Source</em>'.\r\n\t * @generated\r\n\t */\r\n\tSignatureSource createSignatureSource();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Parameter Source</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Parameter Source</em>'.\r\n\t * @generated\r\n\t */\r\n\tParameterSource createParameterSource();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Signature Identification</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Signature Identification</em>'.\r\n\t * @generated\r\n\t */\r\n\tSignatureIdentification createSignatureIdentification();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Parameter Identification</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Parameter Identification</em>'.\r\n\t * @generated\r\n\t */\r\n\tParameterIdentification createParameterIdentification();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Generic Sink</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Generic Sink</em>'.\r\n\t * @generated\r\n\t */\r\n\tGenericSink createGenericSink();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Signature Sink</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Signature Sink</em>'.\r\n\t * @generated\r\n\t */\r\n\tSignatureSink createSignatureSink();\r\n\r\n\t/**\r\n\t * Returns a new object of class '<em>Parameter Sink</em>'.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return a new object of class '<em>Parameter Sink</em>'.\r\n\t * @generated\r\n\t */\r\n\tParameterSink createParameterSink();\r\n\r\n\t/**\r\n\t * Returns the package supported by this factory.\r\n\t * <!-- begin-user-doc -->\r\n\t * <!-- end-user-doc -->\r\n\t * @return the package supported by this factory.\r\n\t * @generated\r\n\t */\r\n\tSimpleflowmodel4pcmPackage getSimpleflowmodel4pcmPackage();\r\n\r\n}", "public void constructHierarchy(){\n\t\t// populate parents for the globally defined param specs\n\t\tfor (ListIterator<ParamSpec> iterator = m_paramSpecs.listIterator(m_paramSpecs.size()); iterator.hasPrevious();) {\n\t\t\tParamSpec ps = iterator.previous();\n\t\t\tpopulateParent(ps);\n\t\t}\n\t\t// populate values for the globally defined param specs\n\t\tfor (ListIterator<ParamSpec> iterator = m_paramSpecs.listIterator(m_paramSpecs.size()); iterator.hasPrevious();) {\n\t\t\tParamSpec ps = iterator.previous();\n\t\t\tps.lookupValues();\n\t\t}\n\t\t\n\t\t// populate parents for the command specs and their contained param specs\n\t\tfor (CommandSpec cs : m_commandSpecs){\n\t\t\tpopulateParent(cs);\n\t\t\tif (cs.getParamSpecs() != null){\n\t\t\t\tfor (ParamSpec ps : cs.getParamSpecs()){\n\t\t\t\t\tpopulateParent(ps);\n\t\t\t\t}\n\t\t\t\tfor (ParamSpec ps : cs.getParamSpecs()){\n\t\t\t\t\tps.lookupValues();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public CreateRemoteClassic<Msg, Ref> factCreate();", "interface WithTensorFlowSettings {\n /**\n * Specifies tensorFlowSettings.\n * @param tensorFlowSettings the tensorFlowSettings parameter value\n * @return the next definition stage\n */\n WithCreate withTensorFlowSettings(TensorFlowSettings tensorFlowSettings);\n }", "public void setFlow(int flow) {\r\n\r\n this.flow = flow;\r\n }", "@Transactional\n\tpublic void saveNewProtocol(FlowObjCreator foc) {\n\t\tInteger idf = foc.getIdf();\n\t\tTree newProtocolT = saveNewDocRoot(idf, \"protocol\");\n\t\tProtocol newProtocolO = foc.getNewProtocol();\n\t\tlog.debug(newProtocolO);\n\t\tConceptMtl.reviseIntention(newProtocolO);\n\t\tlog.debug(newProtocolO);\n\t\tnewProtocolO.setProtocoltype(\"clinic\");\n\t\tnewProtocolO.setId(newProtocolT.getId());\n\t\tTree definitionT = addChild(\"definition\",newProtocolT,newProtocolT);\n\t\t\n\t\tTree newTaskT = addChild(\"task\",definitionT,newProtocolT);\n\t\tnewTaskT.setIdClass(newTaskT.getId());\n\t\tint duration = 14;\n\t\tduration = newProtocolO.getDuration();\n\t\tTask newTaskC = newTaskC(newProtocolO.getSchemaName(),\"chemo\",duration, newTaskT);\n\t\taddHistory(newTaskT);\n\t\t\n//\t\tTask supportTaskC = new Task();\n//\t\tsupportTaskC.setTask(\"support\");\n//\t\tsupportTaskC = (Task) taskL(supportTaskC).get(0);\n\t\tSchemaMtl schemaMtl = new SchemaMtl(newTaskT);\n\t\tTree supportTaskC=initInsideTask(schemaMtl, \"support\");\n//\t\taddSchema(supportTaskC.getId(), newTaskT, newTaskT);\n\t\t\n\t\tTree newTask2T = addChild(\"task\",newProtocolT,newProtocolT);\n\t\tnewTask2T.setIdClass(newTaskT.getIdClass());\n//\t\tem.merge(newProtocolT);\n\t\tem.persist(newProtocolT);\n\t\tem.persist(newProtocolO);\n\t\tem.persist(newTaskC);\n\t\t//formUtil.setNewTaskT(newTaskT);\n\t\tfoc.setIdf(newTaskT.getId());\n\t}", "private static void createNewClothing(int aArticle, int aSource, int aTarget, int... components) {\n/* 3446 */ AdvancedCreationEntry article = createAdvancedEntry(10016, aSource, aTarget, aArticle, false, false, 0.0F, true, false, 0, 10.0D, CreationCategories.CLOTHES);\n/* */ \n/* 3448 */ article.setColouringCreation(true);\n/* 3449 */ article.setFinalMaterial((byte)17);\n/* 3450 */ article.setUseTemplateWeight(true);\n/* 3451 */ int x = 1;\n/* 3452 */ for (int component : components)\n/* */ {\n/* 3454 */ article.addRequirement(new CreationRequirement(x++, component, 1, true));\n/* */ }\n/* */ }", "interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, DefinitionStages.WithCluster, DefinitionStages.WithNodeCount, DefinitionStages.WithStdOutErrPathPrefix, DefinitionStages.WithCreate {\n }", "private void createCallgraph() {\n final DirectedGraph<ICallgraphNode, ICallgraphEdge> graph =\n m_module.getContent().getNativeCallgraph();\n\n final List<FunctionBlock> blocks = new ArrayList<FunctionBlock>();\n final List<FunctionEdge> edges = new ArrayList<FunctionEdge>();\n\n final HashMap<ICallgraphNode, FunctionBlock> blockMap =\n new HashMap<ICallgraphNode, FunctionBlock>();\n\n final HashMap<INaviFunction, Function> functionMap = new HashMap<INaviFunction, Function>();\n\n for (final Function function : m_functions) {\n functionMap.put(function.getNative(), function);\n }\n\n for (final ICallgraphNode block : graph.getNodes()) {\n final FunctionBlock newBlock = new FunctionBlock(functionMap.get(block.getFunction()));\n\n blockMap.put(block, newBlock);\n\n blocks.add(newBlock);\n }\n\n for (final ICallgraphEdge edge : graph.getEdges()) {\n final FunctionBlock source = blockMap.get(edge.getSource());\n final FunctionBlock target = blockMap.get(edge.getTarget());\n\n edges.add(new FunctionEdge(source, target));\n }\n\n m_callgraph = new Callgraph(blocks, edges);\n }", "WithCreate withBranch(String branch);", "public FlowTableOperations build(FlowTableOperationsContext cb) {\n closeStage();\n return new FlowTableOperations(listBuilder.build(), cb);\n }", "public FdSocialsecurityFlows(Name alias) {\n this(alias, FD_SOCIALSECURITY_FLOWS);\n }", "@Override\n public HashProbDef generateProblemDefinition(HashProbGen hashProbGen) throws Exception {\n \n /* En caso de que recibamos un hash con el grafo en vez de\n * un grafo con las opciones de generacion. */\n \n if(hashProbGen.containsKey(E.filename)){\n HashGraphDef graphDef = new HashGraphDef();\n String filename = hashProbGen.get(E.filename);\n String extension = filename.substring(filename.length()-4);\n switch(extension){\n case \".txt\": graphDef = ReaderGraph.optFromTXT(new File(filename)); break;\n case \".xml\": graphDef = GraphProblemFromXML.graphDefFromXML(new File(filename)); break;\n default: throw new Exception(\"Unknown file extension.\");\n }\n HashProbDef probDef = new HashProbDef();\n probDef.putAll(graphDef);\n return probDef;\n }\n \n // HACK\n if(hashProbGen.containsKey(\"0,0\") || hashProbGen.containsKey(\"1,1\")){\n HashProbDef h = new HashProbDef();\n h.putAll(hashProbGen);\n return h;\n }\n \n if(hashProbGen.containsKey(E.generationMode)){\n switch(hashProbGen.getIndispensable(E.generationMode)){\n case E.genModeUniDist: genType = GenType.UNIFORM_DISTRIBUTION; break;\n case E.genModeBiased: genType = GenType.BIASED; break;\n }\n }\n \n \n if(hashProbGen.containsKey(E.randomSeed)) \n Rand.setSeed(Long.valueOf(hashProbGen.get(E.randomSeed)));\n \n /** Hash con la definicion arista por arista del grafo generado. */\n HashProbDef optDef = new HashProbDef();\n optDef.put(E.numOfCities, hashProbGen.get(E.numOfCities));\n // opt.putAll(optArg);\n \n // Hay que generarlos.\n int numOfCities = Integer.valueOf(hashProbGen.getIndispensable(E.numOfCities));\n float minDist = Float.valueOf(hashProbGen.getIndispensable(E.minDist));\n float maxDist = Float.valueOf(hashProbGen.getIndispensable(E.maxDist));\n \n for(int i=0; i<numOfCities; i++){\n for(int j=i; j<numOfCities; j++){\n if(j == i){\n optDef.put(String.format(\"%s,%s\", i,j), \"0\");\n }\n else {\n switch(genType){\n case BIASED:\n optDef.put(String.format(\"%s,%s\", i,j), \n String.valueOf(maxDist)); break;\n case UNIFORM_DISTRIBUTION:\n optDef.put(String.format(\"%s,%s\", i,j), \n String.valueOf(Rand.randFloat(minDist, maxDist))); break;\n }\n }\n if(genType == GenType.BIASED){\n int randSisterCity;\n do{\n randSisterCity = Rand.randInt(0, numOfCities-1);\n }while(randSisterCity == i);\n optDef.put(String.format(\"%s,%s\", i, randSisterCity), \n String.valueOf(minDist));\n }\n }\n }\n \n return optDef;\n }", "FlowControlledDataChannel(\n @NonNull final DataChannel dc, final long lowWaterMark, final long highWaterMark) {\n this.log = LoggerFactory.getLogger(\"SaltyRTC.Demo.FCDC.\" + dc.id());\n this.dc = dc;\n this.lowWaterMark = lowWaterMark;\n this.highWaterMark = highWaterMark;\n }", "interface WithBranch {\n /**\n * Specifies the branch property: The repo branch of the source control. Include branch as empty string for\n * VsoTfvc..\n *\n * @param branch The repo branch of the source control. Include branch as empty string for VsoTfvc.\n * @return the next definition stage.\n */\n WithCreate withBranch(String branch);\n }", "interface Definition extends DefinitionStages.Blank, DefinitionStages.WithVault, DefinitionStages.WithProperties, DefinitionStages.WithCreate {\n }", "Para createPara();", "interface WithCaffeSettings {\n /**\n * Specifies caffeSettings.\n * @param caffeSettings the caffeSettings parameter value\n * @return the next definition stage\n */\n WithCreate withCaffeSettings(CaffeSettings caffeSettings);\n }", "public ProcessingTarget buildGraph(){\n \t\tgetTibbrGraph();\n \n \t\t//Init a project - and therefore a workspace\n \t\tProjectController pc = Lookup.getDefault().lookup(ProjectController.class);\n \t\tpc.newProject();\n \t\tWorkspace workspace = pc.getCurrentWorkspace();\n \n \t\t//Get a graph model - it exists because we have a workspace\n \t\tGraphModel graphModel = Lookup.getDefault().lookup(GraphController.class).getModel();\n \t\tAttributeModel attributeModel = Lookup.getDefault().lookup(AttributeController.class).getModel();\n \t\tImportController importController = Lookup.getDefault().lookup(ImportController.class);\n \n \t\t//Import file \n \t\tContainer container;\n \t\ttry {\n \t\t\tFile f = new File(this.filename);\n \t\t\tcontainer = importController.importFile(f);\n \t\t\tcontainer.getLoader().setEdgeDefault(EdgeDefault.DIRECTED); //Force DIRECTED\n \t\t container.setAllowAutoNode(false); //Don't create missing nodes\n \t\t} catch (Exception ex) {\n \t\t\tex.printStackTrace();\n \t\t\treturn null;\n \t\t}\n \n \t\t//Append imported data to GraphAPI\n \t\timportController.process(container, new DefaultProcessor(), workspace);\n \n \t\t//See if graph is well imported\n \t\t//DirectedGraph graph = graphModel.getDirectedGraph();\n \t\t//---------------------------\n \n \t\t//Layout for 1 minute\n \t\tAutoLayout autoLayout = new AutoLayout(5, TimeUnit.SECONDS);\n \t\tautoLayout.setGraphModel(graphModel);\n \t\t//YifanHuLayout firstLayout = new YifanHuLayout(null, new StepDisplacement(1f));\n \t\tForceAtlasLayout secondLayout = new ForceAtlasLayout(null);\n \t\tAutoLayout.DynamicProperty adjustBySizeProperty = AutoLayout.createDynamicProperty(\"forceAtlas.adjustSizes.name\", Boolean.TRUE, 0.1f);//True after 10% of layout time\n \t\tAutoLayout.DynamicProperty repulsionProperty = AutoLayout.createDynamicProperty(\"forceAtlas.repulsionStrength.name\", new Double(10000.), 0f);//500 for the complete period\n \t\t//autoLayout.addLayout( firstLayout, 0.5f );\n \t\tautoLayout.addLayout(secondLayout, 1f, new AutoLayout.DynamicProperty[]{adjustBySizeProperty, repulsionProperty});\n \t\tautoLayout.execute();\n \n \n \n \n \n \t\t//Rank color by Degree\n \t\tRankingController rankingController = Lookup.getDefault().lookup(RankingController.class);\n\t\tRanking<?> degreeRanking = rankingController.getModel().getRanking(Ranking.NODE_ELEMENT, Ranking.DEGREE_RANKING);\n\t\tAbstractColorTransformer<?> colorTransformer = (AbstractColorTransformer<?>) rankingController.getModel().getTransformer(Ranking.NODE_ELEMENT, Transformer.RENDERABLE_COLOR);\n \n \t\tcolorTransformer.setColors(new Color[]{new Color(0xFEF0D9), new Color(0xB30000)});\n \t\trankingController.transform(degreeRanking,colorTransformer);\n \n \t\t//Get Centrality\n \t\tGraphDistance distance = new GraphDistance();\n \t\tdistance.setDirected(true);\n \t\tdistance.execute(graphModel, attributeModel);\n \n \t\t//Rank size by centrality\n \t\tAttributeColumn centralityColumn = attributeModel.getNodeTable().getColumn(GraphDistance.BETWEENNESS);\n\t\tRanking<?> centralityRanking = rankingController.getModel().getRanking(Ranking.NODE_ELEMENT, centralityColumn.getId());\n\t\tAbstractSizeTransformer<?> sizeTransformer = (AbstractSizeTransformer<?>) rankingController.getModel().getTransformer(Ranking.NODE_ELEMENT, Transformer.RENDERABLE_SIZE);\n \t\tsizeTransformer.setMinSize(3);\n \t\tsizeTransformer.setMaxSize(20);\n \t\trankingController.transform(centralityRanking,sizeTransformer);\n \n \t\t//Rank label size - set a multiplier size\n\t\tRanking<?> centralityRanking2 = rankingController.getModel().getRanking(Ranking.NODE_ELEMENT, centralityColumn.getId());\n\t\tAbstractSizeTransformer<?> labelSizeTransformer = (AbstractSizeTransformer<?>) rankingController.getModel().getTransformer(Ranking.NODE_ELEMENT, Transformer.LABEL_SIZE);\n \t\tlabelSizeTransformer.setMinSize(1);\n \t\tlabelSizeTransformer.setMaxSize(3);\n \t\trankingController.transform(centralityRanking2,labelSizeTransformer);\n \n \t\tfloat[] positions = {0f,0.33f,0.66f,1f};\n \t\tcolorTransformer.setColorPositions(positions);\n \t\tColor[] colors = new Color[]{new Color(0x0000FF), new Color(0xFFFFFF),new Color(0x00FF00),new Color(0xFF0000)};\n \t\tcolorTransformer.setColors(colors);\n \n \t\t\n \t\t//---------------------------------\n \t\t//Preview configuration\n \t\tPreviewController previewController = Lookup.getDefault().lookup(PreviewController.class);\n \t\tPreviewModel previewModel = previewController.getModel();\n \t\tpreviewModel.getProperties().putValue(PreviewProperty.DIRECTED, Boolean.TRUE);\n \t\tpreviewModel.getProperties().putValue(PreviewProperty.BACKGROUND_COLOR, Color.BLACK);\n \t\tpreviewModel.getProperties().putValue(PreviewProperty.SHOW_NODE_LABELS, Boolean.TRUE);\n \t\tpreviewModel.getProperties().putValue(PreviewProperty.NODE_LABEL_COLOR, new DependantOriginalColor(Color.YELLOW));\n \t\t\n \t\t\n \t\t//previewModel.getProperties().putValue(PreviewProperty.EDGE_CURVED, Boolean.TRUE);\n \t\t//previewModel.getProperties().putValue(PreviewProperty.EDGE_OPACITY, 100);\n \t\t//previewModel.getProperties().putValue(PreviewProperty.EDGE_RADIUS, 1f);\n \t\t//previewModel.getProperties().putValue(PreviewProperty.EDGE_THICKNESS,0.2f);\n \t\t//previewModel.getProperties().putValue(PreviewProperty.ARROW_SIZE,0.2f);\n \n \t\tpreviewController.refreshPreview();\n \n \t\t//----------------------------\n \n \t\t//New Processing target, get the PApplet\n \t\tProcessingTarget target = (ProcessingTarget) previewController.getRenderTarget(RenderTarget.PROCESSING_TARGET);\n \t\t\n \t\tPApplet applet = target.getApplet();\n \t\tapplet.init();\n \n \t\t// Add .1 second delay to fix stability issue - per Gephi forums\n try {\n \t\t\t\tThread.sleep(100);\n \t\t\t} catch (InterruptedException e) {\n \t\t\t\t// TODO Auto-generated catch block\n \t\t\t\te.printStackTrace();\n \t\t\t}\n \n \t\t\n \t\t//Refresh the preview and reset the zoom\n \t\tpreviewController.render(target);\n \t\ttarget.refresh();\n \t\ttarget.resetZoom();\n \t\ttarget.zoomMinus();\n \t\ttarget.zoomMinus();\n \t\t\n \t\treturn target;\n \t\t\n \n \t}", "interface Definition extends\n DefinitionStages.Blank,\n DefinitionStages.WithGroup,\n DefinitionStages.WithSku,\n DefinitionStages.WithPartitionsAndCreate,\n DefinitionStages.WithReplicasAndCreate,\n DefinitionStages.WithCreate {\n }", "FlowDto createRequestFlowDto(String name, Integer portNo, Integer bandWidth, Integer latency) {\n\t\tString nodeNameSuffix = \"\";\n\t\tif(!ClientConfigConstants.CLIENT_TYPE_OTHER.equals(clientConfig.getSrcComponentName())){\n\t\t\tnodeNameSuffix = \"123\";\n\t\t}\n\t\tString sPortNo = String.format(\"%08d\", portNo);\n\t\tFlowDto reqFlowDto = new FlowDto();\n\t\treqFlowDto.name = name;\n\t\treqFlowDto.srcCENodeName = \"tokyo\" + nodeNameSuffix;\n\t\treqFlowDto.srcCEPortNo = sPortNo;\n\t\treqFlowDto.dstCENodeName = \"osaka\" + nodeNameSuffix;\n\t\treqFlowDto.dstCEPortNo = sPortNo;\n\t\tif (bandWidth != null) {\n\t\t\treqFlowDto.reqBandWidth = bandWidth;\n\t\t} else {\n\t\t\treqFlowDto.reqBandWidth = REQ_BAND_WIDTH;\n\t\t}\n\t\tif (latency != null) {\n\t\t\treqFlowDto.reqDelay = latency;\n\t\t} else {\n\t\t\treqFlowDto.reqDelay = random.nextBoolean() ? LARGE_REQ_DELAY : SMALL_REQ_DELAY;\n\t\t}\n\t\treqFlowDto.protectionLevel = \"0\";\n\t\treturn reqFlowDto;\n\t}", "HxMethod createConstructor(final String... parameterTypes);", "FlowDesignerFactory getFlowDesignerFactory();", "Foco createFoco();", "@Override\n\tpublic void createCpteEpargne(CompteEpargne cpt) {\n\t\t\n\t}", "public void createCompte(Compte compte);", "interface WithCreate\n extends DefinitionStages.WithLocation,\n DefinitionStages.WithTags,\n DefinitionStages.WithProperties,\n DefinitionStages.WithClientTenantId {\n /**\n * Executes the create request.\n *\n * @return the created resource.\n */\n JobResponse create();\n\n /**\n * Executes the create request.\n *\n * @param context The context to associate with this operation.\n * @return the created resource.\n */\n JobResponse create(Context context);\n }", "private void showFlow(VFlow flow, Stage stage, String title) {\n ScalableContentPane canvas = new ScalableContentPane();\r\n\r\n // define it as background (css class)\r\n canvas.getStyleClass().setAll(\"vflow-background\");\r\n\r\n // create skin factory for flow visualization\r\n FXValueSkinFactory fXSkinFactory = new FXValueSkinFactory(canvas.getContentPane());\r\n\r\n // register visualizations for Integer, String and Image\r\n fXSkinFactory.addSkinClassForValueType(Integer.class, IntegerFlowNodeSkin.class);\r\n fXSkinFactory.addSkinClassForValueType(String.class, StringFlowNodeSkin.class);\r\n fXSkinFactory.addSkinClassForValueType(Image.class, ImageFlowNodeSkin.class);\r\n\r\n // generate the ui for the flow\r\n flow.addSkinFactories(fXSkinFactory);\r\n\r\n // the usual application setup\r\n Scene scene = new Scene(canvas, 1024, 600);\r\n\r\n // add css style\r\n scene.getStylesheets().setAll(\r\n \"/eu/mihosoft/vrl/workflow/tutorial05/resources/default.css\");\r\n\r\n stage.setTitle(title);\r\n stage.setScene(scene);\r\n stage.show();\r\n }", "Compleja createCompleja();", "public static Department createScenarioDepartmentC() {\n\t\t\t//Establish all the employees\n\t\t\tManager managerE = new Manager(\"Manager E\");\n\t\t\tEmployee developerB = new Developer(\"Developer B\");\n\n\t\t\t//Set up reporting employee hierarchy\n\t\t\tmanagerE.addReportingEmployee(developerB);\n\t\t\t\n\t\t\t//Establish Departments, with head managers\n\t\t\tDepartment departmentC = new Department(managerE);\n\t\t\t\n\t\t\treturn departmentC;\n\t\t}", "public interface FragmentConstructorFactory {\n \n /**\n * return an instance of fragment constructor for a type\n * @param type\n * @return\n */\n public FragmentConstructor getFragmentConstructorForType(FieldDescriptor descriptor);\n\n}", "public void mkList(MacAddress hostId, DeviceId apId, int flowNum, PortNumber portNumber, MacAddress sourceMac, MacAddress destinationMac, int stype) {\n\tif(stype == 1){\n\t\tcnt_1++;\n\t\ttype1 = \"type1_\"+cnt_1;\n\t}else if(stype == 2){\n\t\tcnt_2++;\n\t\ttype2 = \"type2_\"+cnt_2;\n\t}\n\n\tArrayList flow = new ArrayList();\t\n\tflow.add(\"flow\"+flowNum);\n\tflow.add(flowNum);\n\tflow.add(stype);\n\tflow.add(portNumber);\n\tflow.add(sourceMac);\n\tflow.add(destinationMac);\n\tflow.add(type1);\n\tflow.add(type2);\n\tlog.info(\"***Putting flow info--------------ok\");\n\t\n\tif(stype == 1){\n\t// non-realtime\n\t\tflowPrefix1.add(flow);\n\t}else if(stype == 2){\n\t// real time\n\t\tflowPrefix2.add(flow);\n\t}\n\t\n\tTestBCE mService = new TestBCE(hostId, apId, prefix1, prefix2, flowPrefix1, flowPrefix2);\n }", "public Graph1 (Constraints C, Interface source, Interface target, int controlIn, int controlOut) {\n this.C = C;\n this.source = source;\n this.target = target;\n this.controlIn = controlIn;\n this.controlOut = controlOut;\n left = C.newHVar ();\n right = C.newHVar ();\n bot = C.newVVar ();\n top = C.newVVar ();\n C.gap2 (left,right);\n C.gap1 (controlIn,top);\n C.gap2 (source.topOr(bot),controlIn);\n C.gap1 (bot,source.botOr(controlIn));\n C.gap1 (controlOut,top);\n C.gap2 (target.topOr(bot),controlOut);\n C.gap1 (bot,target.botOr(controlOut));\n }", "protected abstract CreateRemoteClassic<Msg, Ref> make_factCreate();", "HxMethod createConstructor(final HxType... parameterTypes);", "public OpenCall(CFG cfg, String targetName, Type staticType, Expression... parameters) {\n\t\tthis(cfg, null, targetName, staticType, parameters);\n\t}", "@Override\n\tpublic final F visit(ParameterDeclaration n, F flowFactOne) {\n\t\tif (n.toString().equals(\"void \")) {\n\t\t\treturn flowFactOne;\n\t\t}\n\t\tFunctionDefinition calledFunction = Misc.getEnclosingFunction(n);\n\t\tif (calledFunction.getInfo().getFunctionName().equals(\"main\")) {\n\t\t\treturn flowFactOne;\n\t\t}\n\t\tint index = calledFunction.getInfo().getCFGInfo().getParameterDeclarationList().indexOf(n);\n\t\tSet<CallStatement> callers = calledFunction.getInfo().getCallersOfThis();\n\t\tif (callers.isEmpty()) {\n\t\t\treturn flowFactOne;\n\t\t}\n\t\tF flowFactTwo = this.getTop();\n\t\tfor (CallStatement callStmt : callers) {\n\t\t\tSimplePrimaryExpression argExp;\n\t\t\ttry {\n\t\t\t\targExp = callStmt.getPreCallNode().getArgumentList().get(index);\n\t\t\t} catch (Exception e) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tF tempFlowFact = writeToParameter(n, argExp, flowFactOne);\n\t\t\tflowFactTwo.merge(tempFlowFact, null);\n\t\t}\n\t\treturn flowFactTwo;\n\t}", "public FlowDetails(final String sffNodeName, FlowKey flowKey, TableKey tableKey, Flow flow) {\n this.sffNodeName = sffNodeName;\n this.flowKey = flowKey;\n this.tableKey = tableKey;\n this.flow = flow;\n }", "DefineBlock createDefineBlock();", "InteractionFlowModel createInteractionFlowModel();", "interface WithPriority {\n /**\n * Specifies priority.\n * @param priority Priority associated with the job. Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. The default value is 0\n * @return the next definition stage\n */\n WithCreate withPriority(Integer priority);\n }", "public de.uni_koblenz.jgralabtest.schemas.gretl.pddsl.Chassis createChassis();", "@Override\n\tpublic void createCpteCourant(CompteCourant cpt) {\n\t\t\n\t}", "private void createChannelAccess(Nx100Type config) throws FactoryException {\n \t\ttry {\n \t\t\tjobChannel = channelManager.createChannel(config.getJOB().getPv(), false);\n \t\t\tstartChannel = channelManager.createChannel(config.getSTART().getPv(), false);\n \t\t\tholdChannel = channelManager.createChannel(config.getHOLD().getPv(), false);\n \t\t\tsvonChannel = channelManager.createChannel(config.getSVON().getPv(), false);\n \t\t\terrChannel = channelManager.createChannel(config.getERR().getPv(), errls, false);\n \n \t\t\t// acknowledge that creation phase is completed\n \t\t\tchannelManager.creationPhaseCompleted();\n \t\t} catch (Throwable th) {\n \t\t\tthrow new FactoryException(\"failed to create all channels\", th);\n \t\t}\n \t}", "interface Definition extends DefinitionStages.Blank, DefinitionStages.WithJobAgent, DefinitionStages.WithMembers, DefinitionStages.WithCreate {\n }", "interface WithCreationData {\n /**\n * Specifies the creationData property: Disk source information. CreationData information cannot be changed\n * after the disk has been created..\n *\n * @param creationData Disk source information. CreationData information cannot be changed after the disk\n * has been created.\n * @return the next definition stage.\n */\n WithCreate withCreationData(CreationData creationData);\n }", "public FdSocialsecurityFlows(String alias) {\n this(DSL.name(alias), FD_SOCIALSECURITY_FLOWS);\n }", "public void solveFlow() {\n for(int ix=1;ix<cols-1;ix++) {\n int x0=ix*resolution+resolution/2;\n for(int iy=1;iy<rows-1;iy++) {\n int y0=iy*resolution+resolution/2;\n int ig=iy*cols+ix;\n //y0Z=iy*resolution+resolution/2;\n //igz=iy*cols+ix;\n\n // prepare vectors fx, fy, ft\n getnext9(dxr,fx,ig,0); // dx red\n //getnext9(dxg,fx,ig,9); // dx green\n //getnext9(dxb,fx,ig,18);// dx blue\n getnext9(dyr,fy,ig,0); // dy red\n //getnext9(dyg,fy,ig,9); // dy green\n //getnext9(dyb,fy,ig,18);// dy blue\n getnext9(dtr,ft,ig,0); // dt red\n //getnext9(dtg,ft,ig,9); // dt green\n //getnext9(dtb,ft,ig,18);// dt blue\n\n // solve for (flowx, flowy) such that\n // fx flowx + fy flowy + ft = 0\n solveSectFlow(ig);\n\n // smoothing\n sflowx[ig]+=(flowx[ig]-sflowx[ig])*wflow;\n sflowy[ig]+=(flowy[ig]-sflowy[ig])*wflow;\n\n float u=df*sflowx[ig];\n float v=df*sflowy[ig];\n //float u=df*sflowx[ig];\n //float v=df*sflowy[ig];\n\n float a=sqrt(u*u+v*v);\n\n // register new vectors\n if(a>= minRegisterFlowVelocity) \n {\n field[ix][iy] = new PVector(u,v);\n\n // REMOVED FROM drawColorFlow() to here\n if(a>=minDrawParticlesFlowVelocity) { \n \n // display flow when debugging\n if (drawOpticalFlow) \n {\n stroke(255.0f, 0.0f, 0.0f);\n line(x0,y0,x0+u,y0+v);\n } \n\n // same syntax as memo's fluid solver (http://memo.tv/msafluid_for_processing)\n float mouseNormX = (x0+u) * invKWidth;// / kWidth;\n float mouseNormY = (y0+v) * invKHeight; // kHeight;\n float mouseVelX = ((x0+u) - x0) * invKWidth;// / kWidth;\n float mouseVelY = ((y0+v) - y0) * invKHeight;// / kHeight; \n\n particleManager.addForce(1-mouseNormX, mouseNormY, -mouseVelX, mouseVelY);\n }\n }\n }\n }\n }", "@Override\n public Ast visitFunction_definition(napParser.Function_definitionContext ctx) {\n String name = ctx.Identifier().getText();\n List<Pair<Pair<String, Type>, Boolean>> arguments = new LinkedList<>();\n for(napParser.ParameterContext arg : ctx.parameters().parameter()){\n String argName = arg.Identifier().getText();\n Type argType = (Type) arg.type().accept(this);\n boolean passByRef = arg.getChildCount() == 3;\n arguments.add(new Pair<>(new Pair<>(argName, argType), passByRef));\n }\n Block block = (Block) visit(ctx.block());\n if (ctx.returnType == null)\n return new FunctionDefinition(position(ctx), name, arguments, block);\n else {\n Type returnType = (Type) visit(ctx.returnType);\n return new FunctionDefinition(position(ctx), name, arguments, block, returnType);\n }\n }", "public Hashtable createStructure(Context context, String[] args) throws Exception\n\t{\n\t\tHashMap argumentsMap = (HashMap) JPO.unpackArgs(args);\n\t\t\n\t\tMCADGlobalConfigObject inputGCO = (MCADGlobalConfigObject) argumentsMap.get(\"GCO\");\n\t\tMCADLocalConfigObject inputLCO = (MCADLocalConfigObject) argumentsMap.get(\"LCO\");\n\n String languageName\t\t\t= (String) argumentsMap.get(\"language\");\n String partID\t\t\t\t= (String) argumentsMap.get(\"partID\");\n\t\tString integrationName\t\t= (String) argumentsMap.get(\"integrationName\");\n\t\tString assemblyTemplateID\t= (String) argumentsMap.get(\"assemblyTemplateID\");\n\t\tString componentTemplateID\t= (String) argumentsMap.get(\"componentTemplateID\");\n\t\tString folderId\t\t\t\t= (String) argumentsMap.get(\"folderId\");\n\t\tthis.source = integrationName;\t\t\n\n\t\ttry\n\t\t{\n\t\t\tinitialize(context, inputGCO, inputLCO, languageName);\n\n\t\t\tassemblyTemplateObject\t= new BusinessObject(assemblyTemplateID);\n\t\t\tcomponentTemplateObject\t= new BusinessObject(componentTemplateID);\n\n\t\t\tassemblyTemplateObject.open(context);\n\t\t\tcomponentTemplateObject.open(context);\n\n\t\t\tboolean isStructureCreated = traversePartStructure(context, partID, null, null, args,folderId);\n\n\t\t\tassemblyTemplateObject.close(context);\n\t\t\tcomponentTemplateObject.close(context);\n\n\t\t\tif(isStructureCreated)\n\t\t\t\tdesignObjIDTemplateObjIDMap.put(\"OPERATION_STATUS\", \"true\");\n\t\t\telse\n\t\t\t{\n\t\t\t\tdesignObjIDTemplateObjIDMap.put(\"OPERATION_STATUS\", \"false\");\n\t\t\t\tdesignObjIDTemplateObjIDMap.put(\"ERROR_MESSAGE\", resourceBundle.getString(\"mcadIntegration.Server.Message.CADStructureAlreadyCreated\"));\n\t\t\t}\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tString errorMessage = e.getMessage();\n\t\t\tdesignObjIDTemplateObjIDMap.put(\"OPERATION_STATUS\", \"false\");\n\t\t\tdesignObjIDTemplateObjIDMap.put(\"ERROR_MESSAGE\", errorMessage);\n\t\t}\n\n\t\treturn designObjIDTemplateObjIDMap;\n\t}", "interface Definition\n extends DefinitionStages.Blank,\n DefinitionStages.WithResourceGroup,\n DefinitionStages.WithLevel,\n DefinitionStages.WithCreate {\n }", "public FlowLayout(int paramInt) {\n/* 216 */ this(paramInt, 5, 5);\n/* */ }", "<T extends CompositeModule<T>> DSLCompositeModuleDeclaration(Class<T> clazz, ModuleFactory moduleFactory) {\n super(clazz);\n\n if (!CompositeModule.class.isAssignableFrom(clazz)) {\n throw new InvalidClassException(String.format(\n \"Expected subclass of %s, but got %s.\", CompositeModule.class, clazz\n ));\n }\n\n template = (CompositeModule<T>) moduleFactory.create(clazz);\n }", "public void createPPF(){\n\t\tSystem.out.println(\"HDFC:: createed ppf\");\n\t}", "ActionDefinition createActionDefinition();", "static <T> ConstructorDescriptor<T> of(Class<T> declaringClass, Class<?>... parameterTypes) {\n requireNonNull(declaringClass, \"declaringClass is null\");\n Constructor<T> constructor;\n try {\n constructor = declaringClass.getDeclaredConstructor(parameterTypes);\n } catch (NoSuchMethodException e) {\n throw new IllegalArgumentException(\"A constructor with the specified signature does not exist, signature: \" + declaringClass.getSimpleName() + \"(\"\n + formatSimple(parameterTypes) + \")\");\n }\n return of(constructor);\n }", "void create(DataTableDef def) throws IOException;", "@SuppressWarnings(\"unchecked\")\n private void setFlowConfig(Flow f, int parallelismIndex) {\n\n if (f instanceof PhysicalExecutionFlow) {\n PhysicalExecutionFlow<?, FlowConfig> flow = (PhysicalExecutionFlow<?, FlowConfig>) f;\n if (flow.getAction() instanceof SourceAction) {\n SourceConfig config = new SourceConfig();\n config.setEnumeratorTask(\n enumeratorTaskIDMap.get((SourceAction<?, ?, ?>) flow.getAction()));\n flow.setConfig(config);\n } else if (flow.getAction() instanceof SinkAction) {\n SinkConfig config = new SinkConfig();\n if (committerTaskIDMap.containsKey((SinkAction<?, ?, ?, ?>) flow.getAction())) {\n config.setContainCommitter(true);\n config.setCommitterTask(\n committerTaskIDMap.get((SinkAction<?, ?, ?, ?>) flow.getAction()));\n }\n flow.setConfig(config);\n }\n } else if (f instanceof IntermediateExecutionFlow) {\n ((IntermediateExecutionFlow<IntermediateQueueConfig>) f)\n .setConfig(\n new IntermediateQueueConfig(\n ((IntermediateExecutionFlow<?>) f).getQueue().getId()));\n } else {\n throw new UnknownFlowException(f);\n }\n\n if (!f.getNext().isEmpty()) {\n f.getNext().forEach(n -> setFlowConfig(n, parallelismIndex));\n }\n }", "CrawlController build(CrawlParameters parameters) throws Exception;", "public String createTaskDefinition(TaskDefinition tasDef) throws DaoRepositoryException;", "public static ParentalControlFragment newInstance(String param1, String param2) {\n ParentalControlFragment fragment = new ParentalControlFragment();\n Bundle args = new Bundle();\n args.putString(ARG_PARAM1, param1);\n args.putString(ARG_PARAM2, param2);\n fragment.setArguments(args);\n return fragment;\n }", "DataControllerResource.DefinitionStages.Blank define(String name);", "LinkedService.DefinitionStages.Blank define(String name);", "CdapStartFlowStep createCdapStartFlowStep();" ]
[ "0.6309416", "0.61965805", "0.6050483", "0.5867443", "0.5270309", "0.5231951", "0.52275836", "0.52073205", "0.5017528", "0.48878863", "0.48655757", "0.48291323", "0.48190543", "0.4778038", "0.47749808", "0.47525424", "0.47186133", "0.47080642", "0.46483088", "0.45806786", "0.45692235", "0.45677775", "0.45479286", "0.4539531", "0.45060408", "0.45007908", "0.4494924", "0.44941154", "0.4492609", "0.44745794", "0.44481447", "0.4447602", "0.44385606", "0.4431889", "0.44214877", "0.44150025", "0.4414106", "0.44013968", "0.4394239", "0.4385123", "0.43832657", "0.43470573", "0.43396977", "0.43082172", "0.43054572", "0.4302255", "0.4285028", "0.4263935", "0.42387113", "0.42339155", "0.42311746", "0.42261922", "0.42140588", "0.42121115", "0.4209955", "0.42074835", "0.4207257", "0.42032474", "0.42005184", "0.41940674", "0.41935992", "0.41915062", "0.41780812", "0.41767237", "0.41727483", "0.41701594", "0.41645196", "0.41632056", "0.41606027", "0.41574055", "0.41556367", "0.4153662", "0.41528183", "0.41509652", "0.41498727", "0.41429964", "0.41426408", "0.4137753", "0.4126711", "0.41249034", "0.41220725", "0.4108097", "0.41055095", "0.41038603", "0.41010794", "0.40924993", "0.40914613", "0.40861967", "0.40834528", "0.40807122", "0.40744904", "0.4073939", "0.40728757", "0.40617123", "0.4060235", "0.40601704", "0.4057194", "0.4054915", "0.40523142", "0.40514258" ]
0.48746714
10
/ Access modifiers changed, original: protected
public OnMediaSavedListener getVideoSavedListener() { return this.mOnVideoSavedListener; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean getCameraPreviewState() { return this.mCameraState == 3; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "protected void method_3848() {\r\n super.method_3848();\r\n }", "@Override\n public void memoria() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private TMCourse() {\n\t}", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "abstract int pregnancy();", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public abstract void mo42331g();", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo102899a();" ]
[ "0.73629737", "0.698275", "0.6893718", "0.67984074", "0.6731795", "0.6725871", "0.6703971", "0.6552133", "0.6525146", "0.6523726", "0.64779514", "0.64592475", "0.64412045", "0.64338404", "0.64115113", "0.64100546", "0.6405308", "0.6404923", "0.6404923", "0.64024466", "0.63932085", "0.6390889", "0.6386778", "0.63841987", "0.638282", "0.63794196", "0.63794196", "0.6328407", "0.6313807", "0.6292603", "0.6290541", "0.62812257", "0.62488496", "0.62488496", "0.6247837", "0.6216246", "0.62158704", "0.6204517", "0.6194201", "0.6185745", "0.6175866", "0.6147165", "0.61243314", "0.61190856", "0.61065257", "0.61060417", "0.60974884", "0.6085475", "0.6084266", "0.6081045", "0.6076486", "0.6069762", "0.6062573", "0.6059388", "0.6033081", "0.60313636", "0.6022232", "0.6021943", "0.6020643", "0.60182416", "0.6016128", "0.6012776", "0.6012776", "0.60081047", "0.60081047", "0.6005714", "0.60054314", "0.6002981", "0.5991115", "0.5990917", "0.59850454", "0.59823835", "0.5981064", "0.59688264", "0.5961836", "0.59494895", "0.59487563", "0.5946457", "0.59363616", "0.592992", "0.5926872", "0.59264714", "0.59213376", "0.5917447", "0.59124196", "0.5909579", "0.5908399", "0.59030217", "0.590017", "0.58924705", "0.5889083", "0.58887863", "0.5887926", "0.58874685", "0.5887398", "0.58869267", "0.58837885", "0.58836144", "0.5876662", "0.5876164", "0.58760124" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean needEnableExposureAdjustment() { if (CustomUtil.getInstance().getBoolean(CustomFields.DEF_CAMERA_ENABLE_COMPENSATION_OTHER_THAN_AUTO, true)) { return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void onMediaAction(Context context, Intent intent) { String action = intent.getAction(); if (action.equals("android.intent.action.MEDIA_EJECT")) { String currentPath = Storage.getSavePath(); if (currentPath != null && currentPath.equals("1") && this.mMediaRecorderRecording) { this.mRecordingInterrupted = true; onStopVideoRecording(); } } else if (action.equals("android.intent.action.MEDIA_SCANNER_STARTED")) { ToastUtil.showToast(this.mActivity, this.mActivity.getResources().getString(R.string.wait), 1); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public VideoUI getVideoUI() { return new VideoUI(this.mActivity, this, this.mActivity.getModuleLayoutRoot()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void pauseVideoAndRefreshUI() { this.mUI.pauseVideo(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "protected void method_3848() {\r\n super.method_3848();\r\n }", "@Override\n public void memoria() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private TMCourse() {\n\t}", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "abstract int pregnancy();", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public abstract void mo42331g();", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo102899a();" ]
[ "0.73629737", "0.698275", "0.6893718", "0.67984074", "0.6731795", "0.6725871", "0.6703971", "0.6552133", "0.6525146", "0.6523726", "0.64779514", "0.64592475", "0.64412045", "0.64338404", "0.64115113", "0.64100546", "0.6405308", "0.6404923", "0.6404923", "0.64024466", "0.63932085", "0.6390889", "0.6386778", "0.63841987", "0.638282", "0.63794196", "0.63794196", "0.6328407", "0.6313807", "0.6292603", "0.6290541", "0.62812257", "0.62488496", "0.62488496", "0.6247837", "0.6216246", "0.62158704", "0.6204517", "0.6194201", "0.6185745", "0.6175866", "0.6147165", "0.61243314", "0.61190856", "0.61065257", "0.61060417", "0.60974884", "0.6085475", "0.6084266", "0.6081045", "0.6076486", "0.6069762", "0.6062573", "0.6059388", "0.6033081", "0.60313636", "0.6022232", "0.6021943", "0.6020643", "0.60182416", "0.6016128", "0.6012776", "0.6012776", "0.60081047", "0.60081047", "0.6005714", "0.60054314", "0.6002981", "0.5991115", "0.5990917", "0.59850454", "0.59823835", "0.5981064", "0.59688264", "0.5961836", "0.59494895", "0.59487563", "0.5946457", "0.59363616", "0.592992", "0.5926872", "0.59264714", "0.59213376", "0.5917447", "0.59124196", "0.5909579", "0.5908399", "0.59030217", "0.590017", "0.58924705", "0.5889083", "0.58887863", "0.5887926", "0.58874685", "0.5887398", "0.58869267", "0.58837885", "0.58836144", "0.5876662", "0.5876164", "0.58760124" ]
0.0
-1
/ Access modifiers changed, original: protected
public void playVideoSound() { int mode = this.mAudioManager.getRingerMode(); if (Keys.isShutterSoundOn(this.mAppController.getSettingsManager()) && mode == 2 && this.mSoundPlayer != null) { this.mSoundPlayer.play(R.raw.video_record, 0.6f); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean isCameraFrontFacing() { return this.mAppController.getCameraProvider().getCharacteristics(this.mCameraId).isFacingFront(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean onStopVideoRecording() { if (this.mNeedGLRender && isSupportEffects()) { this.mCurrentVideoFilename = this.mVideoFilename; this.mActivity.getCameraAppUI().stopVideoRecorder(); } if (this.PhoneFlag) { int moduleId = getModuleId(); CameraActivity cameraActivity = this.mActivity; if (moduleId == 8) { this.mActivity.getCameraAppUI().setCalldisable(true); this.mActivity.getCameraAppUI().resetAlpha(true); } } if (this.mMediaRecoderRecordingPaused) { this.mRecordingStartTime = SystemClock.uptimeMillis() - this.mVideoRecordedDuration; this.mVideoRecordedDuration = 0; this.mMediaRecoderRecordingPaused = false; this.mUI.mMediaRecoderRecordingPaused = false; this.mUI.setRecordingTimeImage(true); } this.mAppController.getCameraAppUI().showRotateButton(); this.mAppController.getCameraAppUI().setSwipeEnabled(true); this.mActivity.stopBatteryInfoChecking(); this.mActivity.stopInnerStorageChecking(); boolean recordFail = stopVideoRecording(); releaseAudioFocus(); if (this.mIsVideoCaptureIntent) { if (this.mQuickCapture) { doReturnToCaller(recordFail ^ 1); } else if (recordFail) { this.mAppController.getCameraAppUI().showModeOptions(); this.mHandler.sendEmptyMessageDelayed(6, SHUTTER_BUTTON_TIMEOUT); } else { showCaptureResult(); } } else if (!(recordFail || this.mPaused)) { boolean z = ApiHelper.HAS_SURFACE_TEXTURE_RECORDING; } return recordFail; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void startVideoNotityHelpTip() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "protected void method_3848() {\r\n super.method_3848();\r\n }", "@Override\n public void memoria() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private TMCourse() {\n\t}", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "abstract int pregnancy();", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public abstract void mo42331g();", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo102899a();" ]
[ "0.73629737", "0.698275", "0.6893718", "0.67984074", "0.6731795", "0.6725871", "0.6703971", "0.6552133", "0.6525146", "0.6523726", "0.64779514", "0.64592475", "0.64412045", "0.64338404", "0.64115113", "0.64100546", "0.6405308", "0.6404923", "0.6404923", "0.64024466", "0.63932085", "0.6390889", "0.6386778", "0.63841987", "0.638282", "0.63794196", "0.63794196", "0.6328407", "0.6313807", "0.6292603", "0.6290541", "0.62812257", "0.62488496", "0.62488496", "0.6247837", "0.6216246", "0.62158704", "0.6204517", "0.6194201", "0.6185745", "0.6175866", "0.6147165", "0.61243314", "0.61190856", "0.61065257", "0.61060417", "0.60974884", "0.6085475", "0.6084266", "0.6081045", "0.6076486", "0.6069762", "0.6062573", "0.6059388", "0.6033081", "0.60313636", "0.6022232", "0.6021943", "0.6020643", "0.60182416", "0.6016128", "0.6012776", "0.6012776", "0.60081047", "0.60081047", "0.6005714", "0.60054314", "0.6002981", "0.5991115", "0.5990917", "0.59850454", "0.59823835", "0.5981064", "0.59688264", "0.5961836", "0.59494895", "0.59487563", "0.5946457", "0.59363616", "0.592992", "0.5926872", "0.59264714", "0.59213376", "0.5917447", "0.59124196", "0.5909579", "0.5908399", "0.59030217", "0.590017", "0.58924705", "0.5889083", "0.58887863", "0.5887926", "0.58874685", "0.5887398", "0.58869267", "0.58837885", "0.58836144", "0.5876662", "0.5876164", "0.58760124" ]
0.0
-1
/ Access modifiers changed, original: protected
public int getOverrodeVideoDuration() { return this.mMaxVideoDurationInMs; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void overrideProfileSize() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void onPreviewStarted() { Log.w(TAG, "KPI video preview started"); this.mAppController.setShutterEnabled(true); this.mAppController.onPreviewStarted(); this.mUI.clearEvoPendingUI(); if (this.mFocusManager != null) { this.mFocusManager.onPreviewStarted(); } if (isNeedStartRecordingOnSwitching()) { onShutterButtonClick(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean isNeedStartRecordingOnSwitching() { return this.mIsVideoCaptureIntent; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "protected void method_3848() {\r\n super.method_3848();\r\n }", "@Override\n public void memoria() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private TMCourse() {\n\t}", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "abstract int pregnancy();", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public abstract void mo42331g();", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo102899a();" ]
[ "0.73629737", "0.698275", "0.6893718", "0.67984074", "0.6731795", "0.6725871", "0.6703971", "0.6552133", "0.6525146", "0.6523726", "0.64779514", "0.64592475", "0.64412045", "0.64338404", "0.64115113", "0.64100546", "0.6405308", "0.6404923", "0.6404923", "0.64024466", "0.63932085", "0.6390889", "0.6386778", "0.63841987", "0.638282", "0.63794196", "0.63794196", "0.6328407", "0.6313807", "0.6292603", "0.6290541", "0.62812257", "0.62488496", "0.62488496", "0.6247837", "0.6216246", "0.62158704", "0.6204517", "0.6194201", "0.6185745", "0.6175866", "0.6147165", "0.61243314", "0.61190856", "0.61065257", "0.61060417", "0.60974884", "0.6085475", "0.6084266", "0.6081045", "0.6076486", "0.6069762", "0.6062573", "0.6059388", "0.6033081", "0.60313636", "0.6022232", "0.6021943", "0.6020643", "0.60182416", "0.6016128", "0.6012776", "0.6012776", "0.60081047", "0.60081047", "0.6005714", "0.60054314", "0.6002981", "0.5991115", "0.5990917", "0.59850454", "0.59823835", "0.5981064", "0.59688264", "0.5961836", "0.59494895", "0.59487563", "0.5946457", "0.59363616", "0.592992", "0.5926872", "0.59264714", "0.59213376", "0.5917447", "0.59124196", "0.5909579", "0.5908399", "0.59030217", "0.590017", "0.58924705", "0.5889083", "0.58887863", "0.5887926", "0.58874685", "0.5887398", "0.58869267", "0.58837885", "0.58836144", "0.5876662", "0.5876164", "0.58760124" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean isMaskSelected() { return (this.mActivity.getCameraAppUI().getCurrSelect() == null || this.mActivity.getCameraAppUI().getCurrSelect() == "") ? false : true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public int getMediaRecorderRotation() { return this.mMediaRemcoderRotation; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean getTimeLapsedEnable() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean hideCamera() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "protected void method_3848() {\r\n super.method_3848();\r\n }", "@Override\n public void memoria() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private TMCourse() {\n\t}", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "abstract int pregnancy();", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public abstract void mo42331g();", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo102899a();" ]
[ "0.73629737", "0.698275", "0.6893718", "0.67984074", "0.6731795", "0.6725871", "0.6703971", "0.6552133", "0.6525146", "0.6523726", "0.64779514", "0.64592475", "0.64412045", "0.64338404", "0.64115113", "0.64100546", "0.6405308", "0.6404923", "0.6404923", "0.64024466", "0.63932085", "0.6390889", "0.6386778", "0.63841987", "0.638282", "0.63794196", "0.63794196", "0.6328407", "0.6313807", "0.6292603", "0.6290541", "0.62812257", "0.62488496", "0.62488496", "0.6247837", "0.6216246", "0.62158704", "0.6204517", "0.6194201", "0.6185745", "0.6175866", "0.6147165", "0.61243314", "0.61190856", "0.61065257", "0.61060417", "0.60974884", "0.6085475", "0.6084266", "0.6081045", "0.6076486", "0.6069762", "0.6062573", "0.6059388", "0.6033081", "0.60313636", "0.6022232", "0.6021943", "0.6020643", "0.60182416", "0.6016128", "0.6012776", "0.6012776", "0.60081047", "0.60081047", "0.6005714", "0.60054314", "0.6002981", "0.5991115", "0.5990917", "0.59850454", "0.59823835", "0.5981064", "0.59688264", "0.5961836", "0.59494895", "0.59487563", "0.5946457", "0.59363616", "0.592992", "0.5926872", "0.59264714", "0.59213376", "0.5917447", "0.59124196", "0.5909579", "0.5908399", "0.59030217", "0.590017", "0.58924705", "0.5889083", "0.58887863", "0.5887926", "0.58874685", "0.5887398", "0.58869267", "0.58837885", "0.58836144", "0.5876662", "0.5876164", "0.58760124" ]
0.0
-1
/ Access modifiers changed, original: protected
public void mediaRecorderParameterFetching(MediaRecorder recorder) { recorder.setAudioSource(5); recorder.setVideoSource(1); recorder.setProfile(this.mProfile); recorder.setVideoSize(this.mProfile.videoFrameWidth, this.mProfile.videoFrameHeight); recorder.setMaxDuration(getOverrodeVideoDuration()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean isSupported(int width, int height) { return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void setHsr(CameraSettings cameraSettings) { cameraSettings.setHsr(ExtendKey.FLIP_MODE_OFF); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public int getProfileQuality() { String videoQualityKey; SettingsManager settingsManager = this.mActivity.getSettingsManager(); if (isCameraFrontFacing()) { videoQualityKey = Keys.KEY_VIDEO_QUALITY_FRONT; } else { videoQualityKey = Keys.KEY_VIDEO_QUALITY_BACK; } int videoQuality = settingsManager.getInteger(SettingsManager.SCOPE_GLOBAL, videoQualityKey).intValue(); Tag tag = TAG; StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("Selected video quality for '"); stringBuilder.append(videoQuality); Log.d(tag, stringBuilder.toString()); return videoQuality; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "protected void method_3848() {\r\n super.method_3848();\r\n }", "@Override\n public void memoria() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private TMCourse() {\n\t}", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "abstract int pregnancy();", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public abstract void mo42331g();", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo102899a();" ]
[ "0.73629737", "0.698275", "0.6893718", "0.67984074", "0.6731795", "0.6725871", "0.6703971", "0.6552133", "0.6525146", "0.6523726", "0.64779514", "0.64592475", "0.64412045", "0.64338404", "0.64115113", "0.64100546", "0.6405308", "0.6404923", "0.6404923", "0.64024466", "0.63932085", "0.6390889", "0.6386778", "0.63841987", "0.638282", "0.63794196", "0.63794196", "0.6328407", "0.6313807", "0.6292603", "0.6290541", "0.62812257", "0.62488496", "0.62488496", "0.6247837", "0.6216246", "0.62158704", "0.6204517", "0.6194201", "0.6185745", "0.6175866", "0.6147165", "0.61243314", "0.61190856", "0.61065257", "0.61060417", "0.60974884", "0.6085475", "0.6084266", "0.6081045", "0.6076486", "0.6069762", "0.6062573", "0.6059388", "0.6033081", "0.60313636", "0.6022232", "0.6021943", "0.6020643", "0.60182416", "0.6016128", "0.6012776", "0.6012776", "0.60081047", "0.60081047", "0.6005714", "0.60054314", "0.6002981", "0.5991115", "0.5990917", "0.59850454", "0.59823835", "0.5981064", "0.59688264", "0.5961836", "0.59494895", "0.59487563", "0.5946457", "0.59363616", "0.592992", "0.5926872", "0.59264714", "0.59213376", "0.5917447", "0.59124196", "0.5909579", "0.5908399", "0.59030217", "0.590017", "0.58924705", "0.5889083", "0.58887863", "0.5887926", "0.58874685", "0.5887398", "0.58869267", "0.58837885", "0.58836144", "0.5876662", "0.5876164", "0.58760124" ]
0.0
-1
/ Access modifiers changed, original: protected
public void generateVideoFilename(int outputFileFormat) { long dateTaken = System.currentTimeMillis(); String title = createName(dateTaken); String filename = new StringBuilder(); filename.append(title); filename.append(convertOutputFormatToFileExt(outputFileFormat)); filename = filename.toString(); String mime = convertOutputFormatToMimeType(outputFileFormat); String path = new StringBuilder(); path.append(Storage.DIRECTORY); path.append('/'); path.append(filename); path = path.toString(); String tmpPath = path; if (!(this.mNeedGLRender || isSupportEffects())) { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append(path); stringBuilder.append(VIDEO_TEMP_SUFFIXES); tmpPath = stringBuilder.toString(); } this.mCurrentVideoValues = new ContentValues(9); this.mCurrentVideoValues.put("title", title); this.mCurrentVideoValues.put("_display_name", filename); this.mCurrentVideoValues.put("datetaken", Long.valueOf(dateTaken)); this.mCurrentVideoValues.put(InfoTable.DATE_MODIFIED, Long.valueOf(dateTaken / MIN_VIDEO_RECODER_DURATION)); this.mCurrentVideoValues.put(InfoTable.MIME_TYPE, mime); this.mCurrentVideoValues.put("_data", path); this.mCurrentVideoValues.put(InfoTable.WIDTH, Integer.valueOf(this.mProfile.videoFrameWidth)); this.mCurrentVideoValues.put(InfoTable.HEIGHT, Integer.valueOf(this.mProfile.videoFrameHeight)); ContentValues contentValues = this.mCurrentVideoValues; String str = InfoTable.RESOLUTION; StringBuilder stringBuilder2 = new StringBuilder(); stringBuilder2.append(Integer.toString(this.mProfile.videoFrameWidth)); stringBuilder2.append("x"); stringBuilder2.append(Integer.toString(this.mProfile.videoFrameHeight)); contentValues.put(str, stringBuilder2.toString()); Location loc = this.mLocationManager.getCurrentLocation(); if (loc != null) { this.mCurrentVideoValues.put(InfoTable.LATITUDE, Double.valueOf(loc.getLatitude())); this.mCurrentVideoValues.put(InfoTable.LONGITUDE, Double.valueOf(loc.getLongitude())); } this.mVideoFilename = tmpPath; Tag tag = TAG; stringBuilder2 = new StringBuilder(); stringBuilder2.append("New video filename: "); stringBuilder2.append(this.mVideoFilename); Log.v(tag, stringBuilder2.toString()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void saveVideo() { if (this.mVideoFileDescriptor == null) { long duration = SystemClock.uptimeMillis() - this.mRecordingStartTime; try { MediaMetadataRetriever mmr = new MediaMetadataRetriever(); mmr.setDataSource(this.mCurrentVideoFilename); String durationStr = mmr.extractMetadata(9); mmr.release(); duration = (long) Integer.parseInt(durationStr); } catch (Exception e) { Log.e(TAG, "MediaMetadataRetriever error, use estimated duration", e); } if (duration <= 0) { Tag tag = TAG; StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("Video duration <= 0 : "); stringBuilder.append(duration); Log.w(tag, stringBuilder.toString()); } if (this.mCurrentVideoValues == null) { generateVideoFilename(this.mProfile.fileFormat); } if (this.mCurrentVideoValues != null) { this.mCurrentVideoValues.put("_size", Long.valueOf(new File(this.mCurrentVideoFilename).length())); this.mCurrentVideoValues.put(InfoTable.DURATION, Long.valueOf(duration)); if (needAddToMediaSaver()) { getServices().getMediaSaver().addVideo(this.mCurrentVideoFilename, this.mCurrentVideoValues, getVideoSavedListener(), this.mContentResolver); } logVideoCapture(duration); } else { return; } } this.mCurrentVideoValues = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean needAddToMediaSaver() { return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void stopVideoWhileAudioFocusLoss() { Tag tag = TAG; StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("test->stopVideoWhileAudioFocusLoss PhoneFlag:"); stringBuilder.append(this.PhoneFlag); Log.d(tag, stringBuilder.toString()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "protected void method_3848() {\r\n super.method_3848();\r\n }", "@Override\n public void memoria() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private TMCourse() {\n\t}", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "abstract int pregnancy();", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public abstract void mo42331g();", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo102899a();" ]
[ "0.73629737", "0.698275", "0.6893718", "0.67984074", "0.6731795", "0.6725871", "0.6703971", "0.6552133", "0.6525146", "0.6523726", "0.64779514", "0.64592475", "0.64412045", "0.64338404", "0.64115113", "0.64100546", "0.6405308", "0.6404923", "0.6404923", "0.64024466", "0.63932085", "0.6390889", "0.6386778", "0.63841987", "0.638282", "0.63794196", "0.63794196", "0.6328407", "0.6313807", "0.6292603", "0.6290541", "0.62812257", "0.62488496", "0.62488496", "0.6247837", "0.6216246", "0.62158704", "0.6204517", "0.6194201", "0.6185745", "0.6175866", "0.6147165", "0.61243314", "0.61190856", "0.61065257", "0.61060417", "0.60974884", "0.6085475", "0.6084266", "0.6081045", "0.6076486", "0.6069762", "0.6062573", "0.6059388", "0.6033081", "0.60313636", "0.6022232", "0.6021943", "0.6020643", "0.60182416", "0.6016128", "0.6012776", "0.6012776", "0.60081047", "0.60081047", "0.6005714", "0.60054314", "0.6002981", "0.5991115", "0.5990917", "0.59850454", "0.59823835", "0.5981064", "0.59688264", "0.5961836", "0.59494895", "0.59487563", "0.5946457", "0.59363616", "0.592992", "0.5926872", "0.59264714", "0.59213376", "0.5917447", "0.59124196", "0.5909579", "0.5908399", "0.59030217", "0.590017", "0.58924705", "0.5889083", "0.58887863", "0.5887926", "0.58874685", "0.5887398", "0.58869267", "0.58837885", "0.58836144", "0.5876662", "0.5876164", "0.58760124" ]
0.0
-1
/ Access modifiers changed, original: protected
public void tryLockFocus() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void Focus() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void startVideoRecording() { this.mActivity.getCameraAppUI().switchShutterSlidingAbility(false); if (this.mCameraState == 1) { setCameraState(2); Tag tag = TAG; StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("startVideoRecording: "); stringBuilder.append(Thread.currentThread()); Log.i(tag, stringBuilder.toString()); ToastUtil.showToast(this.mActivity, this.mActivity.getString(R.string.video_recording_start_toast), 0); this.mAppController.onVideoRecordingStarted(); if (this.mModeSelectionLockToken == null) { this.mModeSelectionLockToken = this.mAppController.lockModuleSelection(); } this.mUI.showVideoRecordingHints(false); this.mUI.cancelAnimations(); this.mUI.setSwipingEnabled(false); this.mUI.showFocusUI(false); this.mAppController.getCameraAppUI().hideRotateButton(); this.mAppController.getButtonManager().hideEffectsContainerWrapper(); final long updateStorageSpaceTime = System.currentTimeMillis(); this.mActivity.updateStorageSpaceAndHint(new OnStorageUpdateDoneListener() { public void onStorageUpdateDone(long bytes) { Tag access$100 = VideoModule.TAG; StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("updateStorageSpaceAndHint cost time :"); stringBuilder.append(System.currentTimeMillis() - updateStorageSpaceTime); stringBuilder.append("ms."); Log.d(access$100, stringBuilder.toString()); if (VideoModule.this.mCameraState != 2) { VideoModule.this.pendingRecordFailed(); return; } if (bytes <= Storage.LOW_STORAGE_THRESHOLD_BYTES) { Log.w(VideoModule.TAG, "Storage issue, ignore the start request"); VideoModule.this.pendingRecordFailed(); } else if (VideoModule.this.mCameraDevice == null) { Log.v(VideoModule.TAG, "in storage callback after camera closed"); VideoModule.this.pendingRecordFailed(); } else if (VideoModule.this.mPaused) { Log.v(VideoModule.TAG, "in storage callback after module paused"); VideoModule.this.pendingRecordFailed(); } else if (VideoModule.this.mMediaRecorderRecording) { Log.v(VideoModule.TAG, "in storage callback after recording started"); } else if (VideoModule.this.isSupported(VideoModule.this.mProfile.videoFrameWidth, VideoModule.this.mProfile.videoFrameHeight)) { VideoModule.this.mCurrentVideoUri = null; VideoModule.this.mCameraDevice.enableShutterSound(false); if (VideoModule.this.mNeedGLRender && VideoModule.this.isSupportEffects()) { VideoModule.this.playVideoSound(); VideoModule.this.initGlRecorder(); VideoModule.this.pauseAudioPlayback(); VideoModule.this.mActivity.getCameraAppUI().startVideoRecorder(); } else { VideoModule.this.initializeRecorder(); if (VideoModule.this.mMediaRecorder == null) { Log.e(VideoModule.TAG, "Fail to initialize media recorder"); VideoModule.this.pendingRecordFailed(); return; } VideoModule.this.pauseAudioPlayback(); try { long mediarecorderStart = System.currentTimeMillis(); VideoModule.this.mMediaRecorder.start(); access$100 = VideoModule.TAG; StringBuilder stringBuilder2 = new StringBuilder(); stringBuilder2.append("mMediaRecorder.start() cost time : "); stringBuilder2.append(System.currentTimeMillis() - mediarecorderStart); Log.d(access$100, stringBuilder2.toString()); VideoModule.this.playVideoSound(); VideoModule.this.mCameraDevice.refreshSettings(); VideoModule.this.mCameraSettings = VideoModule.this.mCameraDevice.getSettings(); VideoModule.this.setFocusParameters(); } catch (RuntimeException e) { Log.e(VideoModule.TAG, "Could not start media recorder. ", e); VideoModule.this.releaseMediaRecorder(); VideoModule.this.mCameraDevice.lock(); VideoModule.this.releaseAudioFocus(); if (VideoModule.this.mModeSelectionLockToken != null) { VideoModule.this.mAppController.unlockModuleSelection(VideoModule.this.mModeSelectionLockToken); } VideoModule.this.setCameraState(1); if (VideoModule.this.shouldHoldRecorderForSecond()) { VideoModule.this.mAppController.setShutterEnabled(true); } VideoModule.this.mAppController.getCameraAppUI().showModeOptions(); if (VideoModule.this.updateModeSwitchUIinModule()) { VideoModule.this.mAppController.getCameraAppUI().setModeSwitchUIVisibility(true); } if (VideoModule.this.isNeedStartRecordingOnSwitching()) { VideoModule.this.mAppController.onVideoRecordingStop(); } ToastUtil.showToast(VideoModule.this.mActivity.getApplicationContext(), (int) R.string.video_record_start_failed, 0); return; } } VideoModule.this.mAppController.getCameraAppUI().setSwipeEnabled(false); VideoModule.this.setCameraState(3); VideoModule.this.tryLockFocus(); VideoModule.this.mMediaRecorderRecording = true; VideoModule.this.mActivity.lockOrientation(); VideoModule.this.mRecordingStartTime = SystemClock.uptimeMillis() + 600; VideoModule.this.mAppController.getCameraAppUI().getCameraGLSurfaceView().setAngle(VideoModule.this.mOrientation); VideoModule.this.mAppController.getCameraAppUI().hideModeOptions(); if (VideoModule.this.updateModeSwitchUIinModule()) { VideoModule.this.mAppController.getCameraAppUI().setModeSwitchUIVisibility(false); } if (VideoModule.this.isVideoShutterAnimationEnssential()) { VideoModule.this.mAppController.getCameraAppUI().animateBottomBarToVideoStop(R.drawable.ic_stop); } if (VideoModule.this.isNeedStartRecordingOnSwitching()) { VideoModule.this.mAppController.getCameraAppUI().showVideoCaptureButton(true); } if (VideoModule.this.mAppController.getCameraAppUI().getCurrentModeIndex() == VideoModule.this.mActivity.getResources().getInteger(R.integer.camera_mode_video)) { VideoModule.this.mAppController.getCameraAppUI().showVideoPauseButton(false); } VideoModule.this.mUI.showRecordingUI(true); if (VideoModule.this.mAppController.getCameraAppUI().getCameraGLSurfaceView().getVisibility() == 0) { VideoModule.this.mUI.hideCapButton(); } VideoModule.this.showBoomKeyTip(); VideoModule.this.updateRecordingTime(); access$100 = VideoModule.TAG; StringBuilder stringBuilder3 = new StringBuilder(); stringBuilder3.append("startVideoRecording cost time 1 : "); stringBuilder3.append(System.currentTimeMillis() - VideoModule.this.mShutterButtonClickTime); Log.d(access$100, stringBuilder3.toString()); if (VideoModule.this.isSendMsgEnableShutterButton()) { VideoModule.this.mHandler.sendEmptyMessageDelayed(6, VideoModule.MIN_VIDEO_RECODER_DURATION); } VideoModule.this.mActivity.enableKeepScreenOn(true); VideoModule.this.mActivity.startInnerStorageChecking(new OnInnerStorageLowListener() { public void onInnerStorageLow(long bytes) { VideoModule.this.mActivity.stopInnerStorageChecking(); if (VideoModule.this.mCameraState == 3) { VideoModule.this.showQuitDialog(R.string.quit_dialog_title_storage_low, R.string.quit_dialog_msg, VideoModule.this.saveAndQuit); } } }); VideoModule.this.mActivity.startBatteryInfoChecking(new OnBatteryLowListener() { public void onBatteryLow(int level) { VideoModule.this.mActivity.stopBatteryInfoChecking(); if (VideoModule.this.mCameraState == 3) { VideoModule.this.showQuitDialog(R.string.quit_dialog_title_battery_low, R.string.quit_dialog_msg, VideoModule.this.saveAndQuit); } } }); } else { Log.e(VideoModule.TAG, "Unsupported parameters"); VideoModule.this.pendingRecordFailed(); } } }); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void showBoomKeyTip() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "protected void method_3848() {\r\n super.method_3848();\r\n }", "@Override\n public void memoria() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private TMCourse() {\n\t}", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "abstract int pregnancy();", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public abstract void mo42331g();", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo102899a();" ]
[ "0.73629737", "0.698275", "0.6893718", "0.67984074", "0.6731795", "0.6725871", "0.6703971", "0.6552133", "0.6525146", "0.6523726", "0.64779514", "0.64592475", "0.64412045", "0.64338404", "0.64115113", "0.64100546", "0.6405308", "0.6404923", "0.6404923", "0.64024466", "0.63932085", "0.6390889", "0.6386778", "0.63841987", "0.638282", "0.63794196", "0.63794196", "0.6328407", "0.6313807", "0.6292603", "0.6290541", "0.62812257", "0.62488496", "0.62488496", "0.6247837", "0.6216246", "0.62158704", "0.6204517", "0.6194201", "0.6185745", "0.6175866", "0.6147165", "0.61243314", "0.61190856", "0.61065257", "0.61060417", "0.60974884", "0.6085475", "0.6084266", "0.6081045", "0.6076486", "0.6069762", "0.6062573", "0.6059388", "0.6033081", "0.60313636", "0.6022232", "0.6021943", "0.6020643", "0.60182416", "0.6016128", "0.6012776", "0.6012776", "0.60081047", "0.60081047", "0.6005714", "0.60054314", "0.6002981", "0.5991115", "0.5990917", "0.59850454", "0.59823835", "0.5981064", "0.59688264", "0.5961836", "0.59494895", "0.59487563", "0.5946457", "0.59363616", "0.592992", "0.5926872", "0.59264714", "0.59213376", "0.5917447", "0.59124196", "0.5909579", "0.5908399", "0.59030217", "0.590017", "0.58924705", "0.5889083", "0.58887863", "0.5887926", "0.58874685", "0.5887398", "0.58869267", "0.58837885", "0.58836144", "0.5876662", "0.5876164", "0.58760124" ]
0.0
-1
/ Access modifiers changed, original: protected
public void hideBoomKeyTip() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void pendingRecordFailed() { pendingRecordFailed(0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void pendingRecordFailed(int toastId) { if (this.mModeSelectionLockToken != null) { this.mAppController.unlockModuleSelection(this.mModeSelectionLockToken); } if (this.mCameraDevice != null) { this.mCameraDevice.lock(); } this.mVideoFilename = null; setCameraState(1); if (shouldHoldRecorderForSecond()) { this.mAppController.setShutterEnabled(true); } this.mAppController.getCameraAppUI().showModeOptions(); if (updateModeSwitchUIinModule() && getModuleId() != this.mActivity.getResources().getInteger(R.integer.camera_mode_time_lapse)) { this.mAppController.getCameraAppUI().setModeSwitchUIVisibility(true); } if (isNeedStartRecordingOnSwitching()) { this.mAppController.onVideoRecordingStop(); } if (toastId != 0) { ToastUtil.showToast(this.mActivity.getApplicationContext(), toastId, 0); } else { ToastUtil.showToast(this.mActivity.getApplicationContext(), (int) R.string.video_record_start_failed, 0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean isVideoShutterAnimationEnssential() { return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "protected void method_3848() {\r\n super.method_3848();\r\n }", "@Override\n public void memoria() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private TMCourse() {\n\t}", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "abstract int pregnancy();", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public abstract void mo42331g();", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo102899a();" ]
[ "0.73629737", "0.698275", "0.6893718", "0.67984074", "0.6731795", "0.6725871", "0.6703971", "0.6552133", "0.6525146", "0.6523726", "0.64779514", "0.64592475", "0.64412045", "0.64338404", "0.64115113", "0.64100546", "0.6405308", "0.6404923", "0.6404923", "0.64024466", "0.63932085", "0.6390889", "0.6386778", "0.63841987", "0.638282", "0.63794196", "0.63794196", "0.6328407", "0.6313807", "0.6292603", "0.6290541", "0.62812257", "0.62488496", "0.62488496", "0.6247837", "0.6216246", "0.62158704", "0.6204517", "0.6194201", "0.6185745", "0.6175866", "0.6147165", "0.61243314", "0.61190856", "0.61065257", "0.61060417", "0.60974884", "0.6085475", "0.6084266", "0.6081045", "0.6076486", "0.6069762", "0.6062573", "0.6059388", "0.6033081", "0.60313636", "0.6022232", "0.6021943", "0.6020643", "0.60182416", "0.6016128", "0.6012776", "0.6012776", "0.60081047", "0.60081047", "0.6005714", "0.60054314", "0.6002981", "0.5991115", "0.5990917", "0.59850454", "0.59823835", "0.5981064", "0.59688264", "0.5961836", "0.59494895", "0.59487563", "0.5946457", "0.59363616", "0.592992", "0.5926872", "0.59264714", "0.59213376", "0.5917447", "0.59124196", "0.5909579", "0.5908399", "0.59030217", "0.590017", "0.58924705", "0.5889083", "0.58887863", "0.5887926", "0.58874685", "0.5887398", "0.58869267", "0.58837885", "0.58836144", "0.5876662", "0.5876164", "0.58760124" ]
0.0
-1
/ Access modifiers changed, original: protected
public void onVideoRecordingStarted() { this.mUI.unlockCaptureView(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean isFacebeautyEnabled() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean isVideoStabilizationEnabled() { return Keys.isVideoStabilizationEnabled(this.mAppController.getSettingsManager()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void disableShutterDuringResume() { this.mAppController.setShutterEnabledWithNormalAppearence(false); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "protected void method_3848() {\r\n super.method_3848();\r\n }", "@Override\n public void memoria() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private TMCourse() {\n\t}", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "abstract int pregnancy();", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public abstract void mo42331g();", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo102899a();" ]
[ "0.73629737", "0.698275", "0.6893718", "0.67984074", "0.6731795", "0.6725871", "0.6703971", "0.6552133", "0.6525146", "0.6523726", "0.64779514", "0.64592475", "0.64412045", "0.64338404", "0.64115113", "0.64100546", "0.6405308", "0.6404923", "0.6404923", "0.64024466", "0.63932085", "0.6390889", "0.6386778", "0.63841987", "0.638282", "0.63794196", "0.63794196", "0.6328407", "0.6313807", "0.6292603", "0.6290541", "0.62812257", "0.62488496", "0.62488496", "0.6247837", "0.6216246", "0.62158704", "0.6204517", "0.6194201", "0.6185745", "0.6175866", "0.6147165", "0.61243314", "0.61190856", "0.61065257", "0.61060417", "0.60974884", "0.6085475", "0.6084266", "0.6081045", "0.6076486", "0.6069762", "0.6062573", "0.6059388", "0.6033081", "0.60313636", "0.6022232", "0.6021943", "0.6020643", "0.60182416", "0.6016128", "0.6012776", "0.6012776", "0.60081047", "0.60081047", "0.6005714", "0.60054314", "0.6002981", "0.5991115", "0.5990917", "0.59850454", "0.59823835", "0.5981064", "0.59688264", "0.5961836", "0.59494895", "0.59487563", "0.5946457", "0.59363616", "0.592992", "0.5926872", "0.59264714", "0.59213376", "0.5917447", "0.59124196", "0.5909579", "0.5908399", "0.59030217", "0.590017", "0.58924705", "0.5889083", "0.58887863", "0.5887926", "0.58874685", "0.5887398", "0.58869267", "0.58837885", "0.58836144", "0.5876662", "0.5876164", "0.58760124" ]
0.0
-1
/ Access modifiers changed, original: 0000
public void showVideoSnapshotUI(boolean enabled) { if (!(this.mCameraSettings == null || !this.mCameraCapabilities.supports(Feature.VIDEO_SNAPSHOT) || this.mIsVideoCaptureIntent)) { if (enabled) { this.mUI.animateFlash(); } else { this.mUI.showPreviewBorder(enabled); } this.mAppController.setShutterEnabled(enabled ^ 1); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}", "public final void mo51373a() {\n }", "public void O000000o() {\r\n super.O000000o();\r\n this.O0000o0 = false;\r\n }", "@Override\n public int retroceder() {\n return 0;\n }", "@Override\n public void func_104112_b() {\n \n }", "public abstract Member mo23408O();", "public final void mo91715d() {\n }", "public void O0000O0o() {\r\n this.O00000oo = this.O00000oO;\r\n }", "public void m23075a() {\n }", "public void mo12628c() {\n }", "private void m50366E() {\n }", "public void mo115190b() {\n }", "public /* bridge */ /* synthetic */ void mo55097d() {\n super.mo55097d();\n }", "public void O0000OOo() {\r\n this.O00000oO = this.O00000oo;\r\n }", "public void mo38117a() {\n }", "public int method_113() {\r\n return 0;\r\n }", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "public abstract void mo53562a(C18796a c18796a);", "public void method_2244() {\r\n this.field_1858 = 0;\r\n }", "public abstract C14408a mo11607a();", "public void mo1531a() {\n }", "protected boolean func_70814_o() { return true; }", "public void mo12930a() {\n }", "public abstract String mo118046b();", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "public final void mo92083O() {\n }", "@Override\n protected void prot() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void mo21779D() {\n }", "public void mo1403c() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tpublic int getOpcode() {\n\t\treturn 0;\n\t}", "@Override\r\n\tpublic int operar() {\n\t\treturn 0;\r\n\t}", "public int method_209() {\r\n return 0;\r\n }", "public abstract void mo70713b();", "protected boolean func_70041_e_() { return false; }", "public int mo12720a() {\n return 0;\n }", "@Override\r\n\tvoid func04() {\n\t\t\r\n\t}", "void m1864a() {\r\n }", "public abstract void mo27385c();", "public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "public abstract void m15813a();", "public abstract Object mo1185b();", "public abstract long mo9229aD();", "public int getExtendedID()\r\n/* 50: */ {\r\n/* 51: 39 */ return 0;\r\n/* 52: */ }", "protected void mo6255a() {\n }", "public abstract long mo24409b();", "public abstract void mo27386d();", "public void mo55254a() {\n }", "public void mo97908d() {\n }", "public abstract Object mo26777y();", "public final /* bridge */ /* synthetic */ void mo43571c() {\n super.mo43571c();\n }", "public void method_4270() {}", "public final void mo92082N() {\n }", "public void mo9848a() {\n }", "public void mo21879u() {\n }", "public abstract C7036b mo24411d();", "@Override\r\n\tpublic int ID() {\n\t\treturn 03;\r\n\t}", "public final void mo91720e() {\n super.mo91720e();\n }", "@Override\n public int value() {\n return 0;\n }", "public abstract Object mo1771a();", "public abstract int mo13680b();", "public abstract void mo70702a(C30989b c30989b);", "private Zeroes() {\n // This space intentionally left blank.\n }", "public abstract void mo56925d();", "@Override\n public int describeContents() { return 0; }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void mo23813b() {\n }", "@Override\n public byte[] recDirect() {\n return null;\n }", "public void mo21825b() {\n }", "@Override\n\tpublic int mettreAJour() {\n\t\treturn 0;\n\t}", "public void mo4359a() {\n }", "public abstract void mo42329d();", "public abstract void mo27464a();", "public abstract String mo11611b();", "public void mo21781F() {\n }", "public abstract C13619e mo34787a();", "public abstract void mo133131c() throws InvalidDataException;", "private stendhal() {\n\t}", "public abstract void mo6549b();", "public int getExtendedID()\r\n/* 12: */ {\r\n/* 13:17 */ return 10;\r\n/* 14: */ }", "private Rekenhulp()\n\t{\n\t}", "@Override public int describeContents() { return 0; }", "public int mo27483b() {\n return 0;\n }", "public abstract int mo41077c();", "public ahb method_408() {\r\n return this.field_2990;\r\n }", "public abstract void mo20899UO();", "public void mo6081a() {\n }", "public abstract long mo13681c();", "protected class_496 method_1608() {\n return this.field_936;\n }", "public abstract String mo41079d();", "abstract C0451h mo1607e();", "public void mo97906c() {\n }" ]
[ "0.64602184", "0.6441093", "0.6427339", "0.63231075", "0.62947446", "0.62600064", "0.6179372", "0.61590916", "0.6146667", "0.6136281", "0.61226934", "0.6107879", "0.60949004", "0.6083142", "0.6074521", "0.6065534", "0.6061899", "0.60457057", "0.60437846", "0.60320616", "0.6021027", "0.6009027", "0.60079706", "0.60076433", "0.59884787", "0.5980078", "0.59784937", "0.5975664", "0.59727836", "0.59721047", "0.5972002", "0.5972002", "0.5972002", "0.5972002", "0.5972002", "0.5972002", "0.5972002", "0.59651303", "0.59634584", "0.5940033", "0.59394324", "0.5939405", "0.5923623", "0.5922368", "0.5912256", "0.5893637", "0.5891088", "0.5889503", "0.58857584", "0.58832777", "0.5878637", "0.587716", "0.5874676", "0.58702797", "0.58682686", "0.58681256", "0.5866288", "0.58509994", "0.58505774", "0.58502334", "0.58500576", "0.5844154", "0.5841159", "0.5840085", "0.58348346", "0.5821091", "0.5810944", "0.580553", "0.57979465", "0.57966006", "0.57849646", "0.5784811", "0.57836324", "0.57810307", "0.57788306", "0.5775809", "0.5774672", "0.5772474", "0.5770089", "0.5761382", "0.57596296", "0.5759513", "0.57537866", "0.5743599", "0.5741944", "0.5740125", "0.57395977", "0.5738998", "0.5736721", "0.57325345", "0.57311875", "0.5729819", "0.5724989", "0.57202053", "0.571783", "0.57170665", "0.5713263", "0.571273", "0.57090044", "0.57066876", "0.5705404" ]
0.0
-1
/ Access modifiers changed, original: protected
public void enableTorchMode(boolean enable) { if (this.mCameraSettings.getCurrentFlashMode() != null) { FlashMode flashMode; SettingsManager settingsManager = this.mActivity.getSettingsManager(); Stringifier stringifier = this.mCameraCapabilities.getStringifier(); if (enable) { flashMode = stringifier.flashModeFromString(settingsManager.getString(this.mAppController.getCameraScope(), Keys.KEY_VIDEOCAMERA_FLASH_MODE)); } else { flashMode = FlashMode.OFF; } if (this.mCameraCapabilities.supports(flashMode)) { this.mCameraSettings.setFlashMode(flashMode); } if (this.mCameraDevice != null) { this.mCameraDevice.applySettings(this.mCameraSettings); } this.mUI.updateOnScreenIndicators(this.mCameraSettings); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean needFaceDetection() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ JADX WARNING: Missing block: B:10:0x0036, code skipped: return;
public void startFaceDetection() { /* r4 = this; r0 = r4.mFaceDetectionStarted; if (r0 != 0) goto L_0x0036; L_0x0004: r0 = r4.mCameraDevice; if (r0 == 0) goto L_0x0036; L_0x0008: r0 = r4.needFaceDetection(); if (r0 != 0) goto L_0x000f; L_0x000e: goto L_0x0036; L_0x000f: r0 = r4.mCameraCapabilities; r0 = r0.getMaxNumOfFacesSupported(); if (r0 <= 0) goto L_0x0035; L_0x0017: r0 = 1; r4.mFaceDetectionStarted = r0; r1 = TAG; r2 = "startFaceDetection"; com.hmdglobal.app.camera.debug.Log.w(r1, r2); r1 = r4.mCameraDevice; r2 = r4.mHandler; r3 = 0; r1.setFaceDetectionCallback(r2, r3); r1 = r4.mCameraDevice; r1.startFaceDetection(); r1 = com.hmdglobal.app.camera.util.SessionStatsCollector.instance(); r1.faceScanActive(r0); L_0x0035: return; L_0x0036: return; */ throw new UnsupportedOperationException("Method not decompiled: com.hmdglobal.app.camera.VideoModule.startFaceDetection():void"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int c(Block parambec)\r\n/* 119: */ {\r\n/* 120:131 */ return 0;\r\n/* 121: */ }", "public int h(Block parambec)\r\n/* 29: */ {\r\n/* 30: 44 */ return F();\r\n/* 31: */ }", "void a(bu var1_1, f var2_2, Map var3_3, double var4_4, double var6_5) {\n block6 : {\n var14_6 = fj.z;\n var8_7 = M.b();\n var9_8 = var2_2.a();\n while (var9_8.f()) {\n var10_9 = var9_8.a();\n if (var14_6) break block6;\n if (!var10_9.e() || var1_1.i((y.c.d)var10_9).bendCount() > 1) ** GOTO lbl-1000\n var11_10 = var1_1.i((y.c.d)var10_9);\n var12_11 = var11_10.getSourceRealizer();\n if (var1_1.i((y.c.d)var10_9).bendCount() == 0) {\n var11_10.appendBend(var11_10.getSourcePort().a(var12_11), var11_10.getSourcePort().b(var12_11) - 20.0 - var12_11.getHeight());\n }\n this.a(var1_1, var4_4, var6_5, (y.c.d)var10_9, true, false, false, var10_9.c());\n if (var14_6) lbl-1000: // 2 sources:\n {\n var8_7.a(var10_9, true);\n var8_7.a((Object)var3_3.get(var10_9), true);\n }\n var9_8.g();\n if (!var14_6) continue;\n }\n var1_1.a(as.a, var8_7);\n }\n var9_8 = new as();\n var9_8.a(5.0);\n var9_8.b(false);\n var9_8.a(true);\n try {\n var10_9 = new bI(1);\n var10_9.a(false);\n var10_9.b(true);\n var10_9.d().a(true);\n var10_9.a(var1_1, (ah)var9_8);\n return;\n }\n finally {\n var1_1.d_(as.a);\n }\n }", "private final com.google.android.p306h.p307a.p308a.C5685v m26927b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 8: goto L_0x000e;\n case 18: goto L_0x0043;\n case 24: goto L_0x0054;\n case 32: goto L_0x005f;\n case 42: goto L_0x006a;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0034 }\n switch(r2) {\n case 0: goto L_0x003c;\n case 1: goto L_0x003c;\n case 2: goto L_0x003c;\n case 3: goto L_0x003c;\n case 4: goto L_0x003c;\n case 5: goto L_0x003c;\n case 101: goto L_0x003c;\n case 102: goto L_0x003c;\n case 103: goto L_0x003c;\n case 104: goto L_0x003c;\n case 105: goto L_0x003c;\n case 106: goto L_0x003c;\n case 107: goto L_0x003c;\n case 108: goto L_0x003c;\n case 201: goto L_0x003c;\n case 202: goto L_0x003c;\n case 203: goto L_0x003c;\n case 204: goto L_0x003c;\n case 205: goto L_0x003c;\n case 206: goto L_0x003c;\n case 207: goto L_0x003c;\n case 208: goto L_0x003c;\n case 209: goto L_0x003c;\n case 301: goto L_0x003c;\n case 302: goto L_0x003c;\n case 303: goto L_0x003c;\n case 304: goto L_0x003c;\n case 305: goto L_0x003c;\n case 306: goto L_0x003c;\n case 307: goto L_0x003c;\n case 401: goto L_0x003c;\n case 402: goto L_0x003c;\n case 403: goto L_0x003c;\n case 404: goto L_0x003c;\n case 501: goto L_0x003c;\n case 502: goto L_0x003c;\n case 503: goto L_0x003c;\n case 504: goto L_0x003c;\n case 601: goto L_0x003c;\n case 602: goto L_0x003c;\n case 603: goto L_0x003c;\n case 604: goto L_0x003c;\n case 605: goto L_0x003c;\n case 606: goto L_0x003c;\n case 607: goto L_0x003c;\n case 608: goto L_0x003c;\n case 609: goto L_0x003c;\n case 610: goto L_0x003c;\n case 611: goto L_0x003c;\n case 612: goto L_0x003c;\n case 613: goto L_0x003c;\n case 614: goto L_0x003c;\n case 615: goto L_0x003c;\n case 616: goto L_0x003c;\n case 617: goto L_0x003c;\n case 618: goto L_0x003c;\n case 619: goto L_0x003c;\n case 620: goto L_0x003c;\n case 621: goto L_0x003c;\n case 622: goto L_0x003c;\n case 623: goto L_0x003c;\n case 624: goto L_0x003c;\n case 625: goto L_0x003c;\n case 626: goto L_0x003c;\n case 627: goto L_0x003c;\n case 628: goto L_0x003c;\n case 629: goto L_0x003c;\n case 630: goto L_0x003c;\n case 631: goto L_0x003c;\n case 632: goto L_0x003c;\n case 633: goto L_0x003c;\n case 634: goto L_0x003c;\n case 635: goto L_0x003c;\n case 636: goto L_0x003c;\n case 637: goto L_0x003c;\n case 638: goto L_0x003c;\n case 639: goto L_0x003c;\n case 640: goto L_0x003c;\n case 641: goto L_0x003c;\n case 701: goto L_0x003c;\n case 702: goto L_0x003c;\n case 703: goto L_0x003c;\n case 704: goto L_0x003c;\n case 705: goto L_0x003c;\n case 706: goto L_0x003c;\n case 707: goto L_0x003c;\n case 708: goto L_0x003c;\n case 709: goto L_0x003c;\n case 710: goto L_0x003c;\n case 711: goto L_0x003c;\n case 712: goto L_0x003c;\n case 713: goto L_0x003c;\n case 714: goto L_0x003c;\n case 715: goto L_0x003c;\n case 716: goto L_0x003c;\n case 717: goto L_0x003c;\n case 718: goto L_0x003c;\n case 719: goto L_0x003c;\n case 720: goto L_0x003c;\n case 721: goto L_0x003c;\n case 722: goto L_0x003c;\n case 801: goto L_0x003c;\n case 802: goto L_0x003c;\n case 803: goto L_0x003c;\n case 901: goto L_0x003c;\n case 902: goto L_0x003c;\n case 903: goto L_0x003c;\n case 904: goto L_0x003c;\n case 905: goto L_0x003c;\n case 906: goto L_0x003c;\n case 907: goto L_0x003c;\n case 908: goto L_0x003c;\n case 909: goto L_0x003c;\n case 910: goto L_0x003c;\n case 911: goto L_0x003c;\n case 912: goto L_0x003c;\n case 1001: goto L_0x003c;\n case 1002: goto L_0x003c;\n case 1003: goto L_0x003c;\n case 1004: goto L_0x003c;\n case 1005: goto L_0x003c;\n case 1006: goto L_0x003c;\n case 1101: goto L_0x003c;\n case 1102: goto L_0x003c;\n case 1201: goto L_0x003c;\n case 1301: goto L_0x003c;\n case 1302: goto L_0x003c;\n case 1303: goto L_0x003c;\n case 1304: goto L_0x003c;\n case 1305: goto L_0x003c;\n case 1306: goto L_0x003c;\n case 1307: goto L_0x003c;\n case 1308: goto L_0x003c;\n case 1309: goto L_0x003c;\n case 1310: goto L_0x003c;\n case 1311: goto L_0x003c;\n case 1312: goto L_0x003c;\n case 1313: goto L_0x003c;\n case 1314: goto L_0x003c;\n case 1315: goto L_0x003c;\n case 1316: goto L_0x003c;\n case 1317: goto L_0x003c;\n case 1318: goto L_0x003c;\n case 1319: goto L_0x003c;\n case 1320: goto L_0x003c;\n case 1321: goto L_0x003c;\n case 1322: goto L_0x003c;\n case 1323: goto L_0x003c;\n case 1324: goto L_0x003c;\n case 1325: goto L_0x003c;\n case 1326: goto L_0x003c;\n case 1327: goto L_0x003c;\n case 1328: goto L_0x003c;\n case 1329: goto L_0x003c;\n case 1330: goto L_0x003c;\n case 1331: goto L_0x003c;\n case 1332: goto L_0x003c;\n case 1333: goto L_0x003c;\n case 1334: goto L_0x003c;\n case 1335: goto L_0x003c;\n case 1336: goto L_0x003c;\n case 1337: goto L_0x003c;\n case 1338: goto L_0x003c;\n case 1339: goto L_0x003c;\n case 1340: goto L_0x003c;\n case 1341: goto L_0x003c;\n case 1342: goto L_0x003c;\n case 1343: goto L_0x003c;\n case 1344: goto L_0x003c;\n case 1345: goto L_0x003c;\n case 1346: goto L_0x003c;\n case 1347: goto L_0x003c;\n case 1401: goto L_0x003c;\n case 1402: goto L_0x003c;\n case 1403: goto L_0x003c;\n case 1404: goto L_0x003c;\n case 1405: goto L_0x003c;\n case 1406: goto L_0x003c;\n case 1407: goto L_0x003c;\n case 1408: goto L_0x003c;\n case 1409: goto L_0x003c;\n case 1410: goto L_0x003c;\n case 1411: goto L_0x003c;\n case 1412: goto L_0x003c;\n case 1413: goto L_0x003c;\n case 1414: goto L_0x003c;\n case 1415: goto L_0x003c;\n case 1416: goto L_0x003c;\n case 1417: goto L_0x003c;\n case 1418: goto L_0x003c;\n case 1419: goto L_0x003c;\n case 1420: goto L_0x003c;\n case 1421: goto L_0x003c;\n case 1422: goto L_0x003c;\n case 1423: goto L_0x003c;\n case 1424: goto L_0x003c;\n case 1425: goto L_0x003c;\n case 1426: goto L_0x003c;\n case 1427: goto L_0x003c;\n case 1601: goto L_0x003c;\n case 1602: goto L_0x003c;\n case 1603: goto L_0x003c;\n case 1604: goto L_0x003c;\n case 1605: goto L_0x003c;\n case 1606: goto L_0x003c;\n case 1607: goto L_0x003c;\n case 1608: goto L_0x003c;\n case 1609: goto L_0x003c;\n case 1610: goto L_0x003c;\n case 1611: goto L_0x003c;\n case 1612: goto L_0x003c;\n case 1613: goto L_0x003c;\n case 1614: goto L_0x003c;\n case 1615: goto L_0x003c;\n case 1616: goto L_0x003c;\n case 1617: goto L_0x003c;\n case 1618: goto L_0x003c;\n case 1619: goto L_0x003c;\n case 1620: goto L_0x003c;\n case 1621: goto L_0x003c;\n case 1622: goto L_0x003c;\n case 1623: goto L_0x003c;\n case 1624: goto L_0x003c;\n case 1625: goto L_0x003c;\n case 1626: goto L_0x003c;\n case 1627: goto L_0x003c;\n case 1628: goto L_0x003c;\n case 1629: goto L_0x003c;\n case 1630: goto L_0x003c;\n case 1631: goto L_0x003c;\n case 1632: goto L_0x003c;\n case 1633: goto L_0x003c;\n case 1634: goto L_0x003c;\n case 1635: goto L_0x003c;\n case 1636: goto L_0x003c;\n case 1637: goto L_0x003c;\n case 1638: goto L_0x003c;\n case 1639: goto L_0x003c;\n case 1640: goto L_0x003c;\n case 1641: goto L_0x003c;\n case 1642: goto L_0x003c;\n case 1643: goto L_0x003c;\n case 1644: goto L_0x003c;\n case 1645: goto L_0x003c;\n case 1646: goto L_0x003c;\n case 1647: goto L_0x003c;\n case 1648: goto L_0x003c;\n case 1649: goto L_0x003c;\n case 1650: goto L_0x003c;\n case 1651: goto L_0x003c;\n case 1652: goto L_0x003c;\n case 1653: goto L_0x003c;\n case 1654: goto L_0x003c;\n case 1655: goto L_0x003c;\n case 1656: goto L_0x003c;\n case 1657: goto L_0x003c;\n case 1658: goto L_0x003c;\n case 1659: goto L_0x003c;\n case 1660: goto L_0x003c;\n case 1801: goto L_0x003c;\n case 1802: goto L_0x003c;\n case 1803: goto L_0x003c;\n case 1804: goto L_0x003c;\n case 1805: goto L_0x003c;\n case 1806: goto L_0x003c;\n case 1807: goto L_0x003c;\n case 1808: goto L_0x003c;\n case 1809: goto L_0x003c;\n case 1810: goto L_0x003c;\n case 1811: goto L_0x003c;\n case 1812: goto L_0x003c;\n case 1813: goto L_0x003c;\n case 1814: goto L_0x003c;\n case 1815: goto L_0x003c;\n case 1816: goto L_0x003c;\n case 1817: goto L_0x003c;\n case 1901: goto L_0x003c;\n case 1902: goto L_0x003c;\n case 1903: goto L_0x003c;\n case 1904: goto L_0x003c;\n case 1905: goto L_0x003c;\n case 1906: goto L_0x003c;\n case 1907: goto L_0x003c;\n case 1908: goto L_0x003c;\n case 1909: goto L_0x003c;\n case 2001: goto L_0x003c;\n case 2101: goto L_0x003c;\n case 2102: goto L_0x003c;\n case 2103: goto L_0x003c;\n case 2104: goto L_0x003c;\n case 2105: goto L_0x003c;\n case 2106: goto L_0x003c;\n case 2107: goto L_0x003c;\n case 2108: goto L_0x003c;\n case 2109: goto L_0x003c;\n case 2110: goto L_0x003c;\n case 2111: goto L_0x003c;\n case 2112: goto L_0x003c;\n case 2113: goto L_0x003c;\n case 2114: goto L_0x003c;\n case 2115: goto L_0x003c;\n case 2116: goto L_0x003c;\n case 2117: goto L_0x003c;\n case 2118: goto L_0x003c;\n case 2119: goto L_0x003c;\n case 2120: goto L_0x003c;\n case 2121: goto L_0x003c;\n case 2122: goto L_0x003c;\n case 2123: goto L_0x003c;\n case 2124: goto L_0x003c;\n case 2201: goto L_0x003c;\n case 2202: goto L_0x003c;\n case 2203: goto L_0x003c;\n case 2204: goto L_0x003c;\n case 2205: goto L_0x003c;\n case 2206: goto L_0x003c;\n case 2207: goto L_0x003c;\n case 2208: goto L_0x003c;\n case 2209: goto L_0x003c;\n case 2210: goto L_0x003c;\n case 2211: goto L_0x003c;\n case 2212: goto L_0x003c;\n case 2213: goto L_0x003c;\n case 2214: goto L_0x003c;\n case 2215: goto L_0x003c;\n case 2301: goto L_0x003c;\n case 2302: goto L_0x003c;\n case 2303: goto L_0x003c;\n case 2304: goto L_0x003c;\n case 2401: goto L_0x003c;\n case 2402: goto L_0x003c;\n case 2501: goto L_0x003c;\n case 2502: goto L_0x003c;\n case 2503: goto L_0x003c;\n case 2504: goto L_0x003c;\n case 2505: goto L_0x003c;\n case 2506: goto L_0x003c;\n case 2507: goto L_0x003c;\n case 2508: goto L_0x003c;\n case 2509: goto L_0x003c;\n case 2510: goto L_0x003c;\n case 2511: goto L_0x003c;\n case 2512: goto L_0x003c;\n case 2513: goto L_0x003c;\n case 2514: goto L_0x003c;\n case 2515: goto L_0x003c;\n case 2516: goto L_0x003c;\n case 2517: goto L_0x003c;\n case 2518: goto L_0x003c;\n case 2519: goto L_0x003c;\n case 2601: goto L_0x003c;\n case 2602: goto L_0x003c;\n case 2701: goto L_0x003c;\n case 2702: goto L_0x003c;\n case 2703: goto L_0x003c;\n case 2704: goto L_0x003c;\n case 2705: goto L_0x003c;\n case 2706: goto L_0x003c;\n case 2707: goto L_0x003c;\n case 2801: goto L_0x003c;\n case 2802: goto L_0x003c;\n case 2803: goto L_0x003c;\n case 2804: goto L_0x003c;\n case 2805: goto L_0x003c;\n case 2806: goto L_0x003c;\n case 2807: goto L_0x003c;\n case 2808: goto L_0x003c;\n case 2809: goto L_0x003c;\n case 2810: goto L_0x003c;\n case 2811: goto L_0x003c;\n case 2812: goto L_0x003c;\n case 2813: goto L_0x003c;\n case 2814: goto L_0x003c;\n case 2815: goto L_0x003c;\n case 2816: goto L_0x003c;\n case 2817: goto L_0x003c;\n case 2818: goto L_0x003c;\n case 2819: goto L_0x003c;\n case 2820: goto L_0x003c;\n case 2821: goto L_0x003c;\n case 2822: goto L_0x003c;\n case 2823: goto L_0x003c;\n case 2824: goto L_0x003c;\n case 2825: goto L_0x003c;\n case 2826: goto L_0x003c;\n case 2901: goto L_0x003c;\n case 2902: goto L_0x003c;\n case 2903: goto L_0x003c;\n case 2904: goto L_0x003c;\n case 2905: goto L_0x003c;\n case 2906: goto L_0x003c;\n case 2907: goto L_0x003c;\n case 3001: goto L_0x003c;\n case 3002: goto L_0x003c;\n case 3003: goto L_0x003c;\n case 3004: goto L_0x003c;\n case 3005: goto L_0x003c;\n default: goto L_0x0019;\n };\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0019:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = 41;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = \" is not a valid enum EventType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0034 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0034:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x003c:\n r2 = java.lang.Integer.valueOf(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r6.f28837a = r2;\t Catch:{ IllegalArgumentException -> 0x0034 }\n goto L_0x0000;\n L_0x0043:\n r0 = r6.f28838b;\n if (r0 != 0) goto L_0x004e;\n L_0x0047:\n r0 = new com.google.android.h.a.a.u;\n r0.<init>();\n r6.f28838b = r0;\n L_0x004e:\n r0 = r6.f28838b;\n r7.a(r0);\n goto L_0x0000;\n L_0x0054:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28839c = r0;\n goto L_0x0000;\n L_0x005f:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28840d = r0;\n goto L_0x0000;\n L_0x006a:\n r0 = r6.f28841e;\n if (r0 != 0) goto L_0x0075;\n L_0x006e:\n r0 = new com.google.android.h.a.a.o;\n r0.<init>();\n r6.f28841e = r0;\n L_0x0075:\n r0 = r6.f28841e;\n r7.a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.h.a.a.v.b(com.google.protobuf.nano.a):com.google.android.h.a.a.v\");\n }", "public final synchronized void mo5320b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r1 = 0;\t Catch:{ all -> 0x004c }\n r2 = 0;\t Catch:{ all -> 0x004c }\n if (r0 == 0) goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0007:\n r0 = r6.f24851a;\t Catch:{ all -> 0x004c }\n if (r0 != 0) goto L_0x0013;\t Catch:{ all -> 0x004c }\n L_0x000b:\n r0 = r6.f24854d;\t Catch:{ all -> 0x004c }\n r3 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r0.deleteFile(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0013:\n r0 = com.google.android.m4b.maps.cg.bx.m23058b();\t Catch:{ all -> 0x004c }\n r3 = r6.f24854d;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24853c;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r3 = r3.openFileOutput(r4, r1);\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24851a;\t Catch:{ IOException -> 0x0033 }\n r4 = r4.m20837d();\t Catch:{ IOException -> 0x0033 }\n r3.write(r4);\t Catch:{ IOException -> 0x0033 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n L_0x002b:\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\n L_0x002f:\n r1 = move-exception;\n r3 = r2;\n goto L_0x003f;\n L_0x0032:\n r3 = r2;\n L_0x0033:\n r4 = r6.f24854d;\t Catch:{ all -> 0x003e }\n r5 = r6.f24853c;\t Catch:{ all -> 0x003e }\n r4.deleteFile(r5);\t Catch:{ all -> 0x003e }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n goto L_0x002b;\t Catch:{ all -> 0x004c }\n L_0x003e:\n r1 = move-exception;\t Catch:{ all -> 0x004c }\n L_0x003f:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n throw r1;\t Catch:{ all -> 0x004c }\n L_0x0046:\n r6.f24851a = r2;\t Catch:{ all -> 0x004c }\n r6.f24852b = r1;\t Catch:{ all -> 0x004c }\n monitor-exit(r6);\n return;\n L_0x004c:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.b():void\");\n }", "public ItemStack func_70304_b(int par1)\n/* */ {\n/* 45 */ return null;\n/* */ }", "void m5768b() throws C0841b;", "public void mo115190b() {\n }", "public void a() {\n block8 : {\n block9 : {\n var1_1 = this.f();\n var2_2 = false;\n if (var1_1) break block8;\n this.j.c();\n var6_3 = this.k;\n var7_4 = this.b;\n var8_5 = (l)var6_3;\n var9_6 = var8_5.a(var7_4);\n if (var9_6 != null) break block9;\n this.a(false);\n var2_2 = true;\n ** GOTO lbl30\n }\n if (var9_6 != n.b) ** GOTO lbl26\n this.a(this.g);\n var11_7 = this.k;\n var12_8 = this.b;\n var13_9 = (l)var11_7;\n try {\n block10 : {\n var2_2 = var13_9.a(var12_8).d();\n break block10;\nlbl26: // 1 sources:\n var10_10 = var9_6.d();\n var2_2 = false;\n if (!var10_10) {\n this.b();\n }\n }\n this.j.g();\n }\n finally {\n this.j.d();\n }\n }\n if ((var3_12 = this.c) == null) return;\n if (var2_2) {\n var4_13 = var3_12.iterator();\n while (var4_13.hasNext()) {\n ((d)var4_13.next()).a(this.b);\n }\n }\n e.a(this.h, this.j, this.c);\n }\n\n /*\n * Exception decompiling\n */\n public final void a(ListenableWorker.a var1_1) {\n // This method has failed to decompile. When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.\n // org.benf.cfr.reader.util.ConfusedCFRException: Tried to end blocks [4[TRYBLOCK]], but top level block is 10[WHILELOOP]\n // org.benf.cfr.reader.b.a.a.j.a(Op04StructuredStatement.java:432)\n // org.benf.cfr.reader.b.a.a.j.d(Op04StructuredStatement.java:484)\n // org.benf.cfr.reader.b.a.a.i.a(Op03SimpleStatement.java:607)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:692)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:182)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:127)\n // org.benf.cfr.reader.entities.attributes.f.c(AttributeCode.java:96)\n // org.benf.cfr.reader.entities.g.p(Method.java:396)\n // org.benf.cfr.reader.entities.d.e(ClassFile.java:890)\n // org.benf.cfr.reader.entities.d.b(ClassFile.java:792)\n // org.benf.cfr.reader.b.a(Driver.java:128)\n // org.benf.cfr.reader.a.a(CfrDriverImpl.java:63)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.decompileWithCFR(JavaExtractionWorker.kt:61)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.doWork(JavaExtractionWorker.kt:130)\n // com.njlabs.showjava.decompilers.BaseDecompiler.withAttempt(BaseDecompiler.kt:108)\n // com.njlabs.showjava.workers.DecompilerWorker$b.run(DecompilerWorker.kt:118)\n // java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)\n // java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)\n // java.lang.Thread.run(Thread.java:919)\n throw new IllegalStateException(\"Decompilation failed\");\n }\n\n public final void a(String string) {\n LinkedList linkedList = new LinkedList();\n linkedList.add((Object)string);\n while (!linkedList.isEmpty()) {\n String string2 = (String)linkedList.remove();\n if (((l)this.k).a(string2) != n.f) {\n k k2 = this.k;\n n n2 = n.d;\n String[] arrstring = new String[]{string2};\n ((l)k2).a(n2, arrstring);\n }\n linkedList.addAll((Collection)((a.i.r.p.c)this.l).a(string2));\n }\n }\n\n /*\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n */\n public final void a(boolean bl) {\n this.j.c();\n k k2 = this.j.k();\n l l2 = (l)k2;\n List list = l2.a();\n ArrayList arrayList = (ArrayList)list;\n boolean bl2 = arrayList.isEmpty();\n if (bl2) {\n f.a(this.a, RescheduleReceiver.class, false);\n }\n this.j.g();\n this.p.c((Object)bl);\n return;\n finally {\n this.j.d();\n }\n }\n\n public final void b() {\n this.j.c();\n k k2 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l2 = (l)k2;\n l2.a(n2, arrstring);\n k k3 = this.k;\n String string = this.b;\n long l3 = System.currentTimeMillis();\n l l4 = (l)k3;\n l4.b(string, l3);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n try {\n l5.a(string2, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(true);\n }\n }\n\n public final void c() {\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n long l2 = System.currentTimeMillis();\n l l3 = (l)k2;\n l3.b(string, l2);\n k k3 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l4 = (l)k3;\n l4.a(n2, arrstring);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n l5.f(string2);\n k k5 = this.k;\n String string3 = this.b;\n l l6 = (l)k5;\n try {\n l6.a(string3, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final void d() {\n k k2 = this.k;\n String string = this.b;\n n n2 = ((l)k2).a(string);\n if (n2 == n.b) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[]{this.b};\n h2.a(string2, String.format((String)\"Status for %s is RUNNING;not doing any work and rescheduling for later execution\", (Object[])arrobject), new Throwable[0]);\n this.a(true);\n return;\n }\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[]{this.b, n2};\n h4.a(string3, String.format((String)\"Status for %s is %s; not doing any work\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n }\n\n public void e() {\n this.j.c();\n this.a(this.b);\n a.i.e e2 = ((ListenableWorker.a.a)this.g).a;\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n try {\n l2.a(string, e2);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final boolean f() {\n if (this.r) {\n h h2 = h.a();\n String string = s;\n Object[] arrobject = new Object[]{this.o};\n h2.a(string, String.format((String)\"Work interrupted for %s\", (Object[])arrobject), new Throwable[0]);\n k k2 = this.k;\n String string2 = this.b;\n n n2 = ((l)k2).a(string2);\n if (n2 == null) {\n this.a(false);\n return true;\n }\n this.a(true ^ n2.d());\n return true;\n }\n return false;\n }\n\n /*\n * Loose catch block\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n * Lifted jumps to return sites\n */\n public void run() {\n int n2;\n block42 : {\n block41 : {\n i i2;\n Cursor cursor;\n block48 : {\n block46 : {\n ListenableWorker listenableWorker;\n block47 : {\n a.i.e e2;\n block44 : {\n g g2;\n block45 : {\n block40 : {\n boolean bl;\n Iterator iterator;\n j j2;\n StringBuilder stringBuilder;\n block43 : {\n a.i.r.p.n n3 = this.m;\n String string = this.b;\n o o2 = (o)n3;\n if (o2 == null) throw null;\n n2 = 1;\n i i3 = i.a((String)\"SELECT DISTINCT tag FROM worktag WHERE work_spec_id=?\", (int)n2);\n if (string == null) {\n i3.bindNull(n2);\n } else {\n i3.bindString(n2, string);\n }\n o2.a.b();\n Cursor cursor2 = a.f.l.a.a(o2.a, (a.g.a.e)i3, false);\n ArrayList arrayList = new ArrayList(cursor2.getCount());\n while (cursor2.moveToNext()) {\n arrayList.add((Object)cursor2.getString(0));\n }\n this.n = arrayList;\n stringBuilder = new StringBuilder(\"Work [ id=\");\n stringBuilder.append(this.b);\n stringBuilder.append(\", tags={ \");\n iterator = arrayList.iterator();\n bl = true;\n break block43;\n finally {\n cursor2.close();\n i3.b();\n }\n }\n while (iterator.hasNext()) {\n String string = (String)iterator.next();\n if (bl) {\n bl = false;\n } else {\n stringBuilder.append(\", \");\n }\n stringBuilder.append(string);\n }\n stringBuilder.append(\" } ]\");\n this.o = stringBuilder.toString();\n if (this.f()) {\n return;\n }\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n this.e = j2 = l2.d(string);\n if (j2 == null) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.b;\n h2.b(string2, String.format((String)\"Didn't find WorkSpec for id %s\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n return;\n }\n if (j2.b != n.a) {\n this.d();\n this.j.g();\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h4.a(string3, String.format((String)\"%s is not in ENQUEUED state. Nothing more to do.\", (Object[])arrobject), new Throwable[0]);\n return;\n }\n if (j2.d() || this.e.c()) {\n long l3 = System.currentTimeMillis();\n boolean bl2 = this.e.n == 0L;\n if (!bl2 && l3 < this.e.a()) {\n h h5 = h.a();\n String string4 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h5.a(string4, String.format((String)\"Delaying execution for %s because it is being executed before schedule.\", (Object[])arrobject), new Throwable[0]);\n this.a((boolean)n2);\n return;\n }\n }\n this.j.g();\n if (!this.e.d()) break block40;\n e2 = this.e.e;\n break block44;\n }\n g2 = g.a(this.e.d);\n if (g2 != null) break block45;\n h h6 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.d;\n h6.b(string, String.format((String)\"Could not create Input Merger %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n ArrayList arrayList = new ArrayList();\n arrayList.add((Object)this.e.e);\n k k3 = this.k;\n String string = this.b;\n l l4 = (l)k3;\n if (l4 == null) throw null;\n i2 = i.a((String)\"SELECT output FROM workspec WHERE id IN (SELECT prerequisite_id FROM dependency WHERE work_spec_id=?)\", (int)n2);\n if (string == null) {\n i2.bindNull(n2);\n } else {\n i2.bindString(n2, string);\n }\n l4.a.b();\n cursor = a.f.l.a.a(l4.a, (a.g.a.e)i2, false);\n ArrayList arrayList2 = new ArrayList(cursor.getCount());\n while (cursor.moveToNext()) {\n arrayList2.add((Object)a.i.e.b(cursor.getBlob(0)));\n }\n arrayList.addAll((Collection)arrayList2);\n e2 = g2.a((List<a.i.e>)arrayList);\n }\n a.i.e e3 = e2;\n UUID uUID = UUID.fromString((String)this.b);\n List<String> list = this.n;\n WorkerParameters.a a2 = this.d;\n int n5 = this.e.k;\n a.i.b b2 = this.h;\n WorkerParameters workerParameters = new WorkerParameters(uUID, e3, list, a2, n5, b2.a, this.i, b2.c);\n if (this.f == null) {\n this.f = this.h.c.a(this.a, this.e.c, workerParameters);\n }\n if ((listenableWorker = this.f) != null) break block47;\n h h7 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h7.b(string, String.format((String)\"Could not create Worker %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n if (!listenableWorker.isUsed()) break block48;\n h h8 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h8.b(string, String.format((String)\"Received an already-used Worker %s; WorkerFactory should return new instances\", (Object[])arrobject), new Throwable[0]);\n }\n this.e();\n return;\n }\n this.f.setUsed();\n this.j.c();\n k k4 = this.k;\n String string = this.b;\n l l5 = (l)k4;\n if (l5.a(string) != n.a) break block41;\n k k5 = this.k;\n n n7 = n.b;\n String[] arrstring = new String[n2];\n arrstring[0] = this.b;\n l l6 = (l)k5;\n l6.a(n7, arrstring);\n k k6 = this.k;\n String string5 = this.b;\n l l7 = (l)k6;\n try {\n l7.e(string5);\n break block42;\n }\n finally {\n cursor.close();\n i2.b();\n }\n catch (Throwable throwable) {\n throw throwable;\n }\n finally {\n this.j.d();\n }\n }\n n2 = 0;\n }\n this.j.g();\n if (n2 != 0) {\n if (this.f()) {\n return;\n }\n c c2 = new c();\n ((a.i.r.q.m.b)this.i).c.execute((Runnable)new a.i.r.k(this, c2));\n c2.a((Runnable)new a.i.r.l(this, c2, this.o), ((a.i.r.q.m.b)this.i).a);\n return;\n }\n this.d();\n return;\n finally {\n this.j.d();\n }\n }\n\n public static class a {\n public Context a;\n public ListenableWorker b;\n public a.i.r.q.m.a c;\n public a.i.b d;\n public WorkDatabase e;\n public String f;\n public List<d> g;\n public WorkerParameters.a h = new WorkerParameters.a();\n\n public a(Context context, a.i.b b2, a.i.r.q.m.a a2, WorkDatabase workDatabase, String string) {\n this.a = context.getApplicationContext();\n this.c = a2;\n this.d = b2;\n this.e = workDatabase;\n this.f = string;\n }\n }\n\n}", "private void m25427g() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r2 = this;\n r0 = r2.f19111m;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = r2.f19104f;\t Catch:{ Exception -> 0x000f }\n r0 = android.support.v4.content.C0396d.m1465a(r0);\t Catch:{ Exception -> 0x000f }\n r1 = r2.f19111m;\t Catch:{ Exception -> 0x000f }\n r0.m1468a(r1);\t Catch:{ Exception -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.adapters.w.g():void\");\n }", "public void b(World paramaqu, Random paramRandom, BlockPosition paramdt, Block parambec)\r\n/* 77: */ {\r\n/* 78: 93 */ BlockPosition localdt1 = paramdt.up();\r\n/* 79: */ label260:\r\n/* 80: 95 */ for (int i = 0; i < 128; i++)\r\n/* 81: */ {\r\n/* 82: 96 */ BlockPosition localdt2 = localdt1;\r\n/* 83: 97 */ for (int j = 0; j < i / 16; j++)\r\n/* 84: */ {\r\n/* 85: 98 */ localdt2 = localdt2.offset(paramRandom.nextInt(3) - 1, (paramRandom.nextInt(3) - 1) * paramRandom.nextInt(3) / 2, paramRandom.nextInt(3) - 1);\r\n/* 86: 99 */ if ((paramaqu.getBlock(localdt2.down()).getType() != BlockList.grass) || (paramaqu.getBlock(localdt2).getType().blocksMovement())) {\r\n/* 87: */ break label260;\r\n/* 88: */ }\r\n/* 89: */ }\r\n/* 90:104 */ if (paramaqu.getBlock(localdt2).getType().material == Material.air)\r\n/* 91: */ {\r\n/* 92: */ Object localObject;\r\n/* 93:108 */ if (paramRandom.nextInt(8) == 0)\r\n/* 94: */ {\r\n/* 95:109 */ localObject = paramaqu.b(localdt2).a(paramRandom, localdt2);\r\n/* 96:110 */ avy localavy = ((EnumFlowerVariant)localObject).a().a();\r\n/* 97:111 */ Block localbec = localavy.instance().setData(localavy.l(), (Comparable)localObject);\r\n/* 98:112 */ if (localavy.f(paramaqu, localdt2, localbec)) {\r\n/* 99:113 */ paramaqu.setBlock(localdt2, localbec, 3);\r\n/* 100: */ }\r\n/* 101: */ }\r\n/* 102: */ else\r\n/* 103: */ {\r\n/* 104:116 */ localObject = BlockList.tallgrass.instance().setData(bbh.a, bbi.b);\r\n/* 105:117 */ if (BlockList.tallgrass.f(paramaqu, localdt2, (Block)localObject)) {\r\n/* 106:118 */ paramaqu.setBlock(localdt2, (Block)localObject, 3);\r\n/* 107: */ }\r\n/* 108: */ }\r\n/* 109: */ }\r\n/* 110: */ }\r\n/* 111: */ }", "public int getBlockID()\r\n/* 57: */ {\r\n/* 58: 46 */ return RedPowerMachine.blockFrame.cm;\r\n/* 59: */ }", "private final com.google.wireless.android.finsky.dfe.p515h.p516a.ae m35733b(com.google.protobuf.nano.C7213a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.m33550a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 18: goto L_0x001f;\n case 26: goto L_0x002c;\n case 34: goto L_0x0039;\n case 42: goto L_0x004a;\n case 50: goto L_0x0057;\n case 56: goto L_0x0064;\n case 64: goto L_0x00a3;\n case 72: goto L_0x00b1;\n case 82: goto L_0x00bf;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r6.f38026c;\n if (r0 != 0) goto L_0x0019;\n L_0x0012:\n r0 = new com.google.android.finsky.cv.a.bd;\n r0.<init>();\n r6.f38026c = r0;\n L_0x0019:\n r0 = r6.f38026c;\n r7.m33552a(r0);\n goto L_0x0000;\n L_0x001f:\n r0 = r7.m33564f();\n r6.f38027d = r0;\n r0 = r6.f38025b;\n r0 = r0 | 1;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x002c:\n r0 = r7.m33564f();\n r6.f38028e = r0;\n r0 = r6.f38025b;\n r0 = r0 | 2;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0039:\n r0 = r6.f38029f;\n if (r0 != 0) goto L_0x0044;\n L_0x003d:\n r0 = new com.google.android.finsky.cv.a.ax;\n r0.<init>();\n r6.f38029f = r0;\n L_0x0044:\n r0 = r6.f38029f;\n r7.m33552a(r0);\n goto L_0x0000;\n L_0x004a:\n r0 = r7.m33564f();\n r6.f38030g = r0;\n r0 = r6.f38025b;\n r0 = r0 | 4;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0057:\n r0 = r7.m33564f();\n r6.f38031h = r0;\n r0 = r6.f38025b;\n r0 = r0 | 8;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0064:\n r1 = r6.f38025b;\n r1 = r1 | 16;\n r6.f38025b = r1;\n r1 = r7.m33573o();\n r2 = r7.m33567i();\t Catch:{ IllegalArgumentException -> 0x0090 }\n switch(r2) {\n case 0: goto L_0x0099;\n case 1: goto L_0x0099;\n case 2: goto L_0x0099;\n case 3: goto L_0x0099;\n case 4: goto L_0x0099;\n default: goto L_0x0075;\n };\t Catch:{ IllegalArgumentException -> 0x0090 }\n L_0x0075:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r4 = 36;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r4 = \" is not a valid enum Type\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0090 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0090 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0090 }\n L_0x0090:\n r2 = move-exception;\n r7.m33562e(r1);\n r6.a(r7, r0);\n goto L_0x0000;\n L_0x0099:\n r6.f38032i = r2;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r6.f38025b;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r2 | 16;\n r6.f38025b = r2;\t Catch:{ IllegalArgumentException -> 0x0090 }\n goto L_0x0000;\n L_0x00a3:\n r0 = r7.m33563e();\n r6.f38033j = r0;\n r0 = r6.f38025b;\n r0 = r0 | 32;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x00b1:\n r0 = r7.m33563e();\n r6.f38034k = r0;\n r0 = r6.f38025b;\n r0 = r0 | 64;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x00bf:\n r0 = r6.f38035l;\n if (r0 != 0) goto L_0x00ca;\n L_0x00c3:\n r0 = new com.google.android.finsky.cv.a.cv;\n r0.<init>();\n r6.f38035l = r0;\n L_0x00ca:\n r0 = r6.f38035l;\n r7.m33552a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.h.a.ae.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.h.a.ae\");\n }", "public int getInternalBlockLength()\r\n/* 40: */ {\r\n/* 41: 95 */ return 32;\r\n/* 42: */ }", "void blackhole(){ if (zzAtBOL) return; }", "void m5770d() throws C0841b;", "private final void asB() {\n /*\n r6 = this;\n r0 = r6.cxs;\n r1 = r6.asp();\n r1 = r1.cCg;\n r2 = \"binding.depositAmountEdit\";\n kotlin.jvm.internal.i.e(r1, r2);\n r2 = r0 instanceof com.iqoption.core.microservices.billing.response.deposit.cashboxitem.d;\n r3 = 0;\n r4 = 1;\n if (r2 == 0) goto L_0x002b;\n L_0x0013:\n r2 = r0;\n r2 = (com.iqoption.core.microservices.billing.response.deposit.cashboxitem.d) r2;\n r2 = r2.aaH();\n if (r2 == 0) goto L_0x0027;\n L_0x001c:\n r2 = r2.aaT();\n if (r2 == 0) goto L_0x0027;\n L_0x0022:\n r2 = r2.size();\n goto L_0x0028;\n L_0x0027:\n r2 = 0;\n L_0x0028:\n if (r2 != 0) goto L_0x002b;\n L_0x002a:\n goto L_0x0040;\n L_0x002b:\n if (r0 == 0) goto L_0x0032;\n L_0x002d:\n r2 = r0.ZL();\n goto L_0x0033;\n L_0x0032:\n r2 = 0;\n L_0x0033:\n r5 = com.iqoption.core.microservices.billing.response.deposit.cashboxitem.CashboxItemType.USER_CARD;\n if (r2 != r5) goto L_0x0038;\n L_0x0037:\n goto L_0x0040;\n L_0x0038:\n r2 = r6.aoJ();\n if (r2 == 0) goto L_0x003f;\n L_0x003e:\n goto L_0x0040;\n L_0x003f:\n r4 = 0;\n L_0x0040:\n r2 = \"binding.depositPresetsList\";\n if (r4 == 0) goto L_0x0053;\n L_0x0044:\n r0 = r6.asp();\n r0 = r0.cCr;\n kotlin.jvm.internal.i.e(r0, r2);\n r0 = (android.view.View) r0;\n com.iqoption.core.ext.a.ak(r0);\n goto L_0x006b;\n L_0x0053:\n r3 = r6.asp();\n r3 = r3.cCr;\n kotlin.jvm.internal.i.e(r3, r2);\n r3 = (android.view.View) r3;\n com.iqoption.core.ext.a.al(r3);\n r2 = new com.iqoption.deposit.light.perform.c$s;\n r2.<init>(r6, r0);\n r2 = (android.view.View.OnFocusChangeListener) r2;\n r1.setOnFocusChangeListener(r2);\n L_0x006b:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.iqoption.deposit.light.perform.c.asB():void\");\n }", "public boolean blockEmpty()\r\n/* 72: */ {\r\n/* 73: 60 */ return false;\r\n/* 74: */ }", "private void b044904490449щ0449щ() {\n /*\n r7 = this;\n r0 = new rrrrrr.ccrcrc;\n r1 = new java.lang.StringBuilder;\n r1.<init>();\n r2 = r7.bнн043Dннн;\n r2 = com.immersion.aws.analytics.ImmrAnalytics.b044C044C044C044Cьь(r2);\n r2 = r2.getFilesDir();\n r1 = r1.append(r2);\n r2 = java.io.File.separator;\n r1 = r1.append(r2);\n L_0x001b:\n r2 = 1;\n switch(r2) {\n case 0: goto L_0x001b;\n case 1: goto L_0x0024;\n default: goto L_0x001f;\n };\n L_0x001f:\n r2 = 0;\n switch(r2) {\n case 0: goto L_0x0024;\n case 1: goto L_0x001b;\n default: goto L_0x0023;\n };\n L_0x0023:\n goto L_0x001f;\n L_0x0024:\n r2 = \"3HC4C-01.txt\";\n r1 = r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n r0.load();\n L_0x0034:\n r1 = r0.size();\n if (r1 <= 0) goto L_0x007a;\n L_0x003a:\n r1 = r0.peek();\n r2 = new rrrrrr.rcccrr;\n r2.<init>();\n r3 = r7.bнн043Dннн;\n r3 = com.immersion.aws.analytics.ImmrAnalytics.b044Cь044C044Cьь(r3);\n monitor-enter(r3);\n r4 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r4 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r4);\t Catch:{ all -> 0x0074 }\n r4 = r4.bЛ041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r5 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r5 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r5);\t Catch:{ all -> 0x0074 }\n r5 = r5.b041B041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r6 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r6 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r6);\t Catch:{ all -> 0x0074 }\n r6 = r6.bЛЛЛ041B041BЛ;\t Catch:{ all -> 0x0074 }\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n r1 = r2.sendHttpRequestFromCache(r4, r5, r6, r1);\n if (r1 == 0) goto L_0x0077;\n L_0x0069:\n if (r4 == 0) goto L_0x0077;\n L_0x006b:\n if (r5 == 0) goto L_0x0077;\n L_0x006d:\n r0.remove();\n r0.save();\n goto L_0x0034;\n L_0x0074:\n r0 = move-exception;\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n throw r0;\n L_0x0077:\n r0.save();\n L_0x007a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: rrrrrr.cccccr.b044904490449щ0449щ():void\");\n }", "private synchronized void m29549c() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x0050 }\n if (r0 == 0) goto L_0x004b;\t Catch:{ all -> 0x0050 }\n L_0x0005:\n r0 = com.google.android.m4b.maps.cg.bx.m23056a();\t Catch:{ all -> 0x0050 }\n r1 = 0;\n r2 = r6.f24854d;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r3 = r6.f24853c;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r2 = r2.openFileInput(r3);\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n if (r2 == 0) goto L_0x0027;\n L_0x0014:\n r3 = new com.google.android.m4b.maps.ar.a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.de.af.f19891a;\t Catch:{ IOException -> 0x0036 }\n r3.<init>(r4);\t Catch:{ IOException -> 0x0036 }\n r6.f24851a = r3;\t Catch:{ IOException -> 0x0036 }\n r3 = r6.f24851a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.ap.C4655c.m20771a(r2);\t Catch:{ IOException -> 0x0036 }\n r3.m20819a(r4);\t Catch:{ IOException -> 0x0036 }\n goto L_0x0029;\t Catch:{ IOException -> 0x0036 }\n L_0x0027:\n r6.f24851a = r1;\t Catch:{ IOException -> 0x0036 }\n L_0x0029:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n L_0x002c:\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n goto L_0x004b;\n L_0x0030:\n r2 = move-exception;\n r5 = r2;\n r2 = r1;\n r1 = r5;\n goto L_0x0044;\n L_0x0035:\n r2 = r1;\n L_0x0036:\n r6.f24851a = r1;\t Catch:{ all -> 0x0043 }\n r1 = r6.f24854d;\t Catch:{ all -> 0x0043 }\n r3 = r6.f24853c;\t Catch:{ all -> 0x0043 }\n r1.deleteFile(r3);\t Catch:{ all -> 0x0043 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n goto L_0x002c;\t Catch:{ all -> 0x0050 }\n L_0x0043:\n r1 = move-exception;\t Catch:{ all -> 0x0050 }\n L_0x0044:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n throw r1;\t Catch:{ all -> 0x0050 }\n L_0x004b:\n r0 = 1;\t Catch:{ all -> 0x0050 }\n r6.f24852b = r0;\t Catch:{ all -> 0x0050 }\n monitor-exit(r6);\n return;\n L_0x0050:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.c():void\");\n }", "public final void mo1285b() {\n }", "public final void mo56977b() {\n /*\n r2 = this;\n com.ss.android.ugc.aweme.common.e r0 = r2.f67572c\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.i r0 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28951i) r0\n if (r0 == 0) goto L_0x001a\n com.ss.android.ugc.aweme.common.a r1 = r2.f67571b\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.d r1 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28944d) r1\n if (r1 == 0) goto L_0x0014\n java.lang.Object r1 = r1.getData()\n java.lang.String r1 = (java.lang.String) r1\n if (r1 != 0) goto L_0x0016\n L_0x0014:\n java.lang.String r1 = \"\"\n L_0x0016:\n r0.mo74240a(r1)\n return\n L_0x001a:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28946e.mo56977b():void\");\n }", "void testBP()\n {\n try\n {\n init();\n accessComplete.reset();\n FormTestID(TestNo,SubNo++,\"FUN\");\n\n op1 = sequance.new Operation();\n addOpSequenceBP(op1,ACCESS_OPERATION_CODE.ACCESS_OPERATION_BLOCK_PERMALOCK );\n psLog.println(\"\\n<br><a>TestCase No:\"+TestID+\"</a> <br>\");\n psLog.println(\"\\n<b>Description</b>:\"+logText+\" \"+ACCESS_OPERATION_CODE.ACCESS_OPERATION_BLOCK_PERMALOCK);\n psLog.println(\"\\n<b> Expected: Block permalock memory Bank\"+\"</b><br>\");\n psLog.println(\"\\n<b> Actual Result is :</b><br>\");\n\n// //access sequence perform.\n// byte[] tp = { (byte)0xBE,(byte)0xDD};\n//\n// accessfilter.TagPatternA.setTagPattern(tp);\n\n reader.Actions.TagAccess.OperationSequence.performSequence(accessfilter, tInfo, antInfo);\n accessComplete.waitOne();\n int successCount[] = new int[1];int failureCount[] = new int[1];\n reader.Actions.TagAccess.getLastAccessResult(successCount, failureCount);\n reader.Actions.TagAccess.OperationSequence.delete(op1);\n if( successCount[0] == 0 )\n {\n psLog.println(\"\\n Test Result :PASS\");\n psResult.println(TestID+\" \"+logText+\" :PASS\");\n\n }\n else\n {\n psLog.println(\"\\n Test Result :FAIL\");\n psResult.println(TestID+\" \"+logText+\" :FAIL\");\n }\n if( ReadMemory() )\n {\n psLog.println(\"\\n Test Result :PASS\");\n psResult.println(TestID+\" \"+logText+\" :PASS\");\n// successCount++;\n }\n else\n {\n psLog.println(\"\\n Test Result :FAIL\");\n psResult.println(TestID+\" \"+logText+\" :FAIL\");\n// failureCount++;\n }\n }\n catch(InvalidUsageException exp)\n {\n System.out.print(\"\\nInvalidUsageException\"+exp.getInfo()+exp.getVendorMessage());\n }\n catch(OperationFailureException exp)\n {\n CleanupPendingSequence();\n System.out.print(\"\\nOperationFailureException\"+exp.getMessage()+exp.getStatusDescription());\n }\n catch(InterruptedException e)\n {\n\n }\n }", "protected int handleNext(int position) {\n/* 283 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public static boolean a(android.content.Context r4, byte[] r5) {\n /*\n r1 = d;\n r0 = 0;\n L_0x0003:\n r2 = c();\t Catch:{ Exception -> 0x003a }\n if (r2 != 0) goto L_0x0010;\n L_0x0009:\n r2 = e;\t Catch:{ Exception -> 0x003a }\n r2.block();\t Catch:{ Exception -> 0x003a }\n if (r1 == 0) goto L_0x0003;\n L_0x0010:\n r1 = z;\t Catch:{ Exception -> 0x003a }\n r2 = 22;\n r1 = r1[r2];\t Catch:{ Exception -> 0x003a }\n com.whatsapp.util.Log.i(r1);\t Catch:{ Exception -> 0x003a }\n r1 = com.whatsapp.contact.o.NOTIFICATION_DELTA;\t Catch:{ Exception -> 0x003a }\n r0 = a(r4, r1, r5);\t Catch:{ Exception -> 0x003a }\n r1 = b();\t Catch:{ Exception -> 0x0038 }\n if (r1 != 0) goto L_0x002e;\n L_0x0025:\n r1 = z;\t Catch:{ Exception -> 0x0038 }\n r2 = 16;\n r1 = r1[r2];\t Catch:{ Exception -> 0x0038 }\n com.whatsapp.util.Log.e(r1);\t Catch:{ Exception -> 0x0038 }\n L_0x002e:\n r1 = z;\n r2 = 18;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n L_0x0037:\n return r0;\n L_0x0038:\n r0 = move-exception;\n throw r0;\n L_0x003a:\n r1 = move-exception;\n r2 = z;\t Catch:{ all -> 0x005d }\n r3 = 20;\n r2 = r2[r3];\t Catch:{ all -> 0x005d }\n com.whatsapp.util.Log.b(r2, r1);\t Catch:{ all -> 0x005d }\n r1 = b();\n if (r1 != 0) goto L_0x0053;\n L_0x004a:\n r1 = z;\n r2 = 19;\n r1 = r1[r2];\n com.whatsapp.util.Log.e(r1);\n L_0x0053:\n r1 = z;\n r2 = 23;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n goto L_0x0037;\n L_0x005d:\n r0 = move-exception;\n r1 = b();\t Catch:{ Exception -> 0x0077 }\n if (r1 != 0) goto L_0x006d;\n L_0x0064:\n r1 = z;\t Catch:{ Exception -> 0x0077 }\n r2 = 21;\n r1 = r1[r2];\t Catch:{ Exception -> 0x0077 }\n com.whatsapp.util.Log.e(r1);\t Catch:{ Exception -> 0x0077 }\n L_0x006d:\n r1 = z;\n r2 = 17;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n throw r0;\n L_0x0077:\n r0 = move-exception;\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.contact.i.a(android.content.Context, byte[]):boolean\");\n }", "public Item a(Block parambec, Random paramRandom, int paramInt)\r\n/* 76: */ {\r\n/* 77: 99 */ return null;\r\n/* 78: */ }", "public ItemStack func_70301_a(int par1)\n/* */ {\n/* 25 */ return null;\n/* */ }", "private final com.google.wireless.android.finsky.dfe.p505c.p506a.ec m35437b(com.google.protobuf.nano.C7213a r8) {\n /*\n r7 = this;\n r1 = 0;\n L_0x0001:\n r0 = r8.m33550a();\n switch(r0) {\n case 0: goto L_0x000e;\n case 8: goto L_0x000f;\n case 16: goto L_0x004c;\n case 26: goto L_0x006f;\n case 34: goto L_0x007c;\n default: goto L_0x0008;\n };\n L_0x0008:\n r0 = super.a(r8, r0);\n if (r0 != 0) goto L_0x0001;\n L_0x000e:\n return r7;\n L_0x000f:\n r2 = r7.f37533a;\n r2 = r2 | 1;\n r7.f37533a = r2;\n r2 = r8.m33573o();\n r3 = r8.m33567i();\t Catch:{ IllegalArgumentException -> 0x003b }\n switch(r3) {\n case 0: goto L_0x0043;\n case 1: goto L_0x0043;\n default: goto L_0x0020;\n };\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x0020:\n r4 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x003b }\n r5 = 42;\n r6 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x003b }\n r6.<init>(r5);\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r6.append(r3);\t Catch:{ IllegalArgumentException -> 0x003b }\n r5 = \" is not a valid enum ResultCode\";\n r3 = r3.append(r5);\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r3.toString();\t Catch:{ IllegalArgumentException -> 0x003b }\n r4.<init>(r3);\t Catch:{ IllegalArgumentException -> 0x003b }\n throw r4;\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x003b:\n r3 = move-exception;\n r8.m33562e(r2);\n r7.a(r8, r0);\n goto L_0x0001;\n L_0x0043:\n r7.f37534b = r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r7.f37533a;\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r3 | 1;\n r7.f37533a = r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n goto L_0x0001;\n L_0x004c:\n r2 = r7.f37533a;\n r2 = r2 | 2;\n r7.f37533a = r2;\n r2 = r8.m33573o();\n r3 = r8.m33560d();\t Catch:{ IllegalArgumentException -> 0x0067 }\n r3 = com.google.wireless.android.finsky.dfe.p505c.p506a.dp.m35391a(r3);\t Catch:{ IllegalArgumentException -> 0x0067 }\n r7.f37535c = r3;\t Catch:{ IllegalArgumentException -> 0x0067 }\n r3 = r7.f37533a;\t Catch:{ IllegalArgumentException -> 0x0067 }\n r3 = r3 | 2;\n r7.f37533a = r3;\t Catch:{ IllegalArgumentException -> 0x0067 }\n goto L_0x0001;\n L_0x0067:\n r3 = move-exception;\n r8.m33562e(r2);\n r7.a(r8, r0);\n goto L_0x0001;\n L_0x006f:\n r0 = r8.m33565g();\n r7.f37536d = r0;\n r0 = r7.f37533a;\n r0 = r0 | 4;\n r7.f37533a = r0;\n goto L_0x0001;\n L_0x007c:\n r0 = 34;\n r2 = com.google.protobuf.nano.C7222l.m33624a(r8, r0);\n r0 = r7.f37537e;\n if (r0 != 0) goto L_0x00a8;\n L_0x0086:\n r0 = r1;\n L_0x0087:\n r2 = r2 + r0;\n r2 = new com.google.wireless.android.finsky.dfe.p505c.p506a.ed[r2];\n if (r0 == 0) goto L_0x0091;\n L_0x008c:\n r3 = r7.f37537e;\n java.lang.System.arraycopy(r3, r1, r2, r1, r0);\n L_0x0091:\n r3 = r2.length;\n r3 = r3 + -1;\n if (r0 >= r3) goto L_0x00ac;\n L_0x0096:\n r3 = new com.google.wireless.android.finsky.dfe.c.a.ed;\n r3.<init>();\n r2[r0] = r3;\n r3 = r2[r0];\n r8.m33552a(r3);\n r8.m33550a();\n r0 = r0 + 1;\n goto L_0x0091;\n L_0x00a8:\n r0 = r7.f37537e;\n r0 = r0.length;\n goto L_0x0087;\n L_0x00ac:\n r3 = new com.google.wireless.android.finsky.dfe.c.a.ed;\n r3.<init>();\n r2[r0] = r3;\n r0 = r2[r0];\n r8.m33552a(r0);\n r7.f37537e = r2;\n goto L_0x0001;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.c.a.ec.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.c.a.ec\");\n }", "private final boolean e() {\n /*\n r15 = this;\n r2 = 0\n r1 = 0\n dtd r0 = r15.m // Catch:{ all -> 0x008e }\n if (r0 != 0) goto L_0x000d\n dtd r0 = new dtd // Catch:{ all -> 0x008e }\n r0.<init>() // Catch:{ all -> 0x008e }\n r15.m = r0 // Catch:{ all -> 0x008e }\n L_0x000d:\n int r0 = r15.k // Catch:{ all -> 0x008e }\n dtd r3 = r15.m // Catch:{ all -> 0x008e }\n int r3 = r3.a // Catch:{ all -> 0x008e }\n int r0 = r0 - r3\n if (r0 <= 0) goto L_0x039e\n dvk r3 = r15.g // Catch:{ all -> 0x008e }\n if (r3 == 0) goto L_0x0356\n byte[] r3 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 == 0) goto L_0x0025\n int r3 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r4.length // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 != r4) goto L_0x0032\n L_0x0025:\n r3 = 2097152(0x200000, float:2.938736E-39)\n int r3 = java.lang.Math.min(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r3 = new byte[r3] // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r15.h = r3 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 0\n r15.i = r3 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0032:\n byte[] r3 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.length // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3 - r4\n int r6 = java.lang.Math.min(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r7 = r15.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r8 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r9 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n boolean r0 = r7.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != 0) goto L_0x00ac\n r0 = 1\n L_0x0047:\n java.lang.String r3 = \"GzipInflatingBuffer is closed\"\n defpackage.cld.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 0\n r0 = 1\n r5 = r3\n L_0x004f:\n if (r0 == 0) goto L_0x02ef\n int r3 = r6 - r5\n if (r3 <= 0) goto L_0x02ef\n dvm r0 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.ordinal() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n switch(r0) {\n case 0: goto L_0x00ae;\n case 1: goto L_0x0148;\n case 2: goto L_0x0171;\n case 3: goto L_0x01d7;\n case 4: goto L_0x01fc;\n case 5: goto L_0x0221;\n case 6: goto L_0x0256;\n case 7: goto L_0x0289;\n case 8: goto L_0x02a2;\n case 9: goto L_0x02e9;\n default: goto L_0x005e;\n } // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x005e:\n java.lang.AssertionError r0 = new java.lang.AssertionError // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r3 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = java.lang.String.valueOf(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r4 = java.lang.String.valueOf(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r4.length() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r4 + 15\n java.lang.StringBuilder r5 = new java.lang.StringBuilder // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r5.<init>(r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r4 = \"Invalid state: \"\n java.lang.StringBuilder r4 = r5.append(r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.StringBuilder r3 = r4.append(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = r3.toString() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0087:\n r0 = move-exception\n java.lang.RuntimeException r3 = new java.lang.RuntimeException // Catch:{ all -> 0x008e }\n r3.<init>(r0) // Catch:{ all -> 0x008e }\n throw r3 // Catch:{ all -> 0x008e }\n L_0x008e:\n r0 = move-exception\n if (r2 <= 0) goto L_0x00ab\n dxe r3 = r15.a\n r3.a(r2)\n dxh r3 = r15.j\n dxh r4 = defpackage.dxh.BODY\n if (r3 != r4) goto L_0x00ab\n dvk r3 = r15.g\n if (r3 == 0) goto L_0x03c9\n dzo r2 = r15.d\n long r4 = (long) r1\n r2.d(r4)\n int r2 = r15.r\n int r1 = r1 + r2\n r15.r = r1\n L_0x00ab:\n throw r0\n L_0x00ac:\n r0 = 0\n goto L_0x0047\n L_0x00ae:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 10\n if (r0 >= r3) goto L_0x00ba\n r0 = 0\n goto L_0x004f\n L_0x00ba:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.c() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 35615(0x8b1f, float:4.9907E-41)\n if (r0 == r3) goto L_0x00d4\n java.util.zip.ZipException r0 = new java.util.zip.ZipException // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = \"Not in GZIP format\"\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x00cd:\n r0 = move-exception\n java.lang.RuntimeException r3 = new java.lang.RuntimeException // Catch:{ all -> 0x008e }\n r3.<init>(r0) // Catch:{ all -> 0x008e }\n throw r3 // Catch:{ all -> 0x008e }\n L_0x00d4:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 8\n if (r0 == r3) goto L_0x00e6\n java.util.zip.ZipException r0 = new java.util.zip.ZipException // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = \"Unsupported compression method\"\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x00e6:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.j = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvl r4 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 6\n dvk r3 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r10 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r10.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3 - r10\n if (r3 <= 0) goto L_0x03d9\n r0 = 6\n int r0 = java.lang.Math.min(r3, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r3 = r3.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r10 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r10 = r10.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r11 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r11 = r11.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.update(r10, r11, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n defpackage.dvk.a(r3, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = 6 - r0\n r3 = r0\n L_0x0118:\n if (r3 <= 0) goto L_0x013b\n r0 = 512(0x200, float:7.175E-43)\n byte[] r10 = new byte[r0] // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 0\n L_0x011f:\n if (r0 >= r3) goto L_0x013b\n int r11 = r3 - r0\n r12 = 512(0x200, float:7.175E-43)\n int r11 = java.lang.Math.min(r11, r12) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r12 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r12 = r12.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r13 = 0\n r12.a(r10, r13, r11) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r12 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r12 = r12.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r13 = 0\n r12.update(r10, r13, r11) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 + r11\n goto L_0x011f\n L_0x013b:\n dvk r0 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 6\n defpackage.dvk.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.HEADER_EXTRA_LEN // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0148:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 4\n r3 = 4\n if (r0 == r3) goto L_0x0156\n dvm r0 = defpackage.dvm.HEADER_NAME // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0156:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 2\n if (r0 >= r3) goto L_0x0162\n r0 = 0\n goto L_0x004f\n L_0x0162:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.c() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.k = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.HEADER_EXTRA // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0171:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r7.k // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 >= r3) goto L_0x017e\n r0 = 0\n goto L_0x004f\n L_0x017e:\n dvl r10 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r7.k // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r0 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 - r3\n if (r0 <= 0) goto L_0x03d6\n int r0 = java.lang.Math.min(r0, r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r3 = r3.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r11 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r11 = r11.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r12 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r12 = r12.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.update(r11, r12, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n defpackage.dvk.a(r3, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r4 - r0\n r3 = r0\n L_0x01a8:\n if (r3 <= 0) goto L_0x01cb\n r0 = 512(0x200, float:7.175E-43)\n byte[] r11 = new byte[r0] // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 0\n L_0x01af:\n if (r0 >= r3) goto L_0x01cb\n int r12 = r3 - r0\n r13 = 512(0x200, float:7.175E-43)\n int r12 = java.lang.Math.min(r12, r13) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r13 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r13 = r13.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r14 = 0\n r13.a(r11, r14, r12) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r13 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r13 = r13.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r14 = 0\n r13.update(r11, r14, r12) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 + r12\n goto L_0x01af\n L_0x01cb:\n dvk r0 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n defpackage.dvk.b(r0, r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.HEADER_NAME // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x01d7:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 8\n r3 = 8\n if (r0 != r3) goto L_0x01f5\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x01e1:\n int r3 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 <= 0) goto L_0x01f3\n int r3 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 != 0) goto L_0x01e1\n r0 = 1\n L_0x01ee:\n if (r0 != 0) goto L_0x01f5\n r0 = 0\n goto L_0x004f\n L_0x01f3:\n r0 = 0\n goto L_0x01ee\n L_0x01f5:\n dvm r0 = defpackage.dvm.HEADER_COMMENT // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x01fc:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 16\n r3 = 16\n if (r0 != r3) goto L_0x021a\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0206:\n int r3 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 <= 0) goto L_0x0218\n int r3 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 != 0) goto L_0x0206\n r0 = 1\n L_0x0213:\n if (r0 != 0) goto L_0x021a\n r0 = 0\n goto L_0x004f\n L_0x0218:\n r0 = 0\n goto L_0x0213\n L_0x021a:\n dvm r0 = defpackage.dvm.HEADER_CRC // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0221:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 2\n r3 = 2\n if (r0 != r3) goto L_0x024f\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 2\n if (r0 >= r3) goto L_0x0234\n r0 = 0\n goto L_0x004f\n L_0x0234:\n java.util.zip.CRC32 r0 = r7.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n long r10 = r0.getValue() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = (int) r10 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 65535(0xffff, float:9.1834E-41)\n r0 = r0 & r3\n dvl r3 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.c() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 == r3) goto L_0x024f\n java.util.zip.ZipException r0 = new java.util.zip.ZipException // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = \"Corrupt GZIP header\"\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x024f:\n dvm r0 = defpackage.dvm.INITIALIZE_INFLATER // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0256:\n java.util.zip.Inflater r0 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != 0) goto L_0x027e\n java.util.zip.Inflater r0 = new java.util.zip.Inflater // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 1\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.g = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0262:\n java.util.zip.CRC32 r0 = r7.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.reset() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r7.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 - r3\n if (r0 <= 0) goto L_0x0284\n java.util.zip.Inflater r3 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r7.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.setInput(r4, r10, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.INFLATING // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x027b:\n r0 = 1\n goto L_0x004f\n L_0x027e:\n java.util.zip.Inflater r0 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.reset() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x0262\n L_0x0284:\n dvm r0 = defpackage.dvm.INFLATER_NEEDS_INPUT // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x027b\n L_0x0289:\n int r0 = r9 + r5\n int r0 = r7.a(r8, r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r5 + r0\n dvm r0 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r4 = defpackage.dvm.TRAILER // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != r4) goto L_0x029e\n boolean r0 = r7.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r5 = r3\n goto L_0x004f\n L_0x029e:\n r0 = 1\n r5 = r3\n goto L_0x004f\n L_0x02a2:\n java.util.zip.Inflater r0 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 == 0) goto L_0x02c7\n r0 = 1\n L_0x02a7:\n java.lang.String r3 = \"inflater is null\"\n defpackage.cld.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r7.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != r3) goto L_0x02c9\n r0 = 1\n L_0x02b3:\n java.lang.String r3 = \"inflaterInput has unconsumed bytes\"\n defpackage.cld.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r0 = r7.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 512(0x200, float:7.175E-43)\n int r0 = java.lang.Math.min(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != 0) goto L_0x02cb\n r0 = 0\n goto L_0x004f\n L_0x02c7:\n r0 = 0\n goto L_0x02a7\n L_0x02c9:\n r0 = 0\n goto L_0x02b3\n L_0x02cb:\n r3 = 0\n r7.e = r3 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.f = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r3 = r7.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r7.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.a(r4, r10, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.Inflater r3 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r7.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.setInput(r4, r10, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.INFLATING // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x02e9:\n boolean r0 = r7.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x004f\n L_0x02ef:\n if (r0 == 0) goto L_0x0301\n dvm r0 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r3 = defpackage.dvm.HEADER // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != r3) goto L_0x0334\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 10\n if (r0 >= r3) goto L_0x0334\n L_0x0301:\n r0 = 1\n L_0x0302:\n r7.n = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r0 = r15.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r0.l // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r4 = 0\n r0.l = r4 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r2 = r2 + r3\n dvk r0 = r15.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r0.m // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r4 = 0\n r0.m = r4 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r1 = r1 + r3\n if (r5 != 0) goto L_0x0342\n if (r2 <= 0) goto L_0x0332\n dxe r0 = r15.a\n r0.a(r2)\n dxh r0 = r15.j\n dxh r3 = defpackage.dxh.BODY\n if (r0 != r3) goto L_0x0332\n dvk r0 = r15.g\n if (r0 == 0) goto L_0x0336\n dzo r0 = r15.d\n long r2 = (long) r1\n r0.d(r2)\n int r0 = r15.r\n int r0 = r0 + r1\n r15.r = r0\n L_0x0332:\n r0 = 0\n L_0x0333:\n return r0\n L_0x0334:\n r0 = 0\n goto L_0x0302\n L_0x0336:\n dzo r0 = r15.d\n long r4 = (long) r2\n r0.d(r4)\n int r0 = r15.r\n int r0 = r0 + r2\n r15.r = r0\n goto L_0x0332\n L_0x0342:\n dtd r0 = r15.m // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r3 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dxv r3 = defpackage.dxw.a(r3, r4, r5) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.a(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 + r5\n r15.i = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x000d\n L_0x0356:\n dtd r3 = r15.n // Catch:{ all -> 0x008e }\n int r3 = r3.a // Catch:{ all -> 0x008e }\n if (r3 != 0) goto L_0x0386\n if (r2 <= 0) goto L_0x0378\n dxe r0 = r15.a\n r0.a(r2)\n dxh r0 = r15.j\n dxh r3 = defpackage.dxh.BODY\n if (r0 != r3) goto L_0x0378\n dvk r0 = r15.g\n if (r0 == 0) goto L_0x037a\n dzo r0 = r15.d\n long r2 = (long) r1\n r0.d(r2)\n int r0 = r15.r\n int r0 = r0 + r1\n r15.r = r0\n L_0x0378:\n r0 = 0\n goto L_0x0333\n L_0x037a:\n dzo r0 = r15.d\n long r4 = (long) r2\n r0.d(r4)\n int r0 = r15.r\n int r0 = r0 + r2\n r15.r = r0\n goto L_0x0378\n L_0x0386:\n dtd r3 = r15.n // Catch:{ all -> 0x008e }\n int r3 = r3.a // Catch:{ all -> 0x008e }\n int r0 = java.lang.Math.min(r0, r3) // Catch:{ all -> 0x008e }\n int r2 = r2 + r0\n dtd r3 = r15.m // Catch:{ all -> 0x008e }\n dtd r4 = r15.n // Catch:{ all -> 0x008e }\n dxv r0 = r4.a(r0) // Catch:{ all -> 0x008e }\n dtd r0 = (defpackage.dtd) r0 // Catch:{ all -> 0x008e }\n r3.a(r0) // Catch:{ all -> 0x008e }\n goto L_0x000d\n L_0x039e:\n if (r2 <= 0) goto L_0x03ba\n dxe r0 = r15.a\n r0.a(r2)\n dxh r0 = r15.j\n dxh r3 = defpackage.dxh.BODY\n if (r0 != r3) goto L_0x03ba\n dvk r0 = r15.g\n if (r0 == 0) goto L_0x03bd\n dzo r0 = r15.d\n long r2 = (long) r1\n r0.d(r2)\n int r0 = r15.r\n int r0 = r0 + r1\n r15.r = r0\n L_0x03ba:\n r0 = 1\n goto L_0x0333\n L_0x03bd:\n dzo r0 = r15.d\n long r4 = (long) r2\n r0.d(r4)\n int r0 = r15.r\n int r0 = r0 + r2\n r15.r = r0\n goto L_0x03ba\n L_0x03c9:\n dzo r1 = r15.d\n long r4 = (long) r2\n r1.d(r4)\n int r1 = r15.r\n int r1 = r1 + r2\n r15.r = r1\n goto L_0x00ab\n L_0x03d6:\n r3 = r4\n goto L_0x01a8\n L_0x03d9:\n r3 = r0\n goto L_0x0118\n */\n throw new UnsupportedOperationException(\"Method not decompiled: defpackage.dxd.e():boolean\");\n }", "public void a(IBlockAccess paramard, BlockPosition paramdt)\r\n/* 119: */ {\r\n/* 120:148 */ bdv localbdv = e(paramard, paramdt);\r\n/* 121:149 */ if (localbdv != null)\r\n/* 122: */ {\r\n/* 123:150 */ Block localbec = localbdv.b();\r\n/* 124:151 */ BlockType localatr = localbec.getType();\r\n/* 125:152 */ if ((localatr == this) || (localatr.getMaterial() == Material.air)) {\r\n/* 126:153 */ return;\r\n/* 127: */ }\r\n/* 128:156 */ float f = localbdv.a(0.0F);\r\n/* 129:157 */ if (localbdv.d()) {\r\n/* 130:158 */ f = 1.0F - f;\r\n/* 131: */ }\r\n/* 132:160 */ localatr.a(paramard, paramdt);\r\n/* 133:161 */ if ((localatr == BlockList.J) || (localatr == BlockList.F)) {\r\n/* 134:162 */ f = 0.0F;\r\n/* 135: */ }\r\n/* 136:164 */ EnumDirection localej = localbdv.e();\r\n/* 137:165 */ this.B = (localatr.z() - localej.g() * f);\r\n/* 138:166 */ this.C = (localatr.B() - localej.h() * f);\r\n/* 139:167 */ this.D = (localatr.D() - localej.i() * f);\r\n/* 140:168 */ this.E = (localatr.A() - localej.g() * f);\r\n/* 141:169 */ this.F = (localatr.C() - localej.h() * f);\r\n/* 142:170 */ this.G = (localatr.E() - localej.i() * f);\r\n/* 143: */ }\r\n/* 144: */ }", "public boolean c()\r\n/* 56: */ {\r\n/* 57: 77 */ return false;\r\n/* 58: */ }", "@Override\n public void func_104112_b() {\n \n }", "public int describeContents() {\n/* 48 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "private final void asx() {\n /*\n r12 = this;\n r0 = r12.cFE;\n if (r0 == 0) goto L_0x0073;\n L_0x0004:\n r1 = r12.cxs;\n if (r1 == 0) goto L_0x0073;\n L_0x0008:\n r1 = r12.ayL;\n if (r1 != 0) goto L_0x000d;\n L_0x000c:\n goto L_0x0073;\n L_0x000d:\n r2 = 0;\n if (r1 == 0) goto L_0x0027;\n L_0x0010:\n r1 = r1.Km();\n if (r1 == 0) goto L_0x0027;\n L_0x0016:\n r1 = r1.aar();\n if (r1 == 0) goto L_0x0027;\n L_0x001c:\n r3 = r0.getName();\n r1 = r1.get(r3);\n r1 = (java.util.ArrayList) r1;\n goto L_0x0028;\n L_0x0027:\n r1 = r2;\n L_0x0028:\n if (r1 == 0) goto L_0x0051;\n L_0x002a:\n r1 = (java.lang.Iterable) r1;\n r1 = kotlin.collections.u.Z(r1);\n if (r1 == 0) goto L_0x0051;\n L_0x0032:\n r3 = new com.iqoption.deposit.light.perform.DepositPerformLightFragment$setPresets$items$1;\n r3.<init>(r12);\n r3 = (kotlin.jvm.a.b) r3;\n r1 = kotlin.sequences.n.b(r1, r3);\n if (r1 == 0) goto L_0x0051;\n L_0x003f:\n r3 = new com.iqoption.deposit.light.perform.DepositPerformLightFragment$setPresets$items$2;\n r3.<init>(r0);\n r3 = (kotlin.jvm.a.b) r3;\n r1 = kotlin.sequences.n.f(r1, r3);\n if (r1 == 0) goto L_0x0051;\n L_0x004c:\n r1 = kotlin.sequences.n.f(r1);\n goto L_0x0052;\n L_0x0051:\n r1 = r2;\n L_0x0052:\n r3 = r12.asr();\n if (r1 == 0) goto L_0x0059;\n L_0x0058:\n goto L_0x005d;\n L_0x0059:\n r1 = kotlin.collections.m.emptyList();\n L_0x005d:\n r4 = r12.bub;\n if (r4 == 0) goto L_0x006d;\n L_0x0061:\n r5 = 0;\n r6 = 0;\n r7 = 1;\n r8 = 0;\n r9 = 0;\n r10 = 19;\n r11 = 0;\n r2 = com.iqoption.core.util.e.a(r4, r5, r6, r7, r8, r9, r10, r11);\n L_0x006d:\n r3.c(r1, r2);\n r12.d(r0);\n L_0x0073:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.iqoption.deposit.light.perform.c.asx():void\");\n }", "public void m7211c() {\n /*\n r34 = this;\n r16 = 0;\n r15 = 0;\n r5 = 0;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"MINOR_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = -1;\n r4 = r2.hashCode();\n switch(r4) {\n case -1172269795: goto L_0x002e;\n case 2157948: goto L_0x0038;\n case 2571565: goto L_0x0024;\n default: goto L_0x0018;\n };\n L_0x0018:\n r2 = r3;\n L_0x0019:\n switch(r2) {\n case 0: goto L_0x0042;\n case 1: goto L_0x0162;\n case 2: goto L_0x01a9;\n default: goto L_0x001c;\n };\n L_0x001c:\n r2 = \"Undefined type\";\n r0 = r34;\n mobi.mmdt.componentsutils.p079a.p080a.C1104b.m6366b(r0, r2);\n L_0x0023:\n return;\n L_0x0024:\n r4 = \"TEXT\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x002c:\n r2 = 0;\n goto L_0x0019;\n L_0x002e:\n r4 = \"STICKER\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x0036:\n r2 = 1;\n goto L_0x0019;\n L_0x0038:\n r4 = \"FILE\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x0040:\n r2 = 2;\n goto L_0x0019;\n L_0x0042:\n r4 = mobi.mmdt.ott.provider.p169c.C1594n.TEXT;\n r33 = r5;\n L_0x0046:\n r8 = mobi.mmdt.componentsutils.p079a.p084e.C1113a.m6421a();\n r10 = mobi.mmdt.ott.provider.p169c.C1592l.IN;\n r0 = r34;\n r2 = r0.f4758b;\n r0 = r34;\n r3 = r0.f4757a;\n r3 = mobi.mmdt.ott.p109d.p111b.C1309a.m6934a(r3);\n r3 = r3.m6942b();\n r2 = r2.equals(r3);\n if (r2 == 0) goto L_0x0064;\n L_0x0062:\n r10 = mobi.mmdt.ott.provider.p169c.C1592l.OUT;\n L_0x0064:\n r0 = r34;\n r2 = r0.f4757a;\n r0 = r34;\n r3 = r0.f4761e;\n r2 = mobi.mmdt.ott.provider.p169c.C1583c.m7972a(r2, r3, r10);\n if (r2 != 0) goto L_0x0023;\n L_0x0072:\n r2 = mobi.mmdt.ott.MyApplication.m6445a();\n r2 = r2.f4177h;\n if (r2 == 0) goto L_0x008a;\n L_0x007a:\n r2 = mobi.mmdt.ott.MyApplication.m6445a();\n r2 = r2.f4177h;\n r0 = r34;\n r3 = r0.f4759c;\n r2 = r2.equals(r3);\n if (r2 != 0) goto L_0x024e;\n L_0x008a:\n r17 = 0;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n if (r2 == 0) goto L_0x00b8;\n L_0x0098:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x00b8;\n L_0x00aa:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r17 = r2;\n L_0x00b8:\n r2 = new mobi.mmdt.ott.d.a.b;\n r0 = r34;\n r3 = r0.f4761e;\n r0 = r34;\n r5 = r0.f4760d;\n r0 = r34;\n r6 = r0.f4762f;\n r7 = \"SEND_TIME_IN_GMT\";\n r6 = r6.get(r7);\n r6 = (java.lang.String) r6;\n r6 = java.lang.Long.parseLong(r6);\n r11 = mobi.mmdt.ott.provider.p169c.C1593m.NOT_READ;\n r0 = r34;\n r12 = r0.f4759c;\n r13 = mobi.mmdt.ott.provider.p169c.C1595o.GROUP;\n r0 = r34;\n r14 = r0.f4758b;\n r2.<init>(r3, r4, r5, r6, r8, r10, r11, r12, r13, r14, r15, r16, r17);\n r0 = r34;\n r3 = r0.f4757a;\n r3 = mobi.mmdt.ott.logic.p157e.C1509a.m7621a(r3);\n r0 = r34;\n r4 = r0.f4762f;\n r0 = r33;\n r3.m7626a(r2, r0, r4);\n L_0x00f2:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n if (r2 == 0) goto L_0x013c;\n L_0x00fe:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x013c;\n L_0x0110:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4761e;\n mobi.mmdt.ott.provider.p169c.C1583c.m7976b(r3, r4, r2);\n r0 = r34;\n r3 = r0.f4757a;\n r2 = mobi.mmdt.ott.provider.p169c.C1583c.m8003n(r3, r2);\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4761e;\n r5 = mobi.mmdt.ott.provider.p169c.C1595o.SINGLE;\n mobi.mmdt.ott.logic.p112a.p120c.p121a.p123b.C1387u.m7218a(r3, r4, r2, r5);\n L_0x013c:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"MINOR_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = \"TEXT\";\n r2 = r2.equals(r3);\n if (r2 != 0) goto L_0x0023;\n L_0x0150:\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.b;\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4762f;\n r2.<init>(r3, r15, r4);\n mobi.mmdt.ott.logic.C1494c.m7541c(r2);\n goto L_0x0023;\n L_0x0162:\n r6 = mobi.mmdt.ott.provider.p169c.C1594n.STICKER;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"STICKER_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r0 = r34;\n r3 = r0.f4762f;\n r4 = \"STICKER_PACKAGE_ID\";\n r3 = r3.get(r4);\n r3 = (java.lang.String) r3;\n r0 = r34;\n r4 = r0.f4762f;\n r7 = \"STICKER_VERSION\";\n r4 = r4.get(r7);\n r4 = (java.lang.String) r4;\n if (r4 == 0) goto L_0x02c9;\n L_0x018a:\n if (r2 == 0) goto L_0x02c9;\n L_0x018c:\n if (r3 == 0) goto L_0x02c9;\n L_0x018e:\n r7 = r4.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x0194:\n r7 = r2.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x019a:\n r7 = r3.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x01a0:\n r16 = mobi.mmdt.ott.provider.p174h.C1629b.m8295a(r4, r3, r2);\n r33 = r5;\n r4 = r6;\n goto L_0x0046;\n L_0x01a9:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"FILE_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = -1;\n r4 = r2.hashCode();\n switch(r4) {\n case 327328941: goto L_0x01de;\n case 796404377: goto L_0x01ca;\n case 802160718: goto L_0x01e8;\n case 808293817: goto L_0x01d4;\n default: goto L_0x01bd;\n };\n L_0x01bd:\n r2 = r3;\n L_0x01be:\n switch(r2) {\n case 0: goto L_0x01f2;\n case 1: goto L_0x020c;\n case 2: goto L_0x0222;\n case 3: goto L_0x0238;\n default: goto L_0x01c1;\n };\n L_0x01c1:\n r2 = \"Undefined file type\";\n r0 = r34;\n mobi.mmdt.componentsutils.p079a.p080a.C1104b.m6366b(r0, r2);\n goto L_0x0023;\n L_0x01ca:\n r4 = \"FILE_TYPE_IMAGE\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01d2:\n r2 = 0;\n goto L_0x01be;\n L_0x01d4:\n r4 = \"FILE_TYPE_VIDEO\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01dc:\n r2 = 1;\n goto L_0x01be;\n L_0x01de:\n r4 = \"FILE_TYPE_PUSH_TO_TALK\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01e6:\n r2 = 2;\n goto L_0x01be;\n L_0x01e8:\n r4 = \"FILE_TYPE_OTHER\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01f0:\n r2 = 3;\n goto L_0x01be;\n L_0x01f2:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.IMAGE;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.IMAGE;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n L_0x0207:\n r33 = r2;\n r4 = r3;\n goto L_0x0046;\n L_0x020c:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.VIDEO;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.VIDEO;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x0222:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.PUSH_TO_TALK;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.PUSH_TO_TALK;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x0238:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.FILE;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.OTHER;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x024e:\n if (r33 == 0) goto L_0x029c;\n L_0x0250:\n r0 = r34;\n r0 = r0.f4757a;\n r18 = r0;\n r19 = r33.m8082n();\n r20 = r33.m8069a();\n r21 = r33.m8079k();\n r22 = r33.m8073e();\n r23 = r33.m8078j();\n r24 = r33.m8077i();\n r26 = 0;\n r27 = r33.m8081m();\n r28 = r33.m8080l();\n r29 = r33.m8075g();\n r30 = r33.m8071c();\n r31 = r33.m8072d();\n r32 = r33.m8070b();\n r33 = r33.m8074f();\n r2 = mobi.mmdt.ott.provider.p170d.C1598c.m8100a(r18, r19, r20, r21, r22, r23, r24, r26, r27, r28, r29, r30, r31, r32, r33);\n r2 = r2.getLastPathSegment();\n r2 = java.lang.Long.parseLong(r2);\n r15 = java.lang.Long.valueOf(r2);\n L_0x029c:\n r0 = r34;\n r2 = r0.f4757a;\n r0 = r34;\n r3 = r0.f4761e;\n r0 = r34;\n r5 = r0.f4760d;\n r0 = r34;\n r6 = r0.f4762f;\n r7 = \"SEND_TIME_IN_GMT\";\n r6 = r6.get(r7);\n r6 = (java.lang.String) r6;\n r6 = java.lang.Long.parseLong(r6);\n r11 = mobi.mmdt.ott.provider.p169c.C1593m.READ;\n r0 = r34;\n r12 = r0.f4759c;\n r13 = mobi.mmdt.ott.provider.p169c.C1595o.GROUP;\n r0 = r34;\n r14 = r0.f4758b;\n mobi.mmdt.ott.provider.p169c.C1583c.m7966a(r2, r3, r4, r5, r6, r8, r10, r11, r12, r13, r14, r15, r16);\n goto L_0x00f2;\n L_0x02c9:\n r33 = r5;\n r4 = r6;\n goto L_0x0046;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: mobi.mmdt.ott.logic.a.c.a.b.s.c():void\");\n }", "protected int b(i var1_1, y.c.q var2_2, y.c.q var3_3, h var4_4, h var5_5, int var6_6, ArrayList var7_7, ArrayList var8_8, h var9_9, h var10_10) {\n block26 : {\n block25 : {\n var24_11 = o.p;\n this.c = var6_6;\n this.d = var2_2;\n this.e = var3_3;\n this.n = var1_1.h();\n this.o = var1_1.f();\n this.h = var1_1;\n this.i = new int[this.n];\n this.j = new int[this.n];\n this.k = new int[this.o];\n this.l = new int[this.o];\n this.m = new int[this.n];\n this.b = new Object[this.o];\n this.t = new int[this.n];\n this.r = new d[this.n];\n this.s = new d[this.n];\n this.f = var4_4;\n this.a = new a[this.n];\n this.q = new ArrayList<E>(var1_1.f());\n this.p = new I(this.o);\n var11_12 = 0;\n block0 : do {\n v0 = var11_12;\n block1 : while (v0 < var7_7.size()) {\n var12_15 = (a)var7_7.get(var11_12);\n v1 /* !! */ = var12_15.b();\n if (var24_11) break block25;\n var13_17 = v1 /* !! */ ;\n while (var13_17.f()) {\n var14_20 = var13_17.a();\n var15_23 = var14_20.b();\n this.a[var14_20.b()] = var12_15;\n this.i[var15_23] = var12_15.a();\n v0 = this.i[var15_23];\n if (var24_11) continue block1;\n if (v0 < 0) {\n throw new B(\"found negative capacity\");\n }\n var13_17.g();\n if (!var24_11) continue;\n }\n ++var11_12;\n if (!var24_11) continue block0;\n }\n break block0;\n break;\n } while (true);\n v1 /* !! */ = var11_13 = this.h.p();\n }\n while (var11_13.f()) {\n var12_15 = var11_13.a();\n this.r[var12_15.b()] = (d)var10_10.b(var12_15);\n this.s[var12_15.b()] = (d)var9_9.b(var12_15);\n var11_13.g();\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block26;\n }\n this.g = new u[this.o];\n }\n var11_13 = var1_1.o();\n while (var11_13.f()) {\n var12_15 = var11_13.e();\n v2 = this;\n if (!var24_11) {\n v2.g[var12_15.d()] = new u((y.c.q)var12_15, var12_15.d());\n var11_13.g();\n if (!var24_11) continue;\n }\n ** GOTO lbl65\n }\n block5 : do {\n v2 = this;\nlbl65: // 2 sources:\n var11_14 = var13_18 = v2.a();\n var12_16 = 0;\n var14_21 = 0;\n block6 : do {\n v3 = var14_21;\n v4 = var8_8.size();\n block7 : while (v3 < v4) {\n v5 = var8_8.get(var14_21);\n do {\n var15_24 = (ArrayList)v5;\n var16_26 = false;\n var17_27 = 0;\n var18_28 = 0;\n v6 = 0;\n if (!var24_11) {\n for (var19_29 = v1574606; var19_29 < var15_24.size(); ++var19_29) {\n block28 : {\n block27 : {\n var20_30 = (a)var15_24.get(var19_29);\n v3 = this.m[var20_30.b[0].b()];\n v4 = 1;\n if (var24_11) continue block7;\n if (v3 != v4 || this.m[var20_30.b[1].b()] != 1) continue;\n ++var12_16;\n var21_31 = this.s[var20_30.b[0].b()];\n var22_32 = 0;\n while (this.m[var21_31.b()] == 1) {\n var22_32 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n var21_31 = this.s[var21_31.b()];\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block27;\n }\n var22_32 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n }\n var23_33 = 0;\n var21_31 = this.s[var20_30.b[1].b()];\n while (this.m[var21_31.b()] == 1) {\n var23_33 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n var21_31 = this.s[var21_31.b()];\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block28;\n }\n var23_33 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n }\n if (var23_33 > 400 || var22_32 > 400) {\n block29 : {\n if (var23_33 < var22_32) {\n this.a(var20_30);\n if (!var24_11) break block29;\n }\n this.b(var20_30);\n }\n var16_26 = true;\n }\n var18_28 += var23_33;\n var17_27 += var22_32;\n if (!var24_11) continue;\n }\n if (!var16_26) {\n for (var19_29 = 0; var19_29 < var15_24.size(); ++var19_29) {\n var20_30 = (a)var15_24.get(var19_29);\n v3 = this.m[var20_30.b[0].b()];\n v4 = 1;\n if (var24_11) continue block7;\n if (v3 != v4 || this.m[var20_30.b[1].b()] != 1) continue;\n if (var18_28 < var17_27) {\n this.a(var20_30);\n if (!var24_11) continue;\n }\n this.b(var20_30);\n if (!var24_11) continue;\n }\n }\n ++var14_21;\n if (!var24_11) continue block6;\n }\n ** GOTO lbl133\n v6 = var12_16;\nlbl133: // 2 sources:\n if (v6 > 0) continue block5;\n v5 = this.h.p();\n } while (var24_11);\n }\n break;\n } while (true);\n break;\n } while (true);\n var13_19 = v5;\n while (var13_19.f()) {\n var14_22 = var13_19.a();\n v7 = var14_22.b();\n if (var24_11 != false) return v7;\n var15_25 = v7;\n var5_5.a((Object)var14_22, this.m[var15_25]);\n var13_19.g();\n if (!var24_11) continue;\n }\n v7 = var11_14;\n return v7;\n }", "public void mo23813b() {\n }", "public boolean func_102008_b(int par1, ItemStack par2ItemStack, int par3)\n/* */ {\n/* 125 */ return false;\n/* */ }", "private void kk12() {\n\n\t}", "void m5771e() throws C0841b;", "private final com.google.android.play.p179a.p352a.C6210u m28673b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 16: goto L_0x001b;\n case 26: goto L_0x0058;\n case 34: goto L_0x0065;\n case 42: goto L_0x0072;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r7.f();\n r6.f31049b = r0;\n r0 = r6.f31048a;\n r0 = r0 | 1;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x001b:\n r1 = r6.f31048a;\n r1 = r1 | 2;\n r6.f31048a = r1;\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0047 }\n switch(r2) {\n case 0: goto L_0x004f;\n case 1: goto L_0x004f;\n case 2: goto L_0x004f;\n case 3: goto L_0x004f;\n case 4: goto L_0x004f;\n case 5: goto L_0x004f;\n case 6: goto L_0x004f;\n default: goto L_0x002c;\n };\t Catch:{ IllegalArgumentException -> 0x0047 }\n L_0x002c:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r4 = 38;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r4 = \" is not a valid enum OsType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0047 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0047 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0047 }\n L_0x0047:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x004f:\n r6.f31050c = r2;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r6.f31048a;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r2 | 2;\n r6.f31048a = r2;\t Catch:{ IllegalArgumentException -> 0x0047 }\n goto L_0x0000;\n L_0x0058:\n r0 = r7.f();\n r6.f31051d = r0;\n r0 = r6.f31048a;\n r0 = r0 | 4;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x0065:\n r0 = r7.f();\n r6.f31052e = r0;\n r0 = r6.f31048a;\n r0 = r0 | 8;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x0072:\n r0 = r7.f();\n r6.f31053f = r0;\n r0 = r6.f31048a;\n r0 = r0 | 16;\n r6.f31048a = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.play.a.a.u.b(com.google.protobuf.nano.a):com.google.android.play.a.a.u\");\n }", "@Override // X.AnonymousClass0PN\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void A0D() {\n /*\n r5 = this;\n super.A0D()\n X.08d r0 = r5.A05\n X.0OQ r4 = r0.A04()\n X.0Rk r3 = r4.A00() // Catch:{ all -> 0x003d }\n X.0BK r2 = r4.A04 // Catch:{ all -> 0x0036 }\n java.lang.String r1 = \"DELETE FROM receipt_device\"\n java.lang.String r0 = \"CLEAR_TABLE_RECEIPT_DEVICE\"\n r2.A0C(r1, r0) // Catch:{ all -> 0x0036 }\n X.08m r1 = r5.A03 // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"receipt_device_migration_complete\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_index\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_retry\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n r3.A00() // Catch:{ all -> 0x0036 }\n r3.close()\n r4.close()\n java.lang.String r0 = \"ReceiptDeviceStore/ReceiptDeviceDatabaseMigration/resetMigration/done\"\n com.whatsapp.util.Log.i(r0)\n return\n L_0x0036:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x0038 }\n L_0x0038:\n r0 = move-exception\n r3.close() // Catch:{ all -> 0x003c }\n L_0x003c:\n throw r0\n L_0x003d:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x003f }\n L_0x003f:\n r0 = move-exception\n r4.close() // Catch:{ all -> 0x0043 }\n L_0x0043:\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: X.C43661yk.A0D():void\");\n }", "@ActionTrigger(action=\"KEY-NXTBLK\", function=KeyFunction.NEXT_BLOCK)\n\t\tpublic void spriden_NextBlock()\n\t\t{\n\t\t\t\n\t\t\t\tgoBlock(toStr(\"SOUNDEX\"));\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "private final com.google.android.finsky.verifier.p259a.p260a.C4709m m21920b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 16: goto L_0x0015;\n case 26: goto L_0x0046;\n case 34: goto L_0x0053;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r7.f();\n r6.f24221c = r0;\n goto L_0x0000;\n L_0x0015:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x003b }\n switch(r2) {\n case 0: goto L_0x0043;\n case 1: goto L_0x0020;\n case 2: goto L_0x0043;\n default: goto L_0x0020;\n };\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x0020:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x003b }\n r4 = 44;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x003b }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x003b }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x003b }\n r4 = \" is not a valid enum ResourceType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x003b }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x003b }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x003b }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x003b:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x0043:\n r6.f24222d = r2;\t Catch:{ IllegalArgumentException -> 0x003b }\n goto L_0x0000;\n L_0x0046:\n r0 = r7.g();\n r6.f24223e = r0;\n r0 = r6.f24220b;\n r0 = r0 | 1;\n r6.f24220b = r0;\n goto L_0x0000;\n L_0x0053:\n r0 = r7.f();\n r6.f24224f = r0;\n r0 = r6.f24220b;\n r0 = r0 | 2;\n r6.f24220b = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.finsky.verifier.a.a.m.b(com.google.protobuf.nano.a):com.google.android.finsky.verifier.a.a.m\");\n }", "public void zzbr() {\n /*\n r8 = this;\n r0 = 0;\n r2 = r8.zzF;\n L_0x0003:\n r1 = 10;\n if (r0 >= r1) goto L_0x0119;\n L_0x0007:\n r4 = r0 + 1;\n r0 = new java.net.URL;\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r0.<init>(r2);\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r1 = \"play.google.com\";\n r3 = r0.getHost();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r1 = r1.equalsIgnoreCase(r3);\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n if (r1 == 0) goto L_0x002d;\n L_0x001a:\n r0 = r2;\n L_0x001b:\n r0 = r8.zzT(r0);\n r1 = com.google.android.gms.ads.internal.zzr.zzbC();\n r2 = r8.zzpD;\n r2 = r2.getContext();\n r1.zzb(r2, r0);\n return;\n L_0x002d:\n r1 = \"market\";\n r3 = r0.getProtocol();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r1 = r1.equalsIgnoreCase(r3);\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n if (r1 == 0) goto L_0x003b;\n L_0x0039:\n r0 = r2;\n goto L_0x001b;\n L_0x003b:\n r0 = r0.openConnection();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r0 = (java.net.HttpURLConnection) r0;\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r1 = com.google.android.gms.ads.internal.zzr.zzbC();\t Catch:{ all -> 0x00b1 }\n r3 = r8.zzpD;\t Catch:{ all -> 0x00b1 }\n r3 = r3.getContext();\t Catch:{ all -> 0x00b1 }\n r5 = r8.zzpD;\t Catch:{ all -> 0x00b1 }\n r5 = r5.zzhX();\t Catch:{ all -> 0x00b1 }\n r5 = r5.afmaVersion;\t Catch:{ all -> 0x00b1 }\n r6 = 0;\n r1.zza(r3, r5, r6, r0);\t Catch:{ all -> 0x00b1 }\n r1 = r0.getResponseCode();\t Catch:{ all -> 0x00b1 }\n r5 = r0.getHeaderFields();\t Catch:{ all -> 0x00b1 }\n r3 = \"\";\n r6 = 300; // 0x12c float:4.2E-43 double:1.48E-321;\n if (r1 < r6) goto L_0x0116;\n L_0x0065:\n r6 = 399; // 0x18f float:5.59E-43 double:1.97E-321;\n if (r1 > r6) goto L_0x0116;\n L_0x0069:\n r1 = 0;\n r6 = \"Location\";\n r6 = r5.containsKey(r6);\t Catch:{ all -> 0x00b1 }\n if (r6 == 0) goto L_0x0099;\n L_0x0072:\n r1 = \"Location\";\n r1 = r5.get(r1);\t Catch:{ all -> 0x00b1 }\n r1 = (java.util.List) r1;\t Catch:{ all -> 0x00b1 }\n L_0x007a:\n if (r1 == 0) goto L_0x0116;\n L_0x007c:\n r5 = r1.size();\t Catch:{ all -> 0x00b1 }\n if (r5 <= 0) goto L_0x0116;\n L_0x0082:\n r3 = 0;\n r1 = r1.get(r3);\t Catch:{ all -> 0x00b1 }\n r1 = (java.lang.String) r1;\t Catch:{ all -> 0x00b1 }\n L_0x0089:\n r3 = android.text.TextUtils.isEmpty(r1);\t Catch:{ all -> 0x00b1 }\n if (r3 == 0) goto L_0x00aa;\n L_0x008f:\n r1 = \"Arrived at landing page, this ideally should not happen. Will open it in browser.\";\n com.google.android.gms.ads.internal.util.client.zzb.zzaK(r1);\t Catch:{ all -> 0x00b1 }\n r0.disconnect();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r0 = r2;\n goto L_0x001b;\n L_0x0099:\n r6 = \"location\";\n r6 = r5.containsKey(r6);\t Catch:{ all -> 0x00b1 }\n if (r6 == 0) goto L_0x007a;\n L_0x00a1:\n r1 = \"location\";\n r1 = r5.get(r1);\t Catch:{ all -> 0x00b1 }\n r1 = (java.util.List) r1;\t Catch:{ all -> 0x00b1 }\n goto L_0x007a;\n L_0x00aa:\n r0.disconnect();\t Catch:{ IndexOutOfBoundsException -> 0x0111, IOException -> 0x010c, RuntimeException -> 0x0107 }\n r0 = r4;\n r2 = r1;\n goto L_0x0003;\n L_0x00b1:\n r1 = move-exception;\n r0.disconnect();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n throw r1;\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n L_0x00b6:\n r0 = move-exception;\n r1 = r0;\n r0 = r2;\n L_0x00b9:\n r2 = new java.lang.StringBuilder;\n r2.<init>();\n r3 = \"Error while parsing ping URL: \";\n r2 = r2.append(r3);\n r2 = r2.append(r0);\n r2 = r2.toString();\n com.google.android.gms.ads.internal.util.client.zzb.zzd(r2, r1);\n goto L_0x001b;\n L_0x00d1:\n r0 = move-exception;\n r1 = r0;\n r0 = r2;\n L_0x00d4:\n r2 = new java.lang.StringBuilder;\n r2.<init>();\n r3 = \"Error while pinging URL: \";\n r2 = r2.append(r3);\n r2 = r2.append(r0);\n r2 = r2.toString();\n com.google.android.gms.ads.internal.util.client.zzb.zzd(r2, r1);\n goto L_0x001b;\n L_0x00ec:\n r0 = move-exception;\n r1 = r0;\n r0 = r2;\n L_0x00ef:\n r2 = new java.lang.StringBuilder;\n r2.<init>();\n r3 = \"Error while pinging URL: \";\n r2 = r2.append(r3);\n r2 = r2.append(r0);\n r2 = r2.toString();\n com.google.android.gms.ads.internal.util.client.zzb.zzd(r2, r1);\n goto L_0x001b;\n L_0x0107:\n r0 = move-exception;\n r7 = r0;\n r0 = r1;\n r1 = r7;\n goto L_0x00ef;\n L_0x010c:\n r0 = move-exception;\n r7 = r0;\n r0 = r1;\n r1 = r7;\n goto L_0x00d4;\n L_0x0111:\n r0 = move-exception;\n r7 = r0;\n r0 = r1;\n r1 = r7;\n goto L_0x00b9;\n L_0x0116:\n r1 = r3;\n goto L_0x0089;\n L_0x0119:\n r0 = r2;\n goto L_0x001b;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.zzdm.zza.zzbr():void\");\n }", "private final void zzR(Object var1_1, zzha var2_2) {\n block94: {\n var3_3 = this;\n var4_4 = var1_1;\n var5_5 = var2_2;\n var6_6 = this.zzh;\n if (var6_6 != 0) break block94;\n var7_7 = this.zzc;\n var6_6 = ((int[])var7_7).length;\n var8_8 = zzja.zzb;\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n var11_11 = var9_9;\n var13_13 = 0;\n for (var12_12 = 0; var12_12 < var6_6; var12_12 += 3) {\n block95: {\n var14_14 = var3_3.zzA(var12_12);\n var15_15 = var3_3.zzc;\n var16_16 = var15_15[var12_12];\n var17_17 = zzja.zzC(var14_14);\n var18_18 = 17;\n var19_19 = 1;\n if (var17_17 <= var18_18) {\n var20_20 = var3_3.zzc;\n var21_21 = var12_12 + 2;\n var18_18 = var20_20[var21_21];\n if ((var21_21 = var18_18 & var9_9) != var11_11) {\n var22_22 = var21_21;\n var13_13 = var8_8.getInt(var4_4, var22_22);\n var11_11 = var21_21;\n }\n var18_18 >>>= 20;\n var18_18 = var19_19 << var18_18;\n } else {\n var18_18 = 0;\n var20_20 = null;\n }\n var24_23 = var14_14 &= var9_9;\n switch (var17_17) lbl-1000:\n // 56 sources\n\n {\n default: {\n var17_17 = 0;\n break block95;\n }\n case 68: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 67: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 66: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 65: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 64: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 63: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 62: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 61: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n ** GOTO lbl-1000\n }\n case 60: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 59: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 58: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = (int)zzja.zzH(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n ** GOTO lbl-1000\n }\n case 57: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 56: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 55: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 54: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 53: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 52: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var10_10 = zzja.zzE(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n ** GOTO lbl-1000\n }\n case 51: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var28_26 = zzja.zzD(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n ** GOTO lbl-1000\n }\n case 50: {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var3_3.zzS(var5_5, var16_16, var26_24, var12_12);\n ** GOTO lbl-1000\n }\n case 49: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzaa(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 48: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzN(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 47: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 46: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 45: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 44: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 43: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 42: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzW(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 41: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 40: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 39: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 38: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 37: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 36: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 35: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 34: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var16_16 = 0;\n var15_15 = null;\n zzjk.zzN(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 33: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 32: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 31: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 30: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 29: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, false);\nlbl290:\n // 6 sources\n\n var17_17 = 0;\n break block95;\n }\n case 28: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzY(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 27: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzZ(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 26: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzX(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 25: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var17_17 = 0;\n zzjk.zzW(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 24: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 23: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 22: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 21: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 20: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 19: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 18: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 17: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 16: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n }\n break block95;\n }\n case 15: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n }\n break block95;\n }\n case 14: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n }\n break block95;\n }\n case 13: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n }\n break block95;\n }\n case 12: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n }\n break block95;\n }\n case 11: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n }\n break block95;\n }\n case 10: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n }\n break block95;\n }\n case 9: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 8: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n }\n break block95;\n }\n case 7: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = (int)zzkh.zzh(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n }\n break block95;\n }\n case 6: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n }\n break block95;\n }\n case 5: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n }\n break block95;\n }\n case 4: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n }\n break block95;\n }\n case 3: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n }\n break block95;\n }\n case 2: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n }\n break block95;\n }\n case 1: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var10_10 = zzkh.zzj(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n }\n break block95;\n }\n case 0: \n }\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var28_26 = zzkh.zzl(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n }\n }\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n }\n var7_7 = var3_3.zzn;\n var4_4 = var7_7.zzd(var4_4);\n var7_7.zzi(var4_4, var5_5);\n return;\n }\n this.zzo.zzb(var1_1);\n throw null;\n }", "public final void b() {\n /*\n r10 = this;\n r0 = 0\n java.lang.Object[] r1 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r3 = f53248e\n java.lang.Class[] r6 = new java.lang.Class[r0]\n java.lang.Class r7 = java.lang.Void.TYPE\n r4 = 0\n r5 = 55479(0xd8b7, float:7.7743E-41)\n r2 = r10\n boolean r1 = com.meituan.robust.PatchProxy.isSupport(r1, r2, r3, r4, r5, r6, r7)\n if (r1 == 0) goto L_0x0025\n java.lang.Object[] r2 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r4 = f53248e\n r5 = 0\n r6 = 55479(0xd8b7, float:7.7743E-41)\n java.lang.Class[] r7 = new java.lang.Class[r0]\n java.lang.Class r8 = java.lang.Void.TYPE\n r3 = r10\n com.meituan.robust.PatchProxy.accessDispatch(r2, r3, r4, r5, r6, r7, r8)\n return\n L_0x0025:\n com.ss.android.ugc.aweme.live.alphaplayer.e$i r9 = r10.h\n java.lang.Object[] r2 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r4 = com.ss.android.ugc.aweme.live.alphaplayer.e.i.f53268a\n r5 = 0\n r6 = 55516(0xd8dc, float:7.7794E-41)\n java.lang.Class[] r7 = new java.lang.Class[r0]\n java.lang.Class r8 = java.lang.Void.TYPE\n r3 = r9\n boolean r2 = com.meituan.robust.PatchProxy.isSupport(r2, r3, r4, r5, r6, r7, r8)\n if (r2 == 0) goto L_0x004b\n java.lang.Object[] r2 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r4 = com.ss.android.ugc.aweme.live.alphaplayer.e.i.f53268a\n r5 = 0\n r6 = 55516(0xd8dc, float:7.7794E-41)\n java.lang.Class[] r7 = new java.lang.Class[r0]\n java.lang.Class r8 = java.lang.Void.TYPE\n r3 = r9\n com.meituan.robust.PatchProxy.accessDispatch(r2, r3, r4, r5, r6, r7, r8)\n return\n L_0x004b:\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r2 = g\n monitor-enter(r2)\n r0 = 1\n r9.f53270c = r0 // Catch:{ all -> 0x006e }\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r0 = g // Catch:{ all -> 0x006e }\n r0.notifyAll() // Catch:{ all -> 0x006e }\n L_0x0056:\n boolean r0 = r9.f53269b // Catch:{ all -> 0x006e }\n if (r0 != 0) goto L_0x006c\n boolean r0 = r9.f53271d // Catch:{ all -> 0x006e }\n if (r0 != 0) goto L_0x006c\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r0 = g // Catch:{ InterruptedException -> 0x0064 }\n r0.wait() // Catch:{ InterruptedException -> 0x0064 }\n goto L_0x0056\n L_0x0064:\n java.lang.Thread r0 = java.lang.Thread.currentThread() // Catch:{ all -> 0x006e }\n r0.interrupt() // Catch:{ all -> 0x006e }\n goto L_0x0056\n L_0x006c:\n monitor-exit(r2) // Catch:{ all -> 0x006e }\n return\n L_0x006e:\n r0 = move-exception\n monitor-exit(r2) // Catch:{ all -> 0x006e }\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.ss.android.ugc.aweme.live.alphaplayer.e.b():void\");\n }", "public boolean c()\r\n/* 36: */ {\r\n/* 37:51 */ return false;\r\n/* 38: */ }", "public boolean A_()\r\n/* 21: */ {\r\n/* 22:138 */ return true;\r\n/* 23: */ }", "public final int mo11683a(com.google.android.gms.internal.ads.bci r11, com.google.android.gms.internal.ads.bcn r12) {\n /*\n r10 = this;\n L_0x0000:\n int r12 = r10.f3925e\n r0 = -1\n r1 = 1\n r2 = 0\n switch(r12) {\n case 0: goto L_0x00b2;\n case 1: goto L_0x0044;\n case 2: goto L_0x000e;\n default: goto L_0x0008;\n }\n L_0x0008:\n java.lang.IllegalStateException r11 = new java.lang.IllegalStateException\n r11.<init>()\n throw r11\n L_0x000e:\n int r12 = r10.f3928h\n if (r12 <= 0) goto L_0x0031\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n r12.mo12047a()\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n byte[] r12 = r12.f4559a\n r0 = 3\n r11.mo11675b(r12, r2, r0)\n com.google.android.gms.internal.ads.bcq r12 = r10.f3924d\n com.google.android.gms.internal.ads.bkh r3 = r10.f3923c\n r12.mo11681a(r3, r0)\n int r12 = r10.f3929i\n int r12 = r12 + r0\n r10.f3929i = r12\n int r12 = r10.f3928h\n int r12 = r12 - r1\n r10.f3928h = r12\n goto L_0x000e\n L_0x0031:\n int r11 = r10.f3929i\n if (r11 <= 0) goto L_0x0041\n com.google.android.gms.internal.ads.bcq r3 = r10.f3924d\n long r4 = r10.f3927g\n r6 = 1\n int r7 = r10.f3929i\n r8 = 0\n r9 = 0\n r3.mo11680a(r4, r6, r7, r8, r9)\n L_0x0041:\n r10.f3925e = r1\n return r2\n L_0x0044:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n r12.mo12047a()\n int r12 = r10.f3926f\n if (r12 != 0) goto L_0x006a\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n byte[] r12 = r12.f4559a\n r3 = 5\n boolean r12 = r11.mo11672a(r12, r2, r3, r1)\n if (r12 != 0) goto L_0x005a\n L_0x0058:\n r1 = 0\n goto L_0x008d\n L_0x005a:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n long r3 = r12.mo12063j()\n r5 = 1000(0x3e8, double:4.94E-321)\n long r3 = r3 * r5\n r5 = 45\n long r3 = r3 / r5\n r10.f3927g = r3\n goto L_0x0083\n L_0x006a:\n int r12 = r10.f3926f\n if (r12 != r1) goto L_0x0097\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n byte[] r12 = r12.f4559a\n r3 = 9\n boolean r12 = r11.mo11672a(r12, r2, r3, r1)\n if (r12 != 0) goto L_0x007b\n goto L_0x0058\n L_0x007b:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n long r3 = r12.mo12066m()\n r10.f3927g = r3\n L_0x0083:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n int r12 = r12.mo12059f()\n r10.f3928h = r12\n r10.f3929i = r2\n L_0x008d:\n if (r1 == 0) goto L_0x0094\n r12 = 2\n r10.f3925e = r12\n goto L_0x0000\n L_0x0094:\n r10.f3925e = r2\n return r0\n L_0x0097:\n com.google.android.gms.internal.ads.bad r11 = new com.google.android.gms.internal.ads.bad\n int r12 = r10.f3926f\n r0 = 39\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>(r0)\n java.lang.String r0 = \"Unsupported version number: \"\n r1.append(r0)\n r1.append(r12)\n java.lang.String r12 = r1.toString()\n r11.<init>((java.lang.String) r12)\n throw r11\n L_0x00b2:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n r12.mo12047a()\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n byte[] r12 = r12.f4559a\n r3 = 8\n boolean r12 = r11.mo11672a(r12, r2, r3, r1)\n if (r12 == 0) goto L_0x00df\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n int r12 = r12.mo12065l()\n int r2 = f3921a\n if (r12 != r2) goto L_0x00d7\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n int r12 = r12.mo12059f()\n r10.f3926f = r12\n r2 = 1\n goto L_0x00df\n L_0x00d7:\n java.io.IOException r11 = new java.io.IOException\n java.lang.String r12 = \"Input not RawCC\"\n r11.<init>(r12)\n throw r11\n L_0x00df:\n if (r2 == 0) goto L_0x00e5\n r10.f3925e = r1\n goto L_0x0000\n L_0x00e5:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.ads.bef.mo11683a(com.google.android.gms.internal.ads.bci, com.google.android.gms.internal.ads.bcn):int\");\n }", "@Test(timeout = 4000)\n public void test22() throws Throwable {\n LinkedList<byte[][]> linkedList0 = new LinkedList<byte[][]>();\n XSQLVAR[] xSQLVARArray0 = new XSQLVAR[0];\n FBResultSet fBResultSet0 = new FBResultSet(xSQLVARArray0, linkedList0);\n byte[][] byteArray0 = new byte[7][0];\n byte[] byteArray1 = new byte[7];\n byteArray1[0] = (byte) (-111);\n FileSystemHandling.appendLineToFile((EvoSuiteFile) null, \"!3eO>|kx{3s''g6%=\");\n byteArray1[1] = (byte) (-109);\n byteArray1[2] = (byte)31;\n linkedList0.add((byte[][]) null);\n linkedList0.add(byteArray0);\n FBCachedFetcher fBCachedFetcher0 = new FBCachedFetcher(linkedList0, fBResultSet0);\n fBCachedFetcher0.next();\n fBCachedFetcher0.deleteRow();\n assertTrue(fBCachedFetcher0.isLast());\n }", "private synchronized void m3985g() {\n /*\n r8 = this;\n monitor-enter(r8);\n r2 = java.lang.Thread.currentThread();\t Catch:{ all -> 0x0063 }\n r3 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r3 = r3.mo1186c();\t Catch:{ all -> 0x0063 }\n r2 = r2.equals(r3);\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0021;\n L_0x0011:\n r2 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1185b();\t Catch:{ all -> 0x0063 }\n r3 = new com.google.analytics.tracking.android.aa;\t Catch:{ all -> 0x0063 }\n r3.<init>(r8);\t Catch:{ all -> 0x0063 }\n r2.add(r3);\t Catch:{ all -> 0x0063 }\n L_0x001f:\n monitor-exit(r8);\n return;\n L_0x0021:\n r2 = r8.f2122n;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x0028;\n L_0x0025:\n r8.m3999d();\t Catch:{ all -> 0x0063 }\n L_0x0028:\n r2 = com.google.analytics.tracking.android.ab.f1966a;\t Catch:{ all -> 0x0063 }\n r3 = r8.f2110b;\t Catch:{ all -> 0x0063 }\n r3 = r3.ordinal();\t Catch:{ all -> 0x0063 }\n r2 = r2[r3];\t Catch:{ all -> 0x0063 }\n switch(r2) {\n case 1: goto L_0x0036;\n case 2: goto L_0x006e;\n case 3: goto L_0x00aa;\n default: goto L_0x0035;\n };\t Catch:{ all -> 0x0063 }\n L_0x0035:\n goto L_0x001f;\n L_0x0036:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0066;\n L_0x003e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.poll();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to store\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2112d;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1197a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n goto L_0x0036;\n L_0x0063:\n r2 = move-exception;\n monitor-exit(r8);\n throw r2;\n L_0x0066:\n r2 = r8.f2121m;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x001f;\n L_0x006a:\n r8.m3987h();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x006e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x00a0;\n L_0x0076:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.peek();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to service\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2111c;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1204a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2.poll();\t Catch:{ all -> 0x0063 }\n goto L_0x006e;\n L_0x00a0:\n r2 = r8.f2123o;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1198a();\t Catch:{ all -> 0x0063 }\n r8.f2109a = r2;\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x00aa:\n r2 = \"Need to reconnect\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x001f;\n L_0x00b7:\n r8.m3991j();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.analytics.tracking.android.y.g():void\");\n }", "@Test(timeout = 4000)\n public void test21() throws Throwable {\n FBProcedureCall fBProcedureCall0 = new FBProcedureCall();\n FBProcedureParam fBProcedureParam0 = fBProcedureCall0.addParam(5985, \"68]z9?lgE]u@\");\n fBProcedureCall0.addOutputParam(fBProcedureParam0);\n fBProcedureCall0.mapOutParamIndexToPosition(2, true);\n // Undeclared exception!\n fBProcedureCall0.mapOutParamIndexToPosition(5985, true);\n }", "public long mo915b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r4 = this;\n r0 = -1;\n r2 = r4.f18088d;\t Catch:{ NumberFormatException -> 0x000e }\n if (r2 == 0) goto L_0x000d;\t Catch:{ NumberFormatException -> 0x000e }\n L_0x0006:\n r2 = r4.f18088d;\t Catch:{ NumberFormatException -> 0x000e }\n r2 = java.lang.Long.parseLong(r2);\t Catch:{ NumberFormatException -> 0x000e }\n r0 = r2;\n L_0x000d:\n return r0;\n L_0x000e:\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.c.b.b():long\");\n }", "public final void a(com.tencent.mm.plugin.game.c.ai r12, java.lang.String r13, int r14, int r15) {\n /*\n r11 = this;\n if (r12 == 0) goto L_0x000a;\n L_0x0002:\n r0 = r12.nmz;\n r0 = com.tencent.mm.sdk.platformtools.bi.cC(r0);\n if (r0 == 0) goto L_0x0010;\n L_0x000a:\n r0 = 8;\n r11.setVisibility(r0);\n L_0x000f:\n return;\n L_0x0010:\n r11.mAppId = r13;\n r11.niV = r15;\n r0 = r12.nmz;\n r7 = r0.iterator();\n L_0x001a:\n r0 = r7.hasNext();\n if (r0 == 0) goto L_0x000f;\n L_0x0020:\n r0 = r7.next();\n r4 = r0;\n r4 = (com.tencent.mm.plugin.game.c.k) r4;\n if (r4 == 0) goto L_0x001a;\n L_0x0029:\n r5 = new com.tencent.mm.plugin.game.d.e$a$a;\n r5.<init>();\n r0 = r4.nlz;\n switch(r0) {\n case 1: goto L_0x004a;\n case 2: goto L_0x00e3;\n default: goto L_0x0033;\n };\n L_0x0033:\n r0 = 2;\n if (r14 != r0) goto L_0x001a;\n L_0x0036:\n r0 = r11.mContext;\n r1 = 10;\n r2 = 1002; // 0x3ea float:1.404E-42 double:4.95E-321;\n r3 = r4.nlw;\n r4 = r4.nlr;\n r6 = com.tencent.mm.plugin.game.model.ap.CD(r4);\n r4 = r13;\n r5 = r15;\n com.tencent.mm.plugin.game.model.ap.a(r0, r1, r2, r3, r4, r5, r6);\n goto L_0x001a;\n L_0x004a:\n r0 = r4.nlx;\n if (r0 == 0) goto L_0x001a;\n L_0x004e:\n r11.e(r11);\n r0 = r11.DF;\n r1 = com.tencent.mm.R.i.djD;\n r2 = 1;\n r6 = r0.inflate(r1, r11, r2);\n r0 = com.tencent.mm.R.h.cxP;\n r0 = r6.findViewById(r0);\n r0 = (android.widget.TextView) r0;\n r1 = com.tencent.mm.R.h.cxR;\n r1 = r6.findViewById(r1);\n r1 = (android.widget.TextView) r1;\n r2 = com.tencent.mm.R.h.cxO;\n r2 = r6.findViewById(r2);\n r2 = (com.tencent.mm.plugin.game.widget.EllipsizingTextView) r2;\n r3 = 2;\n r2.setMaxLines(r3);\n r3 = com.tencent.mm.R.h.cxQ;\n r3 = r6.findViewById(r3);\n r3 = (android.widget.ImageView) r3;\n r8 = r11.mContext;\n r9 = r4.nlv;\n r10 = r0.getTextSize();\n r8 = com.tencent.mm.pluginsdk.ui.d.i.b(r8, r9, r10);\n r0.setText(r8);\n r0 = r11.mContext;\n r8 = r4.nlx;\n r8 = r8.fpg;\n r9 = r1.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r8, r9);\n r1.setText(r0);\n r0 = r11.mContext;\n r1 = r4.nlx;\n r1 = r1.nkL;\n r8 = r2.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r1, r8);\n r2.setText(r0);\n r0 = r4.nlx;\n r0 = r0.nkM;\n r0 = com.tencent.mm.sdk.platformtools.bi.oN(r0);\n if (r0 != 0) goto L_0x00dd;\n L_0x00b9:\n r0 = com.tencent.mm.plugin.game.d.e.aSC();\n r1 = r4.nlx;\n r1 = r1.nkM;\n r2 = r5.aSD();\n r0.a(r3, r1, r2);\n L_0x00c8:\n r0 = new com.tencent.mm.plugin.game.ui.f$a;\n r1 = r4.nlw;\n r2 = r4.nlx;\n r2 = r2.nkN;\n r3 = r4.nlr;\n r0.<init>(r1, r2, r3);\n r6.setTag(r0);\n r6.setOnClickListener(r11);\n goto L_0x0033;\n L_0x00dd:\n r0 = 8;\n r3.setVisibility(r0);\n goto L_0x00c8;\n L_0x00e3:\n r0 = r4.nly;\n if (r0 == 0) goto L_0x001a;\n L_0x00e7:\n r11.e(r11);\n r0 = r11.DF;\n r1 = com.tencent.mm.R.i.djE;\n r2 = 1;\n r3 = r0.inflate(r1, r11, r2);\n r0 = com.tencent.mm.R.h.cOG;\n r0 = r3.findViewById(r0);\n r0 = (android.widget.TextView) r0;\n r1 = com.tencent.mm.R.h.cOI;\n r1 = r3.findViewById(r1);\n r1 = (android.widget.TextView) r1;\n r2 = com.tencent.mm.R.h.cOH;\n r2 = r3.findViewById(r2);\n r2 = (android.widget.ImageView) r2;\n r6 = r11.mContext;\n r8 = r4.nlv;\n r9 = r0.getTextSize();\n r6 = com.tencent.mm.pluginsdk.ui.d.i.b(r6, r8, r9);\n r0.setText(r6);\n r0 = r11.mContext;\n r6 = r4.nly;\n r6 = r6.fpg;\n r8 = r1.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r6, r8);\n r1.setText(r0);\n r0 = r4.nly;\n r0 = r0.nkM;\n r0 = com.tencent.mm.sdk.platformtools.bi.oN(r0);\n if (r0 != 0) goto L_0x016f;\n L_0x0135:\n r0 = r4.nly;\n r0 = r0.npS;\n r1 = 1;\n if (r0 != r1) goto L_0x0167;\n L_0x013c:\n r0 = 1;\n r5.nDa = r0;\n r0 = com.tencent.mm.R.g.bCF;\n r5.nDd = r0;\n L_0x0143:\n r0 = com.tencent.mm.plugin.game.d.e.aSC();\n r1 = r4.nly;\n r1 = r1.nkM;\n r5 = r5.aSD();\n r0.a(r2, r1, r5);\n L_0x0152:\n r0 = new com.tencent.mm.plugin.game.ui.f$a;\n r1 = r4.nlw;\n r2 = r4.nly;\n r2 = r2.nkN;\n r5 = r4.nlr;\n r0.<init>(r1, r2, r5);\n r3.setTag(r0);\n r3.setOnClickListener(r11);\n goto L_0x0033;\n L_0x0167:\n r0 = 1;\n r5.hFJ = r0;\n r0 = com.tencent.mm.R.g.bCE;\n r5.nDd = r0;\n goto L_0x0143;\n L_0x016f:\n r0 = 8;\n r2.setVisibility(r0);\n goto L_0x0152;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.plugin.game.ui.f.a(com.tencent.mm.plugin.game.c.ai, java.lang.String, int, int):void\");\n }", "public int mo4452e() {\n /*\n r7 = this;\n int r0 = r7.f2518c\n r7.f2519d = r0\n r0 = 0\n r1 = 0\n r2 = 0\n L_0x0007:\n int r3 = r7.f2519d\n if (r3 <= 0) goto L_0x003b\n byte r3 = r7.mo4449a()\n r4 = -1\n if (r3 == 0) goto L_0x0034\n r5 = 1\n if (r3 == r5) goto L_0x002e\n r6 = 2\n if (r3 == r6) goto L_0x002e\n r6 = 9\n if (r3 == r6) goto L_0x0007\n switch(r3) {\n case 14: goto L_0x0028;\n case 15: goto L_0x0028;\n case 16: goto L_0x0025;\n case 17: goto L_0x0025;\n case 18: goto L_0x0022;\n default: goto L_0x001f;\n }\n L_0x001f:\n if (r2 != 0) goto L_0x0007\n goto L_0x0039\n L_0x0022:\n int r1 = r1 + 1\n goto L_0x0007\n L_0x0025:\n if (r2 != r1) goto L_0x002b\n return r5\n L_0x0028:\n if (r2 != r1) goto L_0x002b\n return r4\n L_0x002b:\n int r1 = r1 + -1\n goto L_0x0007\n L_0x002e:\n if (r1 != 0) goto L_0x0031\n return r5\n L_0x0031:\n if (r2 != 0) goto L_0x0007\n goto L_0x0039\n L_0x0034:\n if (r1 != 0) goto L_0x0037\n return r4\n L_0x0037:\n if (r2 != 0) goto L_0x0007\n L_0x0039:\n r2 = r1\n goto L_0x0007\n L_0x003b:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: androidx.core.text.BidiFormatter.C0510a.mo4452e():int\");\n }", "private void c() {\n /*\n r14 = this;\n r12 = android.os.SystemClock.elapsedRealtime();\n r8 = r14.d();\n r0 = r14.t;\n if (r0 == 0) goto L_0x007a;\n L_0x000c:\n r0 = 1;\n r7 = r0;\n L_0x000e:\n r0 = r14.r;\n r0 = r0.a();\n if (r0 != 0) goto L_0x0018;\n L_0x0016:\n if (r7 == 0) goto L_0x007d;\n L_0x0018:\n r0 = 1;\n r10 = r0;\n L_0x001a:\n if (r10 != 0) goto L_0x0095;\n L_0x001c:\n r0 = r14.d;\n r0 = r0.b;\n if (r0 != 0) goto L_0x0028;\n L_0x0022:\n r0 = -1;\n r0 = (r8 > r0 ? 1 : (r8 == r0 ? 0 : -1));\n if (r0 != 0) goto L_0x0032;\n L_0x0028:\n r0 = r14.p;\n r0 = r12 - r0;\n r2 = 2000; // 0x7d0 float:2.803E-42 double:9.88E-321;\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 <= 0) goto L_0x0095;\n L_0x0032:\n r14.p = r12;\n r0 = r14.d;\n r1 = r14.f;\n r1 = r1.size();\n r0.a = r1;\n r0 = r14.c;\n r1 = r14.f;\n r2 = r14.o;\n r4 = r14.m;\n r6 = r14.d;\n r0.getChunkOperation(r1, r2, r4, r6);\n r0 = r14.d;\n r0 = r0.a;\n r0 = r14.a(r0);\n r1 = r14.d;\n r1 = r1.b;\n if (r1 != 0) goto L_0x0080;\n L_0x0059:\n r4 = -1;\n L_0x005b:\n r0 = r14.b;\n r2 = r14.m;\n r1 = r14;\n r6 = r10;\n r0 = r0.update(r1, r2, r4, r6);\n if (r7 == 0) goto L_0x0087;\n L_0x0067:\n r0 = r14.v;\n r0 = r12 - r0;\n r2 = r14.u;\n r2 = (long) r2;\n r2 = r14.c(r2);\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 < 0) goto L_0x0079;\n L_0x0076:\n r14.e();\n L_0x0079:\n return;\n L_0x007a:\n r0 = 0;\n r7 = r0;\n goto L_0x000e;\n L_0x007d:\n r0 = 0;\n r10 = r0;\n goto L_0x001a;\n L_0x0080:\n if (r0 == 0) goto L_0x0095;\n L_0x0082:\n r4 = r14.d();\n goto L_0x005b;\n L_0x0087:\n r1 = r14.r;\n r1 = r1.a();\n if (r1 != 0) goto L_0x0079;\n L_0x008f:\n if (r0 == 0) goto L_0x0079;\n L_0x0091:\n r14.f();\n goto L_0x0079;\n L_0x0095:\n r4 = r8;\n goto L_0x005b;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.exoplayer.chunk.ChunkSampleSource.c():void\");\n }", "public int g()\r\n/* 601: */ {\r\n/* 602:645 */ return 0;\r\n/* 603: */ }", "public boolean b(IBlockAccess paramard, BlockPosition paramdt)\r\n/* 31: */ {\r\n/* 32:46 */ return true;\r\n/* 33: */ }", "public int describeContents() {\n/* 1781 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "@Override\n public void a() {\n block25 : {\n block24 : {\n block22 : {\n var17_1 = a.a;\n var3_2 = this.c.i();\n var4_3 = var3_2.a().a();\n this.d = new w();\n this.e = new y.f.h.D(this.d);\n this.h = M.a(new Object[this.b.e()]);\n this.i = M.b(new Object[this.b.g()]);\n var5_4 = this.b.o();\n while (var5_4.f()) {\n var6_5 = var5_4.e();\n if (var17_1 == 0) {\n if (var6_5.c() <= this.l) {\n var7_6 = this.d.d();\n this.h.a(var6_5, var7_6);\n }\n var5_4.g();\n if (var17_1 == 0) continue;\n }\n break block22;\n }\n this.j = M.b(new Object[this.b.g()]);\n this.k = M.b(new Object[this.b.g()]);\n this.a(this.j, this.k);\n }\n var2_8 = this.b.o();\n block3 : do {\n v0 = var2_8.f();\n block4 : while (v0 != 0) {\n var5_4 = var2_8.e();\n if (var5_4.c() != 0) {\n var1_9 = var5_4.l();\n var6_5 = var1_9.a();\n var7_6 = (y.c.q)this.j.b(var6_5);\n var1_9.b();\n while (var1_9.f()) {\n var8_10 = var1_9.a();\n var9_11 = (y.c.q)this.j.b(var8_10);\n var10_12 = (y.c.q)this.k.b(var8_10);\n var11_13 = this.a((y.c.q)var7_6, (y.c.q)var9_11);\n v0 = var5_4.c();\n if (var17_1 != 0) continue block4;\n if (v0 > this.l) {\n this.h.a(var5_4, var11_13);\n }\n var7_6 = (y.c.q)this.j.b(var8_10);\n var12_14 /* !! */ = this.d.a((y.c.q)var9_11, (y.c.q)var10_12);\n this.i.a(var8_10, var12_14 /* !! */ );\n if (var8_10 == var6_5) break;\n var1_9.b();\n if (var17_1 == 0) continue;\n }\n }\n var2_8.g();\n if (var17_1 == 0) continue block3;\n }\n break block3;\n break;\n } while (true);\n var1_9 = this.b.p();\n while (var1_9.f()) {\n var5_4 = var1_9.a();\n v1 = this;\n if (var17_1 == 0) {\n block23 : {\n if (v1.c.n((y.c.d)var5_4)) {\n this.e.m((y.c.d)this.i.b(var5_4));\n if (var17_1 == 0) break block23;\n }\n this.e.e((y.c.d)this.i.b(var5_4));\n }\n var6_5 = this.c.h((y.c.d)var5_4);\n this.e.b((y.c.d)this.i.b(var5_4), (y.c.d)this.i.b(var6_5));\n var1_9.g();\n if (var17_1 == 0) continue;\n }\n break block24;\n }\n v1 = this;\n }\n var5_4 = v1.e.m();\n this.d.a(\"y.layout.orthogonal.general.NodeSplitter.NODE_FACES\", (y.c.c)var5_4);\n var6_5 = this.e.m();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", (y.c.c)var6_5);\n this.m = this.e.g().t();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", new c((r)var6_5, this.m));\n try {\n this.e.l();\n var7_6 = (y.c.d)this.i.b(var4_3);\n this.e.b(this.e.i((y.c.d)var7_6));\n var8_10 = this.e.h();\n while (var8_10.f()) {\n var5_4.a(var8_10.a(), false);\n var8_10.g();\n if (var17_1 == 0) {\n if (var17_1 == 0) continue;\n }\n break block25;\n }\n var8_10 = this.b.o();\n while (var8_10.f()) {\n var9_11 = var8_10.e();\n if (var17_1 != 0) break;\n if (var9_11.c() <= this.l) ** GOTO lbl-1000\n var10_12 = (y.c.d)this.h.b(var9_11);\n var11_13 = this.e.i((y.c.d)var10_12);\n this.h.a(var9_11, var11_13);\n var5_4.a((p)var11_13, true);\n var12_14 /* !! */ = (y.c.d)this.b.p((y.c.q)var9_11);\n var14_15 = this.b.q((y.c.q)var9_11);\n var16_16 = new Dimension((int)var12_14 /* !! */ , (int)var14_15);\n var6_5.a((p)var11_13, var16_16);\n if (var17_1 != 0) lbl-1000: // 2 sources:\n {\n var10_12 = this.b.r((y.c.q)var9_11);\n if (var10_12.a > 0.0 || var10_12.b > 0.0) {\n var11_13 = (y.c.q)this.h.b(var9_11);\n this.m.a(var11_13, this.b.r((y.c.q)var9_11));\n }\n }\n var8_10.g();\n if (var17_1 == 0) continue;\n break;\n }\n }\n catch (Exception var7_7) {\n System.err.println(\"Internal Error in Face calculation !\");\n var7_7.printStackTrace(System.err);\n }\n }\n var7_6 = this.e.h();\n block9 : do {\n if (var7_6.f() == false) return;\n var8_10 = (p)var7_6.d();\n if (var5_4.d(var8_10)) {\n var9_11 = var8_10.a();\n while (var9_11.f()) {\n var10_12 = var9_11.a();\n this.e.m(this.e.h((y.c.d)var10_12));\n this.e.e((y.c.d)var10_12);\n var9_11.g();\n if (var17_1 != 0) continue block9;\n if (var17_1 == 0) continue;\n }\n }\n var7_6.g();\n } while (var17_1 == 0);\n }", "private final void m710e() {\n /*\n r12 = this;\n akn r0 = r12.f531p\n akl r0 = r0.f601d\n if (r0 == 0) goto L_0x0155\n boolean r1 = r0.f580d\n r2 = -9223372036854775807(0x8000000000000001, double:-4.9E-324)\n if (r1 == 0) goto L_0x0017\n aws r1 = r0.f577a\n long r4 = r1.mo1486c()\n r8 = r4\n goto L_0x0019\n L_0x0017:\n r8 = r2\n L_0x0019:\n int r1 = (r8 > r2 ? 1 : (r8 == r2 ? 0 : -1))\n if (r1 != 0) goto L_0x0122\n ajf r1 = r12.f528m\n akn r2 = r12.f531p\n akl r2 = r2.f602e\n akx r3 = r1.f445c\n r4 = 0\n if (r3 == 0) goto L_0x008a\n boolean r3 = r3.mo486w()\n if (r3 != 0) goto L_0x008a\n akx r3 = r1.f445c\n boolean r3 = r3.mo485v()\n if (r3 == 0) goto L_0x0037\n goto L_0x0042\n L_0x0037:\n if (r0 != r2) goto L_0x008a\n akx r2 = r1.f445c\n boolean r2 = r2.mo359g()\n if (r2 == 0) goto L_0x0042\n goto L_0x008a\n L_0x0042:\n bkr r2 = r1.f446d\n long r2 = r2.mo379b()\n boolean r5 = r1.f447e\n if (r5 == 0) goto L_0x0068\n blf r5 = r1.f443a\n long r5 = r5.mo379b()\n int r7 = (r2 > r5 ? 1 : (r2 == r5 ? 0 : -1))\n if (r7 >= 0) goto L_0x005c\n blf r2 = r1.f443a\n r2.mo2109d()\n goto L_0x0096\n L_0x005c:\n r1.f447e = r4\n boolean r5 = r1.f448f\n if (r5 == 0) goto L_0x0068\n blf r5 = r1.f443a\n r5.mo2107a()\n L_0x0068:\n blf r5 = r1.f443a\n r5.mo2108a(r2)\n bkr r2 = r1.f446d\n akq r2 = r2.mo376Q()\n blf r3 = r1.f443a\n akq r3 = r3.f4280a\n boolean r3 = r2.equals(r3)\n if (r3 != 0) goto L_0x0096\n blf r3 = r1.f443a\n r3.mo378a(r2)\n aje r3 = r1.f444b\n ake r3 = (p000.ake) r3\n r3.m694a(r2, r4)\n goto L_0x0096\n L_0x008a:\n r2 = 1\n r1.f447e = r2\n boolean r2 = r1.f448f\n if (r2 == 0) goto L_0x0096\n blf r2 = r1.f443a\n r2.mo2107a()\n L_0x0096:\n long r1 = r1.mo379b()\n r12.f513D = r1\n long r0 = r0.mo440b(r1)\n akp r2 = r12.f533r\n long r2 = r2.f623m\n java.util.ArrayList r5 = r12.f530o\n boolean r5 = r5.isEmpty()\n if (r5 != 0) goto L_0x011d\n akp r5 = r12.f533r\n awt r5 = r5.f612b\n boolean r5 = r5.mo1504a()\n if (r5 != 0) goto L_0x011d\n akp r5 = r12.f533r\n long r6 = r5.f613c\n int r8 = (r6 > r2 ? 1 : (r6 == r2 ? 0 : -1))\n if (r8 != 0) goto L_0x00c5\n boolean r6 = r12.f515F\n if (r6 == 0) goto L_0x00c5\n r6 = -1\n long r2 = r2 + r6\n L_0x00c5:\n r12.f515F = r4\n alh r4 = r5.f611a\n awt r5 = r5.f612b\n java.lang.Object r5 = r5.f2566a\n int r4 = r4.mo525a(r5)\n int r5 = r12.f514E\n r6 = 0\n if (r5 <= 0) goto L_0x00e1\n java.util.ArrayList r7 = r12.f530o\n int r5 = r5 + -1\n java.lang.Object r5 = r7.get(r5)\n akb r5 = (p000.akb) r5\n goto L_0x00e3\n L_0x00e1:\n L_0x00e2:\n r5 = r6\n L_0x00e3:\n if (r5 != 0) goto L_0x00e6\n goto L_0x0109\n L_0x00e6:\n int r5 = r5.f502a\n if (r4 >= 0) goto L_0x00eb\n L_0x00ea:\n goto L_0x00f4\n L_0x00eb:\n if (r4 != 0) goto L_0x0109\n r7 = 0\n int r5 = (r2 > r7 ? 1 : (r2 == r7 ? 0 : -1))\n if (r5 >= 0) goto L_0x0109\n goto L_0x00ea\n L_0x00f4:\n int r5 = r12.f514E\n int r5 = r5 + -1\n r12.f514E = r5\n if (r5 <= 0) goto L_0x0108\n java.util.ArrayList r7 = r12.f530o\n int r5 = r5 + -1\n java.lang.Object r5 = r7.get(r5)\n akb r5 = (p000.akb) r5\n goto L_0x00e3\n L_0x0108:\n goto L_0x00e2\n L_0x0109:\n int r2 = r12.f514E\n java.util.ArrayList r3 = r12.f530o\n int r3 = r3.size()\n if (r2 >= r3) goto L_0x011d\n java.util.ArrayList r2 = r12.f530o\n int r3 = r12.f514E\n java.lang.Object r2 = r2.get(r3)\n akb r2 = (p000.akb) r2\n L_0x011d:\n akp r2 = r12.f533r\n r2.f623m = r0\n goto L_0x0140\n L_0x0122:\n r12.m691a(r8)\n akp r0 = r12.f533r\n long r0 = r0.f623m\n int r2 = (r8 > r0 ? 1 : (r8 == r0 ? 0 : -1))\n if (r2 == 0) goto L_0x0140\n akp r0 = r12.f533r\n awt r7 = r0.f612b\n long r10 = r0.f614d\n r6 = r12\n akp r0 = r6.m686a(r7, r8, r10)\n r12.f533r = r0\n akc r0 = r12.f529n\n r1 = 4\n r0.mo409b(r1)\n L_0x0140:\n akn r0 = r12.f531p\n akl r0 = r0.f603f\n akp r1 = r12.f533r\n long r2 = r0.mo442c()\n r1.f621k = r2\n akp r0 = r12.f533r\n long r1 = r12.m719n()\n r0.f622l = r1\n return\n L_0x0155:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p000.ake.m710e():void\");\n }", "protected int handlePrevious(int position) {\n/* 289 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public int zzB() {\n return 0;\n }", "void m5769c() throws C0841b;", "final com.google.bV a(java.util.Map r14) {\n /*\n r13_this = this;\n r6 = f;\n if (r14 == 0) goto L_0x013c;\n L_0x0004:\n r0 = com.google.fm.TRY_HARDER;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x013c;\n L_0x000c:\n r0 = 1;\n r2 = r0;\n L_0x000e:\n if (r14 == 0) goto L_0x0140;\n L_0x0010:\n r0 = com.google.fm.PURE_BARCODE;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x0140;\n L_0x0018:\n r0 = 1;\n L_0x0019:\n r1 = r13.b;\n r7 = r1.f();\n r1 = r13.b;\n r8 = r1.b();\n r1 = r7 * 3;\n r1 = r1 / 228;\n r3 = 3;\n if (r1 < r3) goto L_0x002e;\n L_0x002c:\n if (r2 == 0) goto L_0x002f;\n L_0x002e:\n r1 = 3;\n L_0x002f:\n r2 = 0;\n r3 = 5;\n r9 = new int[r3];\n r4 = r1 + -1;\n r5 = r1;\n L_0x0036:\n if (r4 >= r7) goto L_0x0127;\n L_0x0038:\n if (r2 != 0) goto L_0x0127;\n L_0x003a:\n r1 = 0;\n r3 = 0;\n r9[r1] = r3;\n r1 = 1;\n r3 = 0;\n r9[r1] = r3;\n r1 = 2;\n r3 = 0;\n r9[r1] = r3;\n r1 = 3;\n r3 = 0;\n r9[r1] = r3;\n r1 = 4;\n r3 = 0;\n r9[r1] = r3;\n r1 = 0;\n r3 = 0;\n L_0x0050:\n if (r3 >= r8) goto L_0x010d;\n L_0x0052:\n r10 = r13.b;\n r10 = r10.a(r3, r4);\n if (r10 == 0) goto L_0x0069;\n L_0x005a:\n r10 = r1 & 1;\n r11 = 1;\n if (r10 != r11) goto L_0x0061;\n L_0x005f:\n r1 = r1 + 1;\n L_0x0061:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0069:\n r10 = r1 & 1;\n if (r10 != 0) goto L_0x0103;\n L_0x006d:\n r10 = 4;\n if (r1 != r10) goto L_0x00f9;\n L_0x0070:\n r1 = a(r9);\n if (r1 == 0) goto L_0x015f;\n L_0x0076:\n r1 = r13.a(r9, r4, r3, r0);\n if (r1 == 0) goto L_0x0159;\n L_0x007c:\n r5 = 2;\n r1 = r13.a;\n if (r1 == 0) goto L_0x0156;\n L_0x0081:\n r1 = r13.b();\n if (r6 == 0) goto L_0x00c2;\n L_0x0087:\n r2 = r13.c();\n r10 = 2;\n r10 = r9[r10];\n if (r2 <= r10) goto L_0x0152;\n L_0x0090:\n r3 = 2;\n r3 = r9[r3];\n r2 = r2 - r3;\n r2 = r2 - r5;\n r3 = r4 + r2;\n r2 = r8 + -1;\n L_0x0099:\n if (r6 == 0) goto L_0x014e;\n L_0x009b:\n r4 = r5;\n r12 = r3;\n r3 = r1;\n r1 = r2;\n r2 = r12;\n L_0x00a0:\n r5 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 3;\n r10 = 1;\n r9[r5] = r10;\n r5 = 4;\n r10 = 0;\n r9[r5] = r10;\n r5 = 3;\n if (r6 == 0) goto L_0x0147;\n L_0x00bd:\n r5 = r4;\n r4 = r2;\n r12 = r3;\n r3 = r1;\n r1 = r12;\n L_0x00c2:\n r2 = 0;\n r10 = 0;\n r11 = 0;\n r9[r10] = r11;\n r10 = 1;\n r11 = 0;\n r9[r10] = r11;\n r10 = 2;\n r11 = 0;\n r9[r10] = r11;\n r10 = 3;\n r11 = 0;\n r9[r10] = r11;\n r10 = 4;\n r11 = 0;\n r9[r10] = r11;\n if (r6 == 0) goto L_0x0143;\n L_0x00d9:\n r2 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 3;\n r10 = 1;\n r9[r2] = r10;\n r2 = 4;\n r10 = 0;\n r9[r2] = r10;\n r2 = 3;\n if (r6 == 0) goto L_0x0143;\n L_0x00f6:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n L_0x00f9:\n r1 = r1 + 1;\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0103:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n L_0x0109:\n r3 = r3 + 1;\n if (r6 == 0) goto L_0x0050;\n L_0x010d:\n r1 = a(r9);\n if (r1 == 0) goto L_0x0124;\n L_0x0113:\n r1 = r13.a(r9, r4, r8, r0);\n if (r1 == 0) goto L_0x0124;\n L_0x0119:\n r1 = 0;\n r5 = r9[r1];\n r1 = r13.a;\n if (r1 == 0) goto L_0x0124;\n L_0x0120:\n r2 = r13.b();\n L_0x0124:\n r4 = r4 + r5;\n if (r6 == 0) goto L_0x0036;\n L_0x0127:\n r0 = r13.a();\n com.google.bm.a(r0);\n r1 = new com.google.bV;\n r1.<init>(r0);\n r0 = com.google.gC.a;\n if (r0 == 0) goto L_0x013b;\n L_0x0137:\n r0 = r6 + 1;\n f = r0;\n L_0x013b:\n return r1;\n L_0x013c:\n r0 = 0;\n r2 = r0;\n goto L_0x000e;\n L_0x0140:\n r0 = 0;\n goto L_0x0019;\n L_0x0143:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n goto L_0x0109;\n L_0x0147:\n r12 = r1;\n r1 = r5;\n r5 = r4;\n r4 = r2;\n r2 = r3;\n r3 = r12;\n goto L_0x0109;\n L_0x014e:\n r4 = r3;\n r3 = r2;\n goto L_0x00c2;\n L_0x0152:\n r2 = r3;\n r3 = r4;\n goto L_0x0099;\n L_0x0156:\n r1 = r2;\n goto L_0x0087;\n L_0x0159:\n r1 = r3;\n r3 = r2;\n r2 = r4;\n r4 = r5;\n goto L_0x00a0;\n L_0x015f:\n r1 = r2;\n goto L_0x00d9;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.bj.a(java.util.Map):com.google.bV\");\n }", "@Test(timeout = 4000)\n public void test085() throws Throwable {\n Frame frame0 = new Frame();\n ClassWriter classWriter0 = new ClassWriter(16777267);\n Class<Object> class0 = Object.class;\n Type.getType(class0);\n Type type0 = Type.BYTE_TYPE;\n Type.getObjectType(\"The prefix must not be null\");\n Type type1 = Type.INT_TYPE;\n int[] intArray0 = new int[8];\n intArray0[0] = 6;\n intArray0[1] = 7;\n intArray0[2] = 2;\n intArray0[3] = 1;\n intArray0[4] = 2;\n intArray0[5] = 4;\n intArray0[6] = 9;\n intArray0[7] = 4;\n frame0.inputStack = intArray0;\n Item item0 = new Item();\n item0.hashCode = 1687;\n // Undeclared exception!\n try { \n frame0.execute(111, 164, classWriter0, item0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"wheel.asm.Frame\", e);\n }\n }", "public void b(World paramaqu, BlockPosition paramdt, Block parambec, Random paramRandom)\r\n/* 39: */ {\r\n/* 40: 54 */ if (paramaqu.isClient) {\r\n/* 41: 55 */ return;\r\n/* 42: */ }\r\n/* 43: 58 */ if ((paramaqu.l(paramdt.up()) < 4) && (paramaqu.getBlock(paramdt.up()).getType().getLightOpacity() > 2))\r\n/* 44: */ {\r\n/* 45: 59 */ paramaqu.setBlock(paramdt, BlockList.dirt.instance());\r\n/* 46: 60 */ return;\r\n/* 47: */ }\r\n/* 48: 63 */ if (paramaqu.l(paramdt.up()) >= 9) {\r\n/* 49: 64 */ for (int i = 0; i < 4; i++)\r\n/* 50: */ {\r\n/* 51: 65 */ BlockPosition localdt = paramdt.offset(paramRandom.nextInt(3) - 1, paramRandom.nextInt(5) - 3, paramRandom.nextInt(3) - 1);\r\n/* 52: 66 */ BlockType localatr = paramaqu.getBlock(localdt.up()).getType();\r\n/* 53: 67 */ Block localbec = paramaqu.getBlock(localdt);\r\n/* 54: 68 */ if ((localbec.getType() == BlockList.dirt) && (localbec.getData(BlockDirt.a) == avd.a) && (paramaqu.l(localdt.up()) >= 4) && (localatr.getLightOpacity() <= 2)) {\r\n/* 55: 69 */ paramaqu.setBlock(localdt, BlockList.grass.instance());\r\n/* 56: */ }\r\n/* 57: */ }\r\n/* 58: */ }\r\n/* 59: */ }", "public final void mo8775b() {\n }", "public final void m15744a(com.p111d.p112a.p114b.C5301g r9) {\n /*\n r8 = this;\n r0 = r8.f17783i;\n r1 = r8.f17781g;\n r2 = 0;\n r3 = 1;\n if (r1 == 0) goto L_0x0010;\n L_0x0008:\n r4 = r0.m4038b();\n if (r4 == 0) goto L_0x0010;\n L_0x000e:\n r4 = r3;\n goto L_0x0011;\n L_0x0010:\n r4 = r2;\n L_0x0011:\n r5 = -1;\n L_0x0012:\n r5 = r5 + r3;\n r6 = 16;\n if (r5 < r6) goto L_0x0029;\n L_0x0017:\n r0 = r0.m4032a();\n if (r0 == 0) goto L_0x0148;\n L_0x001d:\n if (r1 == 0) goto L_0x0027;\n L_0x001f:\n r4 = r0.m4038b();\n if (r4 == 0) goto L_0x0027;\n L_0x0025:\n r4 = r3;\n goto L_0x0028;\n L_0x0027:\n r4 = r2;\n L_0x0028:\n r5 = r2;\n L_0x0029:\n r6 = r0.m4031a(r5);\n if (r6 == 0) goto L_0x0148;\n L_0x002f:\n if (r4 == 0) goto L_0x0043;\n L_0x0031:\n r7 = r0.m4039c(r5);\n if (r7 == 0) goto L_0x003a;\n L_0x0037:\n r9.writeObjectId(r7);\n L_0x003a:\n r7 = r0.m4040d(r5);\n if (r7 == 0) goto L_0x0043;\n L_0x0040:\n r9.writeTypeId(r7);\n L_0x0043:\n r7 = com.p111d.p112a.p121c.p138m.C6523u.C15401.f4807a;\n r6 = r6.ordinal();\n r6 = r7[r6];\n switch(r6) {\n case 1: goto L_0x0143;\n case 2: goto L_0x013e;\n case 3: goto L_0x0139;\n case 4: goto L_0x0134;\n case 5: goto L_0x011e;\n case 6: goto L_0x0108;\n case 7: goto L_0x00c5;\n case 8: goto L_0x0074;\n case 9: goto L_0x0070;\n case 10: goto L_0x006c;\n case 11: goto L_0x0068;\n case 12: goto L_0x0056;\n default: goto L_0x004e;\n };\n L_0x004e:\n r9 = new java.lang.RuntimeException;\n r0 = \"Internal error: should never end up through this code path\";\n r9.<init>(r0);\n throw r9;\n L_0x0056:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof com.p111d.p112a.p121c.p138m.C5378q;\n if (r7 == 0) goto L_0x0064;\n L_0x005e:\n r6 = (com.p111d.p112a.p121c.p138m.C5378q) r6;\n r6.m11598a(r9);\n goto L_0x0012;\n L_0x0064:\n r9.writeObject(r6);\n goto L_0x0012;\n L_0x0068:\n r9.writeNull();\n goto L_0x0012;\n L_0x006c:\n r9.writeBoolean(r2);\n goto L_0x0012;\n L_0x0070:\n r9.writeBoolean(r3);\n goto L_0x0012;\n L_0x0074:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof java.lang.Double;\n if (r7 == 0) goto L_0x0086;\n L_0x007c:\n r6 = (java.lang.Double) r6;\n r6 = r6.doubleValue();\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x0086:\n r7 = r6 instanceof java.math.BigDecimal;\n if (r7 == 0) goto L_0x0090;\n L_0x008a:\n r6 = (java.math.BigDecimal) r6;\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x0090:\n r7 = r6 instanceof java.lang.Float;\n if (r7 == 0) goto L_0x009f;\n L_0x0094:\n r6 = (java.lang.Float) r6;\n r6 = r6.floatValue();\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x009f:\n if (r6 != 0) goto L_0x00a2;\n L_0x00a1:\n goto L_0x0068;\n L_0x00a2:\n r7 = r6 instanceof java.lang.String;\n if (r7 == 0) goto L_0x00ad;\n L_0x00a6:\n r6 = (java.lang.String) r6;\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x00ad:\n r0 = new com.d.a.b.f;\n r1 = \"Unrecognized value type for VALUE_NUMBER_FLOAT: %s, can not serialize\";\n r3 = new java.lang.Object[r3];\n r4 = r6.getClass();\n r4 = r4.getName();\n r3[r2] = r4;\n r1 = java.lang.String.format(r1, r3);\n r0.<init>(r1, r9);\n throw r0;\n L_0x00c5:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof java.lang.Integer;\n if (r7 == 0) goto L_0x00d8;\n L_0x00cd:\n r6 = (java.lang.Integer) r6;\n r6 = r6.intValue();\n L_0x00d3:\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x00d8:\n r7 = r6 instanceof java.math.BigInteger;\n if (r7 == 0) goto L_0x00e3;\n L_0x00dc:\n r6 = (java.math.BigInteger) r6;\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x00e3:\n r7 = r6 instanceof java.lang.Long;\n if (r7 == 0) goto L_0x00f2;\n L_0x00e7:\n r6 = (java.lang.Long) r6;\n r6 = r6.longValue();\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x00f2:\n r7 = r6 instanceof java.lang.Short;\n if (r7 == 0) goto L_0x0101;\n L_0x00f6:\n r6 = (java.lang.Short) r6;\n r6 = r6.shortValue();\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x0101:\n r6 = (java.lang.Number) r6;\n r6 = r6.intValue();\n goto L_0x00d3;\n L_0x0108:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof com.p111d.p112a.p114b.C1382p;\n if (r7 == 0) goto L_0x0117;\n L_0x0110:\n r6 = (com.p111d.p112a.p114b.C1382p) r6;\n r9.writeString(r6);\n goto L_0x0012;\n L_0x0117:\n r6 = (java.lang.String) r6;\n r9.writeString(r6);\n goto L_0x0012;\n L_0x011e:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof com.p111d.p112a.p114b.C1382p;\n if (r7 == 0) goto L_0x012d;\n L_0x0126:\n r6 = (com.p111d.p112a.p114b.C1382p) r6;\n r9.writeFieldName(r6);\n goto L_0x0012;\n L_0x012d:\n r6 = (java.lang.String) r6;\n r9.writeFieldName(r6);\n goto L_0x0012;\n L_0x0134:\n r9.writeEndArray();\n goto L_0x0012;\n L_0x0139:\n r9.writeStartArray();\n goto L_0x0012;\n L_0x013e:\n r9.writeEndObject();\n goto L_0x0012;\n L_0x0143:\n r9.writeStartObject();\n goto L_0x0012;\n L_0x0148:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.d.a.c.m.u.a(com.d.a.b.g):void\");\n }", "public final void b() {\n /*\n r9 = this;\n r0 = 0\n java.lang.Object[] r1 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r3 = f53268a\n java.lang.Class[] r6 = new java.lang.Class[r0]\n java.lang.Class r7 = java.lang.Void.TYPE\n r4 = 0\n r5 = 55519(0xd8df, float:7.7799E-41)\n r2 = r9\n boolean r1 = com.meituan.robust.PatchProxy.isSupport(r1, r2, r3, r4, r5, r6, r7)\n if (r1 == 0) goto L_0x0025\n java.lang.Object[] r2 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r4 = f53268a\n r5 = 0\n r6 = 55519(0xd8df, float:7.7799E-41)\n java.lang.Class[] r7 = new java.lang.Class[r0]\n java.lang.Class r8 = java.lang.Void.TYPE\n r3 = r9\n com.meituan.robust.PatchProxy.accessDispatch(r2, r3, r4, r5, r6, r7, r8)\n return\n L_0x0025:\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r0 = com.ss.android.ugc.aweme.live.alphaplayer.e.g\n monitor-enter(r0)\n r1 = 1\n r9.h = r1 // Catch:{ all -> 0x0044 }\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r1 = com.ss.android.ugc.aweme.live.alphaplayer.e.g // Catch:{ all -> 0x0044 }\n r1.notifyAll() // Catch:{ all -> 0x0044 }\n L_0x0030:\n boolean r1 = r9.f53269b // Catch:{ all -> 0x0044 }\n if (r1 != 0) goto L_0x0042\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r1 = com.ss.android.ugc.aweme.live.alphaplayer.e.g // Catch:{ InterruptedException -> 0x003a }\n r1.wait() // Catch:{ InterruptedException -> 0x003a }\n goto L_0x0030\n L_0x003a:\n java.lang.Thread r1 = java.lang.Thread.currentThread() // Catch:{ all -> 0x0044 }\n r1.interrupt() // Catch:{ all -> 0x0044 }\n goto L_0x0030\n L_0x0042:\n monitor-exit(r0) // Catch:{ all -> 0x0044 }\n return\n L_0x0044:\n r1 = move-exception\n monitor-exit(r0) // Catch:{ all -> 0x0044 }\n throw r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.ss.android.ugc.aweme.live.alphaplayer.e.i.b():void\");\n }", "public synchronized void mo28699e() {\n if (mo27566d()) {\n throw new PooledByteBuffer.C3959a();\n }\n }", "public int g()\r\n/* 173: */ {\r\n/* 174:198 */ return 0;\r\n/* 175: */ }", "static Object a(bu var0, y.c.d var1_1) {\n block4 : {\n var8_2 = fj.z;\n var2_3 = 0;\n var3_4 = false;\n var4_5 = var0.l(var1_1).j();\n while (var4_5.f()) {\n var5_6 = var4_5.a();\n var6_7 = var5_6.c();\n var7_8 = var5_6.d();\n v0 = Math.abs(var6_7.a() - var7_8.a()) DCMPG 1.0E-12;\n if (var8_2) break block4;\n if (v0 >= 0) ** GOTO lbl-1000\n var3_4 = true;\n if (var8_2) lbl-1000: // 2 sources:\n {\n if (Math.abs(var6_7.b() - var7_8.b()) >= 1.0E-12) return hV.a;\n var2_3 = 1;\n if (var8_2) {\n return hV.a;\n }\n }\n var4_5.g();\n if (!var8_2) continue;\n }\n v0 = var2_3;\n }\n if (v0 != 0 && var3_4) {\n v1 = hV.b;\n return v1;\n }\n v1 = hV.c;\n return v1;\n }", "static com.qiyukf.nimlib.p470f.p471a.C5826a m23369a(android.os.Parcel r4) {\n /*\n com.qiyukf.nimlib.f.a.a r0 = new com.qiyukf.nimlib.f.a.a\n r1 = 0\n r0.m50001init(r1)\n int r2 = r4.readInt()\n r0.f18499a = r2\n int r2 = r4.readInt()\n if (r2 <= 0) goto L_0x001d\n byte[] r2 = r4.createByteArray()\n java.nio.ByteBuffer r2 = java.nio.ByteBuffer.wrap(r2)\n r0.f18501c = r2\n L_0x001d:\n int r2 = r4.readInt()\n r0.f18500b = r2\n int r2 = r4.readInt()\n if (r2 <= 0) goto L_0x0061\n byte[] r4 = r4.createByteArray()\n int r3 = r0.f18500b\n if (r3 <= 0) goto L_0x005c\n int r1 = r0.f18500b\n if (r1 != r2) goto L_0x0049\n java.nio.ByteBuffer r4 = java.nio.ByteBuffer.wrap(r4)\n r0.f18502d = r4\n java.nio.ByteBuffer r4 = r0.f18502d\n r4.position(r2)\n goto L_0x0068\n L_0x0049:\n int r1 = r0.f18500b\n java.nio.ByteBuffer r1 = java.nio.ByteBuffer.allocate(r1)\n r0.f18502d = r1\n java.nio.ByteBuffer r1 = r0.f18502d\n r1.put(r4)\n goto L_0x0068\n L_0x005c:\n java.nio.ByteBuffer r4 = java.nio.ByteBuffer.wrap(r4, r1, r2)\n goto L_0x0065\n L_0x0061:\n java.nio.ByteBuffer r4 = java.nio.ByteBuffer.allocate(r1)\n L_0x0065:\n r0.f18502d = r4\n L_0x0068:\n boolean r4 = m23372b(r0)\n if (r4 == 0) goto L_0x006f\n return r0\n L_0x006f:\n int r4 = r0.f18500b\n if (r4 <= 0) goto L_0x007d\n android.util.SparseArray<com.qiyukf.nimlib.f.a.a> r4 = f18504a\n int r1 = r0.f18499a\n r4.put(r1, r0)\n goto L_0x00a2\n L_0x007d:\n android.util.SparseArray<com.qiyukf.nimlib.f.a.a> r4 = f18504a\n int r1 = r0.f18499a\n java.lang.Object r4 = r4.get(r1)\n com.qiyukf.nimlib.f.a.a r4 = (com.qiyukf.nimlib.p470f.p471a.C5826a) r4\n if (r4 == 0) goto L_0x00a2\n java.nio.ByteBuffer r1 = r4.f18502d\n java.nio.ByteBuffer r0 = r0.f18502d\n r1.put(r0)\n boolean r0 = m23372b(r4)\n if (r0 == 0) goto L_0x00a2\n android.util.SparseArray<com.qiyukf.nimlib.f.a.a> r0 = f18504a\n int r1 = r4.f18499a\n r0.remove(r1)\n return r4\n L_0x00a2:\n r4 = 0\n return r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.qiyukf.nimlib.p470f.p471a.C5826a.C5829b.m23369a(android.os.Parcel):com.qiyukf.nimlib.f.a.a\");\n }", "public void breakBlock(World world, int x, int y, int z, Block par5, int par6)\r\n/* 186: */ {\r\n/* 187:209 */ if ((world.getBlock(x, y, z) != FMPBase.getFMPBlockId()) && \r\n/* 188:210 */ ((world.getTileEntity(x, y, z) instanceof TileEntityTransferNode)))\r\n/* 189: */ {\r\n/* 190:211 */ TileEntityTransferNode tile = (TileEntityTransferNode)world.getTileEntity(x, y, z);\r\n/* 191:213 */ if (!tile.getUpgrades().isEmpty()) {\r\n/* 192:214 */ for (int i = 0; i < tile.getUpgrades().size(); i++)\r\n/* 193: */ {\r\n/* 194:215 */ ItemStack itemstack = (ItemStack)tile.getUpgrades().get(i);\r\n/* 195:216 */ float f = this.random.nextFloat() * 0.8F + 0.1F;\r\n/* 196:217 */ float f1 = this.random.nextFloat() * 0.8F + 0.1F;\r\n/* 197: */ EntityItem entityitem;\r\n/* 198:220 */ for (float f2 = this.random.nextFloat() * 0.8F + 0.1F; itemstack.stackSize > 0; world.spawnEntityInWorld(entityitem))\r\n/* 199: */ {\r\n/* 200:221 */ int k1 = this.random.nextInt(21) + 10;\r\n/* 201:223 */ if (k1 > itemstack.stackSize) {\r\n/* 202:224 */ k1 = itemstack.stackSize;\r\n/* 203: */ }\r\n/* 204:227 */ itemstack.stackSize -= k1;\r\n/* 205:228 */ entityitem = new EntityItem(world, x + f, y + f1, z + f2, new ItemStack(itemstack.getItem(), k1, itemstack.getItemDamage()));\r\n/* 206:229 */ float f3 = 0.05F;\r\n/* 207:230 */ entityitem.motionX = ((float)this.random.nextGaussian() * f3);\r\n/* 208:231 */ entityitem.motionY = ((float)this.random.nextGaussian() * f3 + 0.2F);\r\n/* 209:232 */ entityitem.motionZ = ((float)this.random.nextGaussian() * f3);\r\n/* 210:234 */ if (itemstack.hasTagCompound()) {\r\n/* 211:235 */ entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy());\r\n/* 212: */ }\r\n/* 213: */ }\r\n/* 214: */ }\r\n/* 215: */ }\r\n/* 216:241 */ if ((tile instanceof TileEntityTransferNodeInventory))\r\n/* 217: */ {\r\n/* 218:242 */ TileEntityTransferNodeInventory tileentity = (TileEntityTransferNodeInventory)tile;\r\n/* 219: */ \r\n/* 220:244 */ ItemStack itemstack = tileentity.getStackInSlot(0);\r\n/* 221:246 */ if (itemstack != null)\r\n/* 222: */ {\r\n/* 223:247 */ float f = this.random.nextFloat() * 0.8F + 0.1F;\r\n/* 224:248 */ float f1 = this.random.nextFloat() * 0.8F + 0.1F;\r\n/* 225: */ EntityItem entityitem;\r\n/* 226:251 */ for (float f2 = this.random.nextFloat() * 0.8F + 0.1F; itemstack.stackSize > 0; world.spawnEntityInWorld(entityitem))\r\n/* 227: */ {\r\n/* 228:252 */ int k1 = this.random.nextInt(21) + 10;\r\n/* 229:254 */ if (k1 > itemstack.stackSize) {\r\n/* 230:255 */ k1 = itemstack.stackSize;\r\n/* 231: */ }\r\n/* 232:258 */ itemstack.stackSize -= k1;\r\n/* 233:259 */ entityitem = new EntityItem(world, x + f, y + f1, z + f2, new ItemStack(itemstack.getItem(), k1, itemstack.getItemDamage()));\r\n/* 234:260 */ float f3 = 0.05F;\r\n/* 235:261 */ entityitem.motionX = ((float)this.random.nextGaussian() * f3);\r\n/* 236:262 */ entityitem.motionY = ((float)this.random.nextGaussian() * f3 + 0.2F);\r\n/* 237:263 */ entityitem.motionZ = ((float)this.random.nextGaussian() * f3);\r\n/* 238:265 */ if (itemstack.hasTagCompound()) {\r\n/* 239:266 */ entityitem.getEntityItem().setTagCompound((NBTTagCompound)itemstack.getTagCompound().copy());\r\n/* 240: */ }\r\n/* 241: */ }\r\n/* 242: */ }\r\n/* 243:271 */ world.func_147453_f(x, y, z, par5);\r\n/* 244: */ }\r\n/* 245: */ }\r\n/* 246:276 */ super.breakBlock(world, x, y, z, par5, par6);\r\n/* 247: */ }", "public boolean renderAsNormalBlock()\r\n/* 166: */ {\r\n/* 167:184 */ return false;\r\n/* 168: */ }", "protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }", "public int getBlockLength()\r\n/* 45: */ {\r\n/* 46:107 */ return -32;\r\n/* 47: */ }", "public void mo9137b() {\n }", "public int getDrawingOrder() {\n/* 1068 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public /* bridge */ /* synthetic */ void mo55095b() {\n super.mo55095b();\n }", "private boolean m2248a(java.lang.String r3, com.onesignal.La.C0596a r4) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/318857719.run(Unknown Source)\n*/\n /*\n r2 = this;\n r0 = 0;\n r1 = 1;\n java.lang.Float.parseFloat(r3);\t Catch:{ Throwable -> 0x0007 }\n r3 = 1;\n goto L_0x0008;\n L_0x0007:\n r3 = 0;\n L_0x0008:\n if (r3 != 0) goto L_0x0017;\n L_0x000a:\n r3 = com.onesignal.sa.C0650i.ERROR;\n r1 = \"Missing Google Project number!\\nPlease enter a Google Project number / Sender ID on under App Settings > Android > Configuration on the OneSignal dashboard.\";\n com.onesignal.sa.m1656a(r3, r1);\n r3 = 0;\n r1 = -6;\n r4.mo1392a(r3, r1);\n return r0;\n L_0x0017:\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.onesignal.Pa.a(java.lang.String, com.onesignal.La$a):boolean\");\n }", "public int getEventCode() {\n/* 41 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "private p000a.p001a.p002a.p003a.C0916s m1655b(p000a.p001a.p002a.p003a.p022i.p024b.C0112x r7, p000a.p001a.p002a.p003a.p034n.C0157e r8) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/293907205.run(Unknown Source)\n*/\n /*\n r6 = this;\n r0 = r7.m321a();\n r7 = r7.m322b();\n r1 = 0;\n r2 = r1;\n L_0x000a:\n r3 = r6.f1533u;\n r3 = r3 + 1;\n r6.f1533u = r3;\n r0.m2803e();\n r3 = r0.mo2010a();\n if (r3 != 0) goto L_0x0032;\n L_0x0019:\n r7 = r6.f1513a;\n r8 = \"Cannot retry non-repeatable request\";\n r7.m260a(r8);\n if (r2 == 0) goto L_0x002a;\n L_0x0022:\n r7 = new a.a.a.a.b.m;\n r8 = \"Cannot retry request with a non-repeatable request entity. The cause lists the reason the original request failed.\";\n r7.<init>(r8, r2);\n throw r7;\n L_0x002a:\n r7 = new a.a.a.a.b.m;\n r8 = \"Cannot retry request with a non-repeatable request entity.\";\n r7.<init>(r8);\n throw r7;\n L_0x0032:\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.mo1932c();\t Catch:{ IOException -> 0x0086 }\n if (r2 != 0) goto L_0x0057;\t Catch:{ IOException -> 0x0086 }\n L_0x003a:\n r2 = r7.mo15e();\t Catch:{ IOException -> 0x0086 }\n if (r2 != 0) goto L_0x004f;\t Catch:{ IOException -> 0x0086 }\n L_0x0040:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = \"Reopening the direct connection.\";\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r3 = r6.f1528p;\t Catch:{ IOException -> 0x0086 }\n r2.mo2023a(r7, r8, r3);\t Catch:{ IOException -> 0x0086 }\n goto L_0x0057;\t Catch:{ IOException -> 0x0086 }\n L_0x004f:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = \"Proxied connection. Need to start over.\";\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n goto L_0x0085;\t Catch:{ IOException -> 0x0086 }\n L_0x0057:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.m262a();\t Catch:{ IOException -> 0x0086 }\n if (r2 == 0) goto L_0x007c;\t Catch:{ IOException -> 0x0086 }\n L_0x005f:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = new java.lang.StringBuilder;\t Catch:{ IOException -> 0x0086 }\n r3.<init>();\t Catch:{ IOException -> 0x0086 }\n r4 = \"Attempt \";\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r4 = r6.f1533u;\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r4 = \" to execute request\";\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r3 = r3.toString();\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n L_0x007c:\n r2 = r6.f1518f;\t Catch:{ IOException -> 0x0086 }\n r3 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.m464a(r0, r3, r8);\t Catch:{ IOException -> 0x0086 }\n r1 = r2;\n L_0x0085:\n return r1;\n L_0x0086:\n r2 = move-exception;\n r3 = r6.f1513a;\n r4 = \"Closing the connection.\";\n r3.m260a(r4);\n r3 = r6.f1529q;\t Catch:{ IOException -> 0x0093 }\n r3.close();\t Catch:{ IOException -> 0x0093 }\n L_0x0093:\n r3 = r6.f1520h;\n r4 = r0.m2802d();\n r3 = r3.retryRequest(r2, r4, r8);\n if (r3 == 0) goto L_0x010a;\n L_0x009f:\n r3 = r6.f1513a;\n r3 = r3.m270d();\n if (r3 == 0) goto L_0x00d9;\n L_0x00a7:\n r3 = r6.f1513a;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r5 = \"I/O exception (\";\n r4.append(r5);\n r5 = r2.getClass();\n r5 = r5.getName();\n r4.append(r5);\n r5 = \") caught when processing request to \";\n r4.append(r5);\n r4.append(r7);\n r5 = \": \";\n r4.append(r5);\n r5 = r2.getMessage();\n r4.append(r5);\n r4 = r4.toString();\n r3.m269d(r4);\n L_0x00d9:\n r3 = r6.f1513a;\n r3 = r3.m262a();\n if (r3 == 0) goto L_0x00ea;\n L_0x00e1:\n r3 = r6.f1513a;\n r4 = r2.getMessage();\n r3.m261a(r4, r2);\n L_0x00ea:\n r3 = r6.f1513a;\n r3 = r3.m270d();\n if (r3 == 0) goto L_0x000a;\n L_0x00f2:\n r3 = r6.f1513a;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r5 = \"Retrying request to \";\n r4.append(r5);\n r4.append(r7);\n r4 = r4.toString();\n r3.m269d(r4);\n goto L_0x000a;\n L_0x010a:\n r8 = r2 instanceof p000a.p001a.p002a.p003a.C0176z;\n if (r8 == 0) goto L_0x0134;\n L_0x010e:\n r8 = new a.a.a.a.z;\n r0 = new java.lang.StringBuilder;\n r0.<init>();\n r7 = r7.mo10a();\n r7 = r7.m474e();\n r0.append(r7);\n r7 = \" failed to respond\";\n r0.append(r7);\n r7 = r0.toString();\n r8.<init>(r7);\n r7 = r2.getStackTrace();\n r8.setStackTrace(r7);\n throw r8;\n L_0x0134:\n throw r2;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: a.a.a.a.i.b.p.b(a.a.a.a.i.b.x, a.a.a.a.n.e):a.a.a.a.s\");\n }", "private final com.google.wireless.android.finsky.dfe.p513g.p514a.C7467r m35669b(com.google.protobuf.nano.C7213a r8) {\n /*\n r7 = this;\n r1 = 0;\n L_0x0001:\n r0 = r8.m33550a();\n switch(r0) {\n case 0: goto L_0x000e;\n case 10: goto L_0x000f;\n case 18: goto L_0x001c;\n case 26: goto L_0x0029;\n case 34: goto L_0x003c;\n case 42: goto L_0x0050;\n case 50: goto L_0x0064;\n case 82: goto L_0x0078;\n case 98: goto L_0x008e;\n case 138: goto L_0x00a4;\n case 146: goto L_0x00b9;\n case 152: goto L_0x00c7;\n case 162: goto L_0x0106;\n case 170: goto L_0x011c;\n case 178: goto L_0x012e;\n case 184: goto L_0x0143;\n case 192: goto L_0x0151;\n case 218: goto L_0x015f;\n case 226: goto L_0x0171;\n case 234: goto L_0x0187;\n case 258: goto L_0x019d;\n case 266: goto L_0x01b3;\n case 274: goto L_0x01c8;\n case 290: goto L_0x01de;\n case 298: goto L_0x021e;\n case 306: goto L_0x022c;\n default: goto L_0x0008;\n };\n L_0x0008:\n r0 = super.a(r8, r0);\n if (r0 != 0) goto L_0x0001;\n L_0x000e:\n return r7;\n L_0x000f:\n r0 = r8.m33564f();\n r7.f37912d = r0;\n r0 = r7.f37911c;\n r0 = r0 | 1;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x001c:\n r0 = r8.m33564f();\n r7.f37914f = r0;\n r0 = r7.f37911c;\n r0 = r0 | 4;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x0029:\n r0 = r7.f37916h;\n if (r0 != 0) goto L_0x0034;\n L_0x002d:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.c;\n r0.<init>();\n r7.f37916h = r0;\n L_0x0034:\n r0 = r7.f37916h;\n r8.m33552a(r0);\n r7.f37910a = r1;\n goto L_0x0001;\n L_0x003c:\n r0 = r7.f37917i;\n if (r0 != 0) goto L_0x0047;\n L_0x0040:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.z;\n r0.<init>();\n r7.f37917i = r0;\n L_0x0047:\n r0 = r7.f37917i;\n r8.m33552a(r0);\n r0 = 1;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0050:\n r0 = r7.f37919k;\n if (r0 != 0) goto L_0x005b;\n L_0x0054:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.f;\n r0.<init>();\n r7.f37919k = r0;\n L_0x005b:\n r0 = r7.f37919k;\n r8.m33552a(r0);\n r0 = 3;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0064:\n r0 = r7.f37922n;\n if (r0 != 0) goto L_0x006f;\n L_0x0068:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.o;\n r0.<init>();\n r7.f37922n = r0;\n L_0x006f:\n r0 = r7.f37922n;\n r8.m33552a(r0);\n r0 = 6;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0078:\n r0 = r7.f37924p;\n if (r0 != 0) goto L_0x0083;\n L_0x007c:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.d;\n r0.<init>();\n r7.f37924p = r0;\n L_0x0083:\n r0 = r7.f37924p;\n r8.m33552a(r0);\n r0 = 8;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x008e:\n r0 = r7.f37926r;\n if (r0 != 0) goto L_0x0099;\n L_0x0092:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.n;\n r0.<init>();\n r7.f37926r = r0;\n L_0x0099:\n r0 = r7.f37926r;\n r8.m33552a(r0);\n r0 = 10;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x00a4:\n r0 = r7.f37923o;\n if (r0 != 0) goto L_0x00af;\n L_0x00a8:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.q;\n r0.<init>();\n r7.f37923o = r0;\n L_0x00af:\n r0 = r7.f37923o;\n r8.m33552a(r0);\n r0 = 7;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x00b9:\n r0 = r8.m33565g();\n r7.f37931w = r0;\n r0 = r7.f37911c;\n r0 = r0 | 16;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x00c7:\n r2 = r7.f37911c;\n r2 = r2 | 2;\n r7.f37911c = r2;\n r2 = r8.m33573o();\n r3 = r8.m33567i();\t Catch:{ IllegalArgumentException -> 0x00f3 }\n switch(r3) {\n case 0: goto L_0x00fc;\n case 101: goto L_0x00fc;\n case 102: goto L_0x00fc;\n case 103: goto L_0x00fc;\n case 105: goto L_0x00fc;\n case 106: goto L_0x00fc;\n case 107: goto L_0x00fc;\n case 108: goto L_0x00fc;\n case 109: goto L_0x00fc;\n case 111: goto L_0x00fc;\n case 112: goto L_0x00fc;\n case 113: goto L_0x00fc;\n case 114: goto L_0x00fc;\n case 115: goto L_0x00fc;\n case 116: goto L_0x00fc;\n case 117: goto L_0x00fc;\n case 118: goto L_0x00fc;\n case 119: goto L_0x00fc;\n case 120: goto L_0x00fc;\n case 201: goto L_0x00fc;\n case 202: goto L_0x00fc;\n case 203: goto L_0x00fc;\n case 204: goto L_0x00fc;\n case 205: goto L_0x00fc;\n case 206: goto L_0x00fc;\n case 207: goto L_0x00fc;\n case 209: goto L_0x00fc;\n case 210: goto L_0x00fc;\n case 211: goto L_0x00fc;\n case 212: goto L_0x00fc;\n case 213: goto L_0x00fc;\n case 214: goto L_0x00fc;\n case 215: goto L_0x00fc;\n case 217: goto L_0x00fc;\n case 218: goto L_0x00fc;\n case 219: goto L_0x00fc;\n case 220: goto L_0x00fc;\n case 221: goto L_0x00fc;\n case 222: goto L_0x00fc;\n case 223: goto L_0x00fc;\n case 224: goto L_0x00fc;\n case 301: goto L_0x00fc;\n case 302: goto L_0x00fc;\n case 304: goto L_0x00fc;\n case 305: goto L_0x00fc;\n case 307: goto L_0x00fc;\n case 309: goto L_0x00fc;\n case 310: goto L_0x00fc;\n case 311: goto L_0x00fc;\n case 312: goto L_0x00fc;\n case 313: goto L_0x00fc;\n case 314: goto L_0x00fc;\n case 316: goto L_0x00fc;\n case 317: goto L_0x00fc;\n case 318: goto L_0x00fc;\n case 319: goto L_0x00fc;\n case 320: goto L_0x00fc;\n case 321: goto L_0x00fc;\n case 322: goto L_0x00fc;\n case 323: goto L_0x00fc;\n case 324: goto L_0x00fc;\n case 325: goto L_0x00fc;\n case 326: goto L_0x00fc;\n case 327: goto L_0x00fc;\n case 328: goto L_0x00fc;\n case 401: goto L_0x00fc;\n case 402: goto L_0x00fc;\n case 403: goto L_0x00fc;\n case 404: goto L_0x00fc;\n case 405: goto L_0x00fc;\n case 406: goto L_0x00fc;\n case 407: goto L_0x00fc;\n case 408: goto L_0x00fc;\n case 409: goto L_0x00fc;\n case 410: goto L_0x00fc;\n case 411: goto L_0x00fc;\n case 412: goto L_0x00fc;\n case 501: goto L_0x00fc;\n case 502: goto L_0x00fc;\n case 503: goto L_0x00fc;\n case 504: goto L_0x00fc;\n case 505: goto L_0x00fc;\n case 506: goto L_0x00fc;\n case 507: goto L_0x00fc;\n case 508: goto L_0x00fc;\n case 509: goto L_0x00fc;\n case 510: goto L_0x00fc;\n case 511: goto L_0x00fc;\n case 512: goto L_0x00fc;\n case 513: goto L_0x00fc;\n case 514: goto L_0x00fc;\n case 515: goto L_0x00fc;\n case 601: goto L_0x00fc;\n case 701: goto L_0x00fc;\n case 702: goto L_0x00fc;\n case 703: goto L_0x00fc;\n case 704: goto L_0x00fc;\n case 705: goto L_0x00fc;\n case 706: goto L_0x00fc;\n case 707: goto L_0x00fc;\n case 708: goto L_0x00fc;\n case 709: goto L_0x00fc;\n case 710: goto L_0x00fc;\n case 711: goto L_0x00fc;\n case 801: goto L_0x00fc;\n case 802: goto L_0x00fc;\n case 803: goto L_0x00fc;\n case 804: goto L_0x00fc;\n case 805: goto L_0x00fc;\n case 806: goto L_0x00fc;\n case 807: goto L_0x00fc;\n case 808: goto L_0x00fc;\n case 809: goto L_0x00fc;\n case 810: goto L_0x00fc;\n case 811: goto L_0x00fc;\n case 812: goto L_0x00fc;\n case 901: goto L_0x00fc;\n case 902: goto L_0x00fc;\n case 903: goto L_0x00fc;\n case 904: goto L_0x00fc;\n case 905: goto L_0x00fc;\n case 906: goto L_0x00fc;\n case 907: goto L_0x00fc;\n case 908: goto L_0x00fc;\n case 909: goto L_0x00fc;\n case 910: goto L_0x00fc;\n case 911: goto L_0x00fc;\n case 912: goto L_0x00fc;\n case 913: goto L_0x00fc;\n case 914: goto L_0x00fc;\n case 915: goto L_0x00fc;\n case 916: goto L_0x00fc;\n case 1001: goto L_0x00fc;\n case 1002: goto L_0x00fc;\n default: goto L_0x00d8;\n };\t Catch:{ IllegalArgumentException -> 0x00f3 }\n L_0x00d8:\n r4 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r5 = 44;\n r6 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r6.<init>(r5);\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r3 = r6.append(r3);\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r5 = \" is not a valid enum RelationType\";\n r3 = r3.append(r5);\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r3 = r3.toString();\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r4.<init>(r3);\t Catch:{ IllegalArgumentException -> 0x00f3 }\n throw r4;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n L_0x00f3:\n r3 = move-exception;\n r8.m33562e(r2);\n r7.a(r8, r0);\n goto L_0x0001;\n L_0x00fc:\n r7.f37913e = r3;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r3 = r7.f37911c;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r3 = r3 | 2;\n r7.f37911c = r3;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n goto L_0x0001;\n L_0x0106:\n r0 = r7.f37927s;\n if (r0 != 0) goto L_0x0111;\n L_0x010a:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.m;\n r0.<init>();\n r7.f37927s = r0;\n L_0x0111:\n r0 = r7.f37927s;\n r8.m33552a(r0);\n r0 = 11;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x011c:\n r0 = r7.f37932x;\n if (r0 != 0) goto L_0x0127;\n L_0x0120:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.ag;\n r0.<init>();\n r7.f37932x = r0;\n L_0x0127:\n r0 = r7.f37932x;\n r8.m33552a(r0);\n goto L_0x0001;\n L_0x012e:\n r0 = r7.f37920l;\n if (r0 != 0) goto L_0x0139;\n L_0x0132:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.t;\n r0.<init>();\n r7.f37920l = r0;\n L_0x0139:\n r0 = r7.f37920l;\n r8.m33552a(r0);\n r0 = 4;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0143:\n r0 = r8.m33560d();\n r7.f37933y = r0;\n r0 = r7.f37911c;\n r0 = r0 | 32;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x0151:\n r0 = r8.m33560d();\n r7.f37934z = r0;\n r0 = r7.f37911c;\n r0 = r0 | 64;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x015f:\n r0 = r7.f37908A;\n if (r0 != 0) goto L_0x016a;\n L_0x0163:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.k;\n r0.<init>();\n r7.f37908A = r0;\n L_0x016a:\n r0 = r7.f37908A;\n r8.m33552a(r0);\n goto L_0x0001;\n L_0x0171:\n r0 = r7.f37929u;\n if (r0 != 0) goto L_0x017c;\n L_0x0175:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.y;\n r0.<init>();\n r7.f37929u = r0;\n L_0x017c:\n r0 = r7.f37929u;\n r8.m33552a(r0);\n r0 = 13;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0187:\n r0 = r7.f37928t;\n if (r0 != 0) goto L_0x0192;\n L_0x018b:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.b;\n r0.<init>();\n r7.f37928t = r0;\n L_0x0192:\n r0 = r7.f37928t;\n r8.m33552a(r0);\n r0 = 12;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x019d:\n r0 = r7.f37925q;\n if (r0 != 0) goto L_0x01a8;\n L_0x01a1:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.e;\n r0.<init>();\n r7.f37925q = r0;\n L_0x01a8:\n r0 = r7.f37925q;\n r8.m33552a(r0);\n r0 = 9;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x01b3:\n r0 = r7.f37921m;\n if (r0 != 0) goto L_0x01be;\n L_0x01b7:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.h;\n r0.<init>();\n r7.f37921m = r0;\n L_0x01be:\n r0 = r7.f37921m;\n r8.m33552a(r0);\n r0 = 5;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x01c8:\n r0 = r7.f37930v;\n if (r0 != 0) goto L_0x01d3;\n L_0x01cc:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.x;\n r0.<init>();\n r7.f37930v = r0;\n L_0x01d3:\n r0 = r7.f37930v;\n r8.m33552a(r0);\n r0 = 14;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x01de:\n r0 = 290; // 0x122 float:4.06E-43 double:1.433E-321;\n r2 = com.google.protobuf.nano.C7222l.m33624a(r8, r0);\n r0 = r7.f37909B;\n if (r0 != 0) goto L_0x020a;\n L_0x01e8:\n r0 = r1;\n L_0x01e9:\n r2 = r2 + r0;\n r2 = new com.google.wireless.android.finsky.dfe.p513g.p514a.C7468s[r2];\n if (r0 == 0) goto L_0x01f3;\n L_0x01ee:\n r3 = r7.f37909B;\n java.lang.System.arraycopy(r3, r1, r2, r1, r0);\n L_0x01f3:\n r3 = r2.length;\n r3 = r3 + -1;\n if (r0 >= r3) goto L_0x020e;\n L_0x01f8:\n r3 = new com.google.wireless.android.finsky.dfe.g.a.s;\n r3.<init>();\n r2[r0] = r3;\n r3 = r2[r0];\n r8.m33552a(r3);\n r8.m33550a();\n r0 = r0 + 1;\n goto L_0x01f3;\n L_0x020a:\n r0 = r7.f37909B;\n r0 = r0.length;\n goto L_0x01e9;\n L_0x020e:\n r3 = new com.google.wireless.android.finsky.dfe.g.a.s;\n r3.<init>();\n r2[r0] = r3;\n r0 = r2[r0];\n r8.m33552a(r0);\n r7.f37909B = r2;\n goto L_0x0001;\n L_0x021e:\n r0 = r8.m33564f();\n r7.f37915g = r0;\n r0 = r7.f37911c;\n r0 = r0 | 8;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x022c:\n r0 = r7.f37918j;\n if (r0 != 0) goto L_0x0237;\n L_0x0230:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.w;\n r0.<init>();\n r7.f37918j = r0;\n L_0x0237:\n r0 = r7.f37918j;\n r8.m33552a(r0);\n r0 = 2;\n r7.f37910a = r0;\n goto L_0x0001;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.g.a.r.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.g.a.r\");\n }", "public void mo21825b() {\n }", "public abstract C0631bt mo9227aB();", "public ItemStack func_70298_a(int par1, int par2)\n/* */ {\n/* 35 */ return null;\n/* */ }", "public boolean //##78\n divideHirIntoBasicBlocks()\n {\n HirIterator lHirIterator;\n HIR lNode, // Current node.\n lParent; // Parent of lNode.\n coins.sym.Sym lSym;\n FlowAnalSym lFlowAnalSym;\n int lNodeIndex;\n Label lLabel, lSubpBlockLabel;\n BBlock lBBlock; // BBlock most recently created.\n IrList lLabelDefList;\n Subp lSubp;\n BlockStmt lSubpBody; // Block as the HIR body of subprogram.\n //## LabeledStmt lSubpBodyWithLabel;\n\n if (fDbgLevel > 0)\n ioRoot.dbgFlow.print(2, \"divideHirIntoBasicBlocks \",\n flowRoot.subpUnderAnalysis.getName() + \" fIrIndexMin \" +\n fIrIndexMin + \" Max \" + fIrIndexMax); //##62\n recordBBlock(bblock(), 0); //Avoid IndexOutofRangeException\n //##62 BEGIN\n lSubp = fSubpDefinition.getSubpSym();\n fNodeCount = fIrIndexMax - fIrIndexMin + 1;\n fFlowIrLinkSize = fNodeCount + 1; //##62\n fFlowIrLink = new IR[fFlowIrLinkSize];\n lBBlock = null; // Record a basic block created.\n boolean lImmediatelyAfterJumpReturn = false; //##63\n //##62 END\n\n //-- Assign index number to symbols actually used in current\n // subprogram setting index to each node.\n // Make label reference list for labels that are explicitly\n // refered as jump target.\n for (lHirIterator = hirRoot.hir.hirIterator(fSubpDefinition.getHirBody());\n lHirIterator.hasNext(); ) {\n lNode = lHirIterator.next();\n if (lNode != null) {\n if (fDbgLevel > 3)\n ioRoot.dbgFlow.print(6, \" lNode\", lNode.toStringShort());\n lSym = lNode.getSym();\n if (lSym != null) {\n if (lSym instanceof FlowAnalSym) {\n lFlowAnalSym = (FlowAnalSym)lSym;\n if (lFlowAnalSym.getIndex() == 0) {\n recordSym(lFlowAnalSym); //##62\n }else {\n if (fDbgLevel > 0)\n flow.dbg(6, \" \" + lFlowAnalSym.getName()+\n \":\" + lFlowAnalSym.getIndex());\n }\n }\n }\n\n //##63 BEG\n lNodeIndex = lNode.getIndex();\n //##78 BEGIN\n if (lNodeIndex < fIrIndexMin) {\n ioRoot.msgRecovered.put(5010, \"\\nNode index \" + lNodeIndex\n + \" should be greater or equal to \" + fIrIndexMin\n + \" in \" + fSubpDefinition.getSubpSym().getName()\n + \"\\n Skip the flow analysis and the optimization.\");\n return false;\n }\n //##78 END\n fFlowIrLink[lNodeIndex - fIrIndexMin] = lNode; //##60\n fBBlockOfIR[lNodeIndex - fIrIndexMin] = lBBlock; //##60\n if (lImmediatelyAfterJumpReturn &&\n (lNode.getOperator() != HIR.OP_LABELED_STMT)) {\n continue; // Control does not come here.\n }\n lImmediatelyAfterJumpReturn = false;\n //##63 END\n switch (lNode.getOperator()) {\n case HIR.OP_LABELED_STMT:\n lBBlock = bblock((LabeledStmt)lNode); // Create a basic block.\n fBBlockOfIR[lNodeIndex - fIrIndexMin] = lBBlock; // Store again. //##65\n //## lSubp.addBBlock(lBBlock); // DELETE\n lLabelDefList = ((LabeledStmt)lNode).getLabelDefList();\n if (lLabelDefList != null) {\n for (Iterator lIterator = lLabelDefList.iterator();\n lIterator.hasNext(); ) { // Set link between HIR & Label.\n lLabel = ((coins.ir.hir.LabelDef)(lIterator.next())).getLabel();\n //##60 lLabel.setBBlock(lBBlock);\n flowRoot.fSubpFlow.setBBlock(lLabel, lBBlock); //##60\n }\n }\n lImmediatelyAfterJumpReturn = false;\n break;\n // begin\n case HIR.OP_CONTENTS:\n lParent = (HIR)lNode.getParent();\n if (lParent.getOperator() == HIR.OP_ASSIGN)\n lBBlock.setFlag(BBlock.HAS_PTR_ASSIGN, true);\n case HIR.OP_ARROW:\n case HIR.OP_ADDR:\n lBBlock.setFlag(BBlock.USE_PTR, true);\n break;\n case HIR.OP_QUAL:\n lBBlock.setFlag(BBlock.HAS_STRUCT_UNION, true);\n break;\n case HIR.OP_CALL:\n lBBlock.setFlag(BBlock.HAS_CALL, true);\n //##62 hasCallInSubp = true; //##62\n //##63 BEGIN\n fCallCount++; //##62\n fSubtreesContainingCall.add(lNode);\n for (HIR lHir = (HIR)lNode.getParent(); lHir != null;\n lHir = (HIR)lHir.getParent()) {\n fSubtreesContainingCall.add(lNode);\n }\n //##63 END\n break;\n //##62 BEGIN\n case HIR.OP_ASSIGN:\n fAssignCount++;\n break;\n case HIR.OP_JUMP:\n lLabel = ((JumpStmt)lNode).getLabel();\n //##62 lLabel.addToHirRefList((LabelNode)((JumpStmt)lNode).getChild1());\n lImmediatelyAfterJumpReturn = true; //##63\n ((BBlockImpl)lBBlock).fControlTransfer = lNode; //##73\n break;\n case HIR.OP_RETURN: //##63\n lImmediatelyAfterJumpReturn = true; //##63\n ((BBlockImpl)lBBlock).fControlTransfer = lNode; //##73\n break;\n case HIR.OP_SWITCH:\n SwitchStmt lSwitchStmt = (SwitchStmt)lNode;\n int lCaseCount = lSwitchStmt.getCaseCount();\n for (int i = 0; i < lCaseCount; i++) {\n lLabel = lSwitchStmt.getCaseLabel(i);\n //##62 if (lLabel != null)\n //##62 lLabel.addToHirRefList(lSwitchStmt.getCaseLabelNode(i));\n }\n //##62 lSwitchStmt.getDefaultLabel().addToHirRefList((LabelNode)((SwitchStmt)\n //##62 lNode).getDefaultLabelNode());\n //##62 END\n default:\n break;\n // end\n } // End of switch\n //##63 lNodeIndex = lNode.getIndex();\n //##60 fFlowIrLink[lNodeIndex - fIndexMin] =\n //##60 (FlowIrLinkCell)(new FlowIrLinkCellImpl(lNode, lBBlock, 0));\n //##63 fFlowIrLink[lNodeIndex - fIrIndexMin] = lNode; //##60\n //##63 fBBlockOfIR[lNodeIndex - fIrIndexMin] = lBBlock; //##60\n } // End of if(lNode != null)\n }\n //##62 BEGIN\n fUsedSymCount = fSymExpCount;\n if (fDbgLevel > 0)\n ioRoot.dbgFlow.print(2, lSubp.getName() +\n \" Number of\", \"Symbols:\" +\n fUsedSymCount + \" Nodes:\" + fNodeCount + \" \");\n fExpVectorBitCount = fUsedSymCount + 2; //##60\n fExpVectorWordCount = (fExpVectorBitCount + 63) / 64; //##60\n\n int lNodeCount = fIrIndexMax - fIrIndexMin;\n if (lNodeCount > fNodeCountLim1)\n fComplexity = 2;\n if (fSymExpCount > fSymCountLim1)\n fComplexity = 2;\n if (lNodeCount > fNodeCountLim2)\n fComplexity = 3;\n if (fSymExpCount > fSymCountLim2)\n fComplexity = 3;\n //##62 END\n if (fDbgLevel > 0) {\n //### fComplexity = 3; //###\n flowRoot.ioRoot.dbgFlow.print(1, \"\\n Node count \" +\n lNodeCount + \" BBlock count \" + getNumberOfBBlocks()+\n \" UsedSymCount \" + getUsedSymCount() + \" SymExpCount \" + getSymExpCount()\n + \"\\n AssignCount \" + getAssignCount()\n + \" CallCount \" + getCallCount()); //##62\n ioRoot.dbgFlow.print(1, \"\\nComplexity level of \",\n getSubpSym().getName() + \" is \" + fComplexity);\n if (fComplexity > 1)\n ioRoot.dbgFlow.print(1, \"\\n Simplify alias analysis.\");\n if (fComplexity > 2)\n ioRoot.dbgFlow.print(1, \"\\n Simplify data flow analysis.\");\n }\n setComputedFlag(CF_BBLOCK); //##60\n return true; //##78\n }", "public boolean mo9310a(java.lang.Exception r4) {\n /*\n r3 = this;\n java.lang.Object r0 = r3.f8650a\n monitor-enter(r0)\n boolean r1 = r3.f8651b // Catch:{ all -> 0x002c }\n r2 = 0\n if (r1 == 0) goto L_0x000a\n monitor-exit(r0) // Catch:{ all -> 0x002c }\n return r2\n L_0x000a:\n r1 = 1\n r3.f8651b = r1 // Catch:{ all -> 0x002c }\n r3.f8654e = r4 // Catch:{ all -> 0x002c }\n r3.f8655f = r2 // Catch:{ all -> 0x002c }\n java.lang.Object r4 = r3.f8650a // Catch:{ all -> 0x002c }\n r4.notifyAll() // Catch:{ all -> 0x002c }\n r3.m11250m() // Catch:{ all -> 0x002c }\n boolean r4 = r3.f8655f // Catch:{ all -> 0x002c }\n if (r4 != 0) goto L_0x002a\n bolts.n$q r4 = m11249l() // Catch:{ all -> 0x002c }\n if (r4 == 0) goto L_0x002a\n bolts.p r4 = new bolts.p // Catch:{ all -> 0x002c }\n r4.<init>(r3) // Catch:{ all -> 0x002c }\n r3.f8656g = r4 // Catch:{ all -> 0x002c }\n L_0x002a:\n monitor-exit(r0) // Catch:{ all -> 0x002c }\n return r1\n L_0x002c:\n r4 = move-exception\n monitor-exit(r0) // Catch:{ all -> 0x002c }\n throw r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: bolts.C2177n.mo9310a(java.lang.Exception):boolean\");\n }", "public void mo2485a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r2 = this;\n r0 = r2.f11863a;\n monitor-enter(r0);\n r1 = r2.f11873l;\t Catch:{ all -> 0x002a }\n if (r1 != 0) goto L_0x0028;\t Catch:{ all -> 0x002a }\n L_0x0007:\n r1 = r2.f11872k;\t Catch:{ all -> 0x002a }\n if (r1 == 0) goto L_0x000c;\t Catch:{ all -> 0x002a }\n L_0x000b:\n goto L_0x0028;\t Catch:{ all -> 0x002a }\n L_0x000c:\n r1 = r2.f11875n;\t Catch:{ all -> 0x002a }\n if (r1 == 0) goto L_0x0015;\n L_0x0010:\n r1 = r2.f11875n;\t Catch:{ RemoteException -> 0x0015 }\n r1.cancel();\t Catch:{ RemoteException -> 0x0015 }\n L_0x0015:\n r1 = r2.f11870i;\t Catch:{ all -> 0x002a }\n m14216b(r1);\t Catch:{ all -> 0x002a }\n r1 = 1;\t Catch:{ all -> 0x002a }\n r2.f11873l = r1;\t Catch:{ all -> 0x002a }\n r1 = com.google.android.gms.common.api.Status.zzfnm;\t Catch:{ all -> 0x002a }\n r1 = r2.mo3568a(r1);\t Catch:{ all -> 0x002a }\n r2.m14217c(r1);\t Catch:{ all -> 0x002a }\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n return;\t Catch:{ all -> 0x002a }\n L_0x0028:\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n return;\t Catch:{ all -> 0x002a }\n L_0x002a:\n r1 = move-exception;\t Catch:{ all -> 0x002a }\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.common.api.internal.BasePendingResult.a():void\");\n }", "public final void mo51373a() {\n }", "protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }", "public boolean b(int paramInt, ItemStack paramamj)\r\n/* 86: */ {\r\n/* 87:107 */ return true;\r\n/* 88: */ }", "public final void run() {\n /*\n r10 = this;\n r8 = 2;\n r7 = 1;\n r6 = 0;\n r2 = com.uc.apollo.media.impl.O.UNKNOWN;\n r1 = 0;\n r0 = r10.e;\t Catch:{ d -> 0x0051, Throwable -> 0x0090 }\n r3 = r10.f;\t Catch:{ d -> 0x0051, Throwable -> 0x0090 }\n r0 = com.uc.apollo.media.b.c.a(r0, r3);\t Catch:{ d -> 0x0051, Throwable -> 0x0090 }\n if (r0 == 0) goto L_0x004b;\n L_0x0010:\n r2 = com.uc.apollo.media.impl.O.M3U8;\t Catch:{ d -> 0x00cf, Throwable -> 0x0090 }\n r1 = r0.c();\t Catch:{ d -> 0x00cf, Throwable -> 0x0090 }\n if (r1 == 0) goto L_0x00db;\n L_0x0018:\n r1 = com.uc.apollo.media.impl.O.M3U8_LIVE;\t Catch:{ d -> 0x00cf, Throwable -> 0x0090 }\n L_0x001a:\n r2 = r10.h;\t Catch:{ d -> 0x00d5, Throwable -> 0x0090 }\n if (r2 == 0) goto L_0x0022;\n L_0x001e:\n r2 = 1;\n r0.a(r2);\t Catch:{ d -> 0x00d5, Throwable -> 0x0090 }\n L_0x0022:\n r2 = com.uc.apollo.media.impl.O.UNKNOWN;\n if (r1 == r2) goto L_0x0030;\n L_0x0026:\n r2 = new java.lang.StringBuilder;\n r3 = \"content type is \";\n r2.<init>(r3);\n r2.append(r1);\n L_0x0030:\n r2 = r10.g;\n if (r2 == 0) goto L_0x004a;\n L_0x0034:\n r2 = c;\n r3 = r10.d;\n r4 = 3;\n r4 = new java.lang.Object[r4];\n r5 = r10.g;\n r4[r6] = r5;\n r4[r7] = r1;\n r4[r8] = r0;\n r0 = r2.obtainMessage(r8, r3, r6, r4);\n r0.sendToTarget();\n L_0x004a:\n return;\n L_0x004b:\n r0 = com.uc.apollo.media.impl.O.PARSE_FAILURE;\t Catch:{ d -> 0x0051, Throwable -> 0x0090 }\n r9 = r1;\n r1 = r0;\n r0 = r9;\n goto L_0x0022;\n L_0x0051:\n r0 = move-exception;\n r9 = r0;\n r0 = r2;\n r2 = r9;\n L_0x0055:\n r3 = r2.a();\n if (r3 == 0) goto L_0x007e;\n L_0x005b:\n r4 = r3.length;\n r5 = 8;\n if (r4 < r5) goto L_0x007e;\n L_0x0060:\n r4 = 4;\n r4 = r3[r4];\n r5 = 102; // 0x66 float:1.43E-43 double:5.04E-322;\n if (r4 == r5) goto L_0x007c;\n L_0x0067:\n r4 = 5;\n r4 = r3[r4];\n r5 = 116; // 0x74 float:1.63E-43 double:5.73E-322;\n if (r4 == r5) goto L_0x007c;\n L_0x006e:\n r4 = 6;\n r4 = r3[r4];\n r5 = 121; // 0x79 float:1.7E-43 double:6.0E-322;\n if (r4 == r5) goto L_0x007c;\n L_0x0075:\n r4 = 7;\n r3 = r3[r4];\n r4 = 112; // 0x70 float:1.57E-43 double:5.53E-322;\n if (r3 != r4) goto L_0x007e;\n L_0x007c:\n r0 = com.uc.apollo.media.impl.O.MP4;\n L_0x007e:\n r3 = com.uc.apollo.media.impl.O.UNKNOWN;\n if (r0 != r3) goto L_0x008c;\n L_0x0082:\n r3 = new java.lang.StringBuilder;\n r4 = \"parse failure, msg: \";\n r3.<init>(r4);\n r3.append(r2);\n L_0x008c:\n r9 = r1;\n r1 = r0;\n r0 = r9;\n goto L_0x0022;\n L_0x0090:\n r0 = move-exception;\n r1 = com.uc.apollo.media.impl.O.PARSE_FAILURE;\n r1 = a;\n r2 = new java.lang.StringBuilder;\n r3 = \"parse failure: \";\n r2.<init>(r3);\n r2 = r2.append(r0);\n r2 = r2.toString();\n android.util.Log.w(r1, r2);\n r1 = r10.g;\n if (r1 == 0) goto L_0x004a;\n L_0x00ab:\n r1 = c;\n r2 = r10.d;\n r3 = new java.lang.Object[r8];\n r4 = r10.g;\n r3[r6] = r4;\n r4 = new java.lang.StringBuilder;\n r5 = \"parse failure: \";\n r4.<init>(r5);\n r0 = r4.append(r0);\n r0 = r0.toString();\n r3[r7] = r0;\n r0 = r1.obtainMessage(r7, r2, r6, r3);\n r0.sendToTarget();\n goto L_0x004a;\n L_0x00cf:\n r1 = move-exception;\n r9 = r1;\n r1 = r0;\n r0 = r2;\n r2 = r9;\n goto L_0x0055;\n L_0x00d5:\n r2 = move-exception;\n r9 = r0;\n r0 = r1;\n r1 = r9;\n goto L_0x0055;\n L_0x00db:\n r1 = r2;\n goto L_0x001a;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.uc.apollo.media.impl.f.run():void\");\n }", "@Override\n\tpublic int getBlockNum() {\n\t\treturn 0;\n\t}", "private void m7134b() {\n C1636a aVar = this.f7134e;\n if (aVar != null) {\n aVar.mo14510b();\n }\n this.f7134e = null;\n }", "protected void method_2247() {\r\n // $FF: Couldn't be decompiled\r\n }", "public boolean mo3969a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r4 = this;\n r0 = r4.f19005h;\n if (r0 != 0) goto L_0x0011;\n L_0x0004:\n r0 = r4.f19004g;\n if (r0 == 0) goto L_0x000f;\n L_0x0008:\n r0 = r4.f19004g;\n r1 = com.facebook.ads.C1700b.f5123e;\n r0.mo1313a(r4, r1);\n L_0x000f:\n r0 = 0;\n return r0;\n L_0x0011:\n r0 = new android.content.Intent;\n r1 = r4.f19002e;\n r2 = com.facebook.ads.AudienceNetworkActivity.class;\n r0.<init>(r1, r2);\n r1 = \"predefinedOrientationKey\";\n r2 = r4.m25306b();\n r0.putExtra(r1, r2);\n r1 = \"uniqueId\";\n r2 = r4.f18999b;\n r0.putExtra(r1, r2);\n r1 = \"placementId\";\n r2 = r4.f19000c;\n r0.putExtra(r1, r2);\n r1 = \"requestTime\";\n r2 = r4.f19001d;\n r0.putExtra(r1, r2);\n r1 = \"viewType\";\n r2 = r4.f19009l;\n r0.putExtra(r1, r2);\n r1 = \"useCache\";\n r2 = r4.f19010m;\n r0.putExtra(r1, r2);\n r1 = r4.f19008k;\n if (r1 == 0) goto L_0x0052;\n L_0x004a:\n r1 = \"ad_data_bundle\";\n r2 = r4.f19008k;\n r0.putExtra(r1, r2);\n goto L_0x005b;\n L_0x0052:\n r1 = r4.f19006i;\n if (r1 == 0) goto L_0x005b;\n L_0x0056:\n r1 = r4.f19006i;\n r1.m18953a(r0);\n L_0x005b:\n r1 = 268435456; // 0x10000000 float:2.5243549E-29 double:1.32624737E-315;\n r0.addFlags(r1);\n r1 = r4.f19002e;\t Catch:{ ActivityNotFoundException -> 0x0066 }\n r1.startActivity(r0);\t Catch:{ ActivityNotFoundException -> 0x0066 }\n goto L_0x0072;\n L_0x0066:\n r1 = r4.f19002e;\n r2 = com.facebook.ads.InterstitialAdActivity.class;\n r0.setClass(r1, r2);\n r1 = r4.f19002e;\n r1.startActivity(r0);\n L_0x0072:\n r0 = 1;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.adapters.k.a():boolean\");\n }", "public void b(boolean r31, boolean r32) {\n /*\n r30 = this;\n r4 = com.tencent.smtt.sdk.an.a();\n r0 = r30;\n r5 = r0.g;\n r4 = r4.c(r5);\n if (r4 == 0) goto L_0x0021;\n L_0x000e:\n if (r31 != 0) goto L_0x0021;\n L_0x0010:\n r4 = 0;\n com.tencent.smtt.sdk.TbsDownloader.a = r4;\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r5 = -322; // 0xfffffffffffffebe float:NaN double:NaN;\n r4.setDownloadInterruptCode(r5);\n L_0x0020:\n return;\n L_0x0021:\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4 = r4.mPreferences;\n r5 = \"tbs_responsecode\";\n r6 = 0;\n r4 = r4.getInt(r5, r6);\n r5 = 1;\n if (r4 == r5) goto L_0x003c;\n L_0x0036:\n r5 = 2;\n if (r4 == r5) goto L_0x003c;\n L_0x0039:\n r5 = 4;\n if (r4 != r5) goto L_0x0051;\n L_0x003c:\n r4 = 1;\n r21 = r4;\n L_0x003f:\n if (r32 != 0) goto L_0x0055;\n L_0x0041:\n r0 = r30;\n r1 = r31;\n r2 = r21;\n r4 = r0.a(r1, r2);\n if (r4 == 0) goto L_0x0055;\n L_0x004d:\n r4 = 0;\n com.tencent.smtt.sdk.TbsDownloader.a = r4;\n goto L_0x0020;\n L_0x0051:\n r4 = 0;\n r21 = r4;\n goto L_0x003f;\n L_0x0055:\n r0 = r31;\n r1 = r30;\n r1.C = r0;\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4 = r4.mPreferences;\n r5 = \"tbs_downloadurl\";\n r6 = 0;\n r4 = r4.getString(r5, r6);\n r0 = r30;\n r0.h = r4;\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4 = r4.mPreferences;\n r5 = \"tbs_downloadurl_list\";\n r6 = 0;\n r4 = r4.getString(r5, r6);\n r5 = \"TbsDownload\";\n r6 = new java.lang.StringBuilder;\n r7 = \"backupUrlStrings:\";\n r6.<init>(r7);\n r6 = r6.append(r4);\n r6 = r6.toString();\n r7 = 1;\n com.tencent.smtt.utils.TbsLog.i(r5, r6, r7);\n r5 = 0;\n r0 = r30;\n r0.b = r5;\n r5 = 0;\n r0 = r30;\n r0.c = r5;\n if (r31 != 0) goto L_0x00c4;\n L_0x00a6:\n if (r4 == 0) goto L_0x00c4;\n L_0x00a8:\n r5 = \"\";\n r6 = r4.trim();\n r5 = r5.equals(r6);\n if (r5 != 0) goto L_0x00c4;\n L_0x00b5:\n r5 = r4.trim();\n r6 = \";\";\n r5 = r5.split(r6);\n r0 = r30;\n r0.b = r5;\n L_0x00c4:\n r5 = \"TbsDownload\";\n r6 = new java.lang.StringBuilder;\n r7 = \"[TbsApkDownloader.startDownload] mDownloadUrl=\";\n r6.<init>(r7);\n r0 = r30;\n r7 = r0.h;\n r6 = r6.append(r7);\n r7 = \" backupUrlStrings=\";\n r6 = r6.append(r7);\n r4 = r6.append(r4);\n r6 = \" mLocation=\";\n r4 = r4.append(r6);\n r0 = r30;\n r6 = r0.j;\n r4 = r4.append(r6);\n r6 = \" mCanceled=\";\n r4 = r4.append(r6);\n r0 = r30;\n r6 = r0.r;\n r4 = r4.append(r6);\n r6 = \" mHttpRequest=\";\n r4 = r4.append(r6);\n r0 = r30;\n r6 = r0.t;\n r4 = r4.append(r6);\n r4 = r4.toString();\n com.tencent.smtt.utils.TbsLog.i(r5, r4);\n r0 = r30;\n r4 = r0.h;\n if (r4 != 0) goto L_0x0138;\n L_0x011c:\n r0 = r30;\n r4 = r0.j;\n if (r4 != 0) goto L_0x0138;\n L_0x0122:\n r4 = com.tencent.smtt.sdk.QbSdk.m;\n r5 = 110; // 0x6e float:1.54E-43 double:5.43E-322;\n r4.onDownloadFinish(r5);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r5 = -302; // 0xfffffffffffffed2 float:NaN double:NaN;\n r4.setDownloadInterruptCode(r5);\n goto L_0x0020;\n L_0x0138:\n r0 = r30;\n r4 = r0.t;\n if (r4 == 0) goto L_0x015a;\n L_0x013e:\n r0 = r30;\n r4 = r0.r;\n if (r4 != 0) goto L_0x015a;\n L_0x0144:\n r4 = com.tencent.smtt.sdk.QbSdk.m;\n r5 = 110; // 0x6e float:1.54E-43 double:5.43E-322;\n r4.onDownloadFinish(r5);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r5 = -303; // 0xfffffffffffffed1 float:NaN double:NaN;\n r4.setDownloadInterruptCode(r5);\n goto L_0x0020;\n L_0x015a:\n if (r31 != 0) goto L_0x018d;\n L_0x015c:\n r0 = r30;\n r4 = r0.A;\n r0 = r30;\n r5 = r0.g;\n r5 = com.tencent.smtt.utils.Apn.getWifiSSID(r5);\n r4 = r4.contains(r5);\n if (r4 == 0) goto L_0x018d;\n L_0x016e:\n r4 = \"TbsDownload\";\n r5 = \"[TbsApkDownloader.startDownload] WIFI Unavailable\";\n com.tencent.smtt.utils.TbsLog.i(r4, r5);\n r4 = com.tencent.smtt.sdk.QbSdk.m;\n r5 = 110; // 0x6e float:1.54E-43 double:5.43E-322;\n r4.onDownloadFinish(r5);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r5 = -304; // 0xfffffffffffffed0 float:NaN double:NaN;\n r4.setDownloadInterruptCode(r5);\n goto L_0x0020;\n L_0x018d:\n r30.f();\n r4 = \"TbsDownload\";\n r5 = \"STEP 1/2 begin downloading...\";\n r6 = 1;\n com.tencent.smtt.utils.TbsLog.i(r4, r5, r6);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r24 = r4.getDownloadMaxflow();\n r6 = 0;\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4 = r4.mPreferences;\n r5 = \"tbs_downloadflow\";\n r8 = 0;\n r4 = r4.getLong(r5, r8);\n if (r31 == 0) goto L_0x0271;\n L_0x01bc:\n r7 = e;\n r0 = r30;\n r0.B = r7;\n L_0x01c2:\n r0 = r30;\n r7 = r0.p;\n r0 = r30;\n r8 = r0.B;\n if (r7 > r8) goto L_0x01ea;\n L_0x01cc:\n r0 = r30;\n r7 = r0.q;\n r8 = 8;\n if (r7 <= r8) goto L_0x0279;\n L_0x01d4:\n r4 = 123; // 0x7b float:1.72E-43 double:6.1E-322;\n r5 = 0;\n r7 = 1;\n r0 = r30;\n r0.a(r4, r5, r7);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r5 = -306; // 0xfffffffffffffece float:NaN double:NaN;\n r4.setDownloadInterruptCode(r5);\n L_0x01ea:\n r0 = r30;\n r4 = r0.r;\n if (r4 != 0) goto L_0x026c;\n L_0x01f0:\n r0 = r30;\n r4 = r0.s;\n if (r4 == 0) goto L_0x023d;\n L_0x01f6:\n r0 = r30;\n r4 = r0.b;\n if (r4 != 0) goto L_0x0207;\n L_0x01fc:\n if (r6 != 0) goto L_0x0207;\n L_0x01fe:\n r4 = 1;\n r0 = r30;\n r1 = r21;\n r6 = r0.c(r4, r1);\n L_0x0207:\n r0 = r30;\n r5 = r0.v;\n if (r6 == 0) goto L_0x0ebc;\n L_0x020d:\n r4 = 1;\n L_0x020e:\n r5.setUnpkgFlag(r4);\n if (r21 != 0) goto L_0x0ec2;\n L_0x0213:\n r0 = r30;\n r5 = r0.v;\n if (r6 == 0) goto L_0x0ebf;\n L_0x0219:\n r4 = 1;\n L_0x021a:\n r5.setPatchUpdateFlag(r4);\n L_0x021d:\n if (r6 == 0) goto L_0x0ecc;\n L_0x021f:\n r4 = 1;\n r0 = r30;\n r0.b(r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r5 = -317; // 0xfffffffffffffec3 float:NaN double:NaN;\n r4.setDownloadInterruptCode(r5);\n r4 = 100;\n r5 = \"success\";\n r7 = 1;\n r0 = r30;\n r0.a(r4, r5, r7);\n L_0x023d:\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n if (r6 == 0) goto L_0x0ee1;\n L_0x0247:\n r5 = r4.mPreferences;\n r7 = \"tbs_download_success_retrytimes\";\n r8 = 0;\n r5 = r5.getInt(r7, r8);\n r7 = r4.a;\n r8 = \"tbs_download_success_retrytimes\";\n r5 = r5 + 1;\n r5 = java.lang.Integer.valueOf(r5);\n r7.put(r8, r5);\n L_0x025f:\n r4.commit();\n r0 = r30;\n r5 = r0.v;\n if (r6 == 0) goto L_0x0f09;\n L_0x0268:\n r4 = 1;\n L_0x0269:\n r5.setDownFinalFlag(r4);\n L_0x026c:\n r30.g();\n goto L_0x0020;\n L_0x0271:\n r7 = d;\n r0 = r30;\n r0.B = r7;\n goto L_0x01c2;\n L_0x0279:\n r22 = java.lang.System.currentTimeMillis();\n if (r31 != 0) goto L_0x0385;\n L_0x027f:\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r7 = r7.mPreferences;\t Catch:{ Throwable -> 0x0570 }\n r8 = \"tbs_downloadstarttime\";\n r10 = 0;\n r8 = r7.getLong(r8, r10);\t Catch:{ Throwable -> 0x0570 }\n r8 = r22 - r8;\n r10 = 86400000; // 0x5265c00 float:7.82218E-36 double:4.2687272E-316;\n r7 = (r8 > r10 ? 1 : (r8 == r10 ? 0 : -1));\n if (r7 <= 0) goto L_0x0328;\n L_0x029b:\n r7 = \"TbsDownload\";\n r8 = \"[TbsApkDownloader.startDownload] OVER DOWNLOAD_PERIOD\";\n com.tencent.smtt.utils.TbsLog.i(r7, r8);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r7 = r7.a;\t Catch:{ Throwable -> 0x0570 }\n r8 = \"tbs_downloadstarttime\";\n r9 = java.lang.Long.valueOf(r22);\t Catch:{ Throwable -> 0x0570 }\n r7.put(r8, r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r7 = r7.a;\t Catch:{ Throwable -> 0x0570 }\n r8 = \"tbs_downloadflow\";\n r10 = 0;\n r9 = java.lang.Long.valueOf(r10);\t Catch:{ Throwable -> 0x0570 }\n r7.put(r8, r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r7.commit();\t Catch:{ Throwable -> 0x0570 }\n r4 = 0;\n L_0x02db:\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.utils.j.b(r7);\t Catch:{ Throwable -> 0x0570 }\n if (r7 != 0) goto L_0x0385;\n L_0x02e5:\n r7 = \"TbsDownload\";\n r8 = \"DownloadBegin FreeSpace too small\";\n r9 = 1;\n com.tencent.smtt.utils.TbsLog.i(r7, r8, r9);\t Catch:{ Throwable -> 0x0570 }\n r7 = 105; // 0x69 float:1.47E-43 double:5.2E-322;\n r8 = 0;\n r9 = 1;\n r0 = r30;\n r0.a(r7, r8, r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -308; // 0xfffffffffffffecc float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01ea;\n L_0x0307:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0328:\n r7 = \"TbsDownload\";\n r8 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0570 }\n r9 = \"[TbsApkDownloader.startDownload] downloadFlow=\";\n r8.<init>(r9);\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.append(r4);\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.toString();\t Catch:{ Throwable -> 0x0570 }\n com.tencent.smtt.utils.TbsLog.i(r7, r8);\t Catch:{ Throwable -> 0x0570 }\n r7 = (r4 > r24 ? 1 : (r4 == r24 ? 0 : -1));\n if (r7 < 0) goto L_0x02db;\n L_0x0342:\n r7 = \"TbsDownload\";\n r8 = \"STEP 1/2 begin downloading...failed because you exceeded max flow!\";\n r9 = 1;\n com.tencent.smtt.utils.TbsLog.i(r7, r8, r9);\t Catch:{ Throwable -> 0x0570 }\n r7 = 112; // 0x70 float:1.57E-43 double:5.53E-322;\n r8 = 0;\n r9 = 1;\n r0 = r30;\n r0.a(r7, r8, r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -307; // 0xfffffffffffffecd float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01ea;\n L_0x0364:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0385:\n r7 = 1;\n r0 = r30;\n r0.y = r7;\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.j;\t Catch:{ Throwable -> 0x0570 }\n if (r7 == 0) goto L_0x0519;\n L_0x0390:\n r0 = r30;\n r7 = r0.j;\t Catch:{ Throwable -> 0x0570 }\n L_0x0394:\n r8 = \"TbsDownload\";\n r9 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0570 }\n r10 = \"try url:\";\n r9.<init>(r10);\t Catch:{ Throwable -> 0x0570 }\n r9 = r9.append(r7);\t Catch:{ Throwable -> 0x0570 }\n r10 = \",mRetryTimes:\";\n r9 = r9.append(r10);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r10 = r0.p;\t Catch:{ Throwable -> 0x0570 }\n r9 = r9.append(r10);\t Catch:{ Throwable -> 0x0570 }\n r9 = r9.toString();\t Catch:{ Throwable -> 0x0570 }\n r10 = 1;\n com.tencent.smtt.utils.TbsLog.i(r8, r9, r10);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r8 = r0.i;\t Catch:{ Throwable -> 0x0570 }\n r8 = r7.equals(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r8 != 0) goto L_0x03cb;\n L_0x03c4:\n r0 = r30;\n r8 = r0.v;\t Catch:{ Throwable -> 0x0570 }\n r8.setDownloadUrl(r7);\t Catch:{ Throwable -> 0x0570 }\n L_0x03cb:\n r0 = r30;\n r0.i = r7;\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r0.a(r7);\t Catch:{ Throwable -> 0x0570 }\n r12 = 0;\n r0 = r30;\n r7 = r0.o;\t Catch:{ Throwable -> 0x0570 }\n if (r7 != 0) goto L_0x0438;\n L_0x03dc:\n r12 = r30.k();\t Catch:{ Throwable -> 0x0570 }\n r7 = \"TbsDownload\";\n r8 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0570 }\n r9 = \"[TbsApkDownloader.startDownload] range=\";\n r8.<init>(r9);\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.append(r12);\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.toString();\t Catch:{ Throwable -> 0x0570 }\n com.tencent.smtt.utils.TbsLog.i(r7, r8);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r8 = r0.l;\t Catch:{ Throwable -> 0x0570 }\n r10 = 0;\n r7 = (r8 > r10 ? 1 : (r8 == r10 ? 0 : -1));\n if (r7 > 0) goto L_0x051f;\n L_0x0400:\n r7 = \"TbsDownload\";\n r8 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0570 }\n r9 = \"STEP 1/2 begin downloading...current\";\n r8.<init>(r9);\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.append(r12);\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.toString();\t Catch:{ Throwable -> 0x0570 }\n r9 = 1;\n com.tencent.smtt.utils.TbsLog.i(r7, r8, r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.t;\t Catch:{ Throwable -> 0x0570 }\n r8 = \"Range\";\n r9 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0570 }\n r10 = \"bytes=\";\n r9.<init>(r10);\t Catch:{ Throwable -> 0x0570 }\n r9 = r9.append(r12);\t Catch:{ Throwable -> 0x0570 }\n r10 = \"-\";\n r9 = r9.append(r10);\t Catch:{ Throwable -> 0x0570 }\n r9 = r9.toString();\t Catch:{ Throwable -> 0x0570 }\n r7.setRequestProperty(r8, r9);\t Catch:{ Throwable -> 0x0570 }\n L_0x0438:\n r0 = r30;\n r8 = r0.v;\t Catch:{ Throwable -> 0x0570 }\n r10 = 0;\n r7 = (r12 > r10 ? 1 : (r12 == r10 ? 0 : -1));\n if (r7 != 0) goto L_0x05e8;\n L_0x0442:\n r7 = 0;\n L_0x0443:\n r8.setDownloadCancel(r7);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.utils.Apn.getApnType(r7);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r8 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r8 = com.tencent.smtt.utils.Apn.getApnInfo(r8);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r9 = r0.w;\t Catch:{ Throwable -> 0x0570 }\n if (r9 != 0) goto L_0x05eb;\n L_0x045c:\n r0 = r30;\n r9 = r0.x;\t Catch:{ Throwable -> 0x0570 }\n r10 = -1;\n if (r9 != r10) goto L_0x05eb;\n L_0x0463:\n r0 = r30;\n r0.w = r8;\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r0.x = r7;\t Catch:{ Throwable -> 0x0570 }\n L_0x046b:\n r0 = r30;\n r7 = r0.p;\t Catch:{ Throwable -> 0x0570 }\n if (r7 <= 0) goto L_0x047f;\n L_0x0471:\n r0 = r30;\n r7 = r0.t;\t Catch:{ Throwable -> 0x0570 }\n r8 = \"Referer\";\n r0 = r30;\n r9 = r0.h;\t Catch:{ Throwable -> 0x0570 }\n r7.addRequestProperty(r8, r9);\t Catch:{ Throwable -> 0x0570 }\n L_0x047f:\n r0 = r30;\n r7 = r0.t;\t Catch:{ Throwable -> 0x0570 }\n r7 = r7.getResponseCode();\t Catch:{ Throwable -> 0x0570 }\n r8 = \"TbsDownload\";\n r9 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0570 }\n r10 = \"[TbsApkDownloader.startDownload] responseCode=\";\n r9.<init>(r10);\t Catch:{ Throwable -> 0x0570 }\n r9 = r9.append(r7);\t Catch:{ Throwable -> 0x0570 }\n r9 = r9.toString();\t Catch:{ Throwable -> 0x0570 }\n com.tencent.smtt.utils.TbsLog.i(r8, r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r8 = r0.v;\t Catch:{ Throwable -> 0x0570 }\n r8.setHttpCode(r7);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x04e3;\n L_0x04a6:\n r0 = r30;\n r8 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r8 = com.tencent.smtt.sdk.TbsDownloader.getOverSea(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r8 != 0) goto L_0x04e3;\n L_0x04b0:\n r0 = r30;\n r8 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r8 = com.tencent.smtt.utils.Apn.getApnType(r8);\t Catch:{ Throwable -> 0x0570 }\n r9 = 3;\n if (r8 == r9) goto L_0x04c1;\n L_0x04bb:\n r8 = com.tencent.smtt.sdk.QbSdk.getDownloadWithoutWifi();\t Catch:{ Throwable -> 0x0570 }\n if (r8 == 0) goto L_0x04cb;\n L_0x04c1:\n r0 = r30;\n r8 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r8 = com.tencent.smtt.utils.Apn.getApnType(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r8 != 0) goto L_0x04e3;\n L_0x04cb:\n r30.c();\t Catch:{ Throwable -> 0x0570 }\n r8 = com.tencent.smtt.sdk.QbSdk.m;\t Catch:{ Throwable -> 0x0570 }\n if (r8 == 0) goto L_0x04d9;\n L_0x04d2:\n r8 = com.tencent.smtt.sdk.QbSdk.m;\t Catch:{ Throwable -> 0x0570 }\n r9 = 111; // 0x6f float:1.56E-43 double:5.5E-322;\n r8.onDownloadFinish(r9);\t Catch:{ Throwable -> 0x0570 }\n L_0x04d9:\n r8 = \"TbsDownload\";\n r9 = \"Download is canceled due to NOT_WIFI error!\";\n r10 = 0;\n com.tencent.smtt.utils.TbsLog.i(r8, r9, r10);\t Catch:{ Throwable -> 0x0570 }\n L_0x04e3:\n r0 = r30;\n r8 = r0.r;\t Catch:{ Throwable -> 0x0570 }\n if (r8 == 0) goto L_0x0632;\n L_0x04e9:\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -309; // 0xfffffffffffffecb float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01ea;\n L_0x04f8:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0519:\n r0 = r30;\n r7 = r0.h;\t Catch:{ Throwable -> 0x0570 }\n goto L_0x0394;\n L_0x051f:\n r7 = \"TbsDownload\";\n r8 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0570 }\n r9 = \"#1 STEP 1/2 begin downloading...current/total=\";\n r8.<init>(r9);\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.append(r12);\t Catch:{ Throwable -> 0x0570 }\n r9 = \"/\";\n r8 = r8.append(r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r10 = r0.l;\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.append(r10);\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.toString();\t Catch:{ Throwable -> 0x0570 }\n r9 = 1;\n com.tencent.smtt.utils.TbsLog.i(r7, r8, r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.t;\t Catch:{ Throwable -> 0x0570 }\n r8 = \"Range\";\n r9 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0570 }\n r10 = \"bytes=\";\n r9.<init>(r10);\t Catch:{ Throwable -> 0x0570 }\n r9 = r9.append(r12);\t Catch:{ Throwable -> 0x0570 }\n r10 = \"-\";\n r9 = r9.append(r10);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r10 = r0.l;\t Catch:{ Throwable -> 0x0570 }\n r9 = r9.append(r10);\t Catch:{ Throwable -> 0x0570 }\n r9 = r9.toString();\t Catch:{ Throwable -> 0x0570 }\n r7.setRequestProperty(r8, r9);\t Catch:{ Throwable -> 0x0570 }\n goto L_0x0438;\n L_0x0570:\n r7 = move-exception;\n L_0x0571:\n r8 = r7 instanceof javax.net.ssl.SSLHandshakeException;\t Catch:{ all -> 0x060d }\n if (r8 == 0) goto L_0x0e71;\n L_0x0575:\n if (r31 != 0) goto L_0x0e71;\n L_0x0577:\n r0 = r30;\n r8 = r0.b;\t Catch:{ all -> 0x060d }\n if (r8 == 0) goto L_0x0e71;\n L_0x057d:\n r8 = 0;\n r0 = r30;\n r8 = r0.a(r8);\t Catch:{ all -> 0x060d }\n if (r8 == 0) goto L_0x0e71;\n L_0x0586:\n r8 = \"TbsDownload\";\n r9 = new java.lang.StringBuilder;\t Catch:{ all -> 0x060d }\n r10 = \"[startdownload]url:\";\n r9.<init>(r10);\t Catch:{ all -> 0x060d }\n r0 = r30;\n r10 = r0.j;\t Catch:{ all -> 0x060d }\n r9 = r9.append(r10);\t Catch:{ all -> 0x060d }\n r10 = \" download exception:\";\n r9 = r9.append(r10);\t Catch:{ all -> 0x060d }\n r7 = r7.toString();\t Catch:{ all -> 0x060d }\n r7 = r9.append(r7);\t Catch:{ all -> 0x060d }\n r7 = r7.toString();\t Catch:{ all -> 0x060d }\n com.tencent.smtt.utils.TbsLog.e(r8, r7);\t Catch:{ all -> 0x060d }\n r7 = 125; // 0x7d float:1.75E-43 double:6.2E-322;\n r8 = 0;\n r9 = 1;\n r0 = r30;\n r0.a(r7, r8, r9);\t Catch:{ all -> 0x060d }\n L_0x05b8:\n r0 = r30;\n r7 = r0.g;\t Catch:{ all -> 0x060d }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ all -> 0x060d }\n r8 = -316; // 0xfffffffffffffec4 float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ all -> 0x060d }\n if (r31 != 0) goto L_0x01c2;\n L_0x05c7:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r9 = java.lang.Long.valueOf(r4);\n r7.put(r8, r9);\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7.commit();\n goto L_0x01c2;\n L_0x05e8:\n r7 = 1;\n goto L_0x0443;\n L_0x05eb:\n r0 = r30;\n r9 = r0.x;\t Catch:{ Throwable -> 0x0570 }\n if (r7 != r9) goto L_0x05fb;\n L_0x05f1:\n r0 = r30;\n r9 = r0.w;\t Catch:{ Throwable -> 0x0570 }\n r9 = r8.equals(r9);\t Catch:{ Throwable -> 0x0570 }\n if (r9 != 0) goto L_0x046b;\n L_0x05fb:\n r0 = r30;\n r9 = r0.v;\t Catch:{ Throwable -> 0x0570 }\n r10 = 0;\n r9.setNetworkChange(r10);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r0.w = r8;\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r0.x = r7;\t Catch:{ Throwable -> 0x0570 }\n goto L_0x046b;\n L_0x060d:\n r6 = move-exception;\n r16 = r4;\n L_0x0610:\n if (r31 != 0) goto L_0x0631;\n L_0x0612:\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4 = r4.a;\n r5 = \"tbs_downloadflow\";\n r7 = java.lang.Long.valueOf(r16);\n r4.put(r5, r7);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n L_0x0631:\n throw r6;\n L_0x0632:\n r8 = 200; // 0xc8 float:2.8E-43 double:9.9E-322;\n if (r7 == r8) goto L_0x063a;\n L_0x0636:\n r8 = 206; // 0xce float:2.89E-43 double:1.02E-321;\n if (r7 != r8) goto L_0x0ba2;\n L_0x063a:\n r0 = r30;\n r7 = r0.t;\t Catch:{ Throwable -> 0x0570 }\n r7 = r7.getContentLength();\t Catch:{ Throwable -> 0x0570 }\n r8 = (long) r7;\t Catch:{ Throwable -> 0x0570 }\n r8 = r8 + r12;\n r0 = r30;\n r0.l = r8;\t Catch:{ Throwable -> 0x0570 }\n r7 = \"TbsDownload\";\n r8 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0570 }\n r9 = \"[TbsApkDownloader.startDownload] mContentLength=\";\n r8.<init>(r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r10 = r0.l;\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.append(r10);\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.toString();\t Catch:{ Throwable -> 0x0570 }\n com.tencent.smtt.utils.TbsLog.i(r7, r8);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.v;\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r8 = r0.l;\t Catch:{ Throwable -> 0x0570 }\n r7.setPkgSize(r8);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r7 = r7.mPreferences;\t Catch:{ Throwable -> 0x0570 }\n r8 = \"tbs_apkfilesize\";\n r10 = 0;\n r8 = r7.getLong(r8, r10);\t Catch:{ Throwable -> 0x0570 }\n r10 = 0;\n r7 = (r8 > r10 ? 1 : (r8 == r10 ? 0 : -1));\n if (r7 == 0) goto L_0x076e;\n L_0x0686:\n r0 = r30;\n r10 = r0.l;\t Catch:{ Throwable -> 0x0570 }\n r7 = (r10 > r8 ? 1 : (r10 == r8 ? 0 : -1));\n if (r7 == 0) goto L_0x076e;\n L_0x068e:\n r7 = \"TbsDownload\";\n r10 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0570 }\n r11 = \"DownloadBegin tbsApkFileSize=\";\n r10.<init>(r11);\t Catch:{ Throwable -> 0x0570 }\n r10 = r10.append(r8);\t Catch:{ Throwable -> 0x0570 }\n r11 = \" but contentLength=\";\n r10 = r10.append(r11);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r12 = r0.l;\t Catch:{ Throwable -> 0x0570 }\n r10 = r10.append(r12);\t Catch:{ Throwable -> 0x0570 }\n r10 = r10.toString();\t Catch:{ Throwable -> 0x0570 }\n r11 = 1;\n com.tencent.smtt.utils.TbsLog.i(r7, r10, r11);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x0755;\n L_0x06b6:\n r7 = r30.n();\t Catch:{ Throwable -> 0x0570 }\n if (r7 != 0) goto L_0x06cc;\n L_0x06bc:\n r7 = com.tencent.smtt.sdk.QbSdk.getDownloadWithoutWifi();\t Catch:{ Throwable -> 0x0570 }\n if (r7 == 0) goto L_0x0755;\n L_0x06c2:\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.utils.Apn.isNetworkAvailable(r7);\t Catch:{ Throwable -> 0x0570 }\n if (r7 == 0) goto L_0x0755;\n L_0x06cc:\n r0 = r30;\n r7 = r0.b;\t Catch:{ Throwable -> 0x0570 }\n if (r7 == 0) goto L_0x06fe;\n L_0x06d2:\n r7 = 0;\n r0 = r30;\n r7 = r0.a(r7);\t Catch:{ Throwable -> 0x0570 }\n if (r7 == 0) goto L_0x06fe;\n L_0x06db:\n if (r31 != 0) goto L_0x01c2;\n L_0x06dd:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r9 = java.lang.Long.valueOf(r4);\n r7.put(r8, r9);\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7.commit();\n goto L_0x01c2;\n L_0x06fe:\n r7 = 113; // 0x71 float:1.58E-43 double:5.6E-322;\n r10 = new java.lang.StringBuilder;\t Catch:{ Throwable -> 0x0570 }\n r11 = \"tbsApkFileSize=\";\n r10.<init>(r11);\t Catch:{ Throwable -> 0x0570 }\n r8 = r10.append(r8);\t Catch:{ Throwable -> 0x0570 }\n r9 = \" but contentLength=\";\n r8 = r8.append(r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r10 = r0.l;\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.append(r10);\t Catch:{ Throwable -> 0x0570 }\n r8 = r8.toString();\t Catch:{ Throwable -> 0x0570 }\n r9 = 1;\n r0 = r30;\n r0.a(r7, r8, r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -310; // 0xfffffffffffffeca float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n L_0x0732:\n if (r31 != 0) goto L_0x01ea;\n L_0x0734:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0755:\n r7 = 101; // 0x65 float:1.42E-43 double:5.0E-322;\n r8 = \"WifiNetworkUnAvailable\";\n r9 = 1;\n r0 = r30;\n r0.a(r7, r8, r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -304; // 0xfffffffffffffed0 float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n goto L_0x0732;\n L_0x076e:\n r10 = 0;\n r9 = 0;\n r8 = 0;\n r7 = \"TbsDownload\";\n r11 = \"[TbsApkDownloader.startDownload] begin readResponse\";\n com.tencent.smtt.utils.TbsLog.i(r7, r11);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.t;\t Catch:{ IOException -> 0x0f2f, all -> 0x0f10 }\n r19 = r7.getInputStream();\t Catch:{ IOException -> 0x0f2f, all -> 0x0f10 }\n if (r19 == 0) goto L_0x0a6e;\n L_0x0784:\n r0 = r30;\n r7 = r0.t;\t Catch:{ IOException -> 0x0834, all -> 0x0f1b }\n r7 = r7.getContentEncoding();\t Catch:{ IOException -> 0x0834, all -> 0x0f1b }\n if (r7 == 0) goto L_0x0818;\n L_0x078e:\n r9 = \"gzip\";\n r9 = r7.contains(r9);\t Catch:{ IOException -> 0x0834, all -> 0x0f1b }\n if (r9 == 0) goto L_0x0818;\n L_0x0797:\n r18 = new java.util.zip.GZIPInputStream;\t Catch:{ IOException -> 0x0834, all -> 0x0f1b }\n r18.<init>(r19);\t Catch:{ IOException -> 0x0834, all -> 0x0f1b }\n L_0x079c:\n r7 = 8192; // 0x2000 float:1.14794E-41 double:4.0474E-320;\n r0 = new byte[r7];\t Catch:{ IOException -> 0x0f32, all -> 0x0f24 }\n r26 = r0;\n r20 = new java.io.FileOutputStream;\t Catch:{ IOException -> 0x0f32, all -> 0x0f24 }\n r7 = new java.io.File;\t Catch:{ IOException -> 0x0f32, all -> 0x0f24 }\n r0 = r30;\n r8 = r0.k;\t Catch:{ IOException -> 0x0f32, all -> 0x0f24 }\n r9 = \"x5.tbs.temp\";\n r7.<init>(r8, r9);\t Catch:{ IOException -> 0x0f32, all -> 0x0f24 }\n r8 = 1;\n r0 = r20;\n r0.<init>(r7, r8);\t Catch:{ IOException -> 0x0f32, all -> 0x0f24 }\n r14 = java.lang.System.currentTimeMillis();\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r7 = 0;\n r8 = r12;\n r10 = r12;\n r16 = r4;\n L_0x07bf:\n r0 = r30;\n r4 = r0.r;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n if (r4 == 0) goto L_0x0891;\n L_0x07c5:\n r4 = \"TbsDownload\";\n r5 = \"STEP 1/2 begin downloading...Canceled!\";\n r8 = 1;\n com.tencent.smtt.utils.TbsLog.i(r4, r5, r8);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r0 = r30;\n r4 = r0.g;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r5 = -309; // 0xfffffffffffffecb float:NaN double:NaN;\n r4.setDownloadInterruptCode(r5);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r4 = r16;\n L_0x07de:\n if (r7 == 0) goto L_0x0a72;\n L_0x07e0:\n r0 = r30;\n r1 = r20;\n r0.a(r1);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r1 = r18;\n r0.a(r1);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r1 = r19;\n r0.a(r1);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01c2;\n L_0x07f7:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r9 = java.lang.Long.valueOf(r4);\n r7.put(r8, r9);\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7.commit();\n goto L_0x01c2;\n L_0x0818:\n if (r7 == 0) goto L_0x088d;\n L_0x081a:\n r9 = \"deflate\";\n r7 = r7.contains(r9);\t Catch:{ IOException -> 0x0834, all -> 0x0f1b }\n if (r7 == 0) goto L_0x088d;\n L_0x0823:\n r18 = new java.util.zip.InflaterInputStream;\t Catch:{ IOException -> 0x0834, all -> 0x0f1b }\n r7 = new java.util.zip.Inflater;\t Catch:{ IOException -> 0x0834, all -> 0x0f1b }\n r9 = 1;\n r7.<init>(r9);\t Catch:{ IOException -> 0x0834, all -> 0x0f1b }\n r0 = r18;\n r1 = r19;\n r0.<init>(r1, r7);\t Catch:{ IOException -> 0x0834, all -> 0x0f1b }\n goto L_0x079c;\n L_0x0834:\n r7 = move-exception;\n r9 = r19;\n L_0x0837:\n r11 = r7 instanceof java.net.SocketTimeoutException;\t Catch:{ all -> 0x0b97 }\n if (r11 != 0) goto L_0x083f;\n L_0x083b:\n r11 = r7 instanceof java.net.SocketException;\t Catch:{ all -> 0x0b97 }\n if (r11 == 0) goto L_0x0abd;\n L_0x083f:\n r11 = 100000; // 0x186a0 float:1.4013E-40 double:4.94066E-319;\n r0 = r30;\n r0.m = r11;\t Catch:{ all -> 0x0b97 }\n r12 = 0;\n r0 = r30;\n r0.a(r12);\t Catch:{ all -> 0x0b97 }\n r11 = 103; // 0x67 float:1.44E-43 double:5.1E-322;\n r0 = r30;\n r7 = r0.a(r7);\t Catch:{ all -> 0x0b97 }\n r12 = 0;\n r0 = r30;\n r0.a(r11, r7, r12);\t Catch:{ all -> 0x0b97 }\n r0 = r30;\n r0.a(r10);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r0.a(r8);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r0.a(r9);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01c2;\n L_0x086c:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r9 = java.lang.Long.valueOf(r4);\n r7.put(r8, r9);\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7.commit();\n goto L_0x01c2;\n L_0x088d:\n r18 = r19;\n goto L_0x079c;\n L_0x0891:\n r4 = 0;\n r5 = 8192; // 0x2000 float:1.14794E-41 double:4.0474E-320;\n r0 = r18;\n r1 = r26;\n r27 = r0.read(r1, r4, r5);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n if (r27 > 0) goto L_0x08e6;\n L_0x089e:\n r0 = r30;\n r4 = r0.b;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n if (r4 == 0) goto L_0x08c9;\n L_0x08a4:\n r4 = 1;\n r0 = r30;\n r1 = r21;\n r4 = r0.c(r4, r1);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n if (r4 != 0) goto L_0x08c9;\n L_0x08af:\n if (r31 != 0) goto L_0x08bf;\n L_0x08b1:\n r4 = 0;\n r0 = r30;\n r4 = r0.a(r4);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n if (r4 == 0) goto L_0x08bf;\n L_0x08ba:\n r7 = 1;\n r4 = r16;\n goto L_0x07de;\n L_0x08bf:\n r4 = 1;\n r0 = r30;\n r0.s = r4;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r6 = 0;\n r4 = r16;\n goto L_0x07de;\n L_0x08c9:\n r4 = 1;\n r0 = r30;\n r0.s = r4;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r0 = r30;\n r4 = r0.b;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n if (r4 == 0) goto L_0x08d5;\n L_0x08d4:\n r6 = 1;\n L_0x08d5:\n r0 = r30;\n r4 = r0.g;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r5 = -311; // 0xfffffffffffffec9 float:NaN double:NaN;\n r4.setDownloadInterruptCode(r5);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r4 = r16;\n goto L_0x07de;\n L_0x08e6:\n r4 = 0;\n r0 = r20;\n r1 = r26;\n r2 = r27;\n r0.write(r1, r4, r2);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r20.flush();\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n if (r31 != 0) goto L_0x09bb;\n L_0x08f5:\n r0 = r27;\n r4 = (long) r0;\n r4 = r4 + r16;\n r12 = (r4 > r24 ? 1 : (r4 == r24 ? 0 : -1));\n if (r12 < 0) goto L_0x0945;\n L_0x08fe:\n r8 = \"TbsDownload\";\n r9 = \"STEP 1/2 begin downloading...failed because you exceeded max flow!\";\n r10 = 1;\n com.tencent.smtt.utils.TbsLog.i(r8, r9, r10);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r8 = 112; // 0x70 float:1.57E-43 double:5.53E-322;\n r9 = new java.lang.StringBuilder;\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r10 = \"downloadFlow=\";\n r9.<init>(r10);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r9 = r9.append(r4);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r10 = \" downloadMaxflow=\";\n r9 = r9.append(r10);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r0 = r24;\n r9 = r9.append(r0);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r9 = r9.toString();\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r10 = 1;\n r0 = r30;\n r0.a(r8, r9, r10);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r0 = r30;\n r8 = r0.g;\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r8 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r8);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r9 = -307; // 0xfffffffffffffecd float:NaN double:NaN;\n r8.setDownloadInterruptCode(r9);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n goto L_0x07de;\n L_0x093c:\n r7 = move-exception;\n r8 = r18;\n r9 = r19;\n r10 = r20;\n goto L_0x0837;\n L_0x0945:\n r0 = r30;\n r12 = r0.g;\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r12 = com.tencent.smtt.utils.j.b(r12);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n if (r12 != 0) goto L_0x09b9;\n L_0x094f:\n r8 = \"TbsDownload\";\n r9 = \"DownloadEnd FreeSpace too small \";\n r10 = 1;\n com.tencent.smtt.utils.TbsLog.i(r8, r9, r10);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r8 = 105; // 0x69 float:1.47E-43 double:5.2E-322;\n r9 = new java.lang.StringBuilder;\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r10 = \"freespace=\";\n r9.<init>(r10);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r10 = com.tencent.smtt.utils.v.a();\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r9 = r9.append(r10);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r10 = \",and minFreeSpace=\";\n r9 = r9.append(r10);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r0 = r30;\n r10 = r0.g;\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r10 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r10);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r10 = r10.getDownloadMinFreeSpace();\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r9 = r9.append(r10);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r9 = r9.toString();\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r10 = 1;\n r0 = r30;\n r0.a(r8, r9, r10);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r0 = r30;\n r8 = r0.g;\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r8 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r8);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n r9 = -308; // 0xfffffffffffffecc float:NaN double:NaN;\n r8.setDownloadInterruptCode(r9);\t Catch:{ IOException -> 0x093c, all -> 0x099b }\n goto L_0x07de;\n L_0x099b:\n r7 = move-exception;\n r16 = r4;\n L_0x099e:\n r0 = r30;\n r1 = r20;\n r0.a(r1);\t Catch:{ Throwable -> 0x09b4, all -> 0x0f0c }\n r0 = r30;\n r1 = r18;\n r0.a(r1);\t Catch:{ Throwable -> 0x09b4, all -> 0x0f0c }\n r0 = r30;\n r1 = r19;\n r0.a(r1);\t Catch:{ Throwable -> 0x09b4, all -> 0x0f0c }\n throw r7;\t Catch:{ Throwable -> 0x09b4, all -> 0x0f0c }\n L_0x09b4:\n r7 = move-exception;\n r4 = r16;\n goto L_0x0571;\n L_0x09b9:\n r16 = r4;\n L_0x09bb:\n r0 = r27;\n r4 = (long) r0;\n r0 = r30;\n r1 = r22;\n r22 = r0.a(r1, r4);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r12 = java.lang.System.currentTimeMillis();\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r0 = r27;\n r4 = (long) r0;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r8 = r8 + r4;\n r4 = r12 - r14;\n r28 = 1000; // 0x3e8 float:1.401E-42 double:4.94E-321;\n r4 = (r4 > r28 ? 1 : (r4 == r28 ? 0 : -1));\n if (r4 <= 0) goto L_0x0f47;\n L_0x09d6:\n r4 = \"TbsDownload\";\n r5 = new java.lang.StringBuilder;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r14 = \"#2 STEP 1/2 begin downloading...current/total=\";\n r5.<init>(r14);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r5 = r5.append(r8);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r14 = \"/\";\n r5 = r5.append(r14);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r0 = r30;\n r14 = r0.l;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r5 = r5.append(r14);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r5 = r5.toString();\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r14 = 1;\n com.tencent.smtt.utils.TbsLog.i(r4, r5, r14);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r4 = com.tencent.smtt.sdk.QbSdk.m;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n if (r4 == 0) goto L_0x0a10;\n L_0x0a00:\n r4 = (double) r8;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r0 = r30;\n r14 = r0.l;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r14 = (double) r14;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r4 = r4 / r14;\n r14 = 4636737291354636288; // 0x4059000000000000 float:0.0 double:100.0;\n r4 = r4 * r14;\n r4 = (int) r4;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r5 = com.tencent.smtt.sdk.QbSdk.m;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r5.onDownloadProgress(r4);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n L_0x0a10:\n if (r31 != 0) goto L_0x0f44;\n L_0x0a12:\n r4 = r8 - r10;\n r14 = 1048576; // 0x100000 float:1.469368E-39 double:5.180654E-318;\n r4 = (r4 > r14 ? 1 : (r4 == r14 ? 0 : -1));\n if (r4 <= 0) goto L_0x0f44;\n L_0x0a1b:\n r0 = r30;\n r4 = r0.g;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r4 = com.tencent.smtt.sdk.TbsDownloader.getOverSea(r4);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n if (r4 != 0) goto L_0x0a69;\n L_0x0a25:\n r0 = r30;\n r4 = r0.g;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r4 = com.tencent.smtt.utils.Apn.getApnType(r4);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r5 = 3;\n if (r4 == r5) goto L_0x0a36;\n L_0x0a30:\n r4 = com.tencent.smtt.sdk.QbSdk.getDownloadWithoutWifi();\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n if (r4 == 0) goto L_0x0a40;\n L_0x0a36:\n r0 = r30;\n r4 = r0.g;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r4 = com.tencent.smtt.utils.Apn.getApnType(r4);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n if (r4 != 0) goto L_0x0a69;\n L_0x0a40:\n r30.c();\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r4 = com.tencent.smtt.sdk.QbSdk.m;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n if (r4 == 0) goto L_0x0a4e;\n L_0x0a47:\n r4 = com.tencent.smtt.sdk.QbSdk.m;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r5 = 111; // 0x6f float:1.56E-43 double:5.5E-322;\n r4.onDownloadFinish(r5);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n L_0x0a4e:\n r4 = \"TbsDownload\";\n r5 = \"Download is paused due to NOT_WIFI error!\";\n r8 = 0;\n com.tencent.smtt.utils.TbsLog.i(r4, r5, r8);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r0 = r30;\n r4 = r0.g;\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r5 = -304; // 0xfffffffffffffed0 float:NaN double:NaN;\n r4.setDownloadInterruptCode(r5);\t Catch:{ IOException -> 0x0f39, all -> 0x0f2b }\n r4 = r16;\n goto L_0x07de;\n L_0x0a69:\n r4 = r8;\n L_0x0a6a:\n r14 = r12;\n r10 = r4;\n goto L_0x07bf;\n L_0x0a6e:\n r18 = r8;\n r20 = r10;\n L_0x0a72:\n r0 = r30;\n r1 = r20;\n r0.a(r1);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r1 = r18;\n r0.a(r1);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r1 = r19;\n r0.a(r1);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.s;\t Catch:{ Throwable -> 0x0570 }\n if (r7 != 0) goto L_0x0a9a;\n L_0x0a8d:\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -319; // 0xfffffffffffffec1 float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n L_0x0a9a:\n if (r31 != 0) goto L_0x01ea;\n L_0x0a9c:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0abd:\n if (r31 != 0) goto L_0x0b3b;\n L_0x0abf:\n r0 = r30;\n r11 = r0.g;\t Catch:{ all -> 0x0b97 }\n r11 = com.tencent.smtt.utils.j.b(r11);\t Catch:{ all -> 0x0b97 }\n if (r11 != 0) goto L_0x0b3b;\n L_0x0ac9:\n r7 = 105; // 0x69 float:1.47E-43 double:5.2E-322;\n r11 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0b97 }\n r12 = \"freespace=\";\n r11.<init>(r12);\t Catch:{ all -> 0x0b97 }\n r12 = com.tencent.smtt.utils.v.a();\t Catch:{ all -> 0x0b97 }\n r11 = r11.append(r12);\t Catch:{ all -> 0x0b97 }\n r12 = \",and minFreeSpace=\";\n r11 = r11.append(r12);\t Catch:{ all -> 0x0b97 }\n r0 = r30;\n r12 = r0.g;\t Catch:{ all -> 0x0b97 }\n r12 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r12);\t Catch:{ all -> 0x0b97 }\n r12 = r12.getDownloadMinFreeSpace();\t Catch:{ all -> 0x0b97 }\n r11 = r11.append(r12);\t Catch:{ all -> 0x0b97 }\n r11 = r11.toString();\t Catch:{ all -> 0x0b97 }\n r12 = 1;\n r0 = r30;\n r0.a(r7, r11, r12);\t Catch:{ all -> 0x0b97 }\n r0 = r30;\n r7 = r0.g;\t Catch:{ all -> 0x0b97 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ all -> 0x0b97 }\n r11 = -308; // 0xfffffffffffffecc float:NaN double:NaN;\n r7.setDownloadInterruptCode(r11);\t Catch:{ all -> 0x0b97 }\n r0 = r30;\n r0.a(r10);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r0.a(r8);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r0.a(r9);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01ea;\n L_0x0b1a:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0b3b:\n r12 = 0;\n r0 = r30;\n r0.a(r12);\t Catch:{ all -> 0x0b97 }\n r11 = r30.j();\t Catch:{ all -> 0x0b97 }\n if (r11 != 0) goto L_0x0b88;\n L_0x0b48:\n r11 = 106; // 0x6a float:1.49E-43 double:5.24E-322;\n r0 = r30;\n r7 = r0.a(r7);\t Catch:{ all -> 0x0b97 }\n r12 = 0;\n r0 = r30;\n r0.a(r11, r7, r12);\t Catch:{ all -> 0x0b97 }\n L_0x0b56:\n r0 = r30;\n r0.a(r10);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r0.a(r8);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r0.a(r9);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01c2;\n L_0x0b67:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r9 = java.lang.Long.valueOf(r4);\n r7.put(r8, r9);\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7.commit();\n goto L_0x01c2;\n L_0x0b88:\n r11 = 104; // 0x68 float:1.46E-43 double:5.14E-322;\n r0 = r30;\n r7 = r0.a(r7);\t Catch:{ all -> 0x0b97 }\n r12 = 0;\n r0 = r30;\n r0.a(r11, r7, r12);\t Catch:{ all -> 0x0b97 }\n goto L_0x0b56;\n L_0x0b97:\n r7 = move-exception;\n r16 = r4;\n r18 = r8;\n r19 = r9;\n r20 = r10;\n goto L_0x099e;\n L_0x0ba2:\n r8 = 300; // 0x12c float:4.2E-43 double:1.48E-321;\n if (r7 < r8) goto L_0x0c25;\n L_0x0ba6:\n r8 = 307; // 0x133 float:4.3E-43 double:1.517E-321;\n if (r7 > r8) goto L_0x0c25;\n L_0x0baa:\n r0 = r30;\n r7 = r0.t;\t Catch:{ Throwable -> 0x0570 }\n r8 = \"Location\";\n r7 = r7.getHeaderField(r8);\t Catch:{ Throwable -> 0x0570 }\n r8 = android.text.TextUtils.isEmpty(r7);\t Catch:{ Throwable -> 0x0570 }\n if (r8 != 0) goto L_0x0bec;\n L_0x0bbb:\n r0 = r30;\n r0.j = r7;\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.q;\t Catch:{ Throwable -> 0x0570 }\n r7 = r7 + 1;\n r0 = r30;\n r0.q = r7;\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01c2;\n L_0x0bcb:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r9 = java.lang.Long.valueOf(r4);\n r7.put(r8, r9);\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7.commit();\n goto L_0x01c2;\n L_0x0bec:\n r7 = 124; // 0x7c float:1.74E-43 double:6.13E-322;\n r8 = 0;\n r9 = 1;\n r0 = r30;\n r0.a(r7, r8, r9);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -312; // 0xfffffffffffffec8 float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01ea;\n L_0x0c04:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0c25:\n r8 = 102; // 0x66 float:1.43E-43 double:5.04E-322;\n r9 = java.lang.String.valueOf(r7);\t Catch:{ Throwable -> 0x0570 }\n r10 = 0;\n r0 = r30;\n r0.a(r8, r9, r10);\t Catch:{ Throwable -> 0x0570 }\n r8 = 416; // 0x1a0 float:5.83E-43 double:2.055E-321;\n if (r7 != r8) goto L_0x0ca7;\n L_0x0c35:\n r7 = 1;\n r0 = r30;\n r1 = r21;\n r7 = r0.c(r7, r1);\t Catch:{ Throwable -> 0x0570 }\n if (r7 == 0) goto L_0x0c71;\n L_0x0c40:\n r6 = 1;\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -214; // 0xffffffffffffff2a float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01ea;\n L_0x0c50:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0c71:\n r7 = 0;\n r0 = r30;\n r0.c(r7);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -313; // 0xfffffffffffffec7 float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01ea;\n L_0x0c86:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0ca7:\n r8 = 403; // 0x193 float:5.65E-43 double:1.99E-321;\n if (r7 == r8) goto L_0x0caf;\n L_0x0cab:\n r8 = 406; // 0x196 float:5.69E-43 double:2.006E-321;\n if (r7 != r8) goto L_0x0ce9;\n L_0x0caf:\n r0 = r30;\n r8 = r0.l;\t Catch:{ Throwable -> 0x0570 }\n r10 = -1;\n r8 = (r8 > r10 ? 1 : (r8 == r10 ? 0 : -1));\n if (r8 != 0) goto L_0x0ce9;\n L_0x0cb9:\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -314; // 0xfffffffffffffec6 float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01ea;\n L_0x0cc8:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0ce9:\n r8 = 202; // 0xca float:2.83E-43 double:1.0E-321;\n if (r7 != r8) goto L_0x0d10;\n L_0x0ced:\n if (r31 != 0) goto L_0x01c2;\n L_0x0cef:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r9 = java.lang.Long.valueOf(r4);\n r7.put(r8, r9);\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7.commit();\n goto L_0x01c2;\n L_0x0d10:\n r0 = r30;\n r8 = r0.p;\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r9 = r0.B;\t Catch:{ Throwable -> 0x0570 }\n if (r8 >= r9) goto L_0x0d8b;\n L_0x0d1a:\n r8 = 503; // 0x1f7 float:7.05E-43 double:2.485E-321;\n if (r7 != r8) goto L_0x0d8b;\n L_0x0d1e:\n r0 = r30;\n r7 = r0.t;\t Catch:{ Throwable -> 0x0570 }\n r8 = \"Retry-After\";\n r7 = r7.getHeaderField(r8);\t Catch:{ Throwable -> 0x0570 }\n r8 = java.lang.Long.parseLong(r7);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r0.a(r8);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.r;\t Catch:{ Throwable -> 0x0570 }\n if (r7 == 0) goto L_0x0d68;\n L_0x0d38:\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -309; // 0xfffffffffffffecb float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01ea;\n L_0x0d47:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0d68:\n if (r31 != 0) goto L_0x01c2;\n L_0x0d6a:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r9 = java.lang.Long.valueOf(r4);\n r7.put(r8, r9);\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7.commit();\n goto L_0x01c2;\n L_0x0d8b:\n r0 = r30;\n r8 = r0.p;\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r9 = r0.B;\t Catch:{ Throwable -> 0x0570 }\n if (r8 >= r9) goto L_0x0e05;\n L_0x0d95:\n r8 = 408; // 0x198 float:5.72E-43 double:2.016E-321;\n if (r7 == r8) goto L_0x0da5;\n L_0x0d99:\n r8 = 504; // 0x1f8 float:7.06E-43 double:2.49E-321;\n if (r7 == r8) goto L_0x0da5;\n L_0x0d9d:\n r8 = 502; // 0x1f6 float:7.03E-43 double:2.48E-321;\n if (r7 == r8) goto L_0x0da5;\n L_0x0da1:\n r8 = 408; // 0x198 float:5.72E-43 double:2.016E-321;\n if (r7 != r8) goto L_0x0e05;\n L_0x0da5:\n r8 = 0;\n r0 = r30;\n r0.a(r8);\t Catch:{ Throwable -> 0x0570 }\n r0 = r30;\n r7 = r0.r;\t Catch:{ Throwable -> 0x0570 }\n if (r7 == 0) goto L_0x0de2;\n L_0x0db2:\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -309; // 0xfffffffffffffecb float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01ea;\n L_0x0dc1:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0de2:\n if (r31 != 0) goto L_0x01c2;\n L_0x0de4:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r9 = java.lang.Long.valueOf(r4);\n r7.put(r8, r9);\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7.commit();\n goto L_0x01c2;\n L_0x0e05:\n r8 = r30.k();\t Catch:{ Throwable -> 0x0570 }\n r10 = 0;\n r8 = (r8 > r10 ? 1 : (r8 == r10 ? 0 : -1));\n if (r8 > 0) goto L_0x0e41;\n L_0x0e0f:\n r0 = r30;\n r8 = r0.o;\t Catch:{ Throwable -> 0x0570 }\n if (r8 != 0) goto L_0x0e41;\n L_0x0e15:\n r8 = 410; // 0x19a float:5.75E-43 double:2.026E-321;\n if (r7 == r8) goto L_0x0e41;\n L_0x0e19:\n r7 = 1;\n r0 = r30;\n r0.o = r7;\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01c2;\n L_0x0e20:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r9 = java.lang.Long.valueOf(r4);\n r7.put(r8, r9);\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7.commit();\n goto L_0x01c2;\n L_0x0e41:\n r0 = r30;\n r7 = r0.g;\t Catch:{ Throwable -> 0x0570 }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ Throwable -> 0x0570 }\n r8 = -315; // 0xfffffffffffffec5 float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ Throwable -> 0x0570 }\n if (r31 != 0) goto L_0x01ea;\n L_0x0e50:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0e71:\n r8 = 0;\n r0 = r30;\n r0.a(r8);\t Catch:{ all -> 0x060d }\n r8 = 107; // 0x6b float:1.5E-43 double:5.3E-322;\n r0 = r30;\n r7 = r0.a(r7);\t Catch:{ all -> 0x060d }\n r9 = 0;\n r0 = r30;\n r0.a(r8, r7, r9);\t Catch:{ all -> 0x060d }\n r0 = r30;\n r7 = r0.r;\t Catch:{ all -> 0x060d }\n if (r7 == 0) goto L_0x05b8;\n L_0x0e8c:\n r0 = r30;\n r7 = r0.g;\t Catch:{ all -> 0x060d }\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\t Catch:{ all -> 0x060d }\n r8 = -309; // 0xfffffffffffffecb float:NaN double:NaN;\n r7.setDownloadInterruptCode(r8);\t Catch:{ all -> 0x060d }\n if (r31 != 0) goto L_0x01ea;\n L_0x0e9b:\n r0 = r30;\n r7 = r0.g;\n r7 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r7);\n r7 = r7.a;\n r8 = \"tbs_downloadflow\";\n r4 = java.lang.Long.valueOf(r4);\n r7.put(r8, r4);\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r4.commit();\n goto L_0x01ea;\n L_0x0ebc:\n r4 = 0;\n goto L_0x020e;\n L_0x0ebf:\n r4 = 2;\n goto L_0x021a;\n L_0x0ec2:\n r0 = r30;\n r4 = r0.v;\n r5 = 0;\n r4.setPatchUpdateFlag(r5);\n goto L_0x021d;\n L_0x0ecc:\n r0 = r30;\n r4 = r0.g;\n r4 = com.tencent.smtt.sdk.TbsDownloadConfig.getInstance(r4);\n r5 = -318; // 0xfffffffffffffec2 float:NaN double:NaN;\n r4.setDownloadInterruptCode(r5);\n r4 = 0;\n r0 = r30;\n r0.c(r4);\n goto L_0x023d;\n L_0x0ee1:\n r5 = r4.mPreferences;\n r7 = \"tbs_download_failed_retrytimes\";\n r8 = 0;\n r5 = r5.getInt(r7, r8);\n r7 = r4.a;\n r8 = \"tbs_download_failed_retrytimes\";\n r5 = r5 + 1;\n r9 = java.lang.Integer.valueOf(r5);\n r7.put(r8, r9);\n r7 = r4.getDownloadFailedMaxRetrytimes();\n if (r5 != r7) goto L_0x025f;\n L_0x0eff:\n r0 = r30;\n r5 = r0.v;\n r7 = 2;\n r5.setDownloadCancel(r7);\n goto L_0x025f;\n L_0x0f09:\n r4 = 0;\n goto L_0x0269;\n L_0x0f0c:\n r4 = move-exception;\n r6 = r4;\n goto L_0x0610;\n L_0x0f10:\n r7 = move-exception;\n r16 = r4;\n r18 = r8;\n r19 = r9;\n r20 = r10;\n goto L_0x099e;\n L_0x0f1b:\n r7 = move-exception;\n r16 = r4;\n r18 = r8;\n r20 = r10;\n goto L_0x099e;\n L_0x0f24:\n r7 = move-exception;\n r16 = r4;\n r20 = r10;\n goto L_0x099e;\n L_0x0f2b:\n r4 = move-exception;\n r7 = r4;\n goto L_0x099e;\n L_0x0f2f:\n r7 = move-exception;\n goto L_0x0837;\n L_0x0f32:\n r7 = move-exception;\n r8 = r18;\n r9 = r19;\n goto L_0x0837;\n L_0x0f39:\n r7 = move-exception;\n r4 = r16;\n r8 = r18;\n r9 = r19;\n r10 = r20;\n goto L_0x0837;\n L_0x0f44:\n r4 = r10;\n goto L_0x0a6a;\n L_0x0f47:\n r12 = r14;\n r4 = r10;\n goto L_0x0a6a;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.smtt.sdk.ag.b(boolean, boolean):void\");\n }" ]
[ "0.6738452", "0.6409728", "0.6379105", "0.6371974", "0.6342236", "0.6306372", "0.62578243", "0.62389034", "0.6228854", "0.62232256", "0.6202616", "0.62009495", "0.61829144", "0.61607873", "0.61602265", "0.613292", "0.6122174", "0.60872364", "0.6066116", "0.60660064", "0.6063499", "0.60619026", "0.60479", "0.60471857", "0.60367304", "0.60314274", "0.60313356", "0.60297674", "0.6025481", "0.60220605", "0.6003135", "0.59977967", "0.59912443", "0.5980615", "0.5979193", "0.596671", "0.5960963", "0.5956918", "0.59517145", "0.59472567", "0.5941654", "0.5926606", "0.59233207", "0.59169114", "0.59122896", "0.59014904", "0.5899113", "0.58936137", "0.5893445", "0.58899736", "0.5883989", "0.58749676", "0.5867797", "0.586106", "0.5853299", "0.5841547", "0.583461", "0.5829478", "0.5820182", "0.58181244", "0.5818106", "0.58084494", "0.5802048", "0.580103", "0.5798106", "0.57956195", "0.57926637", "0.5791201", "0.578611", "0.57806164", "0.57779974", "0.57645833", "0.57634294", "0.5762165", "0.575606", "0.5755197", "0.57481277", "0.5747886", "0.57468516", "0.5739616", "0.5737247", "0.5734374", "0.57287115", "0.57212806", "0.57202613", "0.57152444", "0.57111025", "0.57104397", "0.5710434", "0.5708497", "0.57022476", "0.56956095", "0.56917953", "0.5690572", "0.568853", "0.5688221", "0.56875455", "0.56874686", "0.56844187", "0.5679132", "0.567811" ]
0.0
-1
/ JADX WARNING: Missing block: B:8:0x002e, code skipped: return;
public void stopFaceDetection() { /* r3 = this; r0 = r3.mFaceDetectionStarted; if (r0 == 0) goto L_0x002e; L_0x0004: r0 = r3.mCameraDevice; if (r0 != 0) goto L_0x0009; L_0x0008: goto L_0x002e; L_0x0009: r0 = r3.mCameraCapabilities; r0 = r0.getMaxNumOfFacesSupported(); if (r0 <= 0) goto L_0x002d; L_0x0011: r0 = 0; r3.mFaceDetectionStarted = r0; r1 = r3.mCameraDevice; r2 = 0; r1.setFaceDetectionCallback(r2, r2); r1 = TAG; r2 = "stopFaceDetection"; com.hmdglobal.app.camera.debug.Log.w(r1, r2); r1 = r3.mCameraDevice; r1.stopFaceDetection(); r1 = com.hmdglobal.app.camera.util.SessionStatsCollector.instance(); r1.faceScanActive(r0); L_0x002d: return; L_0x002e: return; */ throw new UnsupportedOperationException("Method not decompiled: com.hmdglobal.app.camera.VideoModule.stopFaceDetection():void"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int c(Block parambec)\r\n/* 119: */ {\r\n/* 120:131 */ return 0;\r\n/* 121: */ }", "public int h(Block parambec)\r\n/* 29: */ {\r\n/* 30: 44 */ return F();\r\n/* 31: */ }", "void a(bu var1_1, f var2_2, Map var3_3, double var4_4, double var6_5) {\n block6 : {\n var14_6 = fj.z;\n var8_7 = M.b();\n var9_8 = var2_2.a();\n while (var9_8.f()) {\n var10_9 = var9_8.a();\n if (var14_6) break block6;\n if (!var10_9.e() || var1_1.i((y.c.d)var10_9).bendCount() > 1) ** GOTO lbl-1000\n var11_10 = var1_1.i((y.c.d)var10_9);\n var12_11 = var11_10.getSourceRealizer();\n if (var1_1.i((y.c.d)var10_9).bendCount() == 0) {\n var11_10.appendBend(var11_10.getSourcePort().a(var12_11), var11_10.getSourcePort().b(var12_11) - 20.0 - var12_11.getHeight());\n }\n this.a(var1_1, var4_4, var6_5, (y.c.d)var10_9, true, false, false, var10_9.c());\n if (var14_6) lbl-1000: // 2 sources:\n {\n var8_7.a(var10_9, true);\n var8_7.a((Object)var3_3.get(var10_9), true);\n }\n var9_8.g();\n if (!var14_6) continue;\n }\n var1_1.a(as.a, var8_7);\n }\n var9_8 = new as();\n var9_8.a(5.0);\n var9_8.b(false);\n var9_8.a(true);\n try {\n var10_9 = new bI(1);\n var10_9.a(false);\n var10_9.b(true);\n var10_9.d().a(true);\n var10_9.a(var1_1, (ah)var9_8);\n return;\n }\n finally {\n var1_1.d_(as.a);\n }\n }", "void m5768b() throws C0841b;", "public void a() {\n block8 : {\n block9 : {\n var1_1 = this.f();\n var2_2 = false;\n if (var1_1) break block8;\n this.j.c();\n var6_3 = this.k;\n var7_4 = this.b;\n var8_5 = (l)var6_3;\n var9_6 = var8_5.a(var7_4);\n if (var9_6 != null) break block9;\n this.a(false);\n var2_2 = true;\n ** GOTO lbl30\n }\n if (var9_6 != n.b) ** GOTO lbl26\n this.a(this.g);\n var11_7 = this.k;\n var12_8 = this.b;\n var13_9 = (l)var11_7;\n try {\n block10 : {\n var2_2 = var13_9.a(var12_8).d();\n break block10;\nlbl26: // 1 sources:\n var10_10 = var9_6.d();\n var2_2 = false;\n if (!var10_10) {\n this.b();\n }\n }\n this.j.g();\n }\n finally {\n this.j.d();\n }\n }\n if ((var3_12 = this.c) == null) return;\n if (var2_2) {\n var4_13 = var3_12.iterator();\n while (var4_13.hasNext()) {\n ((d)var4_13.next()).a(this.b);\n }\n }\n e.a(this.h, this.j, this.c);\n }\n\n /*\n * Exception decompiling\n */\n public final void a(ListenableWorker.a var1_1) {\n // This method has failed to decompile. When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.\n // org.benf.cfr.reader.util.ConfusedCFRException: Tried to end blocks [4[TRYBLOCK]], but top level block is 10[WHILELOOP]\n // org.benf.cfr.reader.b.a.a.j.a(Op04StructuredStatement.java:432)\n // org.benf.cfr.reader.b.a.a.j.d(Op04StructuredStatement.java:484)\n // org.benf.cfr.reader.b.a.a.i.a(Op03SimpleStatement.java:607)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:692)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:182)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:127)\n // org.benf.cfr.reader.entities.attributes.f.c(AttributeCode.java:96)\n // org.benf.cfr.reader.entities.g.p(Method.java:396)\n // org.benf.cfr.reader.entities.d.e(ClassFile.java:890)\n // org.benf.cfr.reader.entities.d.b(ClassFile.java:792)\n // org.benf.cfr.reader.b.a(Driver.java:128)\n // org.benf.cfr.reader.a.a(CfrDriverImpl.java:63)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.decompileWithCFR(JavaExtractionWorker.kt:61)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.doWork(JavaExtractionWorker.kt:130)\n // com.njlabs.showjava.decompilers.BaseDecompiler.withAttempt(BaseDecompiler.kt:108)\n // com.njlabs.showjava.workers.DecompilerWorker$b.run(DecompilerWorker.kt:118)\n // java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)\n // java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)\n // java.lang.Thread.run(Thread.java:919)\n throw new IllegalStateException(\"Decompilation failed\");\n }\n\n public final void a(String string) {\n LinkedList linkedList = new LinkedList();\n linkedList.add((Object)string);\n while (!linkedList.isEmpty()) {\n String string2 = (String)linkedList.remove();\n if (((l)this.k).a(string2) != n.f) {\n k k2 = this.k;\n n n2 = n.d;\n String[] arrstring = new String[]{string2};\n ((l)k2).a(n2, arrstring);\n }\n linkedList.addAll((Collection)((a.i.r.p.c)this.l).a(string2));\n }\n }\n\n /*\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n */\n public final void a(boolean bl) {\n this.j.c();\n k k2 = this.j.k();\n l l2 = (l)k2;\n List list = l2.a();\n ArrayList arrayList = (ArrayList)list;\n boolean bl2 = arrayList.isEmpty();\n if (bl2) {\n f.a(this.a, RescheduleReceiver.class, false);\n }\n this.j.g();\n this.p.c((Object)bl);\n return;\n finally {\n this.j.d();\n }\n }\n\n public final void b() {\n this.j.c();\n k k2 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l2 = (l)k2;\n l2.a(n2, arrstring);\n k k3 = this.k;\n String string = this.b;\n long l3 = System.currentTimeMillis();\n l l4 = (l)k3;\n l4.b(string, l3);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n try {\n l5.a(string2, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(true);\n }\n }\n\n public final void c() {\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n long l2 = System.currentTimeMillis();\n l l3 = (l)k2;\n l3.b(string, l2);\n k k3 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l4 = (l)k3;\n l4.a(n2, arrstring);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n l5.f(string2);\n k k5 = this.k;\n String string3 = this.b;\n l l6 = (l)k5;\n try {\n l6.a(string3, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final void d() {\n k k2 = this.k;\n String string = this.b;\n n n2 = ((l)k2).a(string);\n if (n2 == n.b) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[]{this.b};\n h2.a(string2, String.format((String)\"Status for %s is RUNNING;not doing any work and rescheduling for later execution\", (Object[])arrobject), new Throwable[0]);\n this.a(true);\n return;\n }\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[]{this.b, n2};\n h4.a(string3, String.format((String)\"Status for %s is %s; not doing any work\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n }\n\n public void e() {\n this.j.c();\n this.a(this.b);\n a.i.e e2 = ((ListenableWorker.a.a)this.g).a;\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n try {\n l2.a(string, e2);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final boolean f() {\n if (this.r) {\n h h2 = h.a();\n String string = s;\n Object[] arrobject = new Object[]{this.o};\n h2.a(string, String.format((String)\"Work interrupted for %s\", (Object[])arrobject), new Throwable[0]);\n k k2 = this.k;\n String string2 = this.b;\n n n2 = ((l)k2).a(string2);\n if (n2 == null) {\n this.a(false);\n return true;\n }\n this.a(true ^ n2.d());\n return true;\n }\n return false;\n }\n\n /*\n * Loose catch block\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n * Lifted jumps to return sites\n */\n public void run() {\n int n2;\n block42 : {\n block41 : {\n i i2;\n Cursor cursor;\n block48 : {\n block46 : {\n ListenableWorker listenableWorker;\n block47 : {\n a.i.e e2;\n block44 : {\n g g2;\n block45 : {\n block40 : {\n boolean bl;\n Iterator iterator;\n j j2;\n StringBuilder stringBuilder;\n block43 : {\n a.i.r.p.n n3 = this.m;\n String string = this.b;\n o o2 = (o)n3;\n if (o2 == null) throw null;\n n2 = 1;\n i i3 = i.a((String)\"SELECT DISTINCT tag FROM worktag WHERE work_spec_id=?\", (int)n2);\n if (string == null) {\n i3.bindNull(n2);\n } else {\n i3.bindString(n2, string);\n }\n o2.a.b();\n Cursor cursor2 = a.f.l.a.a(o2.a, (a.g.a.e)i3, false);\n ArrayList arrayList = new ArrayList(cursor2.getCount());\n while (cursor2.moveToNext()) {\n arrayList.add((Object)cursor2.getString(0));\n }\n this.n = arrayList;\n stringBuilder = new StringBuilder(\"Work [ id=\");\n stringBuilder.append(this.b);\n stringBuilder.append(\", tags={ \");\n iterator = arrayList.iterator();\n bl = true;\n break block43;\n finally {\n cursor2.close();\n i3.b();\n }\n }\n while (iterator.hasNext()) {\n String string = (String)iterator.next();\n if (bl) {\n bl = false;\n } else {\n stringBuilder.append(\", \");\n }\n stringBuilder.append(string);\n }\n stringBuilder.append(\" } ]\");\n this.o = stringBuilder.toString();\n if (this.f()) {\n return;\n }\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n this.e = j2 = l2.d(string);\n if (j2 == null) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.b;\n h2.b(string2, String.format((String)\"Didn't find WorkSpec for id %s\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n return;\n }\n if (j2.b != n.a) {\n this.d();\n this.j.g();\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h4.a(string3, String.format((String)\"%s is not in ENQUEUED state. Nothing more to do.\", (Object[])arrobject), new Throwable[0]);\n return;\n }\n if (j2.d() || this.e.c()) {\n long l3 = System.currentTimeMillis();\n boolean bl2 = this.e.n == 0L;\n if (!bl2 && l3 < this.e.a()) {\n h h5 = h.a();\n String string4 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h5.a(string4, String.format((String)\"Delaying execution for %s because it is being executed before schedule.\", (Object[])arrobject), new Throwable[0]);\n this.a((boolean)n2);\n return;\n }\n }\n this.j.g();\n if (!this.e.d()) break block40;\n e2 = this.e.e;\n break block44;\n }\n g2 = g.a(this.e.d);\n if (g2 != null) break block45;\n h h6 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.d;\n h6.b(string, String.format((String)\"Could not create Input Merger %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n ArrayList arrayList = new ArrayList();\n arrayList.add((Object)this.e.e);\n k k3 = this.k;\n String string = this.b;\n l l4 = (l)k3;\n if (l4 == null) throw null;\n i2 = i.a((String)\"SELECT output FROM workspec WHERE id IN (SELECT prerequisite_id FROM dependency WHERE work_spec_id=?)\", (int)n2);\n if (string == null) {\n i2.bindNull(n2);\n } else {\n i2.bindString(n2, string);\n }\n l4.a.b();\n cursor = a.f.l.a.a(l4.a, (a.g.a.e)i2, false);\n ArrayList arrayList2 = new ArrayList(cursor.getCount());\n while (cursor.moveToNext()) {\n arrayList2.add((Object)a.i.e.b(cursor.getBlob(0)));\n }\n arrayList.addAll((Collection)arrayList2);\n e2 = g2.a((List<a.i.e>)arrayList);\n }\n a.i.e e3 = e2;\n UUID uUID = UUID.fromString((String)this.b);\n List<String> list = this.n;\n WorkerParameters.a a2 = this.d;\n int n5 = this.e.k;\n a.i.b b2 = this.h;\n WorkerParameters workerParameters = new WorkerParameters(uUID, e3, list, a2, n5, b2.a, this.i, b2.c);\n if (this.f == null) {\n this.f = this.h.c.a(this.a, this.e.c, workerParameters);\n }\n if ((listenableWorker = this.f) != null) break block47;\n h h7 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h7.b(string, String.format((String)\"Could not create Worker %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n if (!listenableWorker.isUsed()) break block48;\n h h8 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h8.b(string, String.format((String)\"Received an already-used Worker %s; WorkerFactory should return new instances\", (Object[])arrobject), new Throwable[0]);\n }\n this.e();\n return;\n }\n this.f.setUsed();\n this.j.c();\n k k4 = this.k;\n String string = this.b;\n l l5 = (l)k4;\n if (l5.a(string) != n.a) break block41;\n k k5 = this.k;\n n n7 = n.b;\n String[] arrstring = new String[n2];\n arrstring[0] = this.b;\n l l6 = (l)k5;\n l6.a(n7, arrstring);\n k k6 = this.k;\n String string5 = this.b;\n l l7 = (l)k6;\n try {\n l7.e(string5);\n break block42;\n }\n finally {\n cursor.close();\n i2.b();\n }\n catch (Throwable throwable) {\n throw throwable;\n }\n finally {\n this.j.d();\n }\n }\n n2 = 0;\n }\n this.j.g();\n if (n2 != 0) {\n if (this.f()) {\n return;\n }\n c c2 = new c();\n ((a.i.r.q.m.b)this.i).c.execute((Runnable)new a.i.r.k(this, c2));\n c2.a((Runnable)new a.i.r.l(this, c2, this.o), ((a.i.r.q.m.b)this.i).a);\n return;\n }\n this.d();\n return;\n finally {\n this.j.d();\n }\n }\n\n public static class a {\n public Context a;\n public ListenableWorker b;\n public a.i.r.q.m.a c;\n public a.i.b d;\n public WorkDatabase e;\n public String f;\n public List<d> g;\n public WorkerParameters.a h = new WorkerParameters.a();\n\n public a(Context context, a.i.b b2, a.i.r.q.m.a a2, WorkDatabase workDatabase, String string) {\n this.a = context.getApplicationContext();\n this.c = a2;\n this.d = b2;\n this.e = workDatabase;\n this.f = string;\n }\n }\n\n}", "private final com.google.android.p306h.p307a.p308a.C5685v m26927b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 8: goto L_0x000e;\n case 18: goto L_0x0043;\n case 24: goto L_0x0054;\n case 32: goto L_0x005f;\n case 42: goto L_0x006a;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0034 }\n switch(r2) {\n case 0: goto L_0x003c;\n case 1: goto L_0x003c;\n case 2: goto L_0x003c;\n case 3: goto L_0x003c;\n case 4: goto L_0x003c;\n case 5: goto L_0x003c;\n case 101: goto L_0x003c;\n case 102: goto L_0x003c;\n case 103: goto L_0x003c;\n case 104: goto L_0x003c;\n case 105: goto L_0x003c;\n case 106: goto L_0x003c;\n case 107: goto L_0x003c;\n case 108: goto L_0x003c;\n case 201: goto L_0x003c;\n case 202: goto L_0x003c;\n case 203: goto L_0x003c;\n case 204: goto L_0x003c;\n case 205: goto L_0x003c;\n case 206: goto L_0x003c;\n case 207: goto L_0x003c;\n case 208: goto L_0x003c;\n case 209: goto L_0x003c;\n case 301: goto L_0x003c;\n case 302: goto L_0x003c;\n case 303: goto L_0x003c;\n case 304: goto L_0x003c;\n case 305: goto L_0x003c;\n case 306: goto L_0x003c;\n case 307: goto L_0x003c;\n case 401: goto L_0x003c;\n case 402: goto L_0x003c;\n case 403: goto L_0x003c;\n case 404: goto L_0x003c;\n case 501: goto L_0x003c;\n case 502: goto L_0x003c;\n case 503: goto L_0x003c;\n case 504: goto L_0x003c;\n case 601: goto L_0x003c;\n case 602: goto L_0x003c;\n case 603: goto L_0x003c;\n case 604: goto L_0x003c;\n case 605: goto L_0x003c;\n case 606: goto L_0x003c;\n case 607: goto L_0x003c;\n case 608: goto L_0x003c;\n case 609: goto L_0x003c;\n case 610: goto L_0x003c;\n case 611: goto L_0x003c;\n case 612: goto L_0x003c;\n case 613: goto L_0x003c;\n case 614: goto L_0x003c;\n case 615: goto L_0x003c;\n case 616: goto L_0x003c;\n case 617: goto L_0x003c;\n case 618: goto L_0x003c;\n case 619: goto L_0x003c;\n case 620: goto L_0x003c;\n case 621: goto L_0x003c;\n case 622: goto L_0x003c;\n case 623: goto L_0x003c;\n case 624: goto L_0x003c;\n case 625: goto L_0x003c;\n case 626: goto L_0x003c;\n case 627: goto L_0x003c;\n case 628: goto L_0x003c;\n case 629: goto L_0x003c;\n case 630: goto L_0x003c;\n case 631: goto L_0x003c;\n case 632: goto L_0x003c;\n case 633: goto L_0x003c;\n case 634: goto L_0x003c;\n case 635: goto L_0x003c;\n case 636: goto L_0x003c;\n case 637: goto L_0x003c;\n case 638: goto L_0x003c;\n case 639: goto L_0x003c;\n case 640: goto L_0x003c;\n case 641: goto L_0x003c;\n case 701: goto L_0x003c;\n case 702: goto L_0x003c;\n case 703: goto L_0x003c;\n case 704: goto L_0x003c;\n case 705: goto L_0x003c;\n case 706: goto L_0x003c;\n case 707: goto L_0x003c;\n case 708: goto L_0x003c;\n case 709: goto L_0x003c;\n case 710: goto L_0x003c;\n case 711: goto L_0x003c;\n case 712: goto L_0x003c;\n case 713: goto L_0x003c;\n case 714: goto L_0x003c;\n case 715: goto L_0x003c;\n case 716: goto L_0x003c;\n case 717: goto L_0x003c;\n case 718: goto L_0x003c;\n case 719: goto L_0x003c;\n case 720: goto L_0x003c;\n case 721: goto L_0x003c;\n case 722: goto L_0x003c;\n case 801: goto L_0x003c;\n case 802: goto L_0x003c;\n case 803: goto L_0x003c;\n case 901: goto L_0x003c;\n case 902: goto L_0x003c;\n case 903: goto L_0x003c;\n case 904: goto L_0x003c;\n case 905: goto L_0x003c;\n case 906: goto L_0x003c;\n case 907: goto L_0x003c;\n case 908: goto L_0x003c;\n case 909: goto L_0x003c;\n case 910: goto L_0x003c;\n case 911: goto L_0x003c;\n case 912: goto L_0x003c;\n case 1001: goto L_0x003c;\n case 1002: goto L_0x003c;\n case 1003: goto L_0x003c;\n case 1004: goto L_0x003c;\n case 1005: goto L_0x003c;\n case 1006: goto L_0x003c;\n case 1101: goto L_0x003c;\n case 1102: goto L_0x003c;\n case 1201: goto L_0x003c;\n case 1301: goto L_0x003c;\n case 1302: goto L_0x003c;\n case 1303: goto L_0x003c;\n case 1304: goto L_0x003c;\n case 1305: goto L_0x003c;\n case 1306: goto L_0x003c;\n case 1307: goto L_0x003c;\n case 1308: goto L_0x003c;\n case 1309: goto L_0x003c;\n case 1310: goto L_0x003c;\n case 1311: goto L_0x003c;\n case 1312: goto L_0x003c;\n case 1313: goto L_0x003c;\n case 1314: goto L_0x003c;\n case 1315: goto L_0x003c;\n case 1316: goto L_0x003c;\n case 1317: goto L_0x003c;\n case 1318: goto L_0x003c;\n case 1319: goto L_0x003c;\n case 1320: goto L_0x003c;\n case 1321: goto L_0x003c;\n case 1322: goto L_0x003c;\n case 1323: goto L_0x003c;\n case 1324: goto L_0x003c;\n case 1325: goto L_0x003c;\n case 1326: goto L_0x003c;\n case 1327: goto L_0x003c;\n case 1328: goto L_0x003c;\n case 1329: goto L_0x003c;\n case 1330: goto L_0x003c;\n case 1331: goto L_0x003c;\n case 1332: goto L_0x003c;\n case 1333: goto L_0x003c;\n case 1334: goto L_0x003c;\n case 1335: goto L_0x003c;\n case 1336: goto L_0x003c;\n case 1337: goto L_0x003c;\n case 1338: goto L_0x003c;\n case 1339: goto L_0x003c;\n case 1340: goto L_0x003c;\n case 1341: goto L_0x003c;\n case 1342: goto L_0x003c;\n case 1343: goto L_0x003c;\n case 1344: goto L_0x003c;\n case 1345: goto L_0x003c;\n case 1346: goto L_0x003c;\n case 1347: goto L_0x003c;\n case 1401: goto L_0x003c;\n case 1402: goto L_0x003c;\n case 1403: goto L_0x003c;\n case 1404: goto L_0x003c;\n case 1405: goto L_0x003c;\n case 1406: goto L_0x003c;\n case 1407: goto L_0x003c;\n case 1408: goto L_0x003c;\n case 1409: goto L_0x003c;\n case 1410: goto L_0x003c;\n case 1411: goto L_0x003c;\n case 1412: goto L_0x003c;\n case 1413: goto L_0x003c;\n case 1414: goto L_0x003c;\n case 1415: goto L_0x003c;\n case 1416: goto L_0x003c;\n case 1417: goto L_0x003c;\n case 1418: goto L_0x003c;\n case 1419: goto L_0x003c;\n case 1420: goto L_0x003c;\n case 1421: goto L_0x003c;\n case 1422: goto L_0x003c;\n case 1423: goto L_0x003c;\n case 1424: goto L_0x003c;\n case 1425: goto L_0x003c;\n case 1426: goto L_0x003c;\n case 1427: goto L_0x003c;\n case 1601: goto L_0x003c;\n case 1602: goto L_0x003c;\n case 1603: goto L_0x003c;\n case 1604: goto L_0x003c;\n case 1605: goto L_0x003c;\n case 1606: goto L_0x003c;\n case 1607: goto L_0x003c;\n case 1608: goto L_0x003c;\n case 1609: goto L_0x003c;\n case 1610: goto L_0x003c;\n case 1611: goto L_0x003c;\n case 1612: goto L_0x003c;\n case 1613: goto L_0x003c;\n case 1614: goto L_0x003c;\n case 1615: goto L_0x003c;\n case 1616: goto L_0x003c;\n case 1617: goto L_0x003c;\n case 1618: goto L_0x003c;\n case 1619: goto L_0x003c;\n case 1620: goto L_0x003c;\n case 1621: goto L_0x003c;\n case 1622: goto L_0x003c;\n case 1623: goto L_0x003c;\n case 1624: goto L_0x003c;\n case 1625: goto L_0x003c;\n case 1626: goto L_0x003c;\n case 1627: goto L_0x003c;\n case 1628: goto L_0x003c;\n case 1629: goto L_0x003c;\n case 1630: goto L_0x003c;\n case 1631: goto L_0x003c;\n case 1632: goto L_0x003c;\n case 1633: goto L_0x003c;\n case 1634: goto L_0x003c;\n case 1635: goto L_0x003c;\n case 1636: goto L_0x003c;\n case 1637: goto L_0x003c;\n case 1638: goto L_0x003c;\n case 1639: goto L_0x003c;\n case 1640: goto L_0x003c;\n case 1641: goto L_0x003c;\n case 1642: goto L_0x003c;\n case 1643: goto L_0x003c;\n case 1644: goto L_0x003c;\n case 1645: goto L_0x003c;\n case 1646: goto L_0x003c;\n case 1647: goto L_0x003c;\n case 1648: goto L_0x003c;\n case 1649: goto L_0x003c;\n case 1650: goto L_0x003c;\n case 1651: goto L_0x003c;\n case 1652: goto L_0x003c;\n case 1653: goto L_0x003c;\n case 1654: goto L_0x003c;\n case 1655: goto L_0x003c;\n case 1656: goto L_0x003c;\n case 1657: goto L_0x003c;\n case 1658: goto L_0x003c;\n case 1659: goto L_0x003c;\n case 1660: goto L_0x003c;\n case 1801: goto L_0x003c;\n case 1802: goto L_0x003c;\n case 1803: goto L_0x003c;\n case 1804: goto L_0x003c;\n case 1805: goto L_0x003c;\n case 1806: goto L_0x003c;\n case 1807: goto L_0x003c;\n case 1808: goto L_0x003c;\n case 1809: goto L_0x003c;\n case 1810: goto L_0x003c;\n case 1811: goto L_0x003c;\n case 1812: goto L_0x003c;\n case 1813: goto L_0x003c;\n case 1814: goto L_0x003c;\n case 1815: goto L_0x003c;\n case 1816: goto L_0x003c;\n case 1817: goto L_0x003c;\n case 1901: goto L_0x003c;\n case 1902: goto L_0x003c;\n case 1903: goto L_0x003c;\n case 1904: goto L_0x003c;\n case 1905: goto L_0x003c;\n case 1906: goto L_0x003c;\n case 1907: goto L_0x003c;\n case 1908: goto L_0x003c;\n case 1909: goto L_0x003c;\n case 2001: goto L_0x003c;\n case 2101: goto L_0x003c;\n case 2102: goto L_0x003c;\n case 2103: goto L_0x003c;\n case 2104: goto L_0x003c;\n case 2105: goto L_0x003c;\n case 2106: goto L_0x003c;\n case 2107: goto L_0x003c;\n case 2108: goto L_0x003c;\n case 2109: goto L_0x003c;\n case 2110: goto L_0x003c;\n case 2111: goto L_0x003c;\n case 2112: goto L_0x003c;\n case 2113: goto L_0x003c;\n case 2114: goto L_0x003c;\n case 2115: goto L_0x003c;\n case 2116: goto L_0x003c;\n case 2117: goto L_0x003c;\n case 2118: goto L_0x003c;\n case 2119: goto L_0x003c;\n case 2120: goto L_0x003c;\n case 2121: goto L_0x003c;\n case 2122: goto L_0x003c;\n case 2123: goto L_0x003c;\n case 2124: goto L_0x003c;\n case 2201: goto L_0x003c;\n case 2202: goto L_0x003c;\n case 2203: goto L_0x003c;\n case 2204: goto L_0x003c;\n case 2205: goto L_0x003c;\n case 2206: goto L_0x003c;\n case 2207: goto L_0x003c;\n case 2208: goto L_0x003c;\n case 2209: goto L_0x003c;\n case 2210: goto L_0x003c;\n case 2211: goto L_0x003c;\n case 2212: goto L_0x003c;\n case 2213: goto L_0x003c;\n case 2214: goto L_0x003c;\n case 2215: goto L_0x003c;\n case 2301: goto L_0x003c;\n case 2302: goto L_0x003c;\n case 2303: goto L_0x003c;\n case 2304: goto L_0x003c;\n case 2401: goto L_0x003c;\n case 2402: goto L_0x003c;\n case 2501: goto L_0x003c;\n case 2502: goto L_0x003c;\n case 2503: goto L_0x003c;\n case 2504: goto L_0x003c;\n case 2505: goto L_0x003c;\n case 2506: goto L_0x003c;\n case 2507: goto L_0x003c;\n case 2508: goto L_0x003c;\n case 2509: goto L_0x003c;\n case 2510: goto L_0x003c;\n case 2511: goto L_0x003c;\n case 2512: goto L_0x003c;\n case 2513: goto L_0x003c;\n case 2514: goto L_0x003c;\n case 2515: goto L_0x003c;\n case 2516: goto L_0x003c;\n case 2517: goto L_0x003c;\n case 2518: goto L_0x003c;\n case 2519: goto L_0x003c;\n case 2601: goto L_0x003c;\n case 2602: goto L_0x003c;\n case 2701: goto L_0x003c;\n case 2702: goto L_0x003c;\n case 2703: goto L_0x003c;\n case 2704: goto L_0x003c;\n case 2705: goto L_0x003c;\n case 2706: goto L_0x003c;\n case 2707: goto L_0x003c;\n case 2801: goto L_0x003c;\n case 2802: goto L_0x003c;\n case 2803: goto L_0x003c;\n case 2804: goto L_0x003c;\n case 2805: goto L_0x003c;\n case 2806: goto L_0x003c;\n case 2807: goto L_0x003c;\n case 2808: goto L_0x003c;\n case 2809: goto L_0x003c;\n case 2810: goto L_0x003c;\n case 2811: goto L_0x003c;\n case 2812: goto L_0x003c;\n case 2813: goto L_0x003c;\n case 2814: goto L_0x003c;\n case 2815: goto L_0x003c;\n case 2816: goto L_0x003c;\n case 2817: goto L_0x003c;\n case 2818: goto L_0x003c;\n case 2819: goto L_0x003c;\n case 2820: goto L_0x003c;\n case 2821: goto L_0x003c;\n case 2822: goto L_0x003c;\n case 2823: goto L_0x003c;\n case 2824: goto L_0x003c;\n case 2825: goto L_0x003c;\n case 2826: goto L_0x003c;\n case 2901: goto L_0x003c;\n case 2902: goto L_0x003c;\n case 2903: goto L_0x003c;\n case 2904: goto L_0x003c;\n case 2905: goto L_0x003c;\n case 2906: goto L_0x003c;\n case 2907: goto L_0x003c;\n case 3001: goto L_0x003c;\n case 3002: goto L_0x003c;\n case 3003: goto L_0x003c;\n case 3004: goto L_0x003c;\n case 3005: goto L_0x003c;\n default: goto L_0x0019;\n };\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0019:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = 41;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = \" is not a valid enum EventType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0034 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0034:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x003c:\n r2 = java.lang.Integer.valueOf(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r6.f28837a = r2;\t Catch:{ IllegalArgumentException -> 0x0034 }\n goto L_0x0000;\n L_0x0043:\n r0 = r6.f28838b;\n if (r0 != 0) goto L_0x004e;\n L_0x0047:\n r0 = new com.google.android.h.a.a.u;\n r0.<init>();\n r6.f28838b = r0;\n L_0x004e:\n r0 = r6.f28838b;\n r7.a(r0);\n goto L_0x0000;\n L_0x0054:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28839c = r0;\n goto L_0x0000;\n L_0x005f:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28840d = r0;\n goto L_0x0000;\n L_0x006a:\n r0 = r6.f28841e;\n if (r0 != 0) goto L_0x0075;\n L_0x006e:\n r0 = new com.google.android.h.a.a.o;\n r0.<init>();\n r6.f28841e = r0;\n L_0x0075:\n r0 = r6.f28841e;\n r7.a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.h.a.a.v.b(com.google.protobuf.nano.a):com.google.android.h.a.a.v\");\n }", "public ItemStack func_70304_b(int par1)\n/* */ {\n/* 45 */ return null;\n/* */ }", "@Override\n public void func_104112_b() {\n \n }", "protected int handleNext(int position) {\n/* 283 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "void m5770d() throws C0841b;", "public boolean c()\r\n/* 56: */ {\r\n/* 57: 77 */ return false;\r\n/* 58: */ }", "public void mo115190b() {\n }", "public final synchronized void mo5320b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r1 = 0;\t Catch:{ all -> 0x004c }\n r2 = 0;\t Catch:{ all -> 0x004c }\n if (r0 == 0) goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0007:\n r0 = r6.f24851a;\t Catch:{ all -> 0x004c }\n if (r0 != 0) goto L_0x0013;\t Catch:{ all -> 0x004c }\n L_0x000b:\n r0 = r6.f24854d;\t Catch:{ all -> 0x004c }\n r3 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r0.deleteFile(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0013:\n r0 = com.google.android.m4b.maps.cg.bx.m23058b();\t Catch:{ all -> 0x004c }\n r3 = r6.f24854d;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24853c;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r3 = r3.openFileOutput(r4, r1);\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24851a;\t Catch:{ IOException -> 0x0033 }\n r4 = r4.m20837d();\t Catch:{ IOException -> 0x0033 }\n r3.write(r4);\t Catch:{ IOException -> 0x0033 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n L_0x002b:\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\n L_0x002f:\n r1 = move-exception;\n r3 = r2;\n goto L_0x003f;\n L_0x0032:\n r3 = r2;\n L_0x0033:\n r4 = r6.f24854d;\t Catch:{ all -> 0x003e }\n r5 = r6.f24853c;\t Catch:{ all -> 0x003e }\n r4.deleteFile(r5);\t Catch:{ all -> 0x003e }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n goto L_0x002b;\t Catch:{ all -> 0x004c }\n L_0x003e:\n r1 = move-exception;\t Catch:{ all -> 0x004c }\n L_0x003f:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n throw r1;\t Catch:{ all -> 0x004c }\n L_0x0046:\n r6.f24851a = r2;\t Catch:{ all -> 0x004c }\n r6.f24852b = r1;\t Catch:{ all -> 0x004c }\n monitor-exit(r6);\n return;\n L_0x004c:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.b():void\");\n }", "private void m25427g() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r2 = this;\n r0 = r2.f19111m;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = r2.f19104f;\t Catch:{ Exception -> 0x000f }\n r0 = android.support.v4.content.C0396d.m1465a(r0);\t Catch:{ Exception -> 0x000f }\n r1 = r2.f19111m;\t Catch:{ Exception -> 0x000f }\n r0.m1468a(r1);\t Catch:{ Exception -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.adapters.w.g():void\");\n }", "public void b(World paramaqu, Random paramRandom, BlockPosition paramdt, Block parambec)\r\n/* 77: */ {\r\n/* 78: 93 */ BlockPosition localdt1 = paramdt.up();\r\n/* 79: */ label260:\r\n/* 80: 95 */ for (int i = 0; i < 128; i++)\r\n/* 81: */ {\r\n/* 82: 96 */ BlockPosition localdt2 = localdt1;\r\n/* 83: 97 */ for (int j = 0; j < i / 16; j++)\r\n/* 84: */ {\r\n/* 85: 98 */ localdt2 = localdt2.offset(paramRandom.nextInt(3) - 1, (paramRandom.nextInt(3) - 1) * paramRandom.nextInt(3) / 2, paramRandom.nextInt(3) - 1);\r\n/* 86: 99 */ if ((paramaqu.getBlock(localdt2.down()).getType() != BlockList.grass) || (paramaqu.getBlock(localdt2).getType().blocksMovement())) {\r\n/* 87: */ break label260;\r\n/* 88: */ }\r\n/* 89: */ }\r\n/* 90:104 */ if (paramaqu.getBlock(localdt2).getType().material == Material.air)\r\n/* 91: */ {\r\n/* 92: */ Object localObject;\r\n/* 93:108 */ if (paramRandom.nextInt(8) == 0)\r\n/* 94: */ {\r\n/* 95:109 */ localObject = paramaqu.b(localdt2).a(paramRandom, localdt2);\r\n/* 96:110 */ avy localavy = ((EnumFlowerVariant)localObject).a().a();\r\n/* 97:111 */ Block localbec = localavy.instance().setData(localavy.l(), (Comparable)localObject);\r\n/* 98:112 */ if (localavy.f(paramaqu, localdt2, localbec)) {\r\n/* 99:113 */ paramaqu.setBlock(localdt2, localbec, 3);\r\n/* 100: */ }\r\n/* 101: */ }\r\n/* 102: */ else\r\n/* 103: */ {\r\n/* 104:116 */ localObject = BlockList.tallgrass.instance().setData(bbh.a, bbi.b);\r\n/* 105:117 */ if (BlockList.tallgrass.f(paramaqu, localdt2, (Block)localObject)) {\r\n/* 106:118 */ paramaqu.setBlock(localdt2, (Block)localObject, 3);\r\n/* 107: */ }\r\n/* 108: */ }\r\n/* 109: */ }\r\n/* 110: */ }\r\n/* 111: */ }", "private final void asB() {\n /*\n r6 = this;\n r0 = r6.cxs;\n r1 = r6.asp();\n r1 = r1.cCg;\n r2 = \"binding.depositAmountEdit\";\n kotlin.jvm.internal.i.e(r1, r2);\n r2 = r0 instanceof com.iqoption.core.microservices.billing.response.deposit.cashboxitem.d;\n r3 = 0;\n r4 = 1;\n if (r2 == 0) goto L_0x002b;\n L_0x0013:\n r2 = r0;\n r2 = (com.iqoption.core.microservices.billing.response.deposit.cashboxitem.d) r2;\n r2 = r2.aaH();\n if (r2 == 0) goto L_0x0027;\n L_0x001c:\n r2 = r2.aaT();\n if (r2 == 0) goto L_0x0027;\n L_0x0022:\n r2 = r2.size();\n goto L_0x0028;\n L_0x0027:\n r2 = 0;\n L_0x0028:\n if (r2 != 0) goto L_0x002b;\n L_0x002a:\n goto L_0x0040;\n L_0x002b:\n if (r0 == 0) goto L_0x0032;\n L_0x002d:\n r2 = r0.ZL();\n goto L_0x0033;\n L_0x0032:\n r2 = 0;\n L_0x0033:\n r5 = com.iqoption.core.microservices.billing.response.deposit.cashboxitem.CashboxItemType.USER_CARD;\n if (r2 != r5) goto L_0x0038;\n L_0x0037:\n goto L_0x0040;\n L_0x0038:\n r2 = r6.aoJ();\n if (r2 == 0) goto L_0x003f;\n L_0x003e:\n goto L_0x0040;\n L_0x003f:\n r4 = 0;\n L_0x0040:\n r2 = \"binding.depositPresetsList\";\n if (r4 == 0) goto L_0x0053;\n L_0x0044:\n r0 = r6.asp();\n r0 = r0.cCr;\n kotlin.jvm.internal.i.e(r0, r2);\n r0 = (android.view.View) r0;\n com.iqoption.core.ext.a.ak(r0);\n goto L_0x006b;\n L_0x0053:\n r3 = r6.asp();\n r3 = r3.cCr;\n kotlin.jvm.internal.i.e(r3, r2);\n r3 = (android.view.View) r3;\n com.iqoption.core.ext.a.al(r3);\n r2 = new com.iqoption.deposit.light.perform.c$s;\n r2.<init>(r6, r0);\n r2 = (android.view.View.OnFocusChangeListener) r2;\n r1.setOnFocusChangeListener(r2);\n L_0x006b:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.iqoption.deposit.light.perform.c.asB():void\");\n }", "void m5771e() throws C0841b;", "public boolean c()\r\n/* 36: */ {\r\n/* 37:51 */ return false;\r\n/* 38: */ }", "public boolean A_()\r\n/* 21: */ {\r\n/* 22:138 */ return true;\r\n/* 23: */ }", "public static boolean a(android.content.Context r4, byte[] r5) {\n /*\n r1 = d;\n r0 = 0;\n L_0x0003:\n r2 = c();\t Catch:{ Exception -> 0x003a }\n if (r2 != 0) goto L_0x0010;\n L_0x0009:\n r2 = e;\t Catch:{ Exception -> 0x003a }\n r2.block();\t Catch:{ Exception -> 0x003a }\n if (r1 == 0) goto L_0x0003;\n L_0x0010:\n r1 = z;\t Catch:{ Exception -> 0x003a }\n r2 = 22;\n r1 = r1[r2];\t Catch:{ Exception -> 0x003a }\n com.whatsapp.util.Log.i(r1);\t Catch:{ Exception -> 0x003a }\n r1 = com.whatsapp.contact.o.NOTIFICATION_DELTA;\t Catch:{ Exception -> 0x003a }\n r0 = a(r4, r1, r5);\t Catch:{ Exception -> 0x003a }\n r1 = b();\t Catch:{ Exception -> 0x0038 }\n if (r1 != 0) goto L_0x002e;\n L_0x0025:\n r1 = z;\t Catch:{ Exception -> 0x0038 }\n r2 = 16;\n r1 = r1[r2];\t Catch:{ Exception -> 0x0038 }\n com.whatsapp.util.Log.e(r1);\t Catch:{ Exception -> 0x0038 }\n L_0x002e:\n r1 = z;\n r2 = 18;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n L_0x0037:\n return r0;\n L_0x0038:\n r0 = move-exception;\n throw r0;\n L_0x003a:\n r1 = move-exception;\n r2 = z;\t Catch:{ all -> 0x005d }\n r3 = 20;\n r2 = r2[r3];\t Catch:{ all -> 0x005d }\n com.whatsapp.util.Log.b(r2, r1);\t Catch:{ all -> 0x005d }\n r1 = b();\n if (r1 != 0) goto L_0x0053;\n L_0x004a:\n r1 = z;\n r2 = 19;\n r1 = r1[r2];\n com.whatsapp.util.Log.e(r1);\n L_0x0053:\n r1 = z;\n r2 = 23;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n goto L_0x0037;\n L_0x005d:\n r0 = move-exception;\n r1 = b();\t Catch:{ Exception -> 0x0077 }\n if (r1 != 0) goto L_0x006d;\n L_0x0064:\n r1 = z;\t Catch:{ Exception -> 0x0077 }\n r2 = 21;\n r1 = r1[r2];\t Catch:{ Exception -> 0x0077 }\n com.whatsapp.util.Log.e(r1);\t Catch:{ Exception -> 0x0077 }\n L_0x006d:\n r1 = z;\n r2 = 17;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n throw r0;\n L_0x0077:\n r0 = move-exception;\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.contact.i.a(android.content.Context, byte[]):boolean\");\n }", "public final void mo1285b() {\n }", "private final com.google.wireless.android.finsky.dfe.p515h.p516a.ae m35733b(com.google.protobuf.nano.C7213a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.m33550a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 18: goto L_0x001f;\n case 26: goto L_0x002c;\n case 34: goto L_0x0039;\n case 42: goto L_0x004a;\n case 50: goto L_0x0057;\n case 56: goto L_0x0064;\n case 64: goto L_0x00a3;\n case 72: goto L_0x00b1;\n case 82: goto L_0x00bf;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r6.f38026c;\n if (r0 != 0) goto L_0x0019;\n L_0x0012:\n r0 = new com.google.android.finsky.cv.a.bd;\n r0.<init>();\n r6.f38026c = r0;\n L_0x0019:\n r0 = r6.f38026c;\n r7.m33552a(r0);\n goto L_0x0000;\n L_0x001f:\n r0 = r7.m33564f();\n r6.f38027d = r0;\n r0 = r6.f38025b;\n r0 = r0 | 1;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x002c:\n r0 = r7.m33564f();\n r6.f38028e = r0;\n r0 = r6.f38025b;\n r0 = r0 | 2;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0039:\n r0 = r6.f38029f;\n if (r0 != 0) goto L_0x0044;\n L_0x003d:\n r0 = new com.google.android.finsky.cv.a.ax;\n r0.<init>();\n r6.f38029f = r0;\n L_0x0044:\n r0 = r6.f38029f;\n r7.m33552a(r0);\n goto L_0x0000;\n L_0x004a:\n r0 = r7.m33564f();\n r6.f38030g = r0;\n r0 = r6.f38025b;\n r0 = r0 | 4;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0057:\n r0 = r7.m33564f();\n r6.f38031h = r0;\n r0 = r6.f38025b;\n r0 = r0 | 8;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0064:\n r1 = r6.f38025b;\n r1 = r1 | 16;\n r6.f38025b = r1;\n r1 = r7.m33573o();\n r2 = r7.m33567i();\t Catch:{ IllegalArgumentException -> 0x0090 }\n switch(r2) {\n case 0: goto L_0x0099;\n case 1: goto L_0x0099;\n case 2: goto L_0x0099;\n case 3: goto L_0x0099;\n case 4: goto L_0x0099;\n default: goto L_0x0075;\n };\t Catch:{ IllegalArgumentException -> 0x0090 }\n L_0x0075:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r4 = 36;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r4 = \" is not a valid enum Type\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0090 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0090 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0090 }\n L_0x0090:\n r2 = move-exception;\n r7.m33562e(r1);\n r6.a(r7, r0);\n goto L_0x0000;\n L_0x0099:\n r6.f38032i = r2;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r6.f38025b;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r2 | 16;\n r6.f38025b = r2;\t Catch:{ IllegalArgumentException -> 0x0090 }\n goto L_0x0000;\n L_0x00a3:\n r0 = r7.m33563e();\n r6.f38033j = r0;\n r0 = r6.f38025b;\n r0 = r0 | 32;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x00b1:\n r0 = r7.m33563e();\n r6.f38034k = r0;\n r0 = r6.f38025b;\n r0 = r0 | 64;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x00bf:\n r0 = r6.f38035l;\n if (r0 != 0) goto L_0x00ca;\n L_0x00c3:\n r0 = new com.google.android.finsky.cv.a.cv;\n r0.<init>();\n r6.f38035l = r0;\n L_0x00ca:\n r0 = r6.f38035l;\n r7.m33552a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.h.a.ae.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.h.a.ae\");\n }", "private final void asx() {\n /*\n r12 = this;\n r0 = r12.cFE;\n if (r0 == 0) goto L_0x0073;\n L_0x0004:\n r1 = r12.cxs;\n if (r1 == 0) goto L_0x0073;\n L_0x0008:\n r1 = r12.ayL;\n if (r1 != 0) goto L_0x000d;\n L_0x000c:\n goto L_0x0073;\n L_0x000d:\n r2 = 0;\n if (r1 == 0) goto L_0x0027;\n L_0x0010:\n r1 = r1.Km();\n if (r1 == 0) goto L_0x0027;\n L_0x0016:\n r1 = r1.aar();\n if (r1 == 0) goto L_0x0027;\n L_0x001c:\n r3 = r0.getName();\n r1 = r1.get(r3);\n r1 = (java.util.ArrayList) r1;\n goto L_0x0028;\n L_0x0027:\n r1 = r2;\n L_0x0028:\n if (r1 == 0) goto L_0x0051;\n L_0x002a:\n r1 = (java.lang.Iterable) r1;\n r1 = kotlin.collections.u.Z(r1);\n if (r1 == 0) goto L_0x0051;\n L_0x0032:\n r3 = new com.iqoption.deposit.light.perform.DepositPerformLightFragment$setPresets$items$1;\n r3.<init>(r12);\n r3 = (kotlin.jvm.a.b) r3;\n r1 = kotlin.sequences.n.b(r1, r3);\n if (r1 == 0) goto L_0x0051;\n L_0x003f:\n r3 = new com.iqoption.deposit.light.perform.DepositPerformLightFragment$setPresets$items$2;\n r3.<init>(r0);\n r3 = (kotlin.jvm.a.b) r3;\n r1 = kotlin.sequences.n.f(r1, r3);\n if (r1 == 0) goto L_0x0051;\n L_0x004c:\n r1 = kotlin.sequences.n.f(r1);\n goto L_0x0052;\n L_0x0051:\n r1 = r2;\n L_0x0052:\n r3 = r12.asr();\n if (r1 == 0) goto L_0x0059;\n L_0x0058:\n goto L_0x005d;\n L_0x0059:\n r1 = kotlin.collections.m.emptyList();\n L_0x005d:\n r4 = r12.bub;\n if (r4 == 0) goto L_0x006d;\n L_0x0061:\n r5 = 0;\n r6 = 0;\n r7 = 1;\n r8 = 0;\n r9 = 0;\n r10 = 19;\n r11 = 0;\n r2 = com.iqoption.core.util.e.a(r4, r5, r6, r7, r8, r9, r10, r11);\n L_0x006d:\n r3.c(r1, r2);\n r12.d(r0);\n L_0x0073:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.iqoption.deposit.light.perform.c.asx():void\");\n }", "private final boolean e() {\n /*\n r15 = this;\n r2 = 0\n r1 = 0\n dtd r0 = r15.m // Catch:{ all -> 0x008e }\n if (r0 != 0) goto L_0x000d\n dtd r0 = new dtd // Catch:{ all -> 0x008e }\n r0.<init>() // Catch:{ all -> 0x008e }\n r15.m = r0 // Catch:{ all -> 0x008e }\n L_0x000d:\n int r0 = r15.k // Catch:{ all -> 0x008e }\n dtd r3 = r15.m // Catch:{ all -> 0x008e }\n int r3 = r3.a // Catch:{ all -> 0x008e }\n int r0 = r0 - r3\n if (r0 <= 0) goto L_0x039e\n dvk r3 = r15.g // Catch:{ all -> 0x008e }\n if (r3 == 0) goto L_0x0356\n byte[] r3 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 == 0) goto L_0x0025\n int r3 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r4.length // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 != r4) goto L_0x0032\n L_0x0025:\n r3 = 2097152(0x200000, float:2.938736E-39)\n int r3 = java.lang.Math.min(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r3 = new byte[r3] // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r15.h = r3 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 0\n r15.i = r3 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0032:\n byte[] r3 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.length // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3 - r4\n int r6 = java.lang.Math.min(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r7 = r15.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r8 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r9 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n boolean r0 = r7.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != 0) goto L_0x00ac\n r0 = 1\n L_0x0047:\n java.lang.String r3 = \"GzipInflatingBuffer is closed\"\n defpackage.cld.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 0\n r0 = 1\n r5 = r3\n L_0x004f:\n if (r0 == 0) goto L_0x02ef\n int r3 = r6 - r5\n if (r3 <= 0) goto L_0x02ef\n dvm r0 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.ordinal() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n switch(r0) {\n case 0: goto L_0x00ae;\n case 1: goto L_0x0148;\n case 2: goto L_0x0171;\n case 3: goto L_0x01d7;\n case 4: goto L_0x01fc;\n case 5: goto L_0x0221;\n case 6: goto L_0x0256;\n case 7: goto L_0x0289;\n case 8: goto L_0x02a2;\n case 9: goto L_0x02e9;\n default: goto L_0x005e;\n } // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x005e:\n java.lang.AssertionError r0 = new java.lang.AssertionError // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r3 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = java.lang.String.valueOf(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r4 = java.lang.String.valueOf(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r4.length() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r4 + 15\n java.lang.StringBuilder r5 = new java.lang.StringBuilder // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r5.<init>(r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r4 = \"Invalid state: \"\n java.lang.StringBuilder r4 = r5.append(r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.StringBuilder r3 = r4.append(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = r3.toString() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0087:\n r0 = move-exception\n java.lang.RuntimeException r3 = new java.lang.RuntimeException // Catch:{ all -> 0x008e }\n r3.<init>(r0) // Catch:{ all -> 0x008e }\n throw r3 // Catch:{ all -> 0x008e }\n L_0x008e:\n r0 = move-exception\n if (r2 <= 0) goto L_0x00ab\n dxe r3 = r15.a\n r3.a(r2)\n dxh r3 = r15.j\n dxh r4 = defpackage.dxh.BODY\n if (r3 != r4) goto L_0x00ab\n dvk r3 = r15.g\n if (r3 == 0) goto L_0x03c9\n dzo r2 = r15.d\n long r4 = (long) r1\n r2.d(r4)\n int r2 = r15.r\n int r1 = r1 + r2\n r15.r = r1\n L_0x00ab:\n throw r0\n L_0x00ac:\n r0 = 0\n goto L_0x0047\n L_0x00ae:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 10\n if (r0 >= r3) goto L_0x00ba\n r0 = 0\n goto L_0x004f\n L_0x00ba:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.c() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 35615(0x8b1f, float:4.9907E-41)\n if (r0 == r3) goto L_0x00d4\n java.util.zip.ZipException r0 = new java.util.zip.ZipException // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = \"Not in GZIP format\"\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x00cd:\n r0 = move-exception\n java.lang.RuntimeException r3 = new java.lang.RuntimeException // Catch:{ all -> 0x008e }\n r3.<init>(r0) // Catch:{ all -> 0x008e }\n throw r3 // Catch:{ all -> 0x008e }\n L_0x00d4:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 8\n if (r0 == r3) goto L_0x00e6\n java.util.zip.ZipException r0 = new java.util.zip.ZipException // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = \"Unsupported compression method\"\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x00e6:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.j = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvl r4 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 6\n dvk r3 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r10 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r10.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3 - r10\n if (r3 <= 0) goto L_0x03d9\n r0 = 6\n int r0 = java.lang.Math.min(r3, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r3 = r3.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r10 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r10 = r10.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r11 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r11 = r11.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.update(r10, r11, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n defpackage.dvk.a(r3, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = 6 - r0\n r3 = r0\n L_0x0118:\n if (r3 <= 0) goto L_0x013b\n r0 = 512(0x200, float:7.175E-43)\n byte[] r10 = new byte[r0] // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 0\n L_0x011f:\n if (r0 >= r3) goto L_0x013b\n int r11 = r3 - r0\n r12 = 512(0x200, float:7.175E-43)\n int r11 = java.lang.Math.min(r11, r12) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r12 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r12 = r12.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r13 = 0\n r12.a(r10, r13, r11) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r12 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r12 = r12.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r13 = 0\n r12.update(r10, r13, r11) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 + r11\n goto L_0x011f\n L_0x013b:\n dvk r0 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 6\n defpackage.dvk.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.HEADER_EXTRA_LEN // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0148:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 4\n r3 = 4\n if (r0 == r3) goto L_0x0156\n dvm r0 = defpackage.dvm.HEADER_NAME // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0156:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 2\n if (r0 >= r3) goto L_0x0162\n r0 = 0\n goto L_0x004f\n L_0x0162:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.c() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.k = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.HEADER_EXTRA // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0171:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r7.k // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 >= r3) goto L_0x017e\n r0 = 0\n goto L_0x004f\n L_0x017e:\n dvl r10 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r7.k // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r0 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 - r3\n if (r0 <= 0) goto L_0x03d6\n int r0 = java.lang.Math.min(r0, r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r3 = r3.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r11 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r11 = r11.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r12 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r12 = r12.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.update(r11, r12, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n defpackage.dvk.a(r3, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r4 - r0\n r3 = r0\n L_0x01a8:\n if (r3 <= 0) goto L_0x01cb\n r0 = 512(0x200, float:7.175E-43)\n byte[] r11 = new byte[r0] // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 0\n L_0x01af:\n if (r0 >= r3) goto L_0x01cb\n int r12 = r3 - r0\n r13 = 512(0x200, float:7.175E-43)\n int r12 = java.lang.Math.min(r12, r13) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r13 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r13 = r13.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r14 = 0\n r13.a(r11, r14, r12) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r13 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r13 = r13.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r14 = 0\n r13.update(r11, r14, r12) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 + r12\n goto L_0x01af\n L_0x01cb:\n dvk r0 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n defpackage.dvk.b(r0, r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.HEADER_NAME // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x01d7:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 8\n r3 = 8\n if (r0 != r3) goto L_0x01f5\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x01e1:\n int r3 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 <= 0) goto L_0x01f3\n int r3 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 != 0) goto L_0x01e1\n r0 = 1\n L_0x01ee:\n if (r0 != 0) goto L_0x01f5\n r0 = 0\n goto L_0x004f\n L_0x01f3:\n r0 = 0\n goto L_0x01ee\n L_0x01f5:\n dvm r0 = defpackage.dvm.HEADER_COMMENT // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x01fc:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 16\n r3 = 16\n if (r0 != r3) goto L_0x021a\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0206:\n int r3 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 <= 0) goto L_0x0218\n int r3 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 != 0) goto L_0x0206\n r0 = 1\n L_0x0213:\n if (r0 != 0) goto L_0x021a\n r0 = 0\n goto L_0x004f\n L_0x0218:\n r0 = 0\n goto L_0x0213\n L_0x021a:\n dvm r0 = defpackage.dvm.HEADER_CRC // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0221:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 2\n r3 = 2\n if (r0 != r3) goto L_0x024f\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 2\n if (r0 >= r3) goto L_0x0234\n r0 = 0\n goto L_0x004f\n L_0x0234:\n java.util.zip.CRC32 r0 = r7.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n long r10 = r0.getValue() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = (int) r10 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 65535(0xffff, float:9.1834E-41)\n r0 = r0 & r3\n dvl r3 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.c() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 == r3) goto L_0x024f\n java.util.zip.ZipException r0 = new java.util.zip.ZipException // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = \"Corrupt GZIP header\"\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x024f:\n dvm r0 = defpackage.dvm.INITIALIZE_INFLATER // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0256:\n java.util.zip.Inflater r0 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != 0) goto L_0x027e\n java.util.zip.Inflater r0 = new java.util.zip.Inflater // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 1\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.g = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0262:\n java.util.zip.CRC32 r0 = r7.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.reset() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r7.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 - r3\n if (r0 <= 0) goto L_0x0284\n java.util.zip.Inflater r3 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r7.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.setInput(r4, r10, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.INFLATING // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x027b:\n r0 = 1\n goto L_0x004f\n L_0x027e:\n java.util.zip.Inflater r0 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.reset() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x0262\n L_0x0284:\n dvm r0 = defpackage.dvm.INFLATER_NEEDS_INPUT // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x027b\n L_0x0289:\n int r0 = r9 + r5\n int r0 = r7.a(r8, r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r5 + r0\n dvm r0 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r4 = defpackage.dvm.TRAILER // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != r4) goto L_0x029e\n boolean r0 = r7.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r5 = r3\n goto L_0x004f\n L_0x029e:\n r0 = 1\n r5 = r3\n goto L_0x004f\n L_0x02a2:\n java.util.zip.Inflater r0 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 == 0) goto L_0x02c7\n r0 = 1\n L_0x02a7:\n java.lang.String r3 = \"inflater is null\"\n defpackage.cld.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r7.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != r3) goto L_0x02c9\n r0 = 1\n L_0x02b3:\n java.lang.String r3 = \"inflaterInput has unconsumed bytes\"\n defpackage.cld.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r0 = r7.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 512(0x200, float:7.175E-43)\n int r0 = java.lang.Math.min(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != 0) goto L_0x02cb\n r0 = 0\n goto L_0x004f\n L_0x02c7:\n r0 = 0\n goto L_0x02a7\n L_0x02c9:\n r0 = 0\n goto L_0x02b3\n L_0x02cb:\n r3 = 0\n r7.e = r3 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.f = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r3 = r7.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r7.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.a(r4, r10, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.Inflater r3 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r7.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.setInput(r4, r10, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.INFLATING // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x02e9:\n boolean r0 = r7.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x004f\n L_0x02ef:\n if (r0 == 0) goto L_0x0301\n dvm r0 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r3 = defpackage.dvm.HEADER // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != r3) goto L_0x0334\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 10\n if (r0 >= r3) goto L_0x0334\n L_0x0301:\n r0 = 1\n L_0x0302:\n r7.n = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r0 = r15.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r0.l // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r4 = 0\n r0.l = r4 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r2 = r2 + r3\n dvk r0 = r15.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r0.m // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r4 = 0\n r0.m = r4 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r1 = r1 + r3\n if (r5 != 0) goto L_0x0342\n if (r2 <= 0) goto L_0x0332\n dxe r0 = r15.a\n r0.a(r2)\n dxh r0 = r15.j\n dxh r3 = defpackage.dxh.BODY\n if (r0 != r3) goto L_0x0332\n dvk r0 = r15.g\n if (r0 == 0) goto L_0x0336\n dzo r0 = r15.d\n long r2 = (long) r1\n r0.d(r2)\n int r0 = r15.r\n int r0 = r0 + r1\n r15.r = r0\n L_0x0332:\n r0 = 0\n L_0x0333:\n return r0\n L_0x0334:\n r0 = 0\n goto L_0x0302\n L_0x0336:\n dzo r0 = r15.d\n long r4 = (long) r2\n r0.d(r4)\n int r0 = r15.r\n int r0 = r0 + r2\n r15.r = r0\n goto L_0x0332\n L_0x0342:\n dtd r0 = r15.m // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r3 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dxv r3 = defpackage.dxw.a(r3, r4, r5) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.a(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 + r5\n r15.i = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x000d\n L_0x0356:\n dtd r3 = r15.n // Catch:{ all -> 0x008e }\n int r3 = r3.a // Catch:{ all -> 0x008e }\n if (r3 != 0) goto L_0x0386\n if (r2 <= 0) goto L_0x0378\n dxe r0 = r15.a\n r0.a(r2)\n dxh r0 = r15.j\n dxh r3 = defpackage.dxh.BODY\n if (r0 != r3) goto L_0x0378\n dvk r0 = r15.g\n if (r0 == 0) goto L_0x037a\n dzo r0 = r15.d\n long r2 = (long) r1\n r0.d(r2)\n int r0 = r15.r\n int r0 = r0 + r1\n r15.r = r0\n L_0x0378:\n r0 = 0\n goto L_0x0333\n L_0x037a:\n dzo r0 = r15.d\n long r4 = (long) r2\n r0.d(r4)\n int r0 = r15.r\n int r0 = r0 + r2\n r15.r = r0\n goto L_0x0378\n L_0x0386:\n dtd r3 = r15.n // Catch:{ all -> 0x008e }\n int r3 = r3.a // Catch:{ all -> 0x008e }\n int r0 = java.lang.Math.min(r0, r3) // Catch:{ all -> 0x008e }\n int r2 = r2 + r0\n dtd r3 = r15.m // Catch:{ all -> 0x008e }\n dtd r4 = r15.n // Catch:{ all -> 0x008e }\n dxv r0 = r4.a(r0) // Catch:{ all -> 0x008e }\n dtd r0 = (defpackage.dtd) r0 // Catch:{ all -> 0x008e }\n r3.a(r0) // Catch:{ all -> 0x008e }\n goto L_0x000d\n L_0x039e:\n if (r2 <= 0) goto L_0x03ba\n dxe r0 = r15.a\n r0.a(r2)\n dxh r0 = r15.j\n dxh r3 = defpackage.dxh.BODY\n if (r0 != r3) goto L_0x03ba\n dvk r0 = r15.g\n if (r0 == 0) goto L_0x03bd\n dzo r0 = r15.d\n long r2 = (long) r1\n r0.d(r2)\n int r0 = r15.r\n int r0 = r0 + r1\n r15.r = r0\n L_0x03ba:\n r0 = 1\n goto L_0x0333\n L_0x03bd:\n dzo r0 = r15.d\n long r4 = (long) r2\n r0.d(r4)\n int r0 = r15.r\n int r0 = r0 + r2\n r15.r = r0\n goto L_0x03ba\n L_0x03c9:\n dzo r1 = r15.d\n long r4 = (long) r2\n r1.d(r4)\n int r1 = r15.r\n int r1 = r1 + r2\n r15.r = r1\n goto L_0x00ab\n L_0x03d6:\n r3 = r4\n goto L_0x01a8\n L_0x03d9:\n r3 = r0\n goto L_0x0118\n */\n throw new UnsupportedOperationException(\"Method not decompiled: defpackage.dxd.e():boolean\");\n }", "private final com.google.wireless.android.finsky.dfe.p505c.p506a.ec m35437b(com.google.protobuf.nano.C7213a r8) {\n /*\n r7 = this;\n r1 = 0;\n L_0x0001:\n r0 = r8.m33550a();\n switch(r0) {\n case 0: goto L_0x000e;\n case 8: goto L_0x000f;\n case 16: goto L_0x004c;\n case 26: goto L_0x006f;\n case 34: goto L_0x007c;\n default: goto L_0x0008;\n };\n L_0x0008:\n r0 = super.a(r8, r0);\n if (r0 != 0) goto L_0x0001;\n L_0x000e:\n return r7;\n L_0x000f:\n r2 = r7.f37533a;\n r2 = r2 | 1;\n r7.f37533a = r2;\n r2 = r8.m33573o();\n r3 = r8.m33567i();\t Catch:{ IllegalArgumentException -> 0x003b }\n switch(r3) {\n case 0: goto L_0x0043;\n case 1: goto L_0x0043;\n default: goto L_0x0020;\n };\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x0020:\n r4 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x003b }\n r5 = 42;\n r6 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x003b }\n r6.<init>(r5);\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r6.append(r3);\t Catch:{ IllegalArgumentException -> 0x003b }\n r5 = \" is not a valid enum ResultCode\";\n r3 = r3.append(r5);\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r3.toString();\t Catch:{ IllegalArgumentException -> 0x003b }\n r4.<init>(r3);\t Catch:{ IllegalArgumentException -> 0x003b }\n throw r4;\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x003b:\n r3 = move-exception;\n r8.m33562e(r2);\n r7.a(r8, r0);\n goto L_0x0001;\n L_0x0043:\n r7.f37534b = r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r7.f37533a;\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r3 | 1;\n r7.f37533a = r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n goto L_0x0001;\n L_0x004c:\n r2 = r7.f37533a;\n r2 = r2 | 2;\n r7.f37533a = r2;\n r2 = r8.m33573o();\n r3 = r8.m33560d();\t Catch:{ IllegalArgumentException -> 0x0067 }\n r3 = com.google.wireless.android.finsky.dfe.p505c.p506a.dp.m35391a(r3);\t Catch:{ IllegalArgumentException -> 0x0067 }\n r7.f37535c = r3;\t Catch:{ IllegalArgumentException -> 0x0067 }\n r3 = r7.f37533a;\t Catch:{ IllegalArgumentException -> 0x0067 }\n r3 = r3 | 2;\n r7.f37533a = r3;\t Catch:{ IllegalArgumentException -> 0x0067 }\n goto L_0x0001;\n L_0x0067:\n r3 = move-exception;\n r8.m33562e(r2);\n r7.a(r8, r0);\n goto L_0x0001;\n L_0x006f:\n r0 = r8.m33565g();\n r7.f37536d = r0;\n r0 = r7.f37533a;\n r0 = r0 | 4;\n r7.f37533a = r0;\n goto L_0x0001;\n L_0x007c:\n r0 = 34;\n r2 = com.google.protobuf.nano.C7222l.m33624a(r8, r0);\n r0 = r7.f37537e;\n if (r0 != 0) goto L_0x00a8;\n L_0x0086:\n r0 = r1;\n L_0x0087:\n r2 = r2 + r0;\n r2 = new com.google.wireless.android.finsky.dfe.p505c.p506a.ed[r2];\n if (r0 == 0) goto L_0x0091;\n L_0x008c:\n r3 = r7.f37537e;\n java.lang.System.arraycopy(r3, r1, r2, r1, r0);\n L_0x0091:\n r3 = r2.length;\n r3 = r3 + -1;\n if (r0 >= r3) goto L_0x00ac;\n L_0x0096:\n r3 = new com.google.wireless.android.finsky.dfe.c.a.ed;\n r3.<init>();\n r2[r0] = r3;\n r3 = r2[r0];\n r8.m33552a(r3);\n r8.m33550a();\n r0 = r0 + 1;\n goto L_0x0091;\n L_0x00a8:\n r0 = r7.f37537e;\n r0 = r0.length;\n goto L_0x0087;\n L_0x00ac:\n r3 = new com.google.wireless.android.finsky.dfe.c.a.ed;\n r3.<init>();\n r2[r0] = r3;\n r0 = r2[r0];\n r8.m33552a(r0);\n r7.f37537e = r2;\n goto L_0x0001;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.c.a.ec.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.c.a.ec\");\n }", "public int describeContents() {\n/* 48 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public boolean blockEmpty()\r\n/* 72: */ {\r\n/* 73: 60 */ return false;\r\n/* 74: */ }", "public boolean func_102008_b(int par1, ItemStack par2ItemStack, int par3)\n/* */ {\n/* 125 */ return false;\n/* */ }", "public Item a(Block parambec, Random paramRandom, int paramInt)\r\n/* 76: */ {\r\n/* 77: 99 */ return null;\r\n/* 78: */ }", "public ItemStack func_70301_a(int par1)\n/* */ {\n/* 25 */ return null;\n/* */ }", "void blackhole(){ if (zzAtBOL) return; }", "public void a(IBlockAccess paramard, BlockPosition paramdt)\r\n/* 119: */ {\r\n/* 120:148 */ bdv localbdv = e(paramard, paramdt);\r\n/* 121:149 */ if (localbdv != null)\r\n/* 122: */ {\r\n/* 123:150 */ Block localbec = localbdv.b();\r\n/* 124:151 */ BlockType localatr = localbec.getType();\r\n/* 125:152 */ if ((localatr == this) || (localatr.getMaterial() == Material.air)) {\r\n/* 126:153 */ return;\r\n/* 127: */ }\r\n/* 128:156 */ float f = localbdv.a(0.0F);\r\n/* 129:157 */ if (localbdv.d()) {\r\n/* 130:158 */ f = 1.0F - f;\r\n/* 131: */ }\r\n/* 132:160 */ localatr.a(paramard, paramdt);\r\n/* 133:161 */ if ((localatr == BlockList.J) || (localatr == BlockList.F)) {\r\n/* 134:162 */ f = 0.0F;\r\n/* 135: */ }\r\n/* 136:164 */ EnumDirection localej = localbdv.e();\r\n/* 137:165 */ this.B = (localatr.z() - localej.g() * f);\r\n/* 138:166 */ this.C = (localatr.B() - localej.h() * f);\r\n/* 139:167 */ this.D = (localatr.D() - localej.i() * f);\r\n/* 140:168 */ this.E = (localatr.A() - localej.g() * f);\r\n/* 141:169 */ this.F = (localatr.C() - localej.h() * f);\r\n/* 142:170 */ this.G = (localatr.E() - localej.i() * f);\r\n/* 143: */ }\r\n/* 144: */ }", "public int g()\r\n/* 601: */ {\r\n/* 602:645 */ return 0;\r\n/* 603: */ }", "protected int handlePrevious(int position) {\n/* 289 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public int g()\r\n/* 173: */ {\r\n/* 174:198 */ return 0;\r\n/* 175: */ }", "protected int b(i var1_1, y.c.q var2_2, y.c.q var3_3, h var4_4, h var5_5, int var6_6, ArrayList var7_7, ArrayList var8_8, h var9_9, h var10_10) {\n block26 : {\n block25 : {\n var24_11 = o.p;\n this.c = var6_6;\n this.d = var2_2;\n this.e = var3_3;\n this.n = var1_1.h();\n this.o = var1_1.f();\n this.h = var1_1;\n this.i = new int[this.n];\n this.j = new int[this.n];\n this.k = new int[this.o];\n this.l = new int[this.o];\n this.m = new int[this.n];\n this.b = new Object[this.o];\n this.t = new int[this.n];\n this.r = new d[this.n];\n this.s = new d[this.n];\n this.f = var4_4;\n this.a = new a[this.n];\n this.q = new ArrayList<E>(var1_1.f());\n this.p = new I(this.o);\n var11_12 = 0;\n block0 : do {\n v0 = var11_12;\n block1 : while (v0 < var7_7.size()) {\n var12_15 = (a)var7_7.get(var11_12);\n v1 /* !! */ = var12_15.b();\n if (var24_11) break block25;\n var13_17 = v1 /* !! */ ;\n while (var13_17.f()) {\n var14_20 = var13_17.a();\n var15_23 = var14_20.b();\n this.a[var14_20.b()] = var12_15;\n this.i[var15_23] = var12_15.a();\n v0 = this.i[var15_23];\n if (var24_11) continue block1;\n if (v0 < 0) {\n throw new B(\"found negative capacity\");\n }\n var13_17.g();\n if (!var24_11) continue;\n }\n ++var11_12;\n if (!var24_11) continue block0;\n }\n break block0;\n break;\n } while (true);\n v1 /* !! */ = var11_13 = this.h.p();\n }\n while (var11_13.f()) {\n var12_15 = var11_13.a();\n this.r[var12_15.b()] = (d)var10_10.b(var12_15);\n this.s[var12_15.b()] = (d)var9_9.b(var12_15);\n var11_13.g();\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block26;\n }\n this.g = new u[this.o];\n }\n var11_13 = var1_1.o();\n while (var11_13.f()) {\n var12_15 = var11_13.e();\n v2 = this;\n if (!var24_11) {\n v2.g[var12_15.d()] = new u((y.c.q)var12_15, var12_15.d());\n var11_13.g();\n if (!var24_11) continue;\n }\n ** GOTO lbl65\n }\n block5 : do {\n v2 = this;\nlbl65: // 2 sources:\n var11_14 = var13_18 = v2.a();\n var12_16 = 0;\n var14_21 = 0;\n block6 : do {\n v3 = var14_21;\n v4 = var8_8.size();\n block7 : while (v3 < v4) {\n v5 = var8_8.get(var14_21);\n do {\n var15_24 = (ArrayList)v5;\n var16_26 = false;\n var17_27 = 0;\n var18_28 = 0;\n v6 = 0;\n if (!var24_11) {\n for (var19_29 = v1574606; var19_29 < var15_24.size(); ++var19_29) {\n block28 : {\n block27 : {\n var20_30 = (a)var15_24.get(var19_29);\n v3 = this.m[var20_30.b[0].b()];\n v4 = 1;\n if (var24_11) continue block7;\n if (v3 != v4 || this.m[var20_30.b[1].b()] != 1) continue;\n ++var12_16;\n var21_31 = this.s[var20_30.b[0].b()];\n var22_32 = 0;\n while (this.m[var21_31.b()] == 1) {\n var22_32 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n var21_31 = this.s[var21_31.b()];\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block27;\n }\n var22_32 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n }\n var23_33 = 0;\n var21_31 = this.s[var20_30.b[1].b()];\n while (this.m[var21_31.b()] == 1) {\n var23_33 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n var21_31 = this.s[var21_31.b()];\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block28;\n }\n var23_33 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n }\n if (var23_33 > 400 || var22_32 > 400) {\n block29 : {\n if (var23_33 < var22_32) {\n this.a(var20_30);\n if (!var24_11) break block29;\n }\n this.b(var20_30);\n }\n var16_26 = true;\n }\n var18_28 += var23_33;\n var17_27 += var22_32;\n if (!var24_11) continue;\n }\n if (!var16_26) {\n for (var19_29 = 0; var19_29 < var15_24.size(); ++var19_29) {\n var20_30 = (a)var15_24.get(var19_29);\n v3 = this.m[var20_30.b[0].b()];\n v4 = 1;\n if (var24_11) continue block7;\n if (v3 != v4 || this.m[var20_30.b[1].b()] != 1) continue;\n if (var18_28 < var17_27) {\n this.a(var20_30);\n if (!var24_11) continue;\n }\n this.b(var20_30);\n if (!var24_11) continue;\n }\n }\n ++var14_21;\n if (!var24_11) continue block6;\n }\n ** GOTO lbl133\n v6 = var12_16;\nlbl133: // 2 sources:\n if (v6 > 0) continue block5;\n v5 = this.h.p();\n } while (var24_11);\n }\n break;\n } while (true);\n break;\n } while (true);\n var13_19 = v5;\n while (var13_19.f()) {\n var14_22 = var13_19.a();\n v7 = var14_22.b();\n if (var24_11 != false) return v7;\n var15_25 = v7;\n var5_5.a((Object)var14_22, this.m[var15_25]);\n var13_19.g();\n if (!var24_11) continue;\n }\n v7 = var11_14;\n return v7;\n }", "public final void mo56977b() {\n /*\n r2 = this;\n com.ss.android.ugc.aweme.common.e r0 = r2.f67572c\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.i r0 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28951i) r0\n if (r0 == 0) goto L_0x001a\n com.ss.android.ugc.aweme.common.a r1 = r2.f67571b\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.d r1 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28944d) r1\n if (r1 == 0) goto L_0x0014\n java.lang.Object r1 = r1.getData()\n java.lang.String r1 = (java.lang.String) r1\n if (r1 != 0) goto L_0x0016\n L_0x0014:\n java.lang.String r1 = \"\"\n L_0x0016:\n r0.mo74240a(r1)\n return\n L_0x001a:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28946e.mo56977b():void\");\n }", "@Override // X.AnonymousClass0PN\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void A0D() {\n /*\n r5 = this;\n super.A0D()\n X.08d r0 = r5.A05\n X.0OQ r4 = r0.A04()\n X.0Rk r3 = r4.A00() // Catch:{ all -> 0x003d }\n X.0BK r2 = r4.A04 // Catch:{ all -> 0x0036 }\n java.lang.String r1 = \"DELETE FROM receipt_device\"\n java.lang.String r0 = \"CLEAR_TABLE_RECEIPT_DEVICE\"\n r2.A0C(r1, r0) // Catch:{ all -> 0x0036 }\n X.08m r1 = r5.A03 // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"receipt_device_migration_complete\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_index\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_retry\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n r3.A00() // Catch:{ all -> 0x0036 }\n r3.close()\n r4.close()\n java.lang.String r0 = \"ReceiptDeviceStore/ReceiptDeviceDatabaseMigration/resetMigration/done\"\n com.whatsapp.util.Log.i(r0)\n return\n L_0x0036:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x0038 }\n L_0x0038:\n r0 = move-exception\n r3.close() // Catch:{ all -> 0x003c }\n L_0x003c:\n throw r0\n L_0x003d:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x003f }\n L_0x003f:\n r0 = move-exception\n r4.close() // Catch:{ all -> 0x0043 }\n L_0x0043:\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: X.C43661yk.A0D():void\");\n }", "void m5769c() throws C0841b;", "private synchronized void m29549c() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x0050 }\n if (r0 == 0) goto L_0x004b;\t Catch:{ all -> 0x0050 }\n L_0x0005:\n r0 = com.google.android.m4b.maps.cg.bx.m23056a();\t Catch:{ all -> 0x0050 }\n r1 = 0;\n r2 = r6.f24854d;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r3 = r6.f24853c;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r2 = r2.openFileInput(r3);\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n if (r2 == 0) goto L_0x0027;\n L_0x0014:\n r3 = new com.google.android.m4b.maps.ar.a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.de.af.f19891a;\t Catch:{ IOException -> 0x0036 }\n r3.<init>(r4);\t Catch:{ IOException -> 0x0036 }\n r6.f24851a = r3;\t Catch:{ IOException -> 0x0036 }\n r3 = r6.f24851a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.ap.C4655c.m20771a(r2);\t Catch:{ IOException -> 0x0036 }\n r3.m20819a(r4);\t Catch:{ IOException -> 0x0036 }\n goto L_0x0029;\t Catch:{ IOException -> 0x0036 }\n L_0x0027:\n r6.f24851a = r1;\t Catch:{ IOException -> 0x0036 }\n L_0x0029:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n L_0x002c:\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n goto L_0x004b;\n L_0x0030:\n r2 = move-exception;\n r5 = r2;\n r2 = r1;\n r1 = r5;\n goto L_0x0044;\n L_0x0035:\n r2 = r1;\n L_0x0036:\n r6.f24851a = r1;\t Catch:{ all -> 0x0043 }\n r1 = r6.f24854d;\t Catch:{ all -> 0x0043 }\n r3 = r6.f24853c;\t Catch:{ all -> 0x0043 }\n r1.deleteFile(r3);\t Catch:{ all -> 0x0043 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n goto L_0x002c;\t Catch:{ all -> 0x0050 }\n L_0x0043:\n r1 = move-exception;\t Catch:{ all -> 0x0050 }\n L_0x0044:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n throw r1;\t Catch:{ all -> 0x0050 }\n L_0x004b:\n r0 = 1;\t Catch:{ all -> 0x0050 }\n r6.f24852b = r0;\t Catch:{ all -> 0x0050 }\n monitor-exit(r6);\n return;\n L_0x0050:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.c():void\");\n }", "public int zzB() {\n return 0;\n }", "public int describeContents() {\n/* 1781 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public void mo23813b() {\n }", "public long mo915b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r4 = this;\n r0 = -1;\n r2 = r4.f18088d;\t Catch:{ NumberFormatException -> 0x000e }\n if (r2 == 0) goto L_0x000d;\t Catch:{ NumberFormatException -> 0x000e }\n L_0x0006:\n r2 = r4.f18088d;\t Catch:{ NumberFormatException -> 0x000e }\n r2 = java.lang.Long.parseLong(r2);\t Catch:{ NumberFormatException -> 0x000e }\n r0 = r2;\n L_0x000d:\n return r0;\n L_0x000e:\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.c.b.b():long\");\n }", "public int getInternalBlockLength()\r\n/* 40: */ {\r\n/* 41: 95 */ return 32;\r\n/* 42: */ }", "@Override\n public void a() {\n block25 : {\n block24 : {\n block22 : {\n var17_1 = a.a;\n var3_2 = this.c.i();\n var4_3 = var3_2.a().a();\n this.d = new w();\n this.e = new y.f.h.D(this.d);\n this.h = M.a(new Object[this.b.e()]);\n this.i = M.b(new Object[this.b.g()]);\n var5_4 = this.b.o();\n while (var5_4.f()) {\n var6_5 = var5_4.e();\n if (var17_1 == 0) {\n if (var6_5.c() <= this.l) {\n var7_6 = this.d.d();\n this.h.a(var6_5, var7_6);\n }\n var5_4.g();\n if (var17_1 == 0) continue;\n }\n break block22;\n }\n this.j = M.b(new Object[this.b.g()]);\n this.k = M.b(new Object[this.b.g()]);\n this.a(this.j, this.k);\n }\n var2_8 = this.b.o();\n block3 : do {\n v0 = var2_8.f();\n block4 : while (v0 != 0) {\n var5_4 = var2_8.e();\n if (var5_4.c() != 0) {\n var1_9 = var5_4.l();\n var6_5 = var1_9.a();\n var7_6 = (y.c.q)this.j.b(var6_5);\n var1_9.b();\n while (var1_9.f()) {\n var8_10 = var1_9.a();\n var9_11 = (y.c.q)this.j.b(var8_10);\n var10_12 = (y.c.q)this.k.b(var8_10);\n var11_13 = this.a((y.c.q)var7_6, (y.c.q)var9_11);\n v0 = var5_4.c();\n if (var17_1 != 0) continue block4;\n if (v0 > this.l) {\n this.h.a(var5_4, var11_13);\n }\n var7_6 = (y.c.q)this.j.b(var8_10);\n var12_14 /* !! */ = this.d.a((y.c.q)var9_11, (y.c.q)var10_12);\n this.i.a(var8_10, var12_14 /* !! */ );\n if (var8_10 == var6_5) break;\n var1_9.b();\n if (var17_1 == 0) continue;\n }\n }\n var2_8.g();\n if (var17_1 == 0) continue block3;\n }\n break block3;\n break;\n } while (true);\n var1_9 = this.b.p();\n while (var1_9.f()) {\n var5_4 = var1_9.a();\n v1 = this;\n if (var17_1 == 0) {\n block23 : {\n if (v1.c.n((y.c.d)var5_4)) {\n this.e.m((y.c.d)this.i.b(var5_4));\n if (var17_1 == 0) break block23;\n }\n this.e.e((y.c.d)this.i.b(var5_4));\n }\n var6_5 = this.c.h((y.c.d)var5_4);\n this.e.b((y.c.d)this.i.b(var5_4), (y.c.d)this.i.b(var6_5));\n var1_9.g();\n if (var17_1 == 0) continue;\n }\n break block24;\n }\n v1 = this;\n }\n var5_4 = v1.e.m();\n this.d.a(\"y.layout.orthogonal.general.NodeSplitter.NODE_FACES\", (y.c.c)var5_4);\n var6_5 = this.e.m();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", (y.c.c)var6_5);\n this.m = this.e.g().t();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", new c((r)var6_5, this.m));\n try {\n this.e.l();\n var7_6 = (y.c.d)this.i.b(var4_3);\n this.e.b(this.e.i((y.c.d)var7_6));\n var8_10 = this.e.h();\n while (var8_10.f()) {\n var5_4.a(var8_10.a(), false);\n var8_10.g();\n if (var17_1 == 0) {\n if (var17_1 == 0) continue;\n }\n break block25;\n }\n var8_10 = this.b.o();\n while (var8_10.f()) {\n var9_11 = var8_10.e();\n if (var17_1 != 0) break;\n if (var9_11.c() <= this.l) ** GOTO lbl-1000\n var10_12 = (y.c.d)this.h.b(var9_11);\n var11_13 = this.e.i((y.c.d)var10_12);\n this.h.a(var9_11, var11_13);\n var5_4.a((p)var11_13, true);\n var12_14 /* !! */ = (y.c.d)this.b.p((y.c.q)var9_11);\n var14_15 = this.b.q((y.c.q)var9_11);\n var16_16 = new Dimension((int)var12_14 /* !! */ , (int)var14_15);\n var6_5.a((p)var11_13, var16_16);\n if (var17_1 != 0) lbl-1000: // 2 sources:\n {\n var10_12 = this.b.r((y.c.q)var9_11);\n if (var10_12.a > 0.0 || var10_12.b > 0.0) {\n var11_13 = (y.c.q)this.h.b(var9_11);\n this.m.a(var11_13, this.b.r((y.c.q)var9_11));\n }\n }\n var8_10.g();\n if (var17_1 == 0) continue;\n break;\n }\n }\n catch (Exception var7_7) {\n System.err.println(\"Internal Error in Face calculation !\");\n var7_7.printStackTrace(System.err);\n }\n }\n var7_6 = this.e.h();\n block9 : do {\n if (var7_6.f() == false) return;\n var8_10 = (p)var7_6.d();\n if (var5_4.d(var8_10)) {\n var9_11 = var8_10.a();\n while (var9_11.f()) {\n var10_12 = var9_11.a();\n this.e.m(this.e.h((y.c.d)var10_12));\n this.e.e((y.c.d)var10_12);\n var9_11.g();\n if (var17_1 != 0) continue block9;\n if (var17_1 == 0) continue;\n }\n }\n var7_6.g();\n } while (var17_1 == 0);\n }", "private final com.google.android.finsky.verifier.p259a.p260a.C4709m m21920b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 16: goto L_0x0015;\n case 26: goto L_0x0046;\n case 34: goto L_0x0053;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r7.f();\n r6.f24221c = r0;\n goto L_0x0000;\n L_0x0015:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x003b }\n switch(r2) {\n case 0: goto L_0x0043;\n case 1: goto L_0x0020;\n case 2: goto L_0x0043;\n default: goto L_0x0020;\n };\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x0020:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x003b }\n r4 = 44;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x003b }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x003b }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x003b }\n r4 = \" is not a valid enum ResourceType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x003b }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x003b }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x003b }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x003b:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x0043:\n r6.f24222d = r2;\t Catch:{ IllegalArgumentException -> 0x003b }\n goto L_0x0000;\n L_0x0046:\n r0 = r7.g();\n r6.f24223e = r0;\n r0 = r6.f24220b;\n r0 = r0 | 1;\n r6.f24220b = r0;\n goto L_0x0000;\n L_0x0053:\n r0 = r7.f();\n r6.f24224f = r0;\n r0 = r6.f24220b;\n r0 = r0 | 2;\n r6.f24220b = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.finsky.verifier.a.a.m.b(com.google.protobuf.nano.a):com.google.android.finsky.verifier.a.a.m\");\n }", "public boolean mo9310a(java.lang.Exception r4) {\n /*\n r3 = this;\n java.lang.Object r0 = r3.f8650a\n monitor-enter(r0)\n boolean r1 = r3.f8651b // Catch:{ all -> 0x002c }\n r2 = 0\n if (r1 == 0) goto L_0x000a\n monitor-exit(r0) // Catch:{ all -> 0x002c }\n return r2\n L_0x000a:\n r1 = 1\n r3.f8651b = r1 // Catch:{ all -> 0x002c }\n r3.f8654e = r4 // Catch:{ all -> 0x002c }\n r3.f8655f = r2 // Catch:{ all -> 0x002c }\n java.lang.Object r4 = r3.f8650a // Catch:{ all -> 0x002c }\n r4.notifyAll() // Catch:{ all -> 0x002c }\n r3.m11250m() // Catch:{ all -> 0x002c }\n boolean r4 = r3.f8655f // Catch:{ all -> 0x002c }\n if (r4 != 0) goto L_0x002a\n bolts.n$q r4 = m11249l() // Catch:{ all -> 0x002c }\n if (r4 == 0) goto L_0x002a\n bolts.p r4 = new bolts.p // Catch:{ all -> 0x002c }\n r4.<init>(r3) // Catch:{ all -> 0x002c }\n r3.f8656g = r4 // Catch:{ all -> 0x002c }\n L_0x002a:\n monitor-exit(r0) // Catch:{ all -> 0x002c }\n return r1\n L_0x002c:\n r4 = move-exception\n monitor-exit(r0) // Catch:{ all -> 0x002c }\n throw r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: bolts.C2177n.mo9310a(java.lang.Exception):boolean\");\n }", "public final void mo8775b() {\n }", "private V e() throws com.amap.api.col.n3.gh {\n /*\n r6 = this;\n r0 = 0\n r1 = 0\n L_0x0002:\n int r2 = r6.b\n if (r1 >= r2) goto L_0x00cd\n com.amap.api.col.n3.ki r2 = com.amap.api.col.n3.ki.c() // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n android.content.Context r3 = r6.d // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n java.net.Proxy r3 = com.amap.api.col.n3.ik.a(r3) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n r6.a((java.net.Proxy) r3) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n byte[] r2 = r2.a((com.amap.api.col.n3.kj) r6) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n java.lang.Object r2 = r6.a((byte[]) r2) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n int r0 = r6.b // Catch:{ ic -> 0x0025, gh -> 0x0020, Throwable -> 0x002a }\n r1 = r0\n r0 = r2\n goto L_0x0002\n L_0x0020:\n r0 = move-exception\n r5 = r2\n r2 = r0\n r0 = r5\n goto L_0x0033\n L_0x0025:\n r0 = move-exception\n r5 = r2\n r2 = r0\n r0 = r5\n goto L_0x0044\n L_0x002a:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"未知错误\"\n r0.<init>(r1)\n throw r0\n L_0x0032:\n r2 = move-exception\n L_0x0033:\n int r1 = r1 + 1\n int r3 = r6.b\n if (r1 < r3) goto L_0x0002\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x0043:\n r2 = move-exception\n L_0x0044:\n int r1 = r1 + 1\n int r3 = r6.b\n if (r1 >= r3) goto L_0x008a\n int r3 = r6.e // Catch:{ InterruptedException -> 0x0053 }\n int r3 = r3 * 1000\n long r3 = (long) r3 // Catch:{ InterruptedException -> 0x0053 }\n java.lang.Thread.sleep(r3) // Catch:{ InterruptedException -> 0x0053 }\n goto L_0x0002\n L_0x0053:\n java.lang.String r0 = \"http连接失败 - ConnectionException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x0082\n java.lang.String r0 = \"socket 连接异常 - SocketException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x0082\n java.lang.String r0 = \"服务器连接失败 - UnknownServiceException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 == 0) goto L_0x0078\n goto L_0x0082\n L_0x0078:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x0082:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"http或socket连接失败 - ConnectionException\"\n r0.<init>(r1)\n throw r0\n L_0x008a:\n java.lang.String r0 = \"http连接失败 - ConnectionException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"socket 连接异常 - SocketException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"未知的错误\"\n java.lang.String r1 = r2.a()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"服务器连接失败 - UnknownServiceException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 == 0) goto L_0x00bb\n goto L_0x00c5\n L_0x00bb:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x00c5:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"http或socket连接失败 - ConnectionException\"\n r0.<init>(r1)\n throw r0\n L_0x00cd:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.amap.api.col.n3.gi.e():java.lang.Object\");\n }", "private void b044904490449щ0449щ() {\n /*\n r7 = this;\n r0 = new rrrrrr.ccrcrc;\n r1 = new java.lang.StringBuilder;\n r1.<init>();\n r2 = r7.bнн043Dннн;\n r2 = com.immersion.aws.analytics.ImmrAnalytics.b044C044C044C044Cьь(r2);\n r2 = r2.getFilesDir();\n r1 = r1.append(r2);\n r2 = java.io.File.separator;\n r1 = r1.append(r2);\n L_0x001b:\n r2 = 1;\n switch(r2) {\n case 0: goto L_0x001b;\n case 1: goto L_0x0024;\n default: goto L_0x001f;\n };\n L_0x001f:\n r2 = 0;\n switch(r2) {\n case 0: goto L_0x0024;\n case 1: goto L_0x001b;\n default: goto L_0x0023;\n };\n L_0x0023:\n goto L_0x001f;\n L_0x0024:\n r2 = \"3HC4C-01.txt\";\n r1 = r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n r0.load();\n L_0x0034:\n r1 = r0.size();\n if (r1 <= 0) goto L_0x007a;\n L_0x003a:\n r1 = r0.peek();\n r2 = new rrrrrr.rcccrr;\n r2.<init>();\n r3 = r7.bнн043Dннн;\n r3 = com.immersion.aws.analytics.ImmrAnalytics.b044Cь044C044Cьь(r3);\n monitor-enter(r3);\n r4 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r4 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r4);\t Catch:{ all -> 0x0074 }\n r4 = r4.bЛ041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r5 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r5 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r5);\t Catch:{ all -> 0x0074 }\n r5 = r5.b041B041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r6 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r6 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r6);\t Catch:{ all -> 0x0074 }\n r6 = r6.bЛЛЛ041B041BЛ;\t Catch:{ all -> 0x0074 }\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n r1 = r2.sendHttpRequestFromCache(r4, r5, r6, r1);\n if (r1 == 0) goto L_0x0077;\n L_0x0069:\n if (r4 == 0) goto L_0x0077;\n L_0x006b:\n if (r5 == 0) goto L_0x0077;\n L_0x006d:\n r0.remove();\n r0.save();\n goto L_0x0034;\n L_0x0074:\n r0 = move-exception;\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n throw r0;\n L_0x0077:\n r0.save();\n L_0x007a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: rrrrrr.cccccr.b044904490449щ0449щ():void\");\n }", "public int getBlockID()\r\n/* 57: */ {\r\n/* 58: 46 */ return RedPowerMachine.blockFrame.cm;\r\n/* 59: */ }", "public abstract C0631bt mo9227aB();", "private synchronized void m3985g() {\n /*\n r8 = this;\n monitor-enter(r8);\n r2 = java.lang.Thread.currentThread();\t Catch:{ all -> 0x0063 }\n r3 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r3 = r3.mo1186c();\t Catch:{ all -> 0x0063 }\n r2 = r2.equals(r3);\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0021;\n L_0x0011:\n r2 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1185b();\t Catch:{ all -> 0x0063 }\n r3 = new com.google.analytics.tracking.android.aa;\t Catch:{ all -> 0x0063 }\n r3.<init>(r8);\t Catch:{ all -> 0x0063 }\n r2.add(r3);\t Catch:{ all -> 0x0063 }\n L_0x001f:\n monitor-exit(r8);\n return;\n L_0x0021:\n r2 = r8.f2122n;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x0028;\n L_0x0025:\n r8.m3999d();\t Catch:{ all -> 0x0063 }\n L_0x0028:\n r2 = com.google.analytics.tracking.android.ab.f1966a;\t Catch:{ all -> 0x0063 }\n r3 = r8.f2110b;\t Catch:{ all -> 0x0063 }\n r3 = r3.ordinal();\t Catch:{ all -> 0x0063 }\n r2 = r2[r3];\t Catch:{ all -> 0x0063 }\n switch(r2) {\n case 1: goto L_0x0036;\n case 2: goto L_0x006e;\n case 3: goto L_0x00aa;\n default: goto L_0x0035;\n };\t Catch:{ all -> 0x0063 }\n L_0x0035:\n goto L_0x001f;\n L_0x0036:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0066;\n L_0x003e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.poll();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to store\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2112d;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1197a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n goto L_0x0036;\n L_0x0063:\n r2 = move-exception;\n monitor-exit(r8);\n throw r2;\n L_0x0066:\n r2 = r8.f2121m;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x001f;\n L_0x006a:\n r8.m3987h();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x006e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x00a0;\n L_0x0076:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.peek();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to service\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2111c;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1204a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2.poll();\t Catch:{ all -> 0x0063 }\n goto L_0x006e;\n L_0x00a0:\n r2 = r8.f2123o;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1198a();\t Catch:{ all -> 0x0063 }\n r8.f2109a = r2;\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x00aa:\n r2 = \"Need to reconnect\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x001f;\n L_0x00b7:\n r8.m3991j();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.analytics.tracking.android.y.g():void\");\n }", "private void kk12() {\n\n\t}", "public void mo9137b() {\n }", "static Object a(bu var0, y.c.d var1_1) {\n block4 : {\n var8_2 = fj.z;\n var2_3 = 0;\n var3_4 = false;\n var4_5 = var0.l(var1_1).j();\n while (var4_5.f()) {\n var5_6 = var4_5.a();\n var6_7 = var5_6.c();\n var7_8 = var5_6.d();\n v0 = Math.abs(var6_7.a() - var7_8.a()) DCMPG 1.0E-12;\n if (var8_2) break block4;\n if (v0 >= 0) ** GOTO lbl-1000\n var3_4 = true;\n if (var8_2) lbl-1000: // 2 sources:\n {\n if (Math.abs(var6_7.b() - var7_8.b()) >= 1.0E-12) return hV.a;\n var2_3 = 1;\n if (var8_2) {\n return hV.a;\n }\n }\n var4_5.g();\n if (!var8_2) continue;\n }\n v0 = var2_3;\n }\n if (v0 != 0 && var3_4) {\n v1 = hV.b;\n return v1;\n }\n v1 = hV.c;\n return v1;\n }", "public final void b() {\n /*\n r10 = this;\n r0 = 0\n java.lang.Object[] r1 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r3 = f53248e\n java.lang.Class[] r6 = new java.lang.Class[r0]\n java.lang.Class r7 = java.lang.Void.TYPE\n r4 = 0\n r5 = 55479(0xd8b7, float:7.7743E-41)\n r2 = r10\n boolean r1 = com.meituan.robust.PatchProxy.isSupport(r1, r2, r3, r4, r5, r6, r7)\n if (r1 == 0) goto L_0x0025\n java.lang.Object[] r2 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r4 = f53248e\n r5 = 0\n r6 = 55479(0xd8b7, float:7.7743E-41)\n java.lang.Class[] r7 = new java.lang.Class[r0]\n java.lang.Class r8 = java.lang.Void.TYPE\n r3 = r10\n com.meituan.robust.PatchProxy.accessDispatch(r2, r3, r4, r5, r6, r7, r8)\n return\n L_0x0025:\n com.ss.android.ugc.aweme.live.alphaplayer.e$i r9 = r10.h\n java.lang.Object[] r2 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r4 = com.ss.android.ugc.aweme.live.alphaplayer.e.i.f53268a\n r5 = 0\n r6 = 55516(0xd8dc, float:7.7794E-41)\n java.lang.Class[] r7 = new java.lang.Class[r0]\n java.lang.Class r8 = java.lang.Void.TYPE\n r3 = r9\n boolean r2 = com.meituan.robust.PatchProxy.isSupport(r2, r3, r4, r5, r6, r7, r8)\n if (r2 == 0) goto L_0x004b\n java.lang.Object[] r2 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r4 = com.ss.android.ugc.aweme.live.alphaplayer.e.i.f53268a\n r5 = 0\n r6 = 55516(0xd8dc, float:7.7794E-41)\n java.lang.Class[] r7 = new java.lang.Class[r0]\n java.lang.Class r8 = java.lang.Void.TYPE\n r3 = r9\n com.meituan.robust.PatchProxy.accessDispatch(r2, r3, r4, r5, r6, r7, r8)\n return\n L_0x004b:\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r2 = g\n monitor-enter(r2)\n r0 = 1\n r9.f53270c = r0 // Catch:{ all -> 0x006e }\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r0 = g // Catch:{ all -> 0x006e }\n r0.notifyAll() // Catch:{ all -> 0x006e }\n L_0x0056:\n boolean r0 = r9.f53269b // Catch:{ all -> 0x006e }\n if (r0 != 0) goto L_0x006c\n boolean r0 = r9.f53271d // Catch:{ all -> 0x006e }\n if (r0 != 0) goto L_0x006c\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r0 = g // Catch:{ InterruptedException -> 0x0064 }\n r0.wait() // Catch:{ InterruptedException -> 0x0064 }\n goto L_0x0056\n L_0x0064:\n java.lang.Thread r0 = java.lang.Thread.currentThread() // Catch:{ all -> 0x006e }\n r0.interrupt() // Catch:{ all -> 0x006e }\n goto L_0x0056\n L_0x006c:\n monitor-exit(r2) // Catch:{ all -> 0x006e }\n return\n L_0x006e:\n r0 = move-exception\n monitor-exit(r2) // Catch:{ all -> 0x006e }\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.ss.android.ugc.aweme.live.alphaplayer.e.b():void\");\n }", "public void zzbr() {\n /*\n r8 = this;\n r0 = 0;\n r2 = r8.zzF;\n L_0x0003:\n r1 = 10;\n if (r0 >= r1) goto L_0x0119;\n L_0x0007:\n r4 = r0 + 1;\n r0 = new java.net.URL;\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r0.<init>(r2);\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r1 = \"play.google.com\";\n r3 = r0.getHost();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r1 = r1.equalsIgnoreCase(r3);\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n if (r1 == 0) goto L_0x002d;\n L_0x001a:\n r0 = r2;\n L_0x001b:\n r0 = r8.zzT(r0);\n r1 = com.google.android.gms.ads.internal.zzr.zzbC();\n r2 = r8.zzpD;\n r2 = r2.getContext();\n r1.zzb(r2, r0);\n return;\n L_0x002d:\n r1 = \"market\";\n r3 = r0.getProtocol();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r1 = r1.equalsIgnoreCase(r3);\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n if (r1 == 0) goto L_0x003b;\n L_0x0039:\n r0 = r2;\n goto L_0x001b;\n L_0x003b:\n r0 = r0.openConnection();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r0 = (java.net.HttpURLConnection) r0;\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r1 = com.google.android.gms.ads.internal.zzr.zzbC();\t Catch:{ all -> 0x00b1 }\n r3 = r8.zzpD;\t Catch:{ all -> 0x00b1 }\n r3 = r3.getContext();\t Catch:{ all -> 0x00b1 }\n r5 = r8.zzpD;\t Catch:{ all -> 0x00b1 }\n r5 = r5.zzhX();\t Catch:{ all -> 0x00b1 }\n r5 = r5.afmaVersion;\t Catch:{ all -> 0x00b1 }\n r6 = 0;\n r1.zza(r3, r5, r6, r0);\t Catch:{ all -> 0x00b1 }\n r1 = r0.getResponseCode();\t Catch:{ all -> 0x00b1 }\n r5 = r0.getHeaderFields();\t Catch:{ all -> 0x00b1 }\n r3 = \"\";\n r6 = 300; // 0x12c float:4.2E-43 double:1.48E-321;\n if (r1 < r6) goto L_0x0116;\n L_0x0065:\n r6 = 399; // 0x18f float:5.59E-43 double:1.97E-321;\n if (r1 > r6) goto L_0x0116;\n L_0x0069:\n r1 = 0;\n r6 = \"Location\";\n r6 = r5.containsKey(r6);\t Catch:{ all -> 0x00b1 }\n if (r6 == 0) goto L_0x0099;\n L_0x0072:\n r1 = \"Location\";\n r1 = r5.get(r1);\t Catch:{ all -> 0x00b1 }\n r1 = (java.util.List) r1;\t Catch:{ all -> 0x00b1 }\n L_0x007a:\n if (r1 == 0) goto L_0x0116;\n L_0x007c:\n r5 = r1.size();\t Catch:{ all -> 0x00b1 }\n if (r5 <= 0) goto L_0x0116;\n L_0x0082:\n r3 = 0;\n r1 = r1.get(r3);\t Catch:{ all -> 0x00b1 }\n r1 = (java.lang.String) r1;\t Catch:{ all -> 0x00b1 }\n L_0x0089:\n r3 = android.text.TextUtils.isEmpty(r1);\t Catch:{ all -> 0x00b1 }\n if (r3 == 0) goto L_0x00aa;\n L_0x008f:\n r1 = \"Arrived at landing page, this ideally should not happen. Will open it in browser.\";\n com.google.android.gms.ads.internal.util.client.zzb.zzaK(r1);\t Catch:{ all -> 0x00b1 }\n r0.disconnect();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r0 = r2;\n goto L_0x001b;\n L_0x0099:\n r6 = \"location\";\n r6 = r5.containsKey(r6);\t Catch:{ all -> 0x00b1 }\n if (r6 == 0) goto L_0x007a;\n L_0x00a1:\n r1 = \"location\";\n r1 = r5.get(r1);\t Catch:{ all -> 0x00b1 }\n r1 = (java.util.List) r1;\t Catch:{ all -> 0x00b1 }\n goto L_0x007a;\n L_0x00aa:\n r0.disconnect();\t Catch:{ IndexOutOfBoundsException -> 0x0111, IOException -> 0x010c, RuntimeException -> 0x0107 }\n r0 = r4;\n r2 = r1;\n goto L_0x0003;\n L_0x00b1:\n r1 = move-exception;\n r0.disconnect();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n throw r1;\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n L_0x00b6:\n r0 = move-exception;\n r1 = r0;\n r0 = r2;\n L_0x00b9:\n r2 = new java.lang.StringBuilder;\n r2.<init>();\n r3 = \"Error while parsing ping URL: \";\n r2 = r2.append(r3);\n r2 = r2.append(r0);\n r2 = r2.toString();\n com.google.android.gms.ads.internal.util.client.zzb.zzd(r2, r1);\n goto L_0x001b;\n L_0x00d1:\n r0 = move-exception;\n r1 = r0;\n r0 = r2;\n L_0x00d4:\n r2 = new java.lang.StringBuilder;\n r2.<init>();\n r3 = \"Error while pinging URL: \";\n r2 = r2.append(r3);\n r2 = r2.append(r0);\n r2 = r2.toString();\n com.google.android.gms.ads.internal.util.client.zzb.zzd(r2, r1);\n goto L_0x001b;\n L_0x00ec:\n r0 = move-exception;\n r1 = r0;\n r0 = r2;\n L_0x00ef:\n r2 = new java.lang.StringBuilder;\n r2.<init>();\n r3 = \"Error while pinging URL: \";\n r2 = r2.append(r3);\n r2 = r2.append(r0);\n r2 = r2.toString();\n com.google.android.gms.ads.internal.util.client.zzb.zzd(r2, r1);\n goto L_0x001b;\n L_0x0107:\n r0 = move-exception;\n r7 = r0;\n r0 = r1;\n r1 = r7;\n goto L_0x00ef;\n L_0x010c:\n r0 = move-exception;\n r7 = r0;\n r0 = r1;\n r1 = r7;\n goto L_0x00d4;\n L_0x0111:\n r0 = move-exception;\n r7 = r0;\n r0 = r1;\n r1 = r7;\n goto L_0x00b9;\n L_0x0116:\n r1 = r3;\n goto L_0x0089;\n L_0x0119:\n r0 = r2;\n goto L_0x001b;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.zzdm.zza.zzbr():void\");\n }", "public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }", "private final void zzR(Object var1_1, zzha var2_2) {\n block94: {\n var3_3 = this;\n var4_4 = var1_1;\n var5_5 = var2_2;\n var6_6 = this.zzh;\n if (var6_6 != 0) break block94;\n var7_7 = this.zzc;\n var6_6 = ((int[])var7_7).length;\n var8_8 = zzja.zzb;\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n var11_11 = var9_9;\n var13_13 = 0;\n for (var12_12 = 0; var12_12 < var6_6; var12_12 += 3) {\n block95: {\n var14_14 = var3_3.zzA(var12_12);\n var15_15 = var3_3.zzc;\n var16_16 = var15_15[var12_12];\n var17_17 = zzja.zzC(var14_14);\n var18_18 = 17;\n var19_19 = 1;\n if (var17_17 <= var18_18) {\n var20_20 = var3_3.zzc;\n var21_21 = var12_12 + 2;\n var18_18 = var20_20[var21_21];\n if ((var21_21 = var18_18 & var9_9) != var11_11) {\n var22_22 = var21_21;\n var13_13 = var8_8.getInt(var4_4, var22_22);\n var11_11 = var21_21;\n }\n var18_18 >>>= 20;\n var18_18 = var19_19 << var18_18;\n } else {\n var18_18 = 0;\n var20_20 = null;\n }\n var24_23 = var14_14 &= var9_9;\n switch (var17_17) lbl-1000:\n // 56 sources\n\n {\n default: {\n var17_17 = 0;\n break block95;\n }\n case 68: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 67: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 66: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 65: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 64: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 63: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 62: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 61: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n ** GOTO lbl-1000\n }\n case 60: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 59: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 58: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = (int)zzja.zzH(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n ** GOTO lbl-1000\n }\n case 57: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 56: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 55: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 54: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 53: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 52: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var10_10 = zzja.zzE(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n ** GOTO lbl-1000\n }\n case 51: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var28_26 = zzja.zzD(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n ** GOTO lbl-1000\n }\n case 50: {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var3_3.zzS(var5_5, var16_16, var26_24, var12_12);\n ** GOTO lbl-1000\n }\n case 49: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzaa(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 48: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzN(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 47: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 46: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 45: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 44: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 43: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 42: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzW(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 41: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 40: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 39: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 38: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 37: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 36: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 35: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 34: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var16_16 = 0;\n var15_15 = null;\n zzjk.zzN(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 33: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 32: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 31: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 30: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 29: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, false);\nlbl290:\n // 6 sources\n\n var17_17 = 0;\n break block95;\n }\n case 28: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzY(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 27: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzZ(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 26: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzX(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 25: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var17_17 = 0;\n zzjk.zzW(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 24: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 23: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 22: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 21: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 20: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 19: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 18: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 17: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 16: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n }\n break block95;\n }\n case 15: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n }\n break block95;\n }\n case 14: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n }\n break block95;\n }\n case 13: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n }\n break block95;\n }\n case 12: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n }\n break block95;\n }\n case 11: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n }\n break block95;\n }\n case 10: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n }\n break block95;\n }\n case 9: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 8: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n }\n break block95;\n }\n case 7: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = (int)zzkh.zzh(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n }\n break block95;\n }\n case 6: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n }\n break block95;\n }\n case 5: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n }\n break block95;\n }\n case 4: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n }\n break block95;\n }\n case 3: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n }\n break block95;\n }\n case 2: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n }\n break block95;\n }\n case 1: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var10_10 = zzkh.zzj(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n }\n break block95;\n }\n case 0: \n }\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var28_26 = zzkh.zzl(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n }\n }\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n }\n var7_7 = var3_3.zzn;\n var4_4 = var7_7.zzd(var4_4);\n var7_7.zzi(var4_4, var5_5);\n return;\n }\n this.zzo.zzb(var1_1);\n throw null;\n }", "protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }", "@ActionTrigger(action=\"KEY-NXTBLK\", function=KeyFunction.NEXT_BLOCK)\n\t\tpublic void spriden_NextBlock()\n\t\t{\n\t\t\t\n\t\t\t\tgoBlock(toStr(\"SOUNDEX\"));\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "public int getEventCode() {\n/* 41 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public void mo2485a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r2 = this;\n r0 = r2.f11863a;\n monitor-enter(r0);\n r1 = r2.f11873l;\t Catch:{ all -> 0x002a }\n if (r1 != 0) goto L_0x0028;\t Catch:{ all -> 0x002a }\n L_0x0007:\n r1 = r2.f11872k;\t Catch:{ all -> 0x002a }\n if (r1 == 0) goto L_0x000c;\t Catch:{ all -> 0x002a }\n L_0x000b:\n goto L_0x0028;\t Catch:{ all -> 0x002a }\n L_0x000c:\n r1 = r2.f11875n;\t Catch:{ all -> 0x002a }\n if (r1 == 0) goto L_0x0015;\n L_0x0010:\n r1 = r2.f11875n;\t Catch:{ RemoteException -> 0x0015 }\n r1.cancel();\t Catch:{ RemoteException -> 0x0015 }\n L_0x0015:\n r1 = r2.f11870i;\t Catch:{ all -> 0x002a }\n m14216b(r1);\t Catch:{ all -> 0x002a }\n r1 = 1;\t Catch:{ all -> 0x002a }\n r2.f11873l = r1;\t Catch:{ all -> 0x002a }\n r1 = com.google.android.gms.common.api.Status.zzfnm;\t Catch:{ all -> 0x002a }\n r1 = r2.mo3568a(r1);\t Catch:{ all -> 0x002a }\n r2.m14217c(r1);\t Catch:{ all -> 0x002a }\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n return;\t Catch:{ all -> 0x002a }\n L_0x0028:\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n return;\t Catch:{ all -> 0x002a }\n L_0x002a:\n r1 = move-exception;\t Catch:{ all -> 0x002a }\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.common.api.internal.BasePendingResult.a():void\");\n }", "public int getDrawingOrder() {\n/* 1068 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "private boolean m2248a(java.lang.String r3, com.onesignal.La.C0596a r4) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/318857719.run(Unknown Source)\n*/\n /*\n r2 = this;\n r0 = 0;\n r1 = 1;\n java.lang.Float.parseFloat(r3);\t Catch:{ Throwable -> 0x0007 }\n r3 = 1;\n goto L_0x0008;\n L_0x0007:\n r3 = 0;\n L_0x0008:\n if (r3 != 0) goto L_0x0017;\n L_0x000a:\n r3 = com.onesignal.sa.C0650i.ERROR;\n r1 = \"Missing Google Project number!\\nPlease enter a Google Project number / Sender ID on under App Settings > Android > Configuration on the OneSignal dashboard.\";\n com.onesignal.sa.m1656a(r3, r1);\n r3 = 0;\n r1 = -6;\n r4.mo1392a(r3, r1);\n return r0;\n L_0x0017:\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.onesignal.Pa.a(java.lang.String, com.onesignal.La$a):boolean\");\n }", "public abstract void mo70713b();", "private final com.google.android.play.p179a.p352a.C6210u m28673b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 16: goto L_0x001b;\n case 26: goto L_0x0058;\n case 34: goto L_0x0065;\n case 42: goto L_0x0072;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r7.f();\n r6.f31049b = r0;\n r0 = r6.f31048a;\n r0 = r0 | 1;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x001b:\n r1 = r6.f31048a;\n r1 = r1 | 2;\n r6.f31048a = r1;\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0047 }\n switch(r2) {\n case 0: goto L_0x004f;\n case 1: goto L_0x004f;\n case 2: goto L_0x004f;\n case 3: goto L_0x004f;\n case 4: goto L_0x004f;\n case 5: goto L_0x004f;\n case 6: goto L_0x004f;\n default: goto L_0x002c;\n };\t Catch:{ IllegalArgumentException -> 0x0047 }\n L_0x002c:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r4 = 38;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r4 = \" is not a valid enum OsType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0047 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0047 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0047 }\n L_0x0047:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x004f:\n r6.f31050c = r2;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r6.f31048a;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r2 | 2;\n r6.f31048a = r2;\t Catch:{ IllegalArgumentException -> 0x0047 }\n goto L_0x0000;\n L_0x0058:\n r0 = r7.f();\n r6.f31051d = r0;\n r0 = r6.f31048a;\n r0 = r0 | 4;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x0065:\n r0 = r7.f();\n r6.f31052e = r0;\n r0 = r6.f31048a;\n r0 = r0 | 8;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x0072:\n r0 = r7.f();\n r6.f31053f = r0;\n r0 = r6.f31048a;\n r0 = r0 | 16;\n r6.f31048a = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.play.a.a.u.b(com.google.protobuf.nano.a):com.google.android.play.a.a.u\");\n }", "@Override\n\tpublic void bbb() {\n\t\t\n\t}", "public int mo4452e() {\n /*\n r7 = this;\n int r0 = r7.f2518c\n r7.f2519d = r0\n r0 = 0\n r1 = 0\n r2 = 0\n L_0x0007:\n int r3 = r7.f2519d\n if (r3 <= 0) goto L_0x003b\n byte r3 = r7.mo4449a()\n r4 = -1\n if (r3 == 0) goto L_0x0034\n r5 = 1\n if (r3 == r5) goto L_0x002e\n r6 = 2\n if (r3 == r6) goto L_0x002e\n r6 = 9\n if (r3 == r6) goto L_0x0007\n switch(r3) {\n case 14: goto L_0x0028;\n case 15: goto L_0x0028;\n case 16: goto L_0x0025;\n case 17: goto L_0x0025;\n case 18: goto L_0x0022;\n default: goto L_0x001f;\n }\n L_0x001f:\n if (r2 != 0) goto L_0x0007\n goto L_0x0039\n L_0x0022:\n int r1 = r1 + 1\n goto L_0x0007\n L_0x0025:\n if (r2 != r1) goto L_0x002b\n return r5\n L_0x0028:\n if (r2 != r1) goto L_0x002b\n return r4\n L_0x002b:\n int r1 = r1 + -1\n goto L_0x0007\n L_0x002e:\n if (r1 != 0) goto L_0x0031\n return r5\n L_0x0031:\n if (r2 != 0) goto L_0x0007\n goto L_0x0039\n L_0x0034:\n if (r1 != 0) goto L_0x0037\n return r4\n L_0x0037:\n if (r2 != 0) goto L_0x0007\n L_0x0039:\n r2 = r1\n goto L_0x0007\n L_0x003b:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: androidx.core.text.BidiFormatter.C0510a.mo4452e():int\");\n }", "void testBP()\n {\n try\n {\n init();\n accessComplete.reset();\n FormTestID(TestNo,SubNo++,\"FUN\");\n\n op1 = sequance.new Operation();\n addOpSequenceBP(op1,ACCESS_OPERATION_CODE.ACCESS_OPERATION_BLOCK_PERMALOCK );\n psLog.println(\"\\n<br><a>TestCase No:\"+TestID+\"</a> <br>\");\n psLog.println(\"\\n<b>Description</b>:\"+logText+\" \"+ACCESS_OPERATION_CODE.ACCESS_OPERATION_BLOCK_PERMALOCK);\n psLog.println(\"\\n<b> Expected: Block permalock memory Bank\"+\"</b><br>\");\n psLog.println(\"\\n<b> Actual Result is :</b><br>\");\n\n// //access sequence perform.\n// byte[] tp = { (byte)0xBE,(byte)0xDD};\n//\n// accessfilter.TagPatternA.setTagPattern(tp);\n\n reader.Actions.TagAccess.OperationSequence.performSequence(accessfilter, tInfo, antInfo);\n accessComplete.waitOne();\n int successCount[] = new int[1];int failureCount[] = new int[1];\n reader.Actions.TagAccess.getLastAccessResult(successCount, failureCount);\n reader.Actions.TagAccess.OperationSequence.delete(op1);\n if( successCount[0] == 0 )\n {\n psLog.println(\"\\n Test Result :PASS\");\n psResult.println(TestID+\" \"+logText+\" :PASS\");\n\n }\n else\n {\n psLog.println(\"\\n Test Result :FAIL\");\n psResult.println(TestID+\" \"+logText+\" :FAIL\");\n }\n if( ReadMemory() )\n {\n psLog.println(\"\\n Test Result :PASS\");\n psResult.println(TestID+\" \"+logText+\" :PASS\");\n// successCount++;\n }\n else\n {\n psLog.println(\"\\n Test Result :FAIL\");\n psResult.println(TestID+\" \"+logText+\" :FAIL\");\n// failureCount++;\n }\n }\n catch(InvalidUsageException exp)\n {\n System.out.print(\"\\nInvalidUsageException\"+exp.getInfo()+exp.getVendorMessage());\n }\n catch(OperationFailureException exp)\n {\n CleanupPendingSequence();\n System.out.print(\"\\nOperationFailureException\"+exp.getMessage()+exp.getStatusDescription());\n }\n catch(InterruptedException e)\n {\n\n }\n }", "public final int mo11683a(com.google.android.gms.internal.ads.bci r11, com.google.android.gms.internal.ads.bcn r12) {\n /*\n r10 = this;\n L_0x0000:\n int r12 = r10.f3925e\n r0 = -1\n r1 = 1\n r2 = 0\n switch(r12) {\n case 0: goto L_0x00b2;\n case 1: goto L_0x0044;\n case 2: goto L_0x000e;\n default: goto L_0x0008;\n }\n L_0x0008:\n java.lang.IllegalStateException r11 = new java.lang.IllegalStateException\n r11.<init>()\n throw r11\n L_0x000e:\n int r12 = r10.f3928h\n if (r12 <= 0) goto L_0x0031\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n r12.mo12047a()\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n byte[] r12 = r12.f4559a\n r0 = 3\n r11.mo11675b(r12, r2, r0)\n com.google.android.gms.internal.ads.bcq r12 = r10.f3924d\n com.google.android.gms.internal.ads.bkh r3 = r10.f3923c\n r12.mo11681a(r3, r0)\n int r12 = r10.f3929i\n int r12 = r12 + r0\n r10.f3929i = r12\n int r12 = r10.f3928h\n int r12 = r12 - r1\n r10.f3928h = r12\n goto L_0x000e\n L_0x0031:\n int r11 = r10.f3929i\n if (r11 <= 0) goto L_0x0041\n com.google.android.gms.internal.ads.bcq r3 = r10.f3924d\n long r4 = r10.f3927g\n r6 = 1\n int r7 = r10.f3929i\n r8 = 0\n r9 = 0\n r3.mo11680a(r4, r6, r7, r8, r9)\n L_0x0041:\n r10.f3925e = r1\n return r2\n L_0x0044:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n r12.mo12047a()\n int r12 = r10.f3926f\n if (r12 != 0) goto L_0x006a\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n byte[] r12 = r12.f4559a\n r3 = 5\n boolean r12 = r11.mo11672a(r12, r2, r3, r1)\n if (r12 != 0) goto L_0x005a\n L_0x0058:\n r1 = 0\n goto L_0x008d\n L_0x005a:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n long r3 = r12.mo12063j()\n r5 = 1000(0x3e8, double:4.94E-321)\n long r3 = r3 * r5\n r5 = 45\n long r3 = r3 / r5\n r10.f3927g = r3\n goto L_0x0083\n L_0x006a:\n int r12 = r10.f3926f\n if (r12 != r1) goto L_0x0097\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n byte[] r12 = r12.f4559a\n r3 = 9\n boolean r12 = r11.mo11672a(r12, r2, r3, r1)\n if (r12 != 0) goto L_0x007b\n goto L_0x0058\n L_0x007b:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n long r3 = r12.mo12066m()\n r10.f3927g = r3\n L_0x0083:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n int r12 = r12.mo12059f()\n r10.f3928h = r12\n r10.f3929i = r2\n L_0x008d:\n if (r1 == 0) goto L_0x0094\n r12 = 2\n r10.f3925e = r12\n goto L_0x0000\n L_0x0094:\n r10.f3925e = r2\n return r0\n L_0x0097:\n com.google.android.gms.internal.ads.bad r11 = new com.google.android.gms.internal.ads.bad\n int r12 = r10.f3926f\n r0 = 39\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>(r0)\n java.lang.String r0 = \"Unsupported version number: \"\n r1.append(r0)\n r1.append(r12)\n java.lang.String r12 = r1.toString()\n r11.<init>((java.lang.String) r12)\n throw r11\n L_0x00b2:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n r12.mo12047a()\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n byte[] r12 = r12.f4559a\n r3 = 8\n boolean r12 = r11.mo11672a(r12, r2, r3, r1)\n if (r12 == 0) goto L_0x00df\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n int r12 = r12.mo12065l()\n int r2 = f3921a\n if (r12 != r2) goto L_0x00d7\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n int r12 = r12.mo12059f()\n r10.f3926f = r12\n r2 = 1\n goto L_0x00df\n L_0x00d7:\n java.io.IOException r11 = new java.io.IOException\n java.lang.String r12 = \"Input not RawCC\"\n r11.<init>(r12)\n throw r11\n L_0x00df:\n if (r2 == 0) goto L_0x00e5\n r10.f3925e = r1\n goto L_0x0000\n L_0x00e5:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.ads.bef.mo11683a(com.google.android.gms.internal.ads.bci, com.google.android.gms.internal.ads.bcn):int\");\n }", "private p000a.p001a.p002a.p003a.C0916s m1655b(p000a.p001a.p002a.p003a.p022i.p024b.C0112x r7, p000a.p001a.p002a.p003a.p034n.C0157e r8) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/293907205.run(Unknown Source)\n*/\n /*\n r6 = this;\n r0 = r7.m321a();\n r7 = r7.m322b();\n r1 = 0;\n r2 = r1;\n L_0x000a:\n r3 = r6.f1533u;\n r3 = r3 + 1;\n r6.f1533u = r3;\n r0.m2803e();\n r3 = r0.mo2010a();\n if (r3 != 0) goto L_0x0032;\n L_0x0019:\n r7 = r6.f1513a;\n r8 = \"Cannot retry non-repeatable request\";\n r7.m260a(r8);\n if (r2 == 0) goto L_0x002a;\n L_0x0022:\n r7 = new a.a.a.a.b.m;\n r8 = \"Cannot retry request with a non-repeatable request entity. The cause lists the reason the original request failed.\";\n r7.<init>(r8, r2);\n throw r7;\n L_0x002a:\n r7 = new a.a.a.a.b.m;\n r8 = \"Cannot retry request with a non-repeatable request entity.\";\n r7.<init>(r8);\n throw r7;\n L_0x0032:\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.mo1932c();\t Catch:{ IOException -> 0x0086 }\n if (r2 != 0) goto L_0x0057;\t Catch:{ IOException -> 0x0086 }\n L_0x003a:\n r2 = r7.mo15e();\t Catch:{ IOException -> 0x0086 }\n if (r2 != 0) goto L_0x004f;\t Catch:{ IOException -> 0x0086 }\n L_0x0040:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = \"Reopening the direct connection.\";\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r3 = r6.f1528p;\t Catch:{ IOException -> 0x0086 }\n r2.mo2023a(r7, r8, r3);\t Catch:{ IOException -> 0x0086 }\n goto L_0x0057;\t Catch:{ IOException -> 0x0086 }\n L_0x004f:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = \"Proxied connection. Need to start over.\";\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n goto L_0x0085;\t Catch:{ IOException -> 0x0086 }\n L_0x0057:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.m262a();\t Catch:{ IOException -> 0x0086 }\n if (r2 == 0) goto L_0x007c;\t Catch:{ IOException -> 0x0086 }\n L_0x005f:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = new java.lang.StringBuilder;\t Catch:{ IOException -> 0x0086 }\n r3.<init>();\t Catch:{ IOException -> 0x0086 }\n r4 = \"Attempt \";\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r4 = r6.f1533u;\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r4 = \" to execute request\";\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r3 = r3.toString();\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n L_0x007c:\n r2 = r6.f1518f;\t Catch:{ IOException -> 0x0086 }\n r3 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.m464a(r0, r3, r8);\t Catch:{ IOException -> 0x0086 }\n r1 = r2;\n L_0x0085:\n return r1;\n L_0x0086:\n r2 = move-exception;\n r3 = r6.f1513a;\n r4 = \"Closing the connection.\";\n r3.m260a(r4);\n r3 = r6.f1529q;\t Catch:{ IOException -> 0x0093 }\n r3.close();\t Catch:{ IOException -> 0x0093 }\n L_0x0093:\n r3 = r6.f1520h;\n r4 = r0.m2802d();\n r3 = r3.retryRequest(r2, r4, r8);\n if (r3 == 0) goto L_0x010a;\n L_0x009f:\n r3 = r6.f1513a;\n r3 = r3.m270d();\n if (r3 == 0) goto L_0x00d9;\n L_0x00a7:\n r3 = r6.f1513a;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r5 = \"I/O exception (\";\n r4.append(r5);\n r5 = r2.getClass();\n r5 = r5.getName();\n r4.append(r5);\n r5 = \") caught when processing request to \";\n r4.append(r5);\n r4.append(r7);\n r5 = \": \";\n r4.append(r5);\n r5 = r2.getMessage();\n r4.append(r5);\n r4 = r4.toString();\n r3.m269d(r4);\n L_0x00d9:\n r3 = r6.f1513a;\n r3 = r3.m262a();\n if (r3 == 0) goto L_0x00ea;\n L_0x00e1:\n r3 = r6.f1513a;\n r4 = r2.getMessage();\n r3.m261a(r4, r2);\n L_0x00ea:\n r3 = r6.f1513a;\n r3 = r3.m270d();\n if (r3 == 0) goto L_0x000a;\n L_0x00f2:\n r3 = r6.f1513a;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r5 = \"Retrying request to \";\n r4.append(r5);\n r4.append(r7);\n r4 = r4.toString();\n r3.m269d(r4);\n goto L_0x000a;\n L_0x010a:\n r8 = r2 instanceof p000a.p001a.p002a.p003a.C0176z;\n if (r8 == 0) goto L_0x0134;\n L_0x010e:\n r8 = new a.a.a.a.z;\n r0 = new java.lang.StringBuilder;\n r0.<init>();\n r7 = r7.mo10a();\n r7 = r7.m474e();\n r0.append(r7);\n r7 = \" failed to respond\";\n r0.append(r7);\n r7 = r0.toString();\n r8.<init>(r7);\n r7 = r2.getStackTrace();\n r8.setStackTrace(r7);\n throw r8;\n L_0x0134:\n throw r2;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: a.a.a.a.i.b.p.b(a.a.a.a.i.b.x, a.a.a.a.n.e):a.a.a.a.s\");\n }", "final com.google.bV a(java.util.Map r14) {\n /*\n r13_this = this;\n r6 = f;\n if (r14 == 0) goto L_0x013c;\n L_0x0004:\n r0 = com.google.fm.TRY_HARDER;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x013c;\n L_0x000c:\n r0 = 1;\n r2 = r0;\n L_0x000e:\n if (r14 == 0) goto L_0x0140;\n L_0x0010:\n r0 = com.google.fm.PURE_BARCODE;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x0140;\n L_0x0018:\n r0 = 1;\n L_0x0019:\n r1 = r13.b;\n r7 = r1.f();\n r1 = r13.b;\n r8 = r1.b();\n r1 = r7 * 3;\n r1 = r1 / 228;\n r3 = 3;\n if (r1 < r3) goto L_0x002e;\n L_0x002c:\n if (r2 == 0) goto L_0x002f;\n L_0x002e:\n r1 = 3;\n L_0x002f:\n r2 = 0;\n r3 = 5;\n r9 = new int[r3];\n r4 = r1 + -1;\n r5 = r1;\n L_0x0036:\n if (r4 >= r7) goto L_0x0127;\n L_0x0038:\n if (r2 != 0) goto L_0x0127;\n L_0x003a:\n r1 = 0;\n r3 = 0;\n r9[r1] = r3;\n r1 = 1;\n r3 = 0;\n r9[r1] = r3;\n r1 = 2;\n r3 = 0;\n r9[r1] = r3;\n r1 = 3;\n r3 = 0;\n r9[r1] = r3;\n r1 = 4;\n r3 = 0;\n r9[r1] = r3;\n r1 = 0;\n r3 = 0;\n L_0x0050:\n if (r3 >= r8) goto L_0x010d;\n L_0x0052:\n r10 = r13.b;\n r10 = r10.a(r3, r4);\n if (r10 == 0) goto L_0x0069;\n L_0x005a:\n r10 = r1 & 1;\n r11 = 1;\n if (r10 != r11) goto L_0x0061;\n L_0x005f:\n r1 = r1 + 1;\n L_0x0061:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0069:\n r10 = r1 & 1;\n if (r10 != 0) goto L_0x0103;\n L_0x006d:\n r10 = 4;\n if (r1 != r10) goto L_0x00f9;\n L_0x0070:\n r1 = a(r9);\n if (r1 == 0) goto L_0x015f;\n L_0x0076:\n r1 = r13.a(r9, r4, r3, r0);\n if (r1 == 0) goto L_0x0159;\n L_0x007c:\n r5 = 2;\n r1 = r13.a;\n if (r1 == 0) goto L_0x0156;\n L_0x0081:\n r1 = r13.b();\n if (r6 == 0) goto L_0x00c2;\n L_0x0087:\n r2 = r13.c();\n r10 = 2;\n r10 = r9[r10];\n if (r2 <= r10) goto L_0x0152;\n L_0x0090:\n r3 = 2;\n r3 = r9[r3];\n r2 = r2 - r3;\n r2 = r2 - r5;\n r3 = r4 + r2;\n r2 = r8 + -1;\n L_0x0099:\n if (r6 == 0) goto L_0x014e;\n L_0x009b:\n r4 = r5;\n r12 = r3;\n r3 = r1;\n r1 = r2;\n r2 = r12;\n L_0x00a0:\n r5 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 3;\n r10 = 1;\n r9[r5] = r10;\n r5 = 4;\n r10 = 0;\n r9[r5] = r10;\n r5 = 3;\n if (r6 == 0) goto L_0x0147;\n L_0x00bd:\n r5 = r4;\n r4 = r2;\n r12 = r3;\n r3 = r1;\n r1 = r12;\n L_0x00c2:\n r2 = 0;\n r10 = 0;\n r11 = 0;\n r9[r10] = r11;\n r10 = 1;\n r11 = 0;\n r9[r10] = r11;\n r10 = 2;\n r11 = 0;\n r9[r10] = r11;\n r10 = 3;\n r11 = 0;\n r9[r10] = r11;\n r10 = 4;\n r11 = 0;\n r9[r10] = r11;\n if (r6 == 0) goto L_0x0143;\n L_0x00d9:\n r2 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 3;\n r10 = 1;\n r9[r2] = r10;\n r2 = 4;\n r10 = 0;\n r9[r2] = r10;\n r2 = 3;\n if (r6 == 0) goto L_0x0143;\n L_0x00f6:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n L_0x00f9:\n r1 = r1 + 1;\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0103:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n L_0x0109:\n r3 = r3 + 1;\n if (r6 == 0) goto L_0x0050;\n L_0x010d:\n r1 = a(r9);\n if (r1 == 0) goto L_0x0124;\n L_0x0113:\n r1 = r13.a(r9, r4, r8, r0);\n if (r1 == 0) goto L_0x0124;\n L_0x0119:\n r1 = 0;\n r5 = r9[r1];\n r1 = r13.a;\n if (r1 == 0) goto L_0x0124;\n L_0x0120:\n r2 = r13.b();\n L_0x0124:\n r4 = r4 + r5;\n if (r6 == 0) goto L_0x0036;\n L_0x0127:\n r0 = r13.a();\n com.google.bm.a(r0);\n r1 = new com.google.bV;\n r1.<init>(r0);\n r0 = com.google.gC.a;\n if (r0 == 0) goto L_0x013b;\n L_0x0137:\n r0 = r6 + 1;\n f = r0;\n L_0x013b:\n return r1;\n L_0x013c:\n r0 = 0;\n r2 = r0;\n goto L_0x000e;\n L_0x0140:\n r0 = 0;\n goto L_0x0019;\n L_0x0143:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n goto L_0x0109;\n L_0x0147:\n r12 = r1;\n r1 = r5;\n r5 = r4;\n r4 = r2;\n r2 = r3;\n r3 = r12;\n goto L_0x0109;\n L_0x014e:\n r4 = r3;\n r3 = r2;\n goto L_0x00c2;\n L_0x0152:\n r2 = r3;\n r3 = r4;\n goto L_0x0099;\n L_0x0156:\n r1 = r2;\n goto L_0x0087;\n L_0x0159:\n r1 = r3;\n r3 = r2;\n r2 = r4;\n r4 = r5;\n goto L_0x00a0;\n L_0x015f:\n r1 = r2;\n goto L_0x00d9;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.bj.a(java.util.Map):com.google.bV\");\n }", "public void m7211c() {\n /*\n r34 = this;\n r16 = 0;\n r15 = 0;\n r5 = 0;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"MINOR_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = -1;\n r4 = r2.hashCode();\n switch(r4) {\n case -1172269795: goto L_0x002e;\n case 2157948: goto L_0x0038;\n case 2571565: goto L_0x0024;\n default: goto L_0x0018;\n };\n L_0x0018:\n r2 = r3;\n L_0x0019:\n switch(r2) {\n case 0: goto L_0x0042;\n case 1: goto L_0x0162;\n case 2: goto L_0x01a9;\n default: goto L_0x001c;\n };\n L_0x001c:\n r2 = \"Undefined type\";\n r0 = r34;\n mobi.mmdt.componentsutils.p079a.p080a.C1104b.m6366b(r0, r2);\n L_0x0023:\n return;\n L_0x0024:\n r4 = \"TEXT\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x002c:\n r2 = 0;\n goto L_0x0019;\n L_0x002e:\n r4 = \"STICKER\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x0036:\n r2 = 1;\n goto L_0x0019;\n L_0x0038:\n r4 = \"FILE\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x0040:\n r2 = 2;\n goto L_0x0019;\n L_0x0042:\n r4 = mobi.mmdt.ott.provider.p169c.C1594n.TEXT;\n r33 = r5;\n L_0x0046:\n r8 = mobi.mmdt.componentsutils.p079a.p084e.C1113a.m6421a();\n r10 = mobi.mmdt.ott.provider.p169c.C1592l.IN;\n r0 = r34;\n r2 = r0.f4758b;\n r0 = r34;\n r3 = r0.f4757a;\n r3 = mobi.mmdt.ott.p109d.p111b.C1309a.m6934a(r3);\n r3 = r3.m6942b();\n r2 = r2.equals(r3);\n if (r2 == 0) goto L_0x0064;\n L_0x0062:\n r10 = mobi.mmdt.ott.provider.p169c.C1592l.OUT;\n L_0x0064:\n r0 = r34;\n r2 = r0.f4757a;\n r0 = r34;\n r3 = r0.f4761e;\n r2 = mobi.mmdt.ott.provider.p169c.C1583c.m7972a(r2, r3, r10);\n if (r2 != 0) goto L_0x0023;\n L_0x0072:\n r2 = mobi.mmdt.ott.MyApplication.m6445a();\n r2 = r2.f4177h;\n if (r2 == 0) goto L_0x008a;\n L_0x007a:\n r2 = mobi.mmdt.ott.MyApplication.m6445a();\n r2 = r2.f4177h;\n r0 = r34;\n r3 = r0.f4759c;\n r2 = r2.equals(r3);\n if (r2 != 0) goto L_0x024e;\n L_0x008a:\n r17 = 0;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n if (r2 == 0) goto L_0x00b8;\n L_0x0098:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x00b8;\n L_0x00aa:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r17 = r2;\n L_0x00b8:\n r2 = new mobi.mmdt.ott.d.a.b;\n r0 = r34;\n r3 = r0.f4761e;\n r0 = r34;\n r5 = r0.f4760d;\n r0 = r34;\n r6 = r0.f4762f;\n r7 = \"SEND_TIME_IN_GMT\";\n r6 = r6.get(r7);\n r6 = (java.lang.String) r6;\n r6 = java.lang.Long.parseLong(r6);\n r11 = mobi.mmdt.ott.provider.p169c.C1593m.NOT_READ;\n r0 = r34;\n r12 = r0.f4759c;\n r13 = mobi.mmdt.ott.provider.p169c.C1595o.GROUP;\n r0 = r34;\n r14 = r0.f4758b;\n r2.<init>(r3, r4, r5, r6, r8, r10, r11, r12, r13, r14, r15, r16, r17);\n r0 = r34;\n r3 = r0.f4757a;\n r3 = mobi.mmdt.ott.logic.p157e.C1509a.m7621a(r3);\n r0 = r34;\n r4 = r0.f4762f;\n r0 = r33;\n r3.m7626a(r2, r0, r4);\n L_0x00f2:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n if (r2 == 0) goto L_0x013c;\n L_0x00fe:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x013c;\n L_0x0110:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4761e;\n mobi.mmdt.ott.provider.p169c.C1583c.m7976b(r3, r4, r2);\n r0 = r34;\n r3 = r0.f4757a;\n r2 = mobi.mmdt.ott.provider.p169c.C1583c.m8003n(r3, r2);\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4761e;\n r5 = mobi.mmdt.ott.provider.p169c.C1595o.SINGLE;\n mobi.mmdt.ott.logic.p112a.p120c.p121a.p123b.C1387u.m7218a(r3, r4, r2, r5);\n L_0x013c:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"MINOR_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = \"TEXT\";\n r2 = r2.equals(r3);\n if (r2 != 0) goto L_0x0023;\n L_0x0150:\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.b;\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4762f;\n r2.<init>(r3, r15, r4);\n mobi.mmdt.ott.logic.C1494c.m7541c(r2);\n goto L_0x0023;\n L_0x0162:\n r6 = mobi.mmdt.ott.provider.p169c.C1594n.STICKER;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"STICKER_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r0 = r34;\n r3 = r0.f4762f;\n r4 = \"STICKER_PACKAGE_ID\";\n r3 = r3.get(r4);\n r3 = (java.lang.String) r3;\n r0 = r34;\n r4 = r0.f4762f;\n r7 = \"STICKER_VERSION\";\n r4 = r4.get(r7);\n r4 = (java.lang.String) r4;\n if (r4 == 0) goto L_0x02c9;\n L_0x018a:\n if (r2 == 0) goto L_0x02c9;\n L_0x018c:\n if (r3 == 0) goto L_0x02c9;\n L_0x018e:\n r7 = r4.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x0194:\n r7 = r2.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x019a:\n r7 = r3.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x01a0:\n r16 = mobi.mmdt.ott.provider.p174h.C1629b.m8295a(r4, r3, r2);\n r33 = r5;\n r4 = r6;\n goto L_0x0046;\n L_0x01a9:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"FILE_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = -1;\n r4 = r2.hashCode();\n switch(r4) {\n case 327328941: goto L_0x01de;\n case 796404377: goto L_0x01ca;\n case 802160718: goto L_0x01e8;\n case 808293817: goto L_0x01d4;\n default: goto L_0x01bd;\n };\n L_0x01bd:\n r2 = r3;\n L_0x01be:\n switch(r2) {\n case 0: goto L_0x01f2;\n case 1: goto L_0x020c;\n case 2: goto L_0x0222;\n case 3: goto L_0x0238;\n default: goto L_0x01c1;\n };\n L_0x01c1:\n r2 = \"Undefined file type\";\n r0 = r34;\n mobi.mmdt.componentsutils.p079a.p080a.C1104b.m6366b(r0, r2);\n goto L_0x0023;\n L_0x01ca:\n r4 = \"FILE_TYPE_IMAGE\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01d2:\n r2 = 0;\n goto L_0x01be;\n L_0x01d4:\n r4 = \"FILE_TYPE_VIDEO\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01dc:\n r2 = 1;\n goto L_0x01be;\n L_0x01de:\n r4 = \"FILE_TYPE_PUSH_TO_TALK\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01e6:\n r2 = 2;\n goto L_0x01be;\n L_0x01e8:\n r4 = \"FILE_TYPE_OTHER\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01f0:\n r2 = 3;\n goto L_0x01be;\n L_0x01f2:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.IMAGE;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.IMAGE;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n L_0x0207:\n r33 = r2;\n r4 = r3;\n goto L_0x0046;\n L_0x020c:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.VIDEO;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.VIDEO;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x0222:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.PUSH_TO_TALK;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.PUSH_TO_TALK;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x0238:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.FILE;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.OTHER;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x024e:\n if (r33 == 0) goto L_0x029c;\n L_0x0250:\n r0 = r34;\n r0 = r0.f4757a;\n r18 = r0;\n r19 = r33.m8082n();\n r20 = r33.m8069a();\n r21 = r33.m8079k();\n r22 = r33.m8073e();\n r23 = r33.m8078j();\n r24 = r33.m8077i();\n r26 = 0;\n r27 = r33.m8081m();\n r28 = r33.m8080l();\n r29 = r33.m8075g();\n r30 = r33.m8071c();\n r31 = r33.m8072d();\n r32 = r33.m8070b();\n r33 = r33.m8074f();\n r2 = mobi.mmdt.ott.provider.p170d.C1598c.m8100a(r18, r19, r20, r21, r22, r23, r24, r26, r27, r28, r29, r30, r31, r32, r33);\n r2 = r2.getLastPathSegment();\n r2 = java.lang.Long.parseLong(r2);\n r15 = java.lang.Long.valueOf(r2);\n L_0x029c:\n r0 = r34;\n r2 = r0.f4757a;\n r0 = r34;\n r3 = r0.f4761e;\n r0 = r34;\n r5 = r0.f4760d;\n r0 = r34;\n r6 = r0.f4762f;\n r7 = \"SEND_TIME_IN_GMT\";\n r6 = r6.get(r7);\n r6 = (java.lang.String) r6;\n r6 = java.lang.Long.parseLong(r6);\n r11 = mobi.mmdt.ott.provider.p169c.C1593m.READ;\n r0 = r34;\n r12 = r0.f4759c;\n r13 = mobi.mmdt.ott.provider.p169c.C1595o.GROUP;\n r0 = r34;\n r14 = r0.f4758b;\n mobi.mmdt.ott.provider.p169c.C1583c.m7966a(r2, r3, r4, r5, r6, r8, r10, r11, r12, r13, r14, r15, r16);\n goto L_0x00f2;\n L_0x02c9:\n r33 = r5;\n r4 = r6;\n goto L_0x0046;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: mobi.mmdt.ott.logic.a.c.a.b.s.c():void\");\n }", "protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2247() {\r\n // $FF: Couldn't be decompiled\r\n }", "private final void m710e() {\n /*\n r12 = this;\n akn r0 = r12.f531p\n akl r0 = r0.f601d\n if (r0 == 0) goto L_0x0155\n boolean r1 = r0.f580d\n r2 = -9223372036854775807(0x8000000000000001, double:-4.9E-324)\n if (r1 == 0) goto L_0x0017\n aws r1 = r0.f577a\n long r4 = r1.mo1486c()\n r8 = r4\n goto L_0x0019\n L_0x0017:\n r8 = r2\n L_0x0019:\n int r1 = (r8 > r2 ? 1 : (r8 == r2 ? 0 : -1))\n if (r1 != 0) goto L_0x0122\n ajf r1 = r12.f528m\n akn r2 = r12.f531p\n akl r2 = r2.f602e\n akx r3 = r1.f445c\n r4 = 0\n if (r3 == 0) goto L_0x008a\n boolean r3 = r3.mo486w()\n if (r3 != 0) goto L_0x008a\n akx r3 = r1.f445c\n boolean r3 = r3.mo485v()\n if (r3 == 0) goto L_0x0037\n goto L_0x0042\n L_0x0037:\n if (r0 != r2) goto L_0x008a\n akx r2 = r1.f445c\n boolean r2 = r2.mo359g()\n if (r2 == 0) goto L_0x0042\n goto L_0x008a\n L_0x0042:\n bkr r2 = r1.f446d\n long r2 = r2.mo379b()\n boolean r5 = r1.f447e\n if (r5 == 0) goto L_0x0068\n blf r5 = r1.f443a\n long r5 = r5.mo379b()\n int r7 = (r2 > r5 ? 1 : (r2 == r5 ? 0 : -1))\n if (r7 >= 0) goto L_0x005c\n blf r2 = r1.f443a\n r2.mo2109d()\n goto L_0x0096\n L_0x005c:\n r1.f447e = r4\n boolean r5 = r1.f448f\n if (r5 == 0) goto L_0x0068\n blf r5 = r1.f443a\n r5.mo2107a()\n L_0x0068:\n blf r5 = r1.f443a\n r5.mo2108a(r2)\n bkr r2 = r1.f446d\n akq r2 = r2.mo376Q()\n blf r3 = r1.f443a\n akq r3 = r3.f4280a\n boolean r3 = r2.equals(r3)\n if (r3 != 0) goto L_0x0096\n blf r3 = r1.f443a\n r3.mo378a(r2)\n aje r3 = r1.f444b\n ake r3 = (p000.ake) r3\n r3.m694a(r2, r4)\n goto L_0x0096\n L_0x008a:\n r2 = 1\n r1.f447e = r2\n boolean r2 = r1.f448f\n if (r2 == 0) goto L_0x0096\n blf r2 = r1.f443a\n r2.mo2107a()\n L_0x0096:\n long r1 = r1.mo379b()\n r12.f513D = r1\n long r0 = r0.mo440b(r1)\n akp r2 = r12.f533r\n long r2 = r2.f623m\n java.util.ArrayList r5 = r12.f530o\n boolean r5 = r5.isEmpty()\n if (r5 != 0) goto L_0x011d\n akp r5 = r12.f533r\n awt r5 = r5.f612b\n boolean r5 = r5.mo1504a()\n if (r5 != 0) goto L_0x011d\n akp r5 = r12.f533r\n long r6 = r5.f613c\n int r8 = (r6 > r2 ? 1 : (r6 == r2 ? 0 : -1))\n if (r8 != 0) goto L_0x00c5\n boolean r6 = r12.f515F\n if (r6 == 0) goto L_0x00c5\n r6 = -1\n long r2 = r2 + r6\n L_0x00c5:\n r12.f515F = r4\n alh r4 = r5.f611a\n awt r5 = r5.f612b\n java.lang.Object r5 = r5.f2566a\n int r4 = r4.mo525a(r5)\n int r5 = r12.f514E\n r6 = 0\n if (r5 <= 0) goto L_0x00e1\n java.util.ArrayList r7 = r12.f530o\n int r5 = r5 + -1\n java.lang.Object r5 = r7.get(r5)\n akb r5 = (p000.akb) r5\n goto L_0x00e3\n L_0x00e1:\n L_0x00e2:\n r5 = r6\n L_0x00e3:\n if (r5 != 0) goto L_0x00e6\n goto L_0x0109\n L_0x00e6:\n int r5 = r5.f502a\n if (r4 >= 0) goto L_0x00eb\n L_0x00ea:\n goto L_0x00f4\n L_0x00eb:\n if (r4 != 0) goto L_0x0109\n r7 = 0\n int r5 = (r2 > r7 ? 1 : (r2 == r7 ? 0 : -1))\n if (r5 >= 0) goto L_0x0109\n goto L_0x00ea\n L_0x00f4:\n int r5 = r12.f514E\n int r5 = r5 + -1\n r12.f514E = r5\n if (r5 <= 0) goto L_0x0108\n java.util.ArrayList r7 = r12.f530o\n int r5 = r5 + -1\n java.lang.Object r5 = r7.get(r5)\n akb r5 = (p000.akb) r5\n goto L_0x00e3\n L_0x0108:\n goto L_0x00e2\n L_0x0109:\n int r2 = r12.f514E\n java.util.ArrayList r3 = r12.f530o\n int r3 = r3.size()\n if (r2 >= r3) goto L_0x011d\n java.util.ArrayList r2 = r12.f530o\n int r3 = r12.f514E\n java.lang.Object r2 = r2.get(r3)\n akb r2 = (p000.akb) r2\n L_0x011d:\n akp r2 = r12.f533r\n r2.f623m = r0\n goto L_0x0140\n L_0x0122:\n r12.m691a(r8)\n akp r0 = r12.f533r\n long r0 = r0.f623m\n int r2 = (r8 > r0 ? 1 : (r8 == r0 ? 0 : -1))\n if (r2 == 0) goto L_0x0140\n akp r0 = r12.f533r\n awt r7 = r0.f612b\n long r10 = r0.f614d\n r6 = r12\n akp r0 = r6.m686a(r7, r8, r10)\n r12.f533r = r0\n akc r0 = r12.f529n\n r1 = 4\n r0.mo409b(r1)\n L_0x0140:\n akn r0 = r12.f531p\n akl r0 = r0.f603f\n akp r1 = r12.f533r\n long r2 = r0.mo442c()\n r1.f621k = r2\n akp r0 = r12.f533r\n long r1 = r12.m719n()\n r0.f622l = r1\n return\n L_0x0155:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p000.ake.m710e():void\");\n }", "private void c() {\n /*\n r14 = this;\n r12 = android.os.SystemClock.elapsedRealtime();\n r8 = r14.d();\n r0 = r14.t;\n if (r0 == 0) goto L_0x007a;\n L_0x000c:\n r0 = 1;\n r7 = r0;\n L_0x000e:\n r0 = r14.r;\n r0 = r0.a();\n if (r0 != 0) goto L_0x0018;\n L_0x0016:\n if (r7 == 0) goto L_0x007d;\n L_0x0018:\n r0 = 1;\n r10 = r0;\n L_0x001a:\n if (r10 != 0) goto L_0x0095;\n L_0x001c:\n r0 = r14.d;\n r0 = r0.b;\n if (r0 != 0) goto L_0x0028;\n L_0x0022:\n r0 = -1;\n r0 = (r8 > r0 ? 1 : (r8 == r0 ? 0 : -1));\n if (r0 != 0) goto L_0x0032;\n L_0x0028:\n r0 = r14.p;\n r0 = r12 - r0;\n r2 = 2000; // 0x7d0 float:2.803E-42 double:9.88E-321;\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 <= 0) goto L_0x0095;\n L_0x0032:\n r14.p = r12;\n r0 = r14.d;\n r1 = r14.f;\n r1 = r1.size();\n r0.a = r1;\n r0 = r14.c;\n r1 = r14.f;\n r2 = r14.o;\n r4 = r14.m;\n r6 = r14.d;\n r0.getChunkOperation(r1, r2, r4, r6);\n r0 = r14.d;\n r0 = r0.a;\n r0 = r14.a(r0);\n r1 = r14.d;\n r1 = r1.b;\n if (r1 != 0) goto L_0x0080;\n L_0x0059:\n r4 = -1;\n L_0x005b:\n r0 = r14.b;\n r2 = r14.m;\n r1 = r14;\n r6 = r10;\n r0 = r0.update(r1, r2, r4, r6);\n if (r7 == 0) goto L_0x0087;\n L_0x0067:\n r0 = r14.v;\n r0 = r12 - r0;\n r2 = r14.u;\n r2 = (long) r2;\n r2 = r14.c(r2);\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 < 0) goto L_0x0079;\n L_0x0076:\n r14.e();\n L_0x0079:\n return;\n L_0x007a:\n r0 = 0;\n r7 = r0;\n goto L_0x000e;\n L_0x007d:\n r0 = 0;\n r10 = r0;\n goto L_0x001a;\n L_0x0080:\n if (r0 == 0) goto L_0x0095;\n L_0x0082:\n r4 = r14.d();\n goto L_0x005b;\n L_0x0087:\n r1 = r14.r;\n r1 = r1.a();\n if (r1 != 0) goto L_0x0079;\n L_0x008f:\n if (r0 == 0) goto L_0x0079;\n L_0x0091:\n r14.f();\n goto L_0x0079;\n L_0x0095:\n r4 = r8;\n goto L_0x005b;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.exoplayer.chunk.ChunkSampleSource.c():void\");\n }", "private void method_7083() {\r\n // $FF: Couldn't be decompiled\r\n }", "public boolean b(IBlockAccess paramard, BlockPosition paramdt)\r\n/* 31: */ {\r\n/* 32:46 */ return true;\r\n/* 33: */ }", "public boolean b(int paramInt, ItemStack paramamj)\r\n/* 86: */ {\r\n/* 87:107 */ return true;\r\n/* 88: */ }", "public final void b() {\n /*\n r9 = this;\n r0 = 0\n java.lang.Object[] r1 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r3 = f53268a\n java.lang.Class[] r6 = new java.lang.Class[r0]\n java.lang.Class r7 = java.lang.Void.TYPE\n r4 = 0\n r5 = 55519(0xd8df, float:7.7799E-41)\n r2 = r9\n boolean r1 = com.meituan.robust.PatchProxy.isSupport(r1, r2, r3, r4, r5, r6, r7)\n if (r1 == 0) goto L_0x0025\n java.lang.Object[] r2 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r4 = f53268a\n r5 = 0\n r6 = 55519(0xd8df, float:7.7799E-41)\n java.lang.Class[] r7 = new java.lang.Class[r0]\n java.lang.Class r8 = java.lang.Void.TYPE\n r3 = r9\n com.meituan.robust.PatchProxy.accessDispatch(r2, r3, r4, r5, r6, r7, r8)\n return\n L_0x0025:\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r0 = com.ss.android.ugc.aweme.live.alphaplayer.e.g\n monitor-enter(r0)\n r1 = 1\n r9.h = r1 // Catch:{ all -> 0x0044 }\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r1 = com.ss.android.ugc.aweme.live.alphaplayer.e.g // Catch:{ all -> 0x0044 }\n r1.notifyAll() // Catch:{ all -> 0x0044 }\n L_0x0030:\n boolean r1 = r9.f53269b // Catch:{ all -> 0x0044 }\n if (r1 != 0) goto L_0x0042\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r1 = com.ss.android.ugc.aweme.live.alphaplayer.e.g // Catch:{ InterruptedException -> 0x003a }\n r1.wait() // Catch:{ InterruptedException -> 0x003a }\n goto L_0x0030\n L_0x003a:\n java.lang.Thread r1 = java.lang.Thread.currentThread() // Catch:{ all -> 0x0044 }\n r1.interrupt() // Catch:{ all -> 0x0044 }\n goto L_0x0030\n L_0x0042:\n monitor-exit(r0) // Catch:{ all -> 0x0044 }\n return\n L_0x0044:\n r1 = move-exception\n monitor-exit(r0) // Catch:{ all -> 0x0044 }\n throw r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.ss.android.ugc.aweme.live.alphaplayer.e.i.b():void\");\n }", "public int a() {\r\n/* 63 */ return 4;\r\n/* */ }", "public final void a(com.tencent.mm.plugin.game.c.ai r12, java.lang.String r13, int r14, int r15) {\n /*\n r11 = this;\n if (r12 == 0) goto L_0x000a;\n L_0x0002:\n r0 = r12.nmz;\n r0 = com.tencent.mm.sdk.platformtools.bi.cC(r0);\n if (r0 == 0) goto L_0x0010;\n L_0x000a:\n r0 = 8;\n r11.setVisibility(r0);\n L_0x000f:\n return;\n L_0x0010:\n r11.mAppId = r13;\n r11.niV = r15;\n r0 = r12.nmz;\n r7 = r0.iterator();\n L_0x001a:\n r0 = r7.hasNext();\n if (r0 == 0) goto L_0x000f;\n L_0x0020:\n r0 = r7.next();\n r4 = r0;\n r4 = (com.tencent.mm.plugin.game.c.k) r4;\n if (r4 == 0) goto L_0x001a;\n L_0x0029:\n r5 = new com.tencent.mm.plugin.game.d.e$a$a;\n r5.<init>();\n r0 = r4.nlz;\n switch(r0) {\n case 1: goto L_0x004a;\n case 2: goto L_0x00e3;\n default: goto L_0x0033;\n };\n L_0x0033:\n r0 = 2;\n if (r14 != r0) goto L_0x001a;\n L_0x0036:\n r0 = r11.mContext;\n r1 = 10;\n r2 = 1002; // 0x3ea float:1.404E-42 double:4.95E-321;\n r3 = r4.nlw;\n r4 = r4.nlr;\n r6 = com.tencent.mm.plugin.game.model.ap.CD(r4);\n r4 = r13;\n r5 = r15;\n com.tencent.mm.plugin.game.model.ap.a(r0, r1, r2, r3, r4, r5, r6);\n goto L_0x001a;\n L_0x004a:\n r0 = r4.nlx;\n if (r0 == 0) goto L_0x001a;\n L_0x004e:\n r11.e(r11);\n r0 = r11.DF;\n r1 = com.tencent.mm.R.i.djD;\n r2 = 1;\n r6 = r0.inflate(r1, r11, r2);\n r0 = com.tencent.mm.R.h.cxP;\n r0 = r6.findViewById(r0);\n r0 = (android.widget.TextView) r0;\n r1 = com.tencent.mm.R.h.cxR;\n r1 = r6.findViewById(r1);\n r1 = (android.widget.TextView) r1;\n r2 = com.tencent.mm.R.h.cxO;\n r2 = r6.findViewById(r2);\n r2 = (com.tencent.mm.plugin.game.widget.EllipsizingTextView) r2;\n r3 = 2;\n r2.setMaxLines(r3);\n r3 = com.tencent.mm.R.h.cxQ;\n r3 = r6.findViewById(r3);\n r3 = (android.widget.ImageView) r3;\n r8 = r11.mContext;\n r9 = r4.nlv;\n r10 = r0.getTextSize();\n r8 = com.tencent.mm.pluginsdk.ui.d.i.b(r8, r9, r10);\n r0.setText(r8);\n r0 = r11.mContext;\n r8 = r4.nlx;\n r8 = r8.fpg;\n r9 = r1.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r8, r9);\n r1.setText(r0);\n r0 = r11.mContext;\n r1 = r4.nlx;\n r1 = r1.nkL;\n r8 = r2.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r1, r8);\n r2.setText(r0);\n r0 = r4.nlx;\n r0 = r0.nkM;\n r0 = com.tencent.mm.sdk.platformtools.bi.oN(r0);\n if (r0 != 0) goto L_0x00dd;\n L_0x00b9:\n r0 = com.tencent.mm.plugin.game.d.e.aSC();\n r1 = r4.nlx;\n r1 = r1.nkM;\n r2 = r5.aSD();\n r0.a(r3, r1, r2);\n L_0x00c8:\n r0 = new com.tencent.mm.plugin.game.ui.f$a;\n r1 = r4.nlw;\n r2 = r4.nlx;\n r2 = r2.nkN;\n r3 = r4.nlr;\n r0.<init>(r1, r2, r3);\n r6.setTag(r0);\n r6.setOnClickListener(r11);\n goto L_0x0033;\n L_0x00dd:\n r0 = 8;\n r3.setVisibility(r0);\n goto L_0x00c8;\n L_0x00e3:\n r0 = r4.nly;\n if (r0 == 0) goto L_0x001a;\n L_0x00e7:\n r11.e(r11);\n r0 = r11.DF;\n r1 = com.tencent.mm.R.i.djE;\n r2 = 1;\n r3 = r0.inflate(r1, r11, r2);\n r0 = com.tencent.mm.R.h.cOG;\n r0 = r3.findViewById(r0);\n r0 = (android.widget.TextView) r0;\n r1 = com.tencent.mm.R.h.cOI;\n r1 = r3.findViewById(r1);\n r1 = (android.widget.TextView) r1;\n r2 = com.tencent.mm.R.h.cOH;\n r2 = r3.findViewById(r2);\n r2 = (android.widget.ImageView) r2;\n r6 = r11.mContext;\n r8 = r4.nlv;\n r9 = r0.getTextSize();\n r6 = com.tencent.mm.pluginsdk.ui.d.i.b(r6, r8, r9);\n r0.setText(r6);\n r0 = r11.mContext;\n r6 = r4.nly;\n r6 = r6.fpg;\n r8 = r1.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r6, r8);\n r1.setText(r0);\n r0 = r4.nly;\n r0 = r0.nkM;\n r0 = com.tencent.mm.sdk.platformtools.bi.oN(r0);\n if (r0 != 0) goto L_0x016f;\n L_0x0135:\n r0 = r4.nly;\n r0 = r0.npS;\n r1 = 1;\n if (r0 != r1) goto L_0x0167;\n L_0x013c:\n r0 = 1;\n r5.nDa = r0;\n r0 = com.tencent.mm.R.g.bCF;\n r5.nDd = r0;\n L_0x0143:\n r0 = com.tencent.mm.plugin.game.d.e.aSC();\n r1 = r4.nly;\n r1 = r1.nkM;\n r5 = r5.aSD();\n r0.a(r2, r1, r5);\n L_0x0152:\n r0 = new com.tencent.mm.plugin.game.ui.f$a;\n r1 = r4.nlw;\n r2 = r4.nly;\n r2 = r2.nkN;\n r5 = r4.nlr;\n r0.<init>(r1, r2, r5);\n r3.setTag(r0);\n r3.setOnClickListener(r11);\n goto L_0x0033;\n L_0x0167:\n r0 = 1;\n r5.hFJ = r0;\n r0 = com.tencent.mm.R.g.bCE;\n r5.nDd = r0;\n goto L_0x0143;\n L_0x016f:\n r0 = 8;\n r2.setVisibility(r0);\n goto L_0x0152;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.plugin.game.ui.f.a(com.tencent.mm.plugin.game.c.ai, java.lang.String, int, int):void\");\n }", "public void mo21825b() {\n }", "private synchronized void a(com.whatsapp.util.x r11, boolean r12) {\n /*\n r10 = this;\n r0 = 0;\n monitor-enter(r10);\n r2 = com.whatsapp.util.Log.h;\t Catch:{ all -> 0x0016 }\n r3 = com.whatsapp.util.x.a(r11);\t Catch:{ all -> 0x0016 }\n r1 = com.whatsapp.util.bl.b(r3);\t Catch:{ IllegalArgumentException -> 0x0014 }\n if (r1 == r11) goto L_0x0019;\n L_0x000e:\n r0 = new java.lang.IllegalStateException;\t Catch:{ IllegalArgumentException -> 0x0014 }\n r0.<init>();\t Catch:{ IllegalArgumentException -> 0x0014 }\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0014 }\n L_0x0014:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0016:\n r0 = move-exception;\n monitor-exit(r10);\n throw r0;\n L_0x0019:\n if (r12 == 0) goto L_0x0058;\n L_0x001b:\n r1 = com.whatsapp.util.bl.d(r3);\t Catch:{ IllegalArgumentException -> 0x0052 }\n if (r1 != 0) goto L_0x0058;\n L_0x0021:\n r1 = r0;\n L_0x0022:\n r4 = r10.b;\t Catch:{ all -> 0x0016 }\n if (r1 >= r4) goto L_0x0058;\n L_0x0026:\n r4 = r3.b(r1);\t Catch:{ IllegalArgumentException -> 0x0050 }\n r4 = r4.exists();\t Catch:{ IllegalArgumentException -> 0x0050 }\n if (r4 != 0) goto L_0x0054;\n L_0x0030:\n r11.b();\t Catch:{ IllegalArgumentException -> 0x0050 }\n r0 = new java.lang.IllegalStateException;\t Catch:{ IllegalArgumentException -> 0x0050 }\n r2 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0050 }\n r2.<init>();\t Catch:{ IllegalArgumentException -> 0x0050 }\n r3 = z;\t Catch:{ IllegalArgumentException -> 0x0050 }\n r4 = 24;\n r3 = r3[r4];\t Catch:{ IllegalArgumentException -> 0x0050 }\n r2 = r2.append(r3);\t Catch:{ IllegalArgumentException -> 0x0050 }\n r1 = r2.append(r1);\t Catch:{ IllegalArgumentException -> 0x0050 }\n r1 = r1.toString();\t Catch:{ IllegalArgumentException -> 0x0050 }\n r0.<init>(r1);\t Catch:{ IllegalArgumentException -> 0x0050 }\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0050 }\n L_0x0050:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0052:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0054:\n r1 = r1 + 1;\n if (r2 == 0) goto L_0x0022;\n L_0x0058:\n r1 = r10.b;\t Catch:{ all -> 0x0016 }\n if (r0 >= r1) goto L_0x008f;\n L_0x005c:\n r1 = r3.b(r0);\t Catch:{ all -> 0x0016 }\n if (r12 == 0) goto L_0x0088;\n L_0x0062:\n r4 = r1.exists();\t Catch:{ IllegalArgumentException -> 0x0126 }\n if (r4 == 0) goto L_0x008b;\n L_0x0068:\n r4 = r3.a(r0);\t Catch:{ all -> 0x0016 }\n r1.renameTo(r4);\t Catch:{ all -> 0x0016 }\n r5 = com.whatsapp.util.bl.e(r3);\t Catch:{ all -> 0x0016 }\n r6 = r5[r0];\t Catch:{ all -> 0x0016 }\n r4 = r4.length();\t Catch:{ all -> 0x0016 }\n r8 = com.whatsapp.util.bl.e(r3);\t Catch:{ IllegalArgumentException -> 0x0128 }\n r8[r0] = r4;\t Catch:{ IllegalArgumentException -> 0x0128 }\n r8 = r10.i;\t Catch:{ IllegalArgumentException -> 0x0128 }\n r6 = r8 - r6;\n r4 = r4 + r6;\n r10.i = r4;\t Catch:{ IllegalArgumentException -> 0x0128 }\n if (r2 == 0) goto L_0x008b;\n L_0x0088:\n a(r1);\t Catch:{ IllegalArgumentException -> 0x0128 }\n L_0x008b:\n r0 = r0 + 1;\n if (r2 == 0) goto L_0x0058;\n L_0x008f:\n r0 = r10.e;\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = r0 + 1;\n r10.e = r0;\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = 0;\n com.whatsapp.util.bl.a(r3, r0);\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = com.whatsapp.util.bl.d(r3);\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = r0 | r12;\n if (r0 == 0) goto L_0x00e0;\n L_0x00a0:\n r0 = 1;\n com.whatsapp.util.bl.a(r3, r0);\t Catch:{ IllegalArgumentException -> 0x012c }\n r0 = r10.m;\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x012c }\n r1.<init>();\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = z;\t Catch:{ IllegalArgumentException -> 0x012c }\n r5 = 26;\n r4 = r4[r5];\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = com.whatsapp.util.bl.a(r3);\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = r3.a();\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = 10;\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.toString();\t Catch:{ IllegalArgumentException -> 0x012c }\n r0.write(r1);\t Catch:{ IllegalArgumentException -> 0x012c }\n if (r12 == 0) goto L_0x010f;\n L_0x00d4:\n r0 = r10.n;\t Catch:{ IllegalArgumentException -> 0x012e }\n r4 = 1;\n r4 = r4 + r0;\n r10.n = r4;\t Catch:{ IllegalArgumentException -> 0x012e }\n com.whatsapp.util.bl.a(r3, r0);\t Catch:{ IllegalArgumentException -> 0x012e }\n if (r2 == 0) goto L_0x010f;\n L_0x00e0:\n r0 = r10.k;\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = com.whatsapp.util.bl.a(r3);\t Catch:{ IllegalArgumentException -> 0x012e }\n r0.remove(r1);\t Catch:{ IllegalArgumentException -> 0x012e }\n r0 = r10.m;\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x012e }\n r1.<init>();\t Catch:{ IllegalArgumentException -> 0x012e }\n r2 = z;\t Catch:{ IllegalArgumentException -> 0x012e }\n r4 = 25;\n r2 = r2[r4];\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = r1.append(r2);\t Catch:{ IllegalArgumentException -> 0x012e }\n r2 = com.whatsapp.util.bl.a(r3);\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = r1.append(r2);\t Catch:{ IllegalArgumentException -> 0x012e }\n r2 = 10;\n r1 = r1.append(r2);\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = r1.toString();\t Catch:{ IllegalArgumentException -> 0x012e }\n r0.write(r1);\t Catch:{ IllegalArgumentException -> 0x012e }\n L_0x010f:\n r0 = r10.i;\t Catch:{ IllegalArgumentException -> 0x0130 }\n r2 = r10.c;\t Catch:{ IllegalArgumentException -> 0x0130 }\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 > 0) goto L_0x011d;\n L_0x0117:\n r0 = r10.f();\t Catch:{ IllegalArgumentException -> 0x0132 }\n if (r0 == 0) goto L_0x0124;\n L_0x011d:\n r0 = r10.d;\t Catch:{ IllegalArgumentException -> 0x0132 }\n r1 = r10.j;\t Catch:{ IllegalArgumentException -> 0x0132 }\n r0.submit(r1);\t Catch:{ IllegalArgumentException -> 0x0132 }\n L_0x0124:\n monitor-exit(r10);\n return;\n L_0x0126:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0128:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x012a:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x012c }\n L_0x012c:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x012e }\n L_0x012e:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0130:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0132 }\n L_0x0132:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.util.b6.a(com.whatsapp.util.x, boolean):void\");\n }", "public void c() {\n /*\n r14 = this;\n io.b.o<? super U> r0 = r14.actual\n r1 = 1\n r2 = 1\n L_0x0004:\n boolean r3 = r14.d()\n if (r3 == 0) goto L_0x000b\n return\n L_0x000b:\n io.b.e.c.d<U> r3 = r14.queue\n if (r3 == 0) goto L_0x0023\n L_0x000f:\n boolean r4 = r14.d()\n if (r4 == 0) goto L_0x0016\n return\n L_0x0016:\n java.lang.Object r4 = r3.poll()\n if (r4 != 0) goto L_0x001f\n if (r4 != 0) goto L_0x000f\n goto L_0x0023\n L_0x001f:\n r0.a(r4)\n goto L_0x000f\n L_0x0023:\n boolean r3 = r14.done\n io.b.e.c.d<U> r4 = r14.queue\n java.util.concurrent.atomic.AtomicReference<io.b.e.e.d.i$a<?, ?>[]> r5 = r14.observers\n java.lang.Object r5 = r5.get()\n io.b.e.e.d.i$a[] r5 = (io.b.e.e.d.i.a[]) r5\n int r6 = r5.length\n int r7 = r14.maxConcurrency\n r8 = 2147483647(0x7fffffff, float:NaN)\n r9 = 0\n if (r7 == r8) goto L_0x0044\n monitor-enter(r14)\n java.util.Queue<io.b.m<? extends U>> r7 = r14.sources // Catch:{ all -> 0x0041 }\n int r7 = r7.size() // Catch:{ all -> 0x0041 }\n monitor-exit(r14) // Catch:{ all -> 0x0041 }\n goto L_0x0045\n L_0x0041:\n r0 = move-exception\n monitor-exit(r14) // Catch:{ all -> 0x0041 }\n throw r0\n L_0x0044:\n r7 = 0\n L_0x0045:\n if (r3 == 0) goto L_0x0067\n if (r4 == 0) goto L_0x004f\n boolean r3 = r4.isEmpty()\n if (r3 == 0) goto L_0x0067\n L_0x004f:\n if (r6 != 0) goto L_0x0067\n if (r7 != 0) goto L_0x0067\n io.b.e.h.c r1 = r14.errors\n java.lang.Throwable r1 = r1.a()\n java.lang.Throwable r2 = io.b.e.h.f.f33557a\n if (r1 == r2) goto L_0x0066\n if (r1 != 0) goto L_0x0063\n r0.a()\n goto L_0x0066\n L_0x0063:\n r0.a((java.lang.Throwable) r1)\n L_0x0066:\n return\n L_0x0067:\n if (r6 == 0) goto L_0x0106\n long r3 = r14.lastId\n int r7 = r14.lastIndex\n if (r6 <= r7) goto L_0x0077\n r10 = r5[r7]\n long r10 = r10.id\n int r12 = (r10 > r3 ? 1 : (r10 == r3 ? 0 : -1))\n if (r12 == 0) goto L_0x0098\n L_0x0077:\n if (r6 > r7) goto L_0x007a\n r7 = 0\n L_0x007a:\n r10 = r7\n r7 = 0\n L_0x007c:\n if (r7 >= r6) goto L_0x008f\n r11 = r5[r10]\n long r11 = r11.id\n int r13 = (r11 > r3 ? 1 : (r11 == r3 ? 0 : -1))\n if (r13 != 0) goto L_0x0087\n goto L_0x008f\n L_0x0087:\n int r10 = r10 + 1\n if (r10 != r6) goto L_0x008c\n r10 = 0\n L_0x008c:\n int r7 = r7 + 1\n goto L_0x007c\n L_0x008f:\n r14.lastIndex = r10\n r3 = r5[r10]\n long r3 = r3.id\n r14.lastId = r3\n r7 = r10\n L_0x0098:\n r3 = 0\n r4 = 0\n L_0x009a:\n if (r3 >= r6) goto L_0x00fd\n boolean r10 = r14.d()\n if (r10 == 0) goto L_0x00a3\n return\n L_0x00a3:\n r10 = r5[r7]\n L_0x00a5:\n boolean r11 = r14.d()\n if (r11 == 0) goto L_0x00ac\n return\n L_0x00ac:\n io.b.e.c.e<U> r11 = r10.queue\n if (r11 != 0) goto L_0x00b1\n goto L_0x00b9\n L_0x00b1:\n java.lang.Object r12 = r11.poll() // Catch:{ Throwable -> 0x00e2 }\n if (r12 != 0) goto L_0x00d8\n if (r12 != 0) goto L_0x00a5\n L_0x00b9:\n boolean r11 = r10.done\n io.b.e.c.e<U> r12 = r10.queue\n if (r11 == 0) goto L_0x00d2\n if (r12 == 0) goto L_0x00c7\n boolean r11 = r12.isEmpty()\n if (r11 == 0) goto L_0x00d2\n L_0x00c7:\n r14.b(r10)\n boolean r4 = r14.d()\n if (r4 == 0) goto L_0x00d1\n return\n L_0x00d1:\n r4 = 1\n L_0x00d2:\n int r7 = r7 + 1\n if (r7 != r6) goto L_0x00fb\n r7 = 0\n goto L_0x00fb\n L_0x00d8:\n r0.a(r12)\n boolean r12 = r14.d()\n if (r12 == 0) goto L_0x00b1\n return\n L_0x00e2:\n r4 = move-exception\n io.b.c.b.b(r4)\n r10.b()\n io.b.e.h.c r11 = r14.errors\n r11.a(r4)\n boolean r4 = r14.d()\n if (r4 == 0) goto L_0x00f5\n return\n L_0x00f5:\n r14.b(r10)\n int r3 = r3 + 1\n r4 = 1\n L_0x00fb:\n int r3 = r3 + r1\n goto L_0x009a\n L_0x00fd:\n r14.lastIndex = r7\n r3 = r5[r7]\n long r5 = r3.id\n r14.lastId = r5\n goto L_0x0107\n L_0x0106:\n r4 = 0\n L_0x0107:\n if (r4 == 0) goto L_0x0129\n int r3 = r14.maxConcurrency\n if (r3 == r8) goto L_0x0004\n monitor-enter(r14)\n java.util.Queue<io.b.m<? extends U>> r3 = r14.sources // Catch:{ all -> 0x0126 }\n java.lang.Object r3 = r3.poll() // Catch:{ all -> 0x0126 }\n io.b.m r3 = (io.b.m) r3 // Catch:{ all -> 0x0126 }\n if (r3 != 0) goto L_0x0120\n int r3 = r14.wip // Catch:{ all -> 0x0126 }\n int r3 = r3 - r1\n r14.wip = r3 // Catch:{ all -> 0x0126 }\n monitor-exit(r14) // Catch:{ all -> 0x0126 }\n goto L_0x0004\n L_0x0120:\n monitor-exit(r14) // Catch:{ all -> 0x0126 }\n r14.a(r3)\n goto L_0x0004\n L_0x0126:\n r0 = move-exception\n monitor-exit(r14) // Catch:{ all -> 0x0126 }\n throw r0\n L_0x0129:\n int r2 = -r2\n int r2 = r14.addAndGet(r2)\n if (r2 != 0) goto L_0x0004\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: io.b.e.e.d.i.b.c():void\");\n }", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "private final com.google.wireless.android.finsky.dfe.p513g.p514a.C7467r m35669b(com.google.protobuf.nano.C7213a r8) {\n /*\n r7 = this;\n r1 = 0;\n L_0x0001:\n r0 = r8.m33550a();\n switch(r0) {\n case 0: goto L_0x000e;\n case 10: goto L_0x000f;\n case 18: goto L_0x001c;\n case 26: goto L_0x0029;\n case 34: goto L_0x003c;\n case 42: goto L_0x0050;\n case 50: goto L_0x0064;\n case 82: goto L_0x0078;\n case 98: goto L_0x008e;\n case 138: goto L_0x00a4;\n case 146: goto L_0x00b9;\n case 152: goto L_0x00c7;\n case 162: goto L_0x0106;\n case 170: goto L_0x011c;\n case 178: goto L_0x012e;\n case 184: goto L_0x0143;\n case 192: goto L_0x0151;\n case 218: goto L_0x015f;\n case 226: goto L_0x0171;\n case 234: goto L_0x0187;\n case 258: goto L_0x019d;\n case 266: goto L_0x01b3;\n case 274: goto L_0x01c8;\n case 290: goto L_0x01de;\n case 298: goto L_0x021e;\n case 306: goto L_0x022c;\n default: goto L_0x0008;\n };\n L_0x0008:\n r0 = super.a(r8, r0);\n if (r0 != 0) goto L_0x0001;\n L_0x000e:\n return r7;\n L_0x000f:\n r0 = r8.m33564f();\n r7.f37912d = r0;\n r0 = r7.f37911c;\n r0 = r0 | 1;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x001c:\n r0 = r8.m33564f();\n r7.f37914f = r0;\n r0 = r7.f37911c;\n r0 = r0 | 4;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x0029:\n r0 = r7.f37916h;\n if (r0 != 0) goto L_0x0034;\n L_0x002d:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.c;\n r0.<init>();\n r7.f37916h = r0;\n L_0x0034:\n r0 = r7.f37916h;\n r8.m33552a(r0);\n r7.f37910a = r1;\n goto L_0x0001;\n L_0x003c:\n r0 = r7.f37917i;\n if (r0 != 0) goto L_0x0047;\n L_0x0040:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.z;\n r0.<init>();\n r7.f37917i = r0;\n L_0x0047:\n r0 = r7.f37917i;\n r8.m33552a(r0);\n r0 = 1;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0050:\n r0 = r7.f37919k;\n if (r0 != 0) goto L_0x005b;\n L_0x0054:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.f;\n r0.<init>();\n r7.f37919k = r0;\n L_0x005b:\n r0 = r7.f37919k;\n r8.m33552a(r0);\n r0 = 3;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0064:\n r0 = r7.f37922n;\n if (r0 != 0) goto L_0x006f;\n L_0x0068:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.o;\n r0.<init>();\n r7.f37922n = r0;\n L_0x006f:\n r0 = r7.f37922n;\n r8.m33552a(r0);\n r0 = 6;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0078:\n r0 = r7.f37924p;\n if (r0 != 0) goto L_0x0083;\n L_0x007c:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.d;\n r0.<init>();\n r7.f37924p = r0;\n L_0x0083:\n r0 = r7.f37924p;\n r8.m33552a(r0);\n r0 = 8;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x008e:\n r0 = r7.f37926r;\n if (r0 != 0) goto L_0x0099;\n L_0x0092:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.n;\n r0.<init>();\n r7.f37926r = r0;\n L_0x0099:\n r0 = r7.f37926r;\n r8.m33552a(r0);\n r0 = 10;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x00a4:\n r0 = r7.f37923o;\n if (r0 != 0) goto L_0x00af;\n L_0x00a8:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.q;\n r0.<init>();\n r7.f37923o = r0;\n L_0x00af:\n r0 = r7.f37923o;\n r8.m33552a(r0);\n r0 = 7;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x00b9:\n r0 = r8.m33565g();\n r7.f37931w = r0;\n r0 = r7.f37911c;\n r0 = r0 | 16;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x00c7:\n r2 = r7.f37911c;\n r2 = r2 | 2;\n r7.f37911c = r2;\n r2 = r8.m33573o();\n r3 = r8.m33567i();\t Catch:{ IllegalArgumentException -> 0x00f3 }\n switch(r3) {\n case 0: goto L_0x00fc;\n case 101: goto L_0x00fc;\n case 102: goto L_0x00fc;\n case 103: goto L_0x00fc;\n case 105: goto L_0x00fc;\n case 106: goto L_0x00fc;\n case 107: goto L_0x00fc;\n case 108: goto L_0x00fc;\n case 109: goto L_0x00fc;\n case 111: goto L_0x00fc;\n case 112: goto L_0x00fc;\n case 113: goto L_0x00fc;\n case 114: goto L_0x00fc;\n case 115: goto L_0x00fc;\n case 116: goto L_0x00fc;\n case 117: goto L_0x00fc;\n case 118: goto L_0x00fc;\n case 119: goto L_0x00fc;\n case 120: goto L_0x00fc;\n case 201: goto L_0x00fc;\n case 202: goto L_0x00fc;\n case 203: goto L_0x00fc;\n case 204: goto L_0x00fc;\n case 205: goto L_0x00fc;\n case 206: goto L_0x00fc;\n case 207: goto L_0x00fc;\n case 209: goto L_0x00fc;\n case 210: goto L_0x00fc;\n case 211: goto L_0x00fc;\n case 212: goto L_0x00fc;\n case 213: goto L_0x00fc;\n case 214: goto L_0x00fc;\n case 215: goto L_0x00fc;\n case 217: goto L_0x00fc;\n case 218: goto L_0x00fc;\n case 219: goto L_0x00fc;\n case 220: goto L_0x00fc;\n case 221: goto L_0x00fc;\n case 222: goto L_0x00fc;\n case 223: goto L_0x00fc;\n case 224: goto L_0x00fc;\n case 301: goto L_0x00fc;\n case 302: goto L_0x00fc;\n case 304: goto L_0x00fc;\n case 305: goto L_0x00fc;\n case 307: goto L_0x00fc;\n case 309: goto L_0x00fc;\n case 310: goto L_0x00fc;\n case 311: goto L_0x00fc;\n case 312: goto L_0x00fc;\n case 313: goto L_0x00fc;\n case 314: goto L_0x00fc;\n case 316: goto L_0x00fc;\n case 317: goto L_0x00fc;\n case 318: goto L_0x00fc;\n case 319: goto L_0x00fc;\n case 320: goto L_0x00fc;\n case 321: goto L_0x00fc;\n case 322: goto L_0x00fc;\n case 323: goto L_0x00fc;\n case 324: goto L_0x00fc;\n case 325: goto L_0x00fc;\n case 326: goto L_0x00fc;\n case 327: goto L_0x00fc;\n case 328: goto L_0x00fc;\n case 401: goto L_0x00fc;\n case 402: goto L_0x00fc;\n case 403: goto L_0x00fc;\n case 404: goto L_0x00fc;\n case 405: goto L_0x00fc;\n case 406: goto L_0x00fc;\n case 407: goto L_0x00fc;\n case 408: goto L_0x00fc;\n case 409: goto L_0x00fc;\n case 410: goto L_0x00fc;\n case 411: goto L_0x00fc;\n case 412: goto L_0x00fc;\n case 501: goto L_0x00fc;\n case 502: goto L_0x00fc;\n case 503: goto L_0x00fc;\n case 504: goto L_0x00fc;\n case 505: goto L_0x00fc;\n case 506: goto L_0x00fc;\n case 507: goto L_0x00fc;\n case 508: goto L_0x00fc;\n case 509: goto L_0x00fc;\n case 510: goto L_0x00fc;\n case 511: goto L_0x00fc;\n case 512: goto L_0x00fc;\n case 513: goto L_0x00fc;\n case 514: goto L_0x00fc;\n case 515: goto L_0x00fc;\n case 601: goto L_0x00fc;\n case 701: goto L_0x00fc;\n case 702: goto L_0x00fc;\n case 703: goto L_0x00fc;\n case 704: goto L_0x00fc;\n case 705: goto L_0x00fc;\n case 706: goto L_0x00fc;\n case 707: goto L_0x00fc;\n case 708: goto L_0x00fc;\n case 709: goto L_0x00fc;\n case 710: goto L_0x00fc;\n case 711: goto L_0x00fc;\n case 801: goto L_0x00fc;\n case 802: goto L_0x00fc;\n case 803: goto L_0x00fc;\n case 804: goto L_0x00fc;\n case 805: goto L_0x00fc;\n case 806: goto L_0x00fc;\n case 807: goto L_0x00fc;\n case 808: goto L_0x00fc;\n case 809: goto L_0x00fc;\n case 810: goto L_0x00fc;\n case 811: goto L_0x00fc;\n case 812: goto L_0x00fc;\n case 901: goto L_0x00fc;\n case 902: goto L_0x00fc;\n case 903: goto L_0x00fc;\n case 904: goto L_0x00fc;\n case 905: goto L_0x00fc;\n case 906: goto L_0x00fc;\n case 907: goto L_0x00fc;\n case 908: goto L_0x00fc;\n case 909: goto L_0x00fc;\n case 910: goto L_0x00fc;\n case 911: goto L_0x00fc;\n case 912: goto L_0x00fc;\n case 913: goto L_0x00fc;\n case 914: goto L_0x00fc;\n case 915: goto L_0x00fc;\n case 916: goto L_0x00fc;\n case 1001: goto L_0x00fc;\n case 1002: goto L_0x00fc;\n default: goto L_0x00d8;\n };\t Catch:{ IllegalArgumentException -> 0x00f3 }\n L_0x00d8:\n r4 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r5 = 44;\n r6 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r6.<init>(r5);\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r3 = r6.append(r3);\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r5 = \" is not a valid enum RelationType\";\n r3 = r3.append(r5);\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r3 = r3.toString();\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r4.<init>(r3);\t Catch:{ IllegalArgumentException -> 0x00f3 }\n throw r4;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n L_0x00f3:\n r3 = move-exception;\n r8.m33562e(r2);\n r7.a(r8, r0);\n goto L_0x0001;\n L_0x00fc:\n r7.f37913e = r3;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r3 = r7.f37911c;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r3 = r3 | 2;\n r7.f37911c = r3;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n goto L_0x0001;\n L_0x0106:\n r0 = r7.f37927s;\n if (r0 != 0) goto L_0x0111;\n L_0x010a:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.m;\n r0.<init>();\n r7.f37927s = r0;\n L_0x0111:\n r0 = r7.f37927s;\n r8.m33552a(r0);\n r0 = 11;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x011c:\n r0 = r7.f37932x;\n if (r0 != 0) goto L_0x0127;\n L_0x0120:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.ag;\n r0.<init>();\n r7.f37932x = r0;\n L_0x0127:\n r0 = r7.f37932x;\n r8.m33552a(r0);\n goto L_0x0001;\n L_0x012e:\n r0 = r7.f37920l;\n if (r0 != 0) goto L_0x0139;\n L_0x0132:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.t;\n r0.<init>();\n r7.f37920l = r0;\n L_0x0139:\n r0 = r7.f37920l;\n r8.m33552a(r0);\n r0 = 4;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0143:\n r0 = r8.m33560d();\n r7.f37933y = r0;\n r0 = r7.f37911c;\n r0 = r0 | 32;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x0151:\n r0 = r8.m33560d();\n r7.f37934z = r0;\n r0 = r7.f37911c;\n r0 = r0 | 64;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x015f:\n r0 = r7.f37908A;\n if (r0 != 0) goto L_0x016a;\n L_0x0163:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.k;\n r0.<init>();\n r7.f37908A = r0;\n L_0x016a:\n r0 = r7.f37908A;\n r8.m33552a(r0);\n goto L_0x0001;\n L_0x0171:\n r0 = r7.f37929u;\n if (r0 != 0) goto L_0x017c;\n L_0x0175:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.y;\n r0.<init>();\n r7.f37929u = r0;\n L_0x017c:\n r0 = r7.f37929u;\n r8.m33552a(r0);\n r0 = 13;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0187:\n r0 = r7.f37928t;\n if (r0 != 0) goto L_0x0192;\n L_0x018b:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.b;\n r0.<init>();\n r7.f37928t = r0;\n L_0x0192:\n r0 = r7.f37928t;\n r8.m33552a(r0);\n r0 = 12;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x019d:\n r0 = r7.f37925q;\n if (r0 != 0) goto L_0x01a8;\n L_0x01a1:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.e;\n r0.<init>();\n r7.f37925q = r0;\n L_0x01a8:\n r0 = r7.f37925q;\n r8.m33552a(r0);\n r0 = 9;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x01b3:\n r0 = r7.f37921m;\n if (r0 != 0) goto L_0x01be;\n L_0x01b7:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.h;\n r0.<init>();\n r7.f37921m = r0;\n L_0x01be:\n r0 = r7.f37921m;\n r8.m33552a(r0);\n r0 = 5;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x01c8:\n r0 = r7.f37930v;\n if (r0 != 0) goto L_0x01d3;\n L_0x01cc:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.x;\n r0.<init>();\n r7.f37930v = r0;\n L_0x01d3:\n r0 = r7.f37930v;\n r8.m33552a(r0);\n r0 = 14;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x01de:\n r0 = 290; // 0x122 float:4.06E-43 double:1.433E-321;\n r2 = com.google.protobuf.nano.C7222l.m33624a(r8, r0);\n r0 = r7.f37909B;\n if (r0 != 0) goto L_0x020a;\n L_0x01e8:\n r0 = r1;\n L_0x01e9:\n r2 = r2 + r0;\n r2 = new com.google.wireless.android.finsky.dfe.p513g.p514a.C7468s[r2];\n if (r0 == 0) goto L_0x01f3;\n L_0x01ee:\n r3 = r7.f37909B;\n java.lang.System.arraycopy(r3, r1, r2, r1, r0);\n L_0x01f3:\n r3 = r2.length;\n r3 = r3 + -1;\n if (r0 >= r3) goto L_0x020e;\n L_0x01f8:\n r3 = new com.google.wireless.android.finsky.dfe.g.a.s;\n r3.<init>();\n r2[r0] = r3;\n r3 = r2[r0];\n r8.m33552a(r3);\n r8.m33550a();\n r0 = r0 + 1;\n goto L_0x01f3;\n L_0x020a:\n r0 = r7.f37909B;\n r0 = r0.length;\n goto L_0x01e9;\n L_0x020e:\n r3 = new com.google.wireless.android.finsky.dfe.g.a.s;\n r3.<init>();\n r2[r0] = r3;\n r0 = r2[r0];\n r8.m33552a(r0);\n r7.f37909B = r2;\n goto L_0x0001;\n L_0x021e:\n r0 = r8.m33564f();\n r7.f37915g = r0;\n r0 = r7.f37911c;\n r0 = r0 | 8;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x022c:\n r0 = r7.f37918j;\n if (r0 != 0) goto L_0x0237;\n L_0x0230:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.w;\n r0.<init>();\n r7.f37918j = r0;\n L_0x0237:\n r0 = r7.f37918j;\n r8.m33552a(r0);\n r0 = 2;\n r7.f37910a = r0;\n goto L_0x0001;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.g.a.r.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.g.a.r\");\n }", "public boolean //##78\n divideHirIntoBasicBlocks()\n {\n HirIterator lHirIterator;\n HIR lNode, // Current node.\n lParent; // Parent of lNode.\n coins.sym.Sym lSym;\n FlowAnalSym lFlowAnalSym;\n int lNodeIndex;\n Label lLabel, lSubpBlockLabel;\n BBlock lBBlock; // BBlock most recently created.\n IrList lLabelDefList;\n Subp lSubp;\n BlockStmt lSubpBody; // Block as the HIR body of subprogram.\n //## LabeledStmt lSubpBodyWithLabel;\n\n if (fDbgLevel > 0)\n ioRoot.dbgFlow.print(2, \"divideHirIntoBasicBlocks \",\n flowRoot.subpUnderAnalysis.getName() + \" fIrIndexMin \" +\n fIrIndexMin + \" Max \" + fIrIndexMax); //##62\n recordBBlock(bblock(), 0); //Avoid IndexOutofRangeException\n //##62 BEGIN\n lSubp = fSubpDefinition.getSubpSym();\n fNodeCount = fIrIndexMax - fIrIndexMin + 1;\n fFlowIrLinkSize = fNodeCount + 1; //##62\n fFlowIrLink = new IR[fFlowIrLinkSize];\n lBBlock = null; // Record a basic block created.\n boolean lImmediatelyAfterJumpReturn = false; //##63\n //##62 END\n\n //-- Assign index number to symbols actually used in current\n // subprogram setting index to each node.\n // Make label reference list for labels that are explicitly\n // refered as jump target.\n for (lHirIterator = hirRoot.hir.hirIterator(fSubpDefinition.getHirBody());\n lHirIterator.hasNext(); ) {\n lNode = lHirIterator.next();\n if (lNode != null) {\n if (fDbgLevel > 3)\n ioRoot.dbgFlow.print(6, \" lNode\", lNode.toStringShort());\n lSym = lNode.getSym();\n if (lSym != null) {\n if (lSym instanceof FlowAnalSym) {\n lFlowAnalSym = (FlowAnalSym)lSym;\n if (lFlowAnalSym.getIndex() == 0) {\n recordSym(lFlowAnalSym); //##62\n }else {\n if (fDbgLevel > 0)\n flow.dbg(6, \" \" + lFlowAnalSym.getName()+\n \":\" + lFlowAnalSym.getIndex());\n }\n }\n }\n\n //##63 BEG\n lNodeIndex = lNode.getIndex();\n //##78 BEGIN\n if (lNodeIndex < fIrIndexMin) {\n ioRoot.msgRecovered.put(5010, \"\\nNode index \" + lNodeIndex\n + \" should be greater or equal to \" + fIrIndexMin\n + \" in \" + fSubpDefinition.getSubpSym().getName()\n + \"\\n Skip the flow analysis and the optimization.\");\n return false;\n }\n //##78 END\n fFlowIrLink[lNodeIndex - fIrIndexMin] = lNode; //##60\n fBBlockOfIR[lNodeIndex - fIrIndexMin] = lBBlock; //##60\n if (lImmediatelyAfterJumpReturn &&\n (lNode.getOperator() != HIR.OP_LABELED_STMT)) {\n continue; // Control does not come here.\n }\n lImmediatelyAfterJumpReturn = false;\n //##63 END\n switch (lNode.getOperator()) {\n case HIR.OP_LABELED_STMT:\n lBBlock = bblock((LabeledStmt)lNode); // Create a basic block.\n fBBlockOfIR[lNodeIndex - fIrIndexMin] = lBBlock; // Store again. //##65\n //## lSubp.addBBlock(lBBlock); // DELETE\n lLabelDefList = ((LabeledStmt)lNode).getLabelDefList();\n if (lLabelDefList != null) {\n for (Iterator lIterator = lLabelDefList.iterator();\n lIterator.hasNext(); ) { // Set link between HIR & Label.\n lLabel = ((coins.ir.hir.LabelDef)(lIterator.next())).getLabel();\n //##60 lLabel.setBBlock(lBBlock);\n flowRoot.fSubpFlow.setBBlock(lLabel, lBBlock); //##60\n }\n }\n lImmediatelyAfterJumpReturn = false;\n break;\n // begin\n case HIR.OP_CONTENTS:\n lParent = (HIR)lNode.getParent();\n if (lParent.getOperator() == HIR.OP_ASSIGN)\n lBBlock.setFlag(BBlock.HAS_PTR_ASSIGN, true);\n case HIR.OP_ARROW:\n case HIR.OP_ADDR:\n lBBlock.setFlag(BBlock.USE_PTR, true);\n break;\n case HIR.OP_QUAL:\n lBBlock.setFlag(BBlock.HAS_STRUCT_UNION, true);\n break;\n case HIR.OP_CALL:\n lBBlock.setFlag(BBlock.HAS_CALL, true);\n //##62 hasCallInSubp = true; //##62\n //##63 BEGIN\n fCallCount++; //##62\n fSubtreesContainingCall.add(lNode);\n for (HIR lHir = (HIR)lNode.getParent(); lHir != null;\n lHir = (HIR)lHir.getParent()) {\n fSubtreesContainingCall.add(lNode);\n }\n //##63 END\n break;\n //##62 BEGIN\n case HIR.OP_ASSIGN:\n fAssignCount++;\n break;\n case HIR.OP_JUMP:\n lLabel = ((JumpStmt)lNode).getLabel();\n //##62 lLabel.addToHirRefList((LabelNode)((JumpStmt)lNode).getChild1());\n lImmediatelyAfterJumpReturn = true; //##63\n ((BBlockImpl)lBBlock).fControlTransfer = lNode; //##73\n break;\n case HIR.OP_RETURN: //##63\n lImmediatelyAfterJumpReturn = true; //##63\n ((BBlockImpl)lBBlock).fControlTransfer = lNode; //##73\n break;\n case HIR.OP_SWITCH:\n SwitchStmt lSwitchStmt = (SwitchStmt)lNode;\n int lCaseCount = lSwitchStmt.getCaseCount();\n for (int i = 0; i < lCaseCount; i++) {\n lLabel = lSwitchStmt.getCaseLabel(i);\n //##62 if (lLabel != null)\n //##62 lLabel.addToHirRefList(lSwitchStmt.getCaseLabelNode(i));\n }\n //##62 lSwitchStmt.getDefaultLabel().addToHirRefList((LabelNode)((SwitchStmt)\n //##62 lNode).getDefaultLabelNode());\n //##62 END\n default:\n break;\n // end\n } // End of switch\n //##63 lNodeIndex = lNode.getIndex();\n //##60 fFlowIrLink[lNodeIndex - fIndexMin] =\n //##60 (FlowIrLinkCell)(new FlowIrLinkCellImpl(lNode, lBBlock, 0));\n //##63 fFlowIrLink[lNodeIndex - fIrIndexMin] = lNode; //##60\n //##63 fBBlockOfIR[lNodeIndex - fIrIndexMin] = lBBlock; //##60\n } // End of if(lNode != null)\n }\n //##62 BEGIN\n fUsedSymCount = fSymExpCount;\n if (fDbgLevel > 0)\n ioRoot.dbgFlow.print(2, lSubp.getName() +\n \" Number of\", \"Symbols:\" +\n fUsedSymCount + \" Nodes:\" + fNodeCount + \" \");\n fExpVectorBitCount = fUsedSymCount + 2; //##60\n fExpVectorWordCount = (fExpVectorBitCount + 63) / 64; //##60\n\n int lNodeCount = fIrIndexMax - fIrIndexMin;\n if (lNodeCount > fNodeCountLim1)\n fComplexity = 2;\n if (fSymExpCount > fSymCountLim1)\n fComplexity = 2;\n if (lNodeCount > fNodeCountLim2)\n fComplexity = 3;\n if (fSymExpCount > fSymCountLim2)\n fComplexity = 3;\n //##62 END\n if (fDbgLevel > 0) {\n //### fComplexity = 3; //###\n flowRoot.ioRoot.dbgFlow.print(1, \"\\n Node count \" +\n lNodeCount + \" BBlock count \" + getNumberOfBBlocks()+\n \" UsedSymCount \" + getUsedSymCount() + \" SymExpCount \" + getSymExpCount()\n + \"\\n AssignCount \" + getAssignCount()\n + \" CallCount \" + getCallCount()); //##62\n ioRoot.dbgFlow.print(1, \"\\nComplexity level of \",\n getSubpSym().getName() + \" is \" + fComplexity);\n if (fComplexity > 1)\n ioRoot.dbgFlow.print(1, \"\\n Simplify alias analysis.\");\n if (fComplexity > 2)\n ioRoot.dbgFlow.print(1, \"\\n Simplify data flow analysis.\");\n }\n setComputedFlag(CF_BBLOCK); //##60\n return true; //##78\n }", "public ItemStack func_70298_a(int par1, int par2)\n/* */ {\n/* 35 */ return null;\n/* */ }", "@Test(timeout = 4000)\n public void test21() throws Throwable {\n FBProcedureCall fBProcedureCall0 = new FBProcedureCall();\n FBProcedureParam fBProcedureParam0 = fBProcedureCall0.addParam(5985, \"68]z9?lgE]u@\");\n fBProcedureCall0.addOutputParam(fBProcedureParam0);\n fBProcedureCall0.mapOutParamIndexToPosition(2, true);\n // Undeclared exception!\n fBProcedureCall0.mapOutParamIndexToPosition(5985, true);\n }", "public int getIndex() {\n/* 265 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "int a(java.lang.String r8, com.google.ho r9, java.lang.StringBuilder r10, boolean r11, com.google.ae r12) {\n /*\n r7 = this;\n r1 = 0;\n r0 = r8.length();\t Catch:{ RuntimeException -> 0x0009 }\n if (r0 != 0) goto L_0x000b;\n L_0x0007:\n r0 = r1;\n L_0x0008:\n return r0;\n L_0x0009:\n r0 = move-exception;\n throw r0;\n L_0x000b:\n r2 = new java.lang.StringBuilder;\n r2.<init>(r8);\n r0 = J;\n r3 = 25;\n r0 = r0[r3];\n if (r9 == 0) goto L_0x001c;\n L_0x0018:\n r0 = r9.a();\n L_0x001c:\n r0 = r7.a(r2, r0);\n if (r11 == 0) goto L_0x0025;\n L_0x0022:\n r12.a(r0);\t Catch:{ RuntimeException -> 0x0040 }\n L_0x0025:\n r3 = com.google.aw.FROM_DEFAULT_COUNTRY;\t Catch:{ RuntimeException -> 0x0042 }\n if (r0 == r3) goto L_0x005e;\n L_0x0029:\n r0 = r2.length();\t Catch:{ RuntimeException -> 0x003e }\n r1 = 2;\n if (r0 > r1) goto L_0x0044;\n L_0x0030:\n r0 = new com.google.ao;\t Catch:{ RuntimeException -> 0x003e }\n r1 = com.google.dk.TOO_SHORT_AFTER_IDD;\t Catch:{ RuntimeException -> 0x003e }\n r2 = J;\t Catch:{ RuntimeException -> 0x003e }\n r3 = 26;\n r2 = r2[r3];\t Catch:{ RuntimeException -> 0x003e }\n r0.<init>(r1, r2);\t Catch:{ RuntimeException -> 0x003e }\n throw r0;\t Catch:{ RuntimeException -> 0x003e }\n L_0x003e:\n r0 = move-exception;\n throw r0;\n L_0x0040:\n r0 = move-exception;\n throw r0;\n L_0x0042:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x003e }\n L_0x0044:\n r0 = r7.a(r2, r10);\n if (r0 == 0) goto L_0x0050;\n L_0x004a:\n r12.a(r0);\t Catch:{ RuntimeException -> 0x004e }\n goto L_0x0008;\n L_0x004e:\n r0 = move-exception;\n throw r0;\n L_0x0050:\n r0 = new com.google.ao;\n r1 = com.google.dk.INVALID_COUNTRY_CODE;\n r2 = J;\n r3 = 24;\n r2 = r2[r3];\n r0.<init>(r1, r2);\n throw r0;\n L_0x005e:\n if (r9 == 0) goto L_0x00d2;\n L_0x0060:\n r0 = r9.L();\n r3 = java.lang.String.valueOf(r0);\n r4 = r2.toString();\n r5 = r4.startsWith(r3);\n if (r5 == 0) goto L_0x00d2;\n L_0x0072:\n r5 = new java.lang.StringBuilder;\n r3 = r3.length();\n r3 = r4.substring(r3);\n r5.<init>(r3);\n r3 = r9.X();\n r4 = r7.o;\n r6 = r3.g();\n r4 = r4.a(r6);\n r6 = 0;\n r7.a(r5, r9, r6);\n r6 = r7.o;\n r3 = r3.f();\n r3 = r6.a(r3);\n r6 = r4.matcher(r2);\t Catch:{ RuntimeException -> 0x00ca }\n r6 = r6.matches();\t Catch:{ RuntimeException -> 0x00ca }\n if (r6 != 0) goto L_0x00af;\n L_0x00a5:\n r4 = r4.matcher(r5);\t Catch:{ RuntimeException -> 0x00cc }\n r4 = r4.matches();\t Catch:{ RuntimeException -> 0x00cc }\n if (r4 != 0) goto L_0x00bb;\n L_0x00af:\n r2 = r2.toString();\t Catch:{ RuntimeException -> 0x00ce }\n r2 = r7.a(r3, r2);\t Catch:{ RuntimeException -> 0x00ce }\n r3 = com.google.dz.TOO_LONG;\t Catch:{ RuntimeException -> 0x00ce }\n if (r2 != r3) goto L_0x00d2;\n L_0x00bb:\n r10.append(r5);\t Catch:{ RuntimeException -> 0x00d0 }\n if (r11 == 0) goto L_0x00c5;\n L_0x00c0:\n r1 = com.google.aw.FROM_NUMBER_WITHOUT_PLUS_SIGN;\t Catch:{ RuntimeException -> 0x00d0 }\n r12.a(r1);\t Catch:{ RuntimeException -> 0x00d0 }\n L_0x00c5:\n r12.a(r0);\n goto L_0x0008;\n L_0x00ca:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x00cc }\n L_0x00cc:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x00ce }\n L_0x00ce:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x00d0 }\n L_0x00d0:\n r0 = move-exception;\n throw r0;\n L_0x00d2:\n r12.a(r1);\n r0 = r1;\n goto L_0x0008;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.e2.a(java.lang.String, com.google.ho, java.lang.StringBuilder, boolean, com.google.ae):int\");\n }", "private void m14210a(java.io.IOException r4, java.io.IOException r5) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r3 = this;\n r0 = f12370a;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = f12370a;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1 = 1;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1 = new java.lang.Object[r1];\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r2 = 0;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1[r2] = r5;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r0.invoke(r4, r1);\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.internal.connection.RouteException.a(java.io.IOException, java.io.IOException):void\");\n }", "private c b(c blk, int i) {\n/* 585 */ int w = blk.g;\n/* 586 */ int h = blk.h;\n/* */ \n/* */ \n/* 589 */ if (blk.a() != 4) {\n/* 590 */ if (this.j == null || this.j.a() != 4) {\n/* 591 */ this.j = (c)new d();\n/* */ }\n/* 593 */ this.j.g = w;\n/* 594 */ this.j.h = h;\n/* 595 */ this.j.e = blk.e;\n/* 596 */ this.j.f = blk.f;\n/* 597 */ blk = this.j;\n/* */ } \n/* */ \n/* */ \n/* 601 */ float[] outdata = (float[])blk.b();\n/* */ \n/* */ \n/* 604 */ if (outdata == null || outdata.length < w * h) {\n/* 605 */ outdata = new float[h * w];\n/* 606 */ blk.a(outdata);\n/* */ } \n/* */ \n/* */ \n/* 610 */ if (i >= 0 && i <= 2) {\n/* */ int j;\n/* */ \n/* */ \n/* 614 */ if (this.m == null)\n/* 615 */ this.m = new e(); \n/* 616 */ if (this.n == null)\n/* 617 */ this.n = new e(); \n/* 618 */ if (this.o == null)\n/* 619 */ this.o = new e(); \n/* 620 */ this.o.g = blk.g;\n/* 621 */ this.o.h = blk.h;\n/* 622 */ this.o.e = blk.e;\n/* 623 */ this.o.f = blk.f;\n/* */ \n/* */ \n/* 626 */ this.m = (e)this.e.getInternCompData((c)this.m, 0);\n/* 627 */ int[] data0 = (int[])this.m.b();\n/* 628 */ this.n = (e)this.e.getInternCompData((c)this.n, 1);\n/* 629 */ int[] data1 = (int[])this.n.b();\n/* 630 */ this.o = (e)this.e.getInternCompData((c)this.o, 2);\n/* 631 */ int[] data2 = (int[])this.o.b();\n/* */ \n/* */ \n/* 634 */ blk.k = (this.m.k || this.n.k || this.o.k);\n/* */ \n/* 636 */ blk.i = 0;\n/* 637 */ blk.j = w;\n/* */ \n/* */ \n/* */ \n/* */ \n/* 642 */ int k = w * h - 1;\n/* 643 */ int k0 = this.m.i + (h - 1) * this.m.j + w - 1;\n/* 644 */ int k1 = this.n.i + (h - 1) * this.n.j + w - 1;\n/* 645 */ int k2 = this.o.i + (h - 1) * this.o.j + w - 1;\n/* */ \n/* 647 */ switch (i) {\n/* */ \n/* */ case 0:\n/* 650 */ for (j = h - 1; j >= 0; j--) {\n/* 651 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 652 */ outdata[k] = 0.299F * data0[k0] + 0.587F * data1[k1] + 0.114F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 658 */ k0 -= this.m.j - w;\n/* 659 */ k1 -= this.n.j - w;\n/* 660 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ \n/* */ \n/* */ case 1:\n/* 666 */ for (j = h - 1; j >= 0; j--) {\n/* 667 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 668 */ outdata[k] = -0.16875F * data0[k0] - 0.33126F * data1[k1] + 0.5F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 674 */ k0 -= this.m.j - w;\n/* 675 */ k1 -= this.n.j - w;\n/* 676 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ \n/* */ \n/* */ case 2:\n/* 682 */ for (j = h - 1; j >= 0; j--) {\n/* 683 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 684 */ outdata[k] = 0.5F * data0[k0] - 0.41869F * data1[k1] - 0.08131F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 690 */ k0 -= this.m.j - w;\n/* 691 */ k1 -= this.n.j - w;\n/* 692 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ } \n/* */ } else {\n/* 697 */ if (i >= 3) {\n/* */ \n/* */ \n/* */ \n/* */ \n/* 702 */ e indb = new e(blk.e, blk.f, w, h);\n/* */ \n/* */ \n/* */ \n/* */ \n/* 707 */ this.e.getInternCompData((c)indb, i);\n/* 708 */ int[] indata = (int[])indb.b();\n/* */ \n/* */ \n/* 711 */ int k = w * h - 1;\n/* 712 */ int k0 = indb.i + (h - 1) * indb.j + w - 1;\n/* 713 */ for (int j = h - 1; j >= 0; j--) {\n/* 714 */ for (int mink = k - w; k > mink; k--, k0--) {\n/* 715 */ outdata[k] = indata[k0];\n/* */ }\n/* */ \n/* 718 */ k0 += indb.g - w;\n/* */ } \n/* */ \n/* */ \n/* 722 */ blk.k = indb.k;\n/* 723 */ blk.i = 0;\n/* 724 */ blk.j = w;\n/* 725 */ return blk;\n/* */ } \n/* */ \n/* */ \n/* 729 */ throw new IllegalArgumentException();\n/* */ } \n/* 731 */ return blk;\n/* */ }", "public int getLiveRegion() {\n/* 1213 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "static void complete_return_requirements(){\n\t\tString ad = memory.get(SP+1)+memory.get(SP);\n\t\tSP+=2;\n\t\tPC = hexa_to_deci(ad);\n\t\tmodified =true;\n\t}", "public abstract void mo6549b();" ]
[ "0.68885136", "0.6634289", "0.6544268", "0.6420033", "0.6419437", "0.6378386", "0.63522416", "0.6303555", "0.63024324", "0.629969", "0.62985533", "0.62898004", "0.62492317", "0.62425107", "0.62184644", "0.6212568", "0.6206547", "0.6202306", "0.61986", "0.6191257", "0.6183338", "0.61806595", "0.6179553", "0.6152336", "0.6140736", "0.61293256", "0.6122532", "0.61019605", "0.6098329", "0.60935086", "0.609245", "0.6087069", "0.6080374", "0.6072144", "0.6068198", "0.6067622", "0.60599154", "0.60498846", "0.60431063", "0.60319436", "0.60268486", "0.6019355", "0.6017848", "0.59854233", "0.59684", "0.5960335", "0.59583735", "0.5955558", "0.59527886", "0.59509337", "0.594361", "0.5936463", "0.5936322", "0.5931048", "0.5916555", "0.59163594", "0.59105015", "0.58981913", "0.5894131", "0.589172", "0.58890957", "0.58878666", "0.58870375", "0.5883882", "0.5877655", "0.5874587", "0.5871661", "0.5871535", "0.58713424", "0.58701056", "0.5866267", "0.58586174", "0.5856251", "0.5849005", "0.58469135", "0.58437425", "0.58436453", "0.58430934", "0.5842148", "0.58337224", "0.58315045", "0.58307105", "0.5829973", "0.5825631", "0.5824954", "0.5818401", "0.58141536", "0.58103913", "0.58061534", "0.5802588", "0.58018625", "0.5796765", "0.5786147", "0.57753414", "0.57623094", "0.57605183", "0.57603204", "0.57573515", "0.57530534", "0.5752473", "0.57520366" ]
0.0
-1
/ JADX WARNING: Missing block: B:19:0x0043, code skipped: return;
public void doVideoCapture() { /* r6 = this; r0 = r6.mPaused; if (r0 != 0) goto L_0x0043; L_0x0004: r0 = r6.mCameraDevice; if (r0 != 0) goto L_0x0009; L_0x0008: goto L_0x0043; L_0x0009: r0 = r6.mMediaRecorderRecording; if (r0 == 0) goto L_0x0042; L_0x000d: r0 = r6.mNeedGLRender; if (r0 == 0) goto L_0x0029; L_0x0011: r0 = r6.isSupportEffects(); if (r0 == 0) goto L_0x0029; L_0x0017: r0 = r6.mCameraDevice; r1 = 0; r0.enableShutterSound(r1); r0 = r6.mAppController; r0 = r0.getCameraAppUI(); r1 = r6.mPictureTaken; r0.takePicture(r1); goto L_0x0041; L_0x0029: r0 = r6.mSnapshotInProgress; if (r0 != 0) goto L_0x0041; L_0x002d: r0 = java.lang.System.currentTimeMillis(); r2 = r6.mLastTakePictureTime; r2 = r0 - r2; r4 = 2000; // 0x7d0 float:2.803E-42 double:9.88E-321; r2 = (r2 > r4 ? 1 : (r2 == r4 ? 0 : -1)); if (r2 >= 0) goto L_0x003c; L_0x003b: return; L_0x003c: r6.mLastTakePictureTime = r0; r6.takeASnapshot(); L_0x0041: return; L_0x0042: return; L_0x0043: return; */ throw new UnsupportedOperationException("Method not decompiled: com.hmdglobal.app.camera.VideoModule.doVideoCapture():void"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int c(Block parambec)\r\n/* 119: */ {\r\n/* 120:131 */ return 0;\r\n/* 121: */ }", "public ItemStack func_70304_b(int par1)\n/* */ {\n/* 45 */ return null;\n/* */ }", "public int h(Block parambec)\r\n/* 29: */ {\r\n/* 30: 44 */ return F();\r\n/* 31: */ }", "public final synchronized void mo5320b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r1 = 0;\t Catch:{ all -> 0x004c }\n r2 = 0;\t Catch:{ all -> 0x004c }\n if (r0 == 0) goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0007:\n r0 = r6.f24851a;\t Catch:{ all -> 0x004c }\n if (r0 != 0) goto L_0x0013;\t Catch:{ all -> 0x004c }\n L_0x000b:\n r0 = r6.f24854d;\t Catch:{ all -> 0x004c }\n r3 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r0.deleteFile(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0013:\n r0 = com.google.android.m4b.maps.cg.bx.m23058b();\t Catch:{ all -> 0x004c }\n r3 = r6.f24854d;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24853c;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r3 = r3.openFileOutput(r4, r1);\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24851a;\t Catch:{ IOException -> 0x0033 }\n r4 = r4.m20837d();\t Catch:{ IOException -> 0x0033 }\n r3.write(r4);\t Catch:{ IOException -> 0x0033 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n L_0x002b:\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\n L_0x002f:\n r1 = move-exception;\n r3 = r2;\n goto L_0x003f;\n L_0x0032:\n r3 = r2;\n L_0x0033:\n r4 = r6.f24854d;\t Catch:{ all -> 0x003e }\n r5 = r6.f24853c;\t Catch:{ all -> 0x003e }\n r4.deleteFile(r5);\t Catch:{ all -> 0x003e }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n goto L_0x002b;\t Catch:{ all -> 0x004c }\n L_0x003e:\n r1 = move-exception;\t Catch:{ all -> 0x004c }\n L_0x003f:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n throw r1;\t Catch:{ all -> 0x004c }\n L_0x0046:\n r6.f24851a = r2;\t Catch:{ all -> 0x004c }\n r6.f24852b = r1;\t Catch:{ all -> 0x004c }\n monitor-exit(r6);\n return;\n L_0x004c:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.b():void\");\n }", "void m5768b() throws C0841b;", "void a(bu var1_1, f var2_2, Map var3_3, double var4_4, double var6_5) {\n block6 : {\n var14_6 = fj.z;\n var8_7 = M.b();\n var9_8 = var2_2.a();\n while (var9_8.f()) {\n var10_9 = var9_8.a();\n if (var14_6) break block6;\n if (!var10_9.e() || var1_1.i((y.c.d)var10_9).bendCount() > 1) ** GOTO lbl-1000\n var11_10 = var1_1.i((y.c.d)var10_9);\n var12_11 = var11_10.getSourceRealizer();\n if (var1_1.i((y.c.d)var10_9).bendCount() == 0) {\n var11_10.appendBend(var11_10.getSourcePort().a(var12_11), var11_10.getSourcePort().b(var12_11) - 20.0 - var12_11.getHeight());\n }\n this.a(var1_1, var4_4, var6_5, (y.c.d)var10_9, true, false, false, var10_9.c());\n if (var14_6) lbl-1000: // 2 sources:\n {\n var8_7.a(var10_9, true);\n var8_7.a((Object)var3_3.get(var10_9), true);\n }\n var9_8.g();\n if (!var14_6) continue;\n }\n var1_1.a(as.a, var8_7);\n }\n var9_8 = new as();\n var9_8.a(5.0);\n var9_8.b(false);\n var9_8.a(true);\n try {\n var10_9 = new bI(1);\n var10_9.a(false);\n var10_9.b(true);\n var10_9.d().a(true);\n var10_9.a(var1_1, (ah)var9_8);\n return;\n }\n finally {\n var1_1.d_(as.a);\n }\n }", "public void mo115190b() {\n }", "private final com.google.android.p306h.p307a.p308a.C5685v m26927b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 8: goto L_0x000e;\n case 18: goto L_0x0043;\n case 24: goto L_0x0054;\n case 32: goto L_0x005f;\n case 42: goto L_0x006a;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0034 }\n switch(r2) {\n case 0: goto L_0x003c;\n case 1: goto L_0x003c;\n case 2: goto L_0x003c;\n case 3: goto L_0x003c;\n case 4: goto L_0x003c;\n case 5: goto L_0x003c;\n case 101: goto L_0x003c;\n case 102: goto L_0x003c;\n case 103: goto L_0x003c;\n case 104: goto L_0x003c;\n case 105: goto L_0x003c;\n case 106: goto L_0x003c;\n case 107: goto L_0x003c;\n case 108: goto L_0x003c;\n case 201: goto L_0x003c;\n case 202: goto L_0x003c;\n case 203: goto L_0x003c;\n case 204: goto L_0x003c;\n case 205: goto L_0x003c;\n case 206: goto L_0x003c;\n case 207: goto L_0x003c;\n case 208: goto L_0x003c;\n case 209: goto L_0x003c;\n case 301: goto L_0x003c;\n case 302: goto L_0x003c;\n case 303: goto L_0x003c;\n case 304: goto L_0x003c;\n case 305: goto L_0x003c;\n case 306: goto L_0x003c;\n case 307: goto L_0x003c;\n case 401: goto L_0x003c;\n case 402: goto L_0x003c;\n case 403: goto L_0x003c;\n case 404: goto L_0x003c;\n case 501: goto L_0x003c;\n case 502: goto L_0x003c;\n case 503: goto L_0x003c;\n case 504: goto L_0x003c;\n case 601: goto L_0x003c;\n case 602: goto L_0x003c;\n case 603: goto L_0x003c;\n case 604: goto L_0x003c;\n case 605: goto L_0x003c;\n case 606: goto L_0x003c;\n case 607: goto L_0x003c;\n case 608: goto L_0x003c;\n case 609: goto L_0x003c;\n case 610: goto L_0x003c;\n case 611: goto L_0x003c;\n case 612: goto L_0x003c;\n case 613: goto L_0x003c;\n case 614: goto L_0x003c;\n case 615: goto L_0x003c;\n case 616: goto L_0x003c;\n case 617: goto L_0x003c;\n case 618: goto L_0x003c;\n case 619: goto L_0x003c;\n case 620: goto L_0x003c;\n case 621: goto L_0x003c;\n case 622: goto L_0x003c;\n case 623: goto L_0x003c;\n case 624: goto L_0x003c;\n case 625: goto L_0x003c;\n case 626: goto L_0x003c;\n case 627: goto L_0x003c;\n case 628: goto L_0x003c;\n case 629: goto L_0x003c;\n case 630: goto L_0x003c;\n case 631: goto L_0x003c;\n case 632: goto L_0x003c;\n case 633: goto L_0x003c;\n case 634: goto L_0x003c;\n case 635: goto L_0x003c;\n case 636: goto L_0x003c;\n case 637: goto L_0x003c;\n case 638: goto L_0x003c;\n case 639: goto L_0x003c;\n case 640: goto L_0x003c;\n case 641: goto L_0x003c;\n case 701: goto L_0x003c;\n case 702: goto L_0x003c;\n case 703: goto L_0x003c;\n case 704: goto L_0x003c;\n case 705: goto L_0x003c;\n case 706: goto L_0x003c;\n case 707: goto L_0x003c;\n case 708: goto L_0x003c;\n case 709: goto L_0x003c;\n case 710: goto L_0x003c;\n case 711: goto L_0x003c;\n case 712: goto L_0x003c;\n case 713: goto L_0x003c;\n case 714: goto L_0x003c;\n case 715: goto L_0x003c;\n case 716: goto L_0x003c;\n case 717: goto L_0x003c;\n case 718: goto L_0x003c;\n case 719: goto L_0x003c;\n case 720: goto L_0x003c;\n case 721: goto L_0x003c;\n case 722: goto L_0x003c;\n case 801: goto L_0x003c;\n case 802: goto L_0x003c;\n case 803: goto L_0x003c;\n case 901: goto L_0x003c;\n case 902: goto L_0x003c;\n case 903: goto L_0x003c;\n case 904: goto L_0x003c;\n case 905: goto L_0x003c;\n case 906: goto L_0x003c;\n case 907: goto L_0x003c;\n case 908: goto L_0x003c;\n case 909: goto L_0x003c;\n case 910: goto L_0x003c;\n case 911: goto L_0x003c;\n case 912: goto L_0x003c;\n case 1001: goto L_0x003c;\n case 1002: goto L_0x003c;\n case 1003: goto L_0x003c;\n case 1004: goto L_0x003c;\n case 1005: goto L_0x003c;\n case 1006: goto L_0x003c;\n case 1101: goto L_0x003c;\n case 1102: goto L_0x003c;\n case 1201: goto L_0x003c;\n case 1301: goto L_0x003c;\n case 1302: goto L_0x003c;\n case 1303: goto L_0x003c;\n case 1304: goto L_0x003c;\n case 1305: goto L_0x003c;\n case 1306: goto L_0x003c;\n case 1307: goto L_0x003c;\n case 1308: goto L_0x003c;\n case 1309: goto L_0x003c;\n case 1310: goto L_0x003c;\n case 1311: goto L_0x003c;\n case 1312: goto L_0x003c;\n case 1313: goto L_0x003c;\n case 1314: goto L_0x003c;\n case 1315: goto L_0x003c;\n case 1316: goto L_0x003c;\n case 1317: goto L_0x003c;\n case 1318: goto L_0x003c;\n case 1319: goto L_0x003c;\n case 1320: goto L_0x003c;\n case 1321: goto L_0x003c;\n case 1322: goto L_0x003c;\n case 1323: goto L_0x003c;\n case 1324: goto L_0x003c;\n case 1325: goto L_0x003c;\n case 1326: goto L_0x003c;\n case 1327: goto L_0x003c;\n case 1328: goto L_0x003c;\n case 1329: goto L_0x003c;\n case 1330: goto L_0x003c;\n case 1331: goto L_0x003c;\n case 1332: goto L_0x003c;\n case 1333: goto L_0x003c;\n case 1334: goto L_0x003c;\n case 1335: goto L_0x003c;\n case 1336: goto L_0x003c;\n case 1337: goto L_0x003c;\n case 1338: goto L_0x003c;\n case 1339: goto L_0x003c;\n case 1340: goto L_0x003c;\n case 1341: goto L_0x003c;\n case 1342: goto L_0x003c;\n case 1343: goto L_0x003c;\n case 1344: goto L_0x003c;\n case 1345: goto L_0x003c;\n case 1346: goto L_0x003c;\n case 1347: goto L_0x003c;\n case 1401: goto L_0x003c;\n case 1402: goto L_0x003c;\n case 1403: goto L_0x003c;\n case 1404: goto L_0x003c;\n case 1405: goto L_0x003c;\n case 1406: goto L_0x003c;\n case 1407: goto L_0x003c;\n case 1408: goto L_0x003c;\n case 1409: goto L_0x003c;\n case 1410: goto L_0x003c;\n case 1411: goto L_0x003c;\n case 1412: goto L_0x003c;\n case 1413: goto L_0x003c;\n case 1414: goto L_0x003c;\n case 1415: goto L_0x003c;\n case 1416: goto L_0x003c;\n case 1417: goto L_0x003c;\n case 1418: goto L_0x003c;\n case 1419: goto L_0x003c;\n case 1420: goto L_0x003c;\n case 1421: goto L_0x003c;\n case 1422: goto L_0x003c;\n case 1423: goto L_0x003c;\n case 1424: goto L_0x003c;\n case 1425: goto L_0x003c;\n case 1426: goto L_0x003c;\n case 1427: goto L_0x003c;\n case 1601: goto L_0x003c;\n case 1602: goto L_0x003c;\n case 1603: goto L_0x003c;\n case 1604: goto L_0x003c;\n case 1605: goto L_0x003c;\n case 1606: goto L_0x003c;\n case 1607: goto L_0x003c;\n case 1608: goto L_0x003c;\n case 1609: goto L_0x003c;\n case 1610: goto L_0x003c;\n case 1611: goto L_0x003c;\n case 1612: goto L_0x003c;\n case 1613: goto L_0x003c;\n case 1614: goto L_0x003c;\n case 1615: goto L_0x003c;\n case 1616: goto L_0x003c;\n case 1617: goto L_0x003c;\n case 1618: goto L_0x003c;\n case 1619: goto L_0x003c;\n case 1620: goto L_0x003c;\n case 1621: goto L_0x003c;\n case 1622: goto L_0x003c;\n case 1623: goto L_0x003c;\n case 1624: goto L_0x003c;\n case 1625: goto L_0x003c;\n case 1626: goto L_0x003c;\n case 1627: goto L_0x003c;\n case 1628: goto L_0x003c;\n case 1629: goto L_0x003c;\n case 1630: goto L_0x003c;\n case 1631: goto L_0x003c;\n case 1632: goto L_0x003c;\n case 1633: goto L_0x003c;\n case 1634: goto L_0x003c;\n case 1635: goto L_0x003c;\n case 1636: goto L_0x003c;\n case 1637: goto L_0x003c;\n case 1638: goto L_0x003c;\n case 1639: goto L_0x003c;\n case 1640: goto L_0x003c;\n case 1641: goto L_0x003c;\n case 1642: goto L_0x003c;\n case 1643: goto L_0x003c;\n case 1644: goto L_0x003c;\n case 1645: goto L_0x003c;\n case 1646: goto L_0x003c;\n case 1647: goto L_0x003c;\n case 1648: goto L_0x003c;\n case 1649: goto L_0x003c;\n case 1650: goto L_0x003c;\n case 1651: goto L_0x003c;\n case 1652: goto L_0x003c;\n case 1653: goto L_0x003c;\n case 1654: goto L_0x003c;\n case 1655: goto L_0x003c;\n case 1656: goto L_0x003c;\n case 1657: goto L_0x003c;\n case 1658: goto L_0x003c;\n case 1659: goto L_0x003c;\n case 1660: goto L_0x003c;\n case 1801: goto L_0x003c;\n case 1802: goto L_0x003c;\n case 1803: goto L_0x003c;\n case 1804: goto L_0x003c;\n case 1805: goto L_0x003c;\n case 1806: goto L_0x003c;\n case 1807: goto L_0x003c;\n case 1808: goto L_0x003c;\n case 1809: goto L_0x003c;\n case 1810: goto L_0x003c;\n case 1811: goto L_0x003c;\n case 1812: goto L_0x003c;\n case 1813: goto L_0x003c;\n case 1814: goto L_0x003c;\n case 1815: goto L_0x003c;\n case 1816: goto L_0x003c;\n case 1817: goto L_0x003c;\n case 1901: goto L_0x003c;\n case 1902: goto L_0x003c;\n case 1903: goto L_0x003c;\n case 1904: goto L_0x003c;\n case 1905: goto L_0x003c;\n case 1906: goto L_0x003c;\n case 1907: goto L_0x003c;\n case 1908: goto L_0x003c;\n case 1909: goto L_0x003c;\n case 2001: goto L_0x003c;\n case 2101: goto L_0x003c;\n case 2102: goto L_0x003c;\n case 2103: goto L_0x003c;\n case 2104: goto L_0x003c;\n case 2105: goto L_0x003c;\n case 2106: goto L_0x003c;\n case 2107: goto L_0x003c;\n case 2108: goto L_0x003c;\n case 2109: goto L_0x003c;\n case 2110: goto L_0x003c;\n case 2111: goto L_0x003c;\n case 2112: goto L_0x003c;\n case 2113: goto L_0x003c;\n case 2114: goto L_0x003c;\n case 2115: goto L_0x003c;\n case 2116: goto L_0x003c;\n case 2117: goto L_0x003c;\n case 2118: goto L_0x003c;\n case 2119: goto L_0x003c;\n case 2120: goto L_0x003c;\n case 2121: goto L_0x003c;\n case 2122: goto L_0x003c;\n case 2123: goto L_0x003c;\n case 2124: goto L_0x003c;\n case 2201: goto L_0x003c;\n case 2202: goto L_0x003c;\n case 2203: goto L_0x003c;\n case 2204: goto L_0x003c;\n case 2205: goto L_0x003c;\n case 2206: goto L_0x003c;\n case 2207: goto L_0x003c;\n case 2208: goto L_0x003c;\n case 2209: goto L_0x003c;\n case 2210: goto L_0x003c;\n case 2211: goto L_0x003c;\n case 2212: goto L_0x003c;\n case 2213: goto L_0x003c;\n case 2214: goto L_0x003c;\n case 2215: goto L_0x003c;\n case 2301: goto L_0x003c;\n case 2302: goto L_0x003c;\n case 2303: goto L_0x003c;\n case 2304: goto L_0x003c;\n case 2401: goto L_0x003c;\n case 2402: goto L_0x003c;\n case 2501: goto L_0x003c;\n case 2502: goto L_0x003c;\n case 2503: goto L_0x003c;\n case 2504: goto L_0x003c;\n case 2505: goto L_0x003c;\n case 2506: goto L_0x003c;\n case 2507: goto L_0x003c;\n case 2508: goto L_0x003c;\n case 2509: goto L_0x003c;\n case 2510: goto L_0x003c;\n case 2511: goto L_0x003c;\n case 2512: goto L_0x003c;\n case 2513: goto L_0x003c;\n case 2514: goto L_0x003c;\n case 2515: goto L_0x003c;\n case 2516: goto L_0x003c;\n case 2517: goto L_0x003c;\n case 2518: goto L_0x003c;\n case 2519: goto L_0x003c;\n case 2601: goto L_0x003c;\n case 2602: goto L_0x003c;\n case 2701: goto L_0x003c;\n case 2702: goto L_0x003c;\n case 2703: goto L_0x003c;\n case 2704: goto L_0x003c;\n case 2705: goto L_0x003c;\n case 2706: goto L_0x003c;\n case 2707: goto L_0x003c;\n case 2801: goto L_0x003c;\n case 2802: goto L_0x003c;\n case 2803: goto L_0x003c;\n case 2804: goto L_0x003c;\n case 2805: goto L_0x003c;\n case 2806: goto L_0x003c;\n case 2807: goto L_0x003c;\n case 2808: goto L_0x003c;\n case 2809: goto L_0x003c;\n case 2810: goto L_0x003c;\n case 2811: goto L_0x003c;\n case 2812: goto L_0x003c;\n case 2813: goto L_0x003c;\n case 2814: goto L_0x003c;\n case 2815: goto L_0x003c;\n case 2816: goto L_0x003c;\n case 2817: goto L_0x003c;\n case 2818: goto L_0x003c;\n case 2819: goto L_0x003c;\n case 2820: goto L_0x003c;\n case 2821: goto L_0x003c;\n case 2822: goto L_0x003c;\n case 2823: goto L_0x003c;\n case 2824: goto L_0x003c;\n case 2825: goto L_0x003c;\n case 2826: goto L_0x003c;\n case 2901: goto L_0x003c;\n case 2902: goto L_0x003c;\n case 2903: goto L_0x003c;\n case 2904: goto L_0x003c;\n case 2905: goto L_0x003c;\n case 2906: goto L_0x003c;\n case 2907: goto L_0x003c;\n case 3001: goto L_0x003c;\n case 3002: goto L_0x003c;\n case 3003: goto L_0x003c;\n case 3004: goto L_0x003c;\n case 3005: goto L_0x003c;\n default: goto L_0x0019;\n };\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0019:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = 41;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = \" is not a valid enum EventType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0034 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0034:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x003c:\n r2 = java.lang.Integer.valueOf(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r6.f28837a = r2;\t Catch:{ IllegalArgumentException -> 0x0034 }\n goto L_0x0000;\n L_0x0043:\n r0 = r6.f28838b;\n if (r0 != 0) goto L_0x004e;\n L_0x0047:\n r0 = new com.google.android.h.a.a.u;\n r0.<init>();\n r6.f28838b = r0;\n L_0x004e:\n r0 = r6.f28838b;\n r7.a(r0);\n goto L_0x0000;\n L_0x0054:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28839c = r0;\n goto L_0x0000;\n L_0x005f:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28840d = r0;\n goto L_0x0000;\n L_0x006a:\n r0 = r6.f28841e;\n if (r0 != 0) goto L_0x0075;\n L_0x006e:\n r0 = new com.google.android.h.a.a.o;\n r0.<init>();\n r6.f28841e = r0;\n L_0x0075:\n r0 = r6.f28841e;\n r7.a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.h.a.a.v.b(com.google.protobuf.nano.a):com.google.android.h.a.a.v\");\n }", "private void m25427g() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r2 = this;\n r0 = r2.f19111m;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = r2.f19104f;\t Catch:{ Exception -> 0x000f }\n r0 = android.support.v4.content.C0396d.m1465a(r0);\t Catch:{ Exception -> 0x000f }\n r1 = r2.f19111m;\t Catch:{ Exception -> 0x000f }\n r0.m1468a(r1);\t Catch:{ Exception -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.adapters.w.g():void\");\n }", "void m5770d() throws C0841b;", "public int getInternalBlockLength()\r\n/* 40: */ {\r\n/* 41: 95 */ return 32;\r\n/* 42: */ }", "public void a() {\n block8 : {\n block9 : {\n var1_1 = this.f();\n var2_2 = false;\n if (var1_1) break block8;\n this.j.c();\n var6_3 = this.k;\n var7_4 = this.b;\n var8_5 = (l)var6_3;\n var9_6 = var8_5.a(var7_4);\n if (var9_6 != null) break block9;\n this.a(false);\n var2_2 = true;\n ** GOTO lbl30\n }\n if (var9_6 != n.b) ** GOTO lbl26\n this.a(this.g);\n var11_7 = this.k;\n var12_8 = this.b;\n var13_9 = (l)var11_7;\n try {\n block10 : {\n var2_2 = var13_9.a(var12_8).d();\n break block10;\nlbl26: // 1 sources:\n var10_10 = var9_6.d();\n var2_2 = false;\n if (!var10_10) {\n this.b();\n }\n }\n this.j.g();\n }\n finally {\n this.j.d();\n }\n }\n if ((var3_12 = this.c) == null) return;\n if (var2_2) {\n var4_13 = var3_12.iterator();\n while (var4_13.hasNext()) {\n ((d)var4_13.next()).a(this.b);\n }\n }\n e.a(this.h, this.j, this.c);\n }\n\n /*\n * Exception decompiling\n */\n public final void a(ListenableWorker.a var1_1) {\n // This method has failed to decompile. When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.\n // org.benf.cfr.reader.util.ConfusedCFRException: Tried to end blocks [4[TRYBLOCK]], but top level block is 10[WHILELOOP]\n // org.benf.cfr.reader.b.a.a.j.a(Op04StructuredStatement.java:432)\n // org.benf.cfr.reader.b.a.a.j.d(Op04StructuredStatement.java:484)\n // org.benf.cfr.reader.b.a.a.i.a(Op03SimpleStatement.java:607)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:692)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:182)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:127)\n // org.benf.cfr.reader.entities.attributes.f.c(AttributeCode.java:96)\n // org.benf.cfr.reader.entities.g.p(Method.java:396)\n // org.benf.cfr.reader.entities.d.e(ClassFile.java:890)\n // org.benf.cfr.reader.entities.d.b(ClassFile.java:792)\n // org.benf.cfr.reader.b.a(Driver.java:128)\n // org.benf.cfr.reader.a.a(CfrDriverImpl.java:63)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.decompileWithCFR(JavaExtractionWorker.kt:61)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.doWork(JavaExtractionWorker.kt:130)\n // com.njlabs.showjava.decompilers.BaseDecompiler.withAttempt(BaseDecompiler.kt:108)\n // com.njlabs.showjava.workers.DecompilerWorker$b.run(DecompilerWorker.kt:118)\n // java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)\n // java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)\n // java.lang.Thread.run(Thread.java:919)\n throw new IllegalStateException(\"Decompilation failed\");\n }\n\n public final void a(String string) {\n LinkedList linkedList = new LinkedList();\n linkedList.add((Object)string);\n while (!linkedList.isEmpty()) {\n String string2 = (String)linkedList.remove();\n if (((l)this.k).a(string2) != n.f) {\n k k2 = this.k;\n n n2 = n.d;\n String[] arrstring = new String[]{string2};\n ((l)k2).a(n2, arrstring);\n }\n linkedList.addAll((Collection)((a.i.r.p.c)this.l).a(string2));\n }\n }\n\n /*\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n */\n public final void a(boolean bl) {\n this.j.c();\n k k2 = this.j.k();\n l l2 = (l)k2;\n List list = l2.a();\n ArrayList arrayList = (ArrayList)list;\n boolean bl2 = arrayList.isEmpty();\n if (bl2) {\n f.a(this.a, RescheduleReceiver.class, false);\n }\n this.j.g();\n this.p.c((Object)bl);\n return;\n finally {\n this.j.d();\n }\n }\n\n public final void b() {\n this.j.c();\n k k2 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l2 = (l)k2;\n l2.a(n2, arrstring);\n k k3 = this.k;\n String string = this.b;\n long l3 = System.currentTimeMillis();\n l l4 = (l)k3;\n l4.b(string, l3);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n try {\n l5.a(string2, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(true);\n }\n }\n\n public final void c() {\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n long l2 = System.currentTimeMillis();\n l l3 = (l)k2;\n l3.b(string, l2);\n k k3 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l4 = (l)k3;\n l4.a(n2, arrstring);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n l5.f(string2);\n k k5 = this.k;\n String string3 = this.b;\n l l6 = (l)k5;\n try {\n l6.a(string3, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final void d() {\n k k2 = this.k;\n String string = this.b;\n n n2 = ((l)k2).a(string);\n if (n2 == n.b) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[]{this.b};\n h2.a(string2, String.format((String)\"Status for %s is RUNNING;not doing any work and rescheduling for later execution\", (Object[])arrobject), new Throwable[0]);\n this.a(true);\n return;\n }\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[]{this.b, n2};\n h4.a(string3, String.format((String)\"Status for %s is %s; not doing any work\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n }\n\n public void e() {\n this.j.c();\n this.a(this.b);\n a.i.e e2 = ((ListenableWorker.a.a)this.g).a;\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n try {\n l2.a(string, e2);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final boolean f() {\n if (this.r) {\n h h2 = h.a();\n String string = s;\n Object[] arrobject = new Object[]{this.o};\n h2.a(string, String.format((String)\"Work interrupted for %s\", (Object[])arrobject), new Throwable[0]);\n k k2 = this.k;\n String string2 = this.b;\n n n2 = ((l)k2).a(string2);\n if (n2 == null) {\n this.a(false);\n return true;\n }\n this.a(true ^ n2.d());\n return true;\n }\n return false;\n }\n\n /*\n * Loose catch block\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n * Lifted jumps to return sites\n */\n public void run() {\n int n2;\n block42 : {\n block41 : {\n i i2;\n Cursor cursor;\n block48 : {\n block46 : {\n ListenableWorker listenableWorker;\n block47 : {\n a.i.e e2;\n block44 : {\n g g2;\n block45 : {\n block40 : {\n boolean bl;\n Iterator iterator;\n j j2;\n StringBuilder stringBuilder;\n block43 : {\n a.i.r.p.n n3 = this.m;\n String string = this.b;\n o o2 = (o)n3;\n if (o2 == null) throw null;\n n2 = 1;\n i i3 = i.a((String)\"SELECT DISTINCT tag FROM worktag WHERE work_spec_id=?\", (int)n2);\n if (string == null) {\n i3.bindNull(n2);\n } else {\n i3.bindString(n2, string);\n }\n o2.a.b();\n Cursor cursor2 = a.f.l.a.a(o2.a, (a.g.a.e)i3, false);\n ArrayList arrayList = new ArrayList(cursor2.getCount());\n while (cursor2.moveToNext()) {\n arrayList.add((Object)cursor2.getString(0));\n }\n this.n = arrayList;\n stringBuilder = new StringBuilder(\"Work [ id=\");\n stringBuilder.append(this.b);\n stringBuilder.append(\", tags={ \");\n iterator = arrayList.iterator();\n bl = true;\n break block43;\n finally {\n cursor2.close();\n i3.b();\n }\n }\n while (iterator.hasNext()) {\n String string = (String)iterator.next();\n if (bl) {\n bl = false;\n } else {\n stringBuilder.append(\", \");\n }\n stringBuilder.append(string);\n }\n stringBuilder.append(\" } ]\");\n this.o = stringBuilder.toString();\n if (this.f()) {\n return;\n }\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n this.e = j2 = l2.d(string);\n if (j2 == null) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.b;\n h2.b(string2, String.format((String)\"Didn't find WorkSpec for id %s\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n return;\n }\n if (j2.b != n.a) {\n this.d();\n this.j.g();\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h4.a(string3, String.format((String)\"%s is not in ENQUEUED state. Nothing more to do.\", (Object[])arrobject), new Throwable[0]);\n return;\n }\n if (j2.d() || this.e.c()) {\n long l3 = System.currentTimeMillis();\n boolean bl2 = this.e.n == 0L;\n if (!bl2 && l3 < this.e.a()) {\n h h5 = h.a();\n String string4 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h5.a(string4, String.format((String)\"Delaying execution for %s because it is being executed before schedule.\", (Object[])arrobject), new Throwable[0]);\n this.a((boolean)n2);\n return;\n }\n }\n this.j.g();\n if (!this.e.d()) break block40;\n e2 = this.e.e;\n break block44;\n }\n g2 = g.a(this.e.d);\n if (g2 != null) break block45;\n h h6 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.d;\n h6.b(string, String.format((String)\"Could not create Input Merger %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n ArrayList arrayList = new ArrayList();\n arrayList.add((Object)this.e.e);\n k k3 = this.k;\n String string = this.b;\n l l4 = (l)k3;\n if (l4 == null) throw null;\n i2 = i.a((String)\"SELECT output FROM workspec WHERE id IN (SELECT prerequisite_id FROM dependency WHERE work_spec_id=?)\", (int)n2);\n if (string == null) {\n i2.bindNull(n2);\n } else {\n i2.bindString(n2, string);\n }\n l4.a.b();\n cursor = a.f.l.a.a(l4.a, (a.g.a.e)i2, false);\n ArrayList arrayList2 = new ArrayList(cursor.getCount());\n while (cursor.moveToNext()) {\n arrayList2.add((Object)a.i.e.b(cursor.getBlob(0)));\n }\n arrayList.addAll((Collection)arrayList2);\n e2 = g2.a((List<a.i.e>)arrayList);\n }\n a.i.e e3 = e2;\n UUID uUID = UUID.fromString((String)this.b);\n List<String> list = this.n;\n WorkerParameters.a a2 = this.d;\n int n5 = this.e.k;\n a.i.b b2 = this.h;\n WorkerParameters workerParameters = new WorkerParameters(uUID, e3, list, a2, n5, b2.a, this.i, b2.c);\n if (this.f == null) {\n this.f = this.h.c.a(this.a, this.e.c, workerParameters);\n }\n if ((listenableWorker = this.f) != null) break block47;\n h h7 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h7.b(string, String.format((String)\"Could not create Worker %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n if (!listenableWorker.isUsed()) break block48;\n h h8 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h8.b(string, String.format((String)\"Received an already-used Worker %s; WorkerFactory should return new instances\", (Object[])arrobject), new Throwable[0]);\n }\n this.e();\n return;\n }\n this.f.setUsed();\n this.j.c();\n k k4 = this.k;\n String string = this.b;\n l l5 = (l)k4;\n if (l5.a(string) != n.a) break block41;\n k k5 = this.k;\n n n7 = n.b;\n String[] arrstring = new String[n2];\n arrstring[0] = this.b;\n l l6 = (l)k5;\n l6.a(n7, arrstring);\n k k6 = this.k;\n String string5 = this.b;\n l l7 = (l)k6;\n try {\n l7.e(string5);\n break block42;\n }\n finally {\n cursor.close();\n i2.b();\n }\n catch (Throwable throwable) {\n throw throwable;\n }\n finally {\n this.j.d();\n }\n }\n n2 = 0;\n }\n this.j.g();\n if (n2 != 0) {\n if (this.f()) {\n return;\n }\n c c2 = new c();\n ((a.i.r.q.m.b)this.i).c.execute((Runnable)new a.i.r.k(this, c2));\n c2.a((Runnable)new a.i.r.l(this, c2, this.o), ((a.i.r.q.m.b)this.i).a);\n return;\n }\n this.d();\n return;\n finally {\n this.j.d();\n }\n }\n\n public static class a {\n public Context a;\n public ListenableWorker b;\n public a.i.r.q.m.a c;\n public a.i.b d;\n public WorkDatabase e;\n public String f;\n public List<d> g;\n public WorkerParameters.a h = new WorkerParameters.a();\n\n public a(Context context, a.i.b b2, a.i.r.q.m.a a2, WorkDatabase workDatabase, String string) {\n this.a = context.getApplicationContext();\n this.c = a2;\n this.d = b2;\n this.e = workDatabase;\n this.f = string;\n }\n }\n\n}", "void blackhole(){ if (zzAtBOL) return; }", "protected int handleNext(int position) {\n/* 283 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public void b(World paramaqu, Random paramRandom, BlockPosition paramdt, Block parambec)\r\n/* 77: */ {\r\n/* 78: 93 */ BlockPosition localdt1 = paramdt.up();\r\n/* 79: */ label260:\r\n/* 80: 95 */ for (int i = 0; i < 128; i++)\r\n/* 81: */ {\r\n/* 82: 96 */ BlockPosition localdt2 = localdt1;\r\n/* 83: 97 */ for (int j = 0; j < i / 16; j++)\r\n/* 84: */ {\r\n/* 85: 98 */ localdt2 = localdt2.offset(paramRandom.nextInt(3) - 1, (paramRandom.nextInt(3) - 1) * paramRandom.nextInt(3) / 2, paramRandom.nextInt(3) - 1);\r\n/* 86: 99 */ if ((paramaqu.getBlock(localdt2.down()).getType() != BlockList.grass) || (paramaqu.getBlock(localdt2).getType().blocksMovement())) {\r\n/* 87: */ break label260;\r\n/* 88: */ }\r\n/* 89: */ }\r\n/* 90:104 */ if (paramaqu.getBlock(localdt2).getType().material == Material.air)\r\n/* 91: */ {\r\n/* 92: */ Object localObject;\r\n/* 93:108 */ if (paramRandom.nextInt(8) == 0)\r\n/* 94: */ {\r\n/* 95:109 */ localObject = paramaqu.b(localdt2).a(paramRandom, localdt2);\r\n/* 96:110 */ avy localavy = ((EnumFlowerVariant)localObject).a().a();\r\n/* 97:111 */ Block localbec = localavy.instance().setData(localavy.l(), (Comparable)localObject);\r\n/* 98:112 */ if (localavy.f(paramaqu, localdt2, localbec)) {\r\n/* 99:113 */ paramaqu.setBlock(localdt2, localbec, 3);\r\n/* 100: */ }\r\n/* 101: */ }\r\n/* 102: */ else\r\n/* 103: */ {\r\n/* 104:116 */ localObject = BlockList.tallgrass.instance().setData(bbh.a, bbi.b);\r\n/* 105:117 */ if (BlockList.tallgrass.f(paramaqu, localdt2, (Block)localObject)) {\r\n/* 106:118 */ paramaqu.setBlock(localdt2, (Block)localObject, 3);\r\n/* 107: */ }\r\n/* 108: */ }\r\n/* 109: */ }\r\n/* 110: */ }\r\n/* 111: */ }", "public ItemStack func_70301_a(int par1)\n/* */ {\n/* 25 */ return null;\n/* */ }", "public boolean blockEmpty()\r\n/* 72: */ {\r\n/* 73: 60 */ return false;\r\n/* 74: */ }", "public int getBlockID()\r\n/* 57: */ {\r\n/* 58: 46 */ return RedPowerMachine.blockFrame.cm;\r\n/* 59: */ }", "private synchronized void m29549c() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x0050 }\n if (r0 == 0) goto L_0x004b;\t Catch:{ all -> 0x0050 }\n L_0x0005:\n r0 = com.google.android.m4b.maps.cg.bx.m23056a();\t Catch:{ all -> 0x0050 }\n r1 = 0;\n r2 = r6.f24854d;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r3 = r6.f24853c;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r2 = r2.openFileInput(r3);\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n if (r2 == 0) goto L_0x0027;\n L_0x0014:\n r3 = new com.google.android.m4b.maps.ar.a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.de.af.f19891a;\t Catch:{ IOException -> 0x0036 }\n r3.<init>(r4);\t Catch:{ IOException -> 0x0036 }\n r6.f24851a = r3;\t Catch:{ IOException -> 0x0036 }\n r3 = r6.f24851a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.ap.C4655c.m20771a(r2);\t Catch:{ IOException -> 0x0036 }\n r3.m20819a(r4);\t Catch:{ IOException -> 0x0036 }\n goto L_0x0029;\t Catch:{ IOException -> 0x0036 }\n L_0x0027:\n r6.f24851a = r1;\t Catch:{ IOException -> 0x0036 }\n L_0x0029:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n L_0x002c:\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n goto L_0x004b;\n L_0x0030:\n r2 = move-exception;\n r5 = r2;\n r2 = r1;\n r1 = r5;\n goto L_0x0044;\n L_0x0035:\n r2 = r1;\n L_0x0036:\n r6.f24851a = r1;\t Catch:{ all -> 0x0043 }\n r1 = r6.f24854d;\t Catch:{ all -> 0x0043 }\n r3 = r6.f24853c;\t Catch:{ all -> 0x0043 }\n r1.deleteFile(r3);\t Catch:{ all -> 0x0043 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n goto L_0x002c;\t Catch:{ all -> 0x0050 }\n L_0x0043:\n r1 = move-exception;\t Catch:{ all -> 0x0050 }\n L_0x0044:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n throw r1;\t Catch:{ all -> 0x0050 }\n L_0x004b:\n r0 = 1;\t Catch:{ all -> 0x0050 }\n r6.f24852b = r0;\t Catch:{ all -> 0x0050 }\n monitor-exit(r6);\n return;\n L_0x0050:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.c():void\");\n }", "public int describeContents() {\n/* 48 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "private final com.google.wireless.android.finsky.dfe.p515h.p516a.ae m35733b(com.google.protobuf.nano.C7213a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.m33550a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 18: goto L_0x001f;\n case 26: goto L_0x002c;\n case 34: goto L_0x0039;\n case 42: goto L_0x004a;\n case 50: goto L_0x0057;\n case 56: goto L_0x0064;\n case 64: goto L_0x00a3;\n case 72: goto L_0x00b1;\n case 82: goto L_0x00bf;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r6.f38026c;\n if (r0 != 0) goto L_0x0019;\n L_0x0012:\n r0 = new com.google.android.finsky.cv.a.bd;\n r0.<init>();\n r6.f38026c = r0;\n L_0x0019:\n r0 = r6.f38026c;\n r7.m33552a(r0);\n goto L_0x0000;\n L_0x001f:\n r0 = r7.m33564f();\n r6.f38027d = r0;\n r0 = r6.f38025b;\n r0 = r0 | 1;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x002c:\n r0 = r7.m33564f();\n r6.f38028e = r0;\n r0 = r6.f38025b;\n r0 = r0 | 2;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0039:\n r0 = r6.f38029f;\n if (r0 != 0) goto L_0x0044;\n L_0x003d:\n r0 = new com.google.android.finsky.cv.a.ax;\n r0.<init>();\n r6.f38029f = r0;\n L_0x0044:\n r0 = r6.f38029f;\n r7.m33552a(r0);\n goto L_0x0000;\n L_0x004a:\n r0 = r7.m33564f();\n r6.f38030g = r0;\n r0 = r6.f38025b;\n r0 = r0 | 4;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0057:\n r0 = r7.m33564f();\n r6.f38031h = r0;\n r0 = r6.f38025b;\n r0 = r0 | 8;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0064:\n r1 = r6.f38025b;\n r1 = r1 | 16;\n r6.f38025b = r1;\n r1 = r7.m33573o();\n r2 = r7.m33567i();\t Catch:{ IllegalArgumentException -> 0x0090 }\n switch(r2) {\n case 0: goto L_0x0099;\n case 1: goto L_0x0099;\n case 2: goto L_0x0099;\n case 3: goto L_0x0099;\n case 4: goto L_0x0099;\n default: goto L_0x0075;\n };\t Catch:{ IllegalArgumentException -> 0x0090 }\n L_0x0075:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r4 = 36;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r4 = \" is not a valid enum Type\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0090 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0090 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0090 }\n L_0x0090:\n r2 = move-exception;\n r7.m33562e(r1);\n r6.a(r7, r0);\n goto L_0x0000;\n L_0x0099:\n r6.f38032i = r2;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r6.f38025b;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r2 | 16;\n r6.f38025b = r2;\t Catch:{ IllegalArgumentException -> 0x0090 }\n goto L_0x0000;\n L_0x00a3:\n r0 = r7.m33563e();\n r6.f38033j = r0;\n r0 = r6.f38025b;\n r0 = r0 | 32;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x00b1:\n r0 = r7.m33563e();\n r6.f38034k = r0;\n r0 = r6.f38025b;\n r0 = r0 | 64;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x00bf:\n r0 = r6.f38035l;\n if (r0 != 0) goto L_0x00ca;\n L_0x00c3:\n r0 = new com.google.android.finsky.cv.a.cv;\n r0.<init>();\n r6.f38035l = r0;\n L_0x00ca:\n r0 = r6.f38035l;\n r7.m33552a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.h.a.ae.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.h.a.ae\");\n }", "public boolean c()\r\n/* 56: */ {\r\n/* 57: 77 */ return false;\r\n/* 58: */ }", "public final void mo1285b() {\n }", "public boolean func_102008_b(int par1, ItemStack par2ItemStack, int par3)\n/* */ {\n/* 125 */ return false;\n/* */ }", "void m5771e() throws C0841b;", "private void b044904490449щ0449щ() {\n /*\n r7 = this;\n r0 = new rrrrrr.ccrcrc;\n r1 = new java.lang.StringBuilder;\n r1.<init>();\n r2 = r7.bнн043Dннн;\n r2 = com.immersion.aws.analytics.ImmrAnalytics.b044C044C044C044Cьь(r2);\n r2 = r2.getFilesDir();\n r1 = r1.append(r2);\n r2 = java.io.File.separator;\n r1 = r1.append(r2);\n L_0x001b:\n r2 = 1;\n switch(r2) {\n case 0: goto L_0x001b;\n case 1: goto L_0x0024;\n default: goto L_0x001f;\n };\n L_0x001f:\n r2 = 0;\n switch(r2) {\n case 0: goto L_0x0024;\n case 1: goto L_0x001b;\n default: goto L_0x0023;\n };\n L_0x0023:\n goto L_0x001f;\n L_0x0024:\n r2 = \"3HC4C-01.txt\";\n r1 = r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n r0.load();\n L_0x0034:\n r1 = r0.size();\n if (r1 <= 0) goto L_0x007a;\n L_0x003a:\n r1 = r0.peek();\n r2 = new rrrrrr.rcccrr;\n r2.<init>();\n r3 = r7.bнн043Dннн;\n r3 = com.immersion.aws.analytics.ImmrAnalytics.b044Cь044C044Cьь(r3);\n monitor-enter(r3);\n r4 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r4 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r4);\t Catch:{ all -> 0x0074 }\n r4 = r4.bЛ041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r5 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r5 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r5);\t Catch:{ all -> 0x0074 }\n r5 = r5.b041B041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r6 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r6 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r6);\t Catch:{ all -> 0x0074 }\n r6 = r6.bЛЛЛ041B041BЛ;\t Catch:{ all -> 0x0074 }\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n r1 = r2.sendHttpRequestFromCache(r4, r5, r6, r1);\n if (r1 == 0) goto L_0x0077;\n L_0x0069:\n if (r4 == 0) goto L_0x0077;\n L_0x006b:\n if (r5 == 0) goto L_0x0077;\n L_0x006d:\n r0.remove();\n r0.save();\n goto L_0x0034;\n L_0x0074:\n r0 = move-exception;\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n throw r0;\n L_0x0077:\n r0.save();\n L_0x007a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: rrrrrr.cccccr.b044904490449щ0449щ():void\");\n }", "public final void mo56977b() {\n /*\n r2 = this;\n com.ss.android.ugc.aweme.common.e r0 = r2.f67572c\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.i r0 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28951i) r0\n if (r0 == 0) goto L_0x001a\n com.ss.android.ugc.aweme.common.a r1 = r2.f67571b\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.d r1 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28944d) r1\n if (r1 == 0) goto L_0x0014\n java.lang.Object r1 = r1.getData()\n java.lang.String r1 = (java.lang.String) r1\n if (r1 != 0) goto L_0x0016\n L_0x0014:\n java.lang.String r1 = \"\"\n L_0x0016:\n r0.mo74240a(r1)\n return\n L_0x001a:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28946e.mo56977b():void\");\n }", "public boolean A_()\r\n/* 21: */ {\r\n/* 22:138 */ return true;\r\n/* 23: */ }", "public void mo23813b() {\n }", "@Override\n public void func_104112_b() {\n \n }", "public static boolean a(android.content.Context r4, byte[] r5) {\n /*\n r1 = d;\n r0 = 0;\n L_0x0003:\n r2 = c();\t Catch:{ Exception -> 0x003a }\n if (r2 != 0) goto L_0x0010;\n L_0x0009:\n r2 = e;\t Catch:{ Exception -> 0x003a }\n r2.block();\t Catch:{ Exception -> 0x003a }\n if (r1 == 0) goto L_0x0003;\n L_0x0010:\n r1 = z;\t Catch:{ Exception -> 0x003a }\n r2 = 22;\n r1 = r1[r2];\t Catch:{ Exception -> 0x003a }\n com.whatsapp.util.Log.i(r1);\t Catch:{ Exception -> 0x003a }\n r1 = com.whatsapp.contact.o.NOTIFICATION_DELTA;\t Catch:{ Exception -> 0x003a }\n r0 = a(r4, r1, r5);\t Catch:{ Exception -> 0x003a }\n r1 = b();\t Catch:{ Exception -> 0x0038 }\n if (r1 != 0) goto L_0x002e;\n L_0x0025:\n r1 = z;\t Catch:{ Exception -> 0x0038 }\n r2 = 16;\n r1 = r1[r2];\t Catch:{ Exception -> 0x0038 }\n com.whatsapp.util.Log.e(r1);\t Catch:{ Exception -> 0x0038 }\n L_0x002e:\n r1 = z;\n r2 = 18;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n L_0x0037:\n return r0;\n L_0x0038:\n r0 = move-exception;\n throw r0;\n L_0x003a:\n r1 = move-exception;\n r2 = z;\t Catch:{ all -> 0x005d }\n r3 = 20;\n r2 = r2[r3];\t Catch:{ all -> 0x005d }\n com.whatsapp.util.Log.b(r2, r1);\t Catch:{ all -> 0x005d }\n r1 = b();\n if (r1 != 0) goto L_0x0053;\n L_0x004a:\n r1 = z;\n r2 = 19;\n r1 = r1[r2];\n com.whatsapp.util.Log.e(r1);\n L_0x0053:\n r1 = z;\n r2 = 23;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n goto L_0x0037;\n L_0x005d:\n r0 = move-exception;\n r1 = b();\t Catch:{ Exception -> 0x0077 }\n if (r1 != 0) goto L_0x006d;\n L_0x0064:\n r1 = z;\t Catch:{ Exception -> 0x0077 }\n r2 = 21;\n r1 = r1[r2];\t Catch:{ Exception -> 0x0077 }\n com.whatsapp.util.Log.e(r1);\t Catch:{ Exception -> 0x0077 }\n L_0x006d:\n r1 = z;\n r2 = 17;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n throw r0;\n L_0x0077:\n r0 = move-exception;\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.contact.i.a(android.content.Context, byte[]):boolean\");\n }", "public boolean c()\r\n/* 36: */ {\r\n/* 37:51 */ return false;\r\n/* 38: */ }", "private final void asx() {\n /*\n r12 = this;\n r0 = r12.cFE;\n if (r0 == 0) goto L_0x0073;\n L_0x0004:\n r1 = r12.cxs;\n if (r1 == 0) goto L_0x0073;\n L_0x0008:\n r1 = r12.ayL;\n if (r1 != 0) goto L_0x000d;\n L_0x000c:\n goto L_0x0073;\n L_0x000d:\n r2 = 0;\n if (r1 == 0) goto L_0x0027;\n L_0x0010:\n r1 = r1.Km();\n if (r1 == 0) goto L_0x0027;\n L_0x0016:\n r1 = r1.aar();\n if (r1 == 0) goto L_0x0027;\n L_0x001c:\n r3 = r0.getName();\n r1 = r1.get(r3);\n r1 = (java.util.ArrayList) r1;\n goto L_0x0028;\n L_0x0027:\n r1 = r2;\n L_0x0028:\n if (r1 == 0) goto L_0x0051;\n L_0x002a:\n r1 = (java.lang.Iterable) r1;\n r1 = kotlin.collections.u.Z(r1);\n if (r1 == 0) goto L_0x0051;\n L_0x0032:\n r3 = new com.iqoption.deposit.light.perform.DepositPerformLightFragment$setPresets$items$1;\n r3.<init>(r12);\n r3 = (kotlin.jvm.a.b) r3;\n r1 = kotlin.sequences.n.b(r1, r3);\n if (r1 == 0) goto L_0x0051;\n L_0x003f:\n r3 = new com.iqoption.deposit.light.perform.DepositPerformLightFragment$setPresets$items$2;\n r3.<init>(r0);\n r3 = (kotlin.jvm.a.b) r3;\n r1 = kotlin.sequences.n.f(r1, r3);\n if (r1 == 0) goto L_0x0051;\n L_0x004c:\n r1 = kotlin.sequences.n.f(r1);\n goto L_0x0052;\n L_0x0051:\n r1 = r2;\n L_0x0052:\n r3 = r12.asr();\n if (r1 == 0) goto L_0x0059;\n L_0x0058:\n goto L_0x005d;\n L_0x0059:\n r1 = kotlin.collections.m.emptyList();\n L_0x005d:\n r4 = r12.bub;\n if (r4 == 0) goto L_0x006d;\n L_0x0061:\n r5 = 0;\n r6 = 0;\n r7 = 1;\n r8 = 0;\n r9 = 0;\n r10 = 19;\n r11 = 0;\n r2 = com.iqoption.core.util.e.a(r4, r5, r6, r7, r8, r9, r10, r11);\n L_0x006d:\n r3.c(r1, r2);\n r12.d(r0);\n L_0x0073:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.iqoption.deposit.light.perform.c.asx():void\");\n }", "public Item a(Block parambec, Random paramRandom, int paramInt)\r\n/* 76: */ {\r\n/* 77: 99 */ return null;\r\n/* 78: */ }", "private void kk12() {\n\n\t}", "@ActionTrigger(action=\"KEY-NXTBLK\", function=KeyFunction.NEXT_BLOCK)\n\t\tpublic void spriden_NextBlock()\n\t\t{\n\t\t\t\n\t\t\t\tgoBlock(toStr(\"SOUNDEX\"));\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "private final boolean e() {\n /*\n r15 = this;\n r2 = 0\n r1 = 0\n dtd r0 = r15.m // Catch:{ all -> 0x008e }\n if (r0 != 0) goto L_0x000d\n dtd r0 = new dtd // Catch:{ all -> 0x008e }\n r0.<init>() // Catch:{ all -> 0x008e }\n r15.m = r0 // Catch:{ all -> 0x008e }\n L_0x000d:\n int r0 = r15.k // Catch:{ all -> 0x008e }\n dtd r3 = r15.m // Catch:{ all -> 0x008e }\n int r3 = r3.a // Catch:{ all -> 0x008e }\n int r0 = r0 - r3\n if (r0 <= 0) goto L_0x039e\n dvk r3 = r15.g // Catch:{ all -> 0x008e }\n if (r3 == 0) goto L_0x0356\n byte[] r3 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 == 0) goto L_0x0025\n int r3 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r4.length // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 != r4) goto L_0x0032\n L_0x0025:\n r3 = 2097152(0x200000, float:2.938736E-39)\n int r3 = java.lang.Math.min(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r3 = new byte[r3] // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r15.h = r3 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 0\n r15.i = r3 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0032:\n byte[] r3 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.length // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3 - r4\n int r6 = java.lang.Math.min(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r7 = r15.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r8 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r9 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n boolean r0 = r7.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != 0) goto L_0x00ac\n r0 = 1\n L_0x0047:\n java.lang.String r3 = \"GzipInflatingBuffer is closed\"\n defpackage.cld.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 0\n r0 = 1\n r5 = r3\n L_0x004f:\n if (r0 == 0) goto L_0x02ef\n int r3 = r6 - r5\n if (r3 <= 0) goto L_0x02ef\n dvm r0 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.ordinal() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n switch(r0) {\n case 0: goto L_0x00ae;\n case 1: goto L_0x0148;\n case 2: goto L_0x0171;\n case 3: goto L_0x01d7;\n case 4: goto L_0x01fc;\n case 5: goto L_0x0221;\n case 6: goto L_0x0256;\n case 7: goto L_0x0289;\n case 8: goto L_0x02a2;\n case 9: goto L_0x02e9;\n default: goto L_0x005e;\n } // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x005e:\n java.lang.AssertionError r0 = new java.lang.AssertionError // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r3 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = java.lang.String.valueOf(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r4 = java.lang.String.valueOf(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r4.length() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r4 + 15\n java.lang.StringBuilder r5 = new java.lang.StringBuilder // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r5.<init>(r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r4 = \"Invalid state: \"\n java.lang.StringBuilder r4 = r5.append(r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.StringBuilder r3 = r4.append(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = r3.toString() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0087:\n r0 = move-exception\n java.lang.RuntimeException r3 = new java.lang.RuntimeException // Catch:{ all -> 0x008e }\n r3.<init>(r0) // Catch:{ all -> 0x008e }\n throw r3 // Catch:{ all -> 0x008e }\n L_0x008e:\n r0 = move-exception\n if (r2 <= 0) goto L_0x00ab\n dxe r3 = r15.a\n r3.a(r2)\n dxh r3 = r15.j\n dxh r4 = defpackage.dxh.BODY\n if (r3 != r4) goto L_0x00ab\n dvk r3 = r15.g\n if (r3 == 0) goto L_0x03c9\n dzo r2 = r15.d\n long r4 = (long) r1\n r2.d(r4)\n int r2 = r15.r\n int r1 = r1 + r2\n r15.r = r1\n L_0x00ab:\n throw r0\n L_0x00ac:\n r0 = 0\n goto L_0x0047\n L_0x00ae:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 10\n if (r0 >= r3) goto L_0x00ba\n r0 = 0\n goto L_0x004f\n L_0x00ba:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.c() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 35615(0x8b1f, float:4.9907E-41)\n if (r0 == r3) goto L_0x00d4\n java.util.zip.ZipException r0 = new java.util.zip.ZipException // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = \"Not in GZIP format\"\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x00cd:\n r0 = move-exception\n java.lang.RuntimeException r3 = new java.lang.RuntimeException // Catch:{ all -> 0x008e }\n r3.<init>(r0) // Catch:{ all -> 0x008e }\n throw r3 // Catch:{ all -> 0x008e }\n L_0x00d4:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 8\n if (r0 == r3) goto L_0x00e6\n java.util.zip.ZipException r0 = new java.util.zip.ZipException // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = \"Unsupported compression method\"\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x00e6:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.j = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvl r4 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 6\n dvk r3 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r10 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r10.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3 - r10\n if (r3 <= 0) goto L_0x03d9\n r0 = 6\n int r0 = java.lang.Math.min(r3, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r3 = r3.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r10 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r10 = r10.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r11 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r11 = r11.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.update(r10, r11, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n defpackage.dvk.a(r3, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = 6 - r0\n r3 = r0\n L_0x0118:\n if (r3 <= 0) goto L_0x013b\n r0 = 512(0x200, float:7.175E-43)\n byte[] r10 = new byte[r0] // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 0\n L_0x011f:\n if (r0 >= r3) goto L_0x013b\n int r11 = r3 - r0\n r12 = 512(0x200, float:7.175E-43)\n int r11 = java.lang.Math.min(r11, r12) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r12 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r12 = r12.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r13 = 0\n r12.a(r10, r13, r11) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r12 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r12 = r12.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r13 = 0\n r12.update(r10, r13, r11) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 + r11\n goto L_0x011f\n L_0x013b:\n dvk r0 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 6\n defpackage.dvk.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.HEADER_EXTRA_LEN // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0148:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 4\n r3 = 4\n if (r0 == r3) goto L_0x0156\n dvm r0 = defpackage.dvm.HEADER_NAME // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0156:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 2\n if (r0 >= r3) goto L_0x0162\n r0 = 0\n goto L_0x004f\n L_0x0162:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.c() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.k = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.HEADER_EXTRA // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0171:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r7.k // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 >= r3) goto L_0x017e\n r0 = 0\n goto L_0x004f\n L_0x017e:\n dvl r10 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r7.k // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r0 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 - r3\n if (r0 <= 0) goto L_0x03d6\n int r0 = java.lang.Math.min(r0, r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r3 = r3.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r11 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r11 = r11.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r12 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r12 = r12.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.update(r11, r12, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n defpackage.dvk.a(r3, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r4 - r0\n r3 = r0\n L_0x01a8:\n if (r3 <= 0) goto L_0x01cb\n r0 = 512(0x200, float:7.175E-43)\n byte[] r11 = new byte[r0] // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 0\n L_0x01af:\n if (r0 >= r3) goto L_0x01cb\n int r12 = r3 - r0\n r13 = 512(0x200, float:7.175E-43)\n int r12 = java.lang.Math.min(r12, r13) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r13 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r13 = r13.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r14 = 0\n r13.a(r11, r14, r12) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r13 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r13 = r13.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r14 = 0\n r13.update(r11, r14, r12) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 + r12\n goto L_0x01af\n L_0x01cb:\n dvk r0 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n defpackage.dvk.b(r0, r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.HEADER_NAME // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x01d7:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 8\n r3 = 8\n if (r0 != r3) goto L_0x01f5\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x01e1:\n int r3 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 <= 0) goto L_0x01f3\n int r3 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 != 0) goto L_0x01e1\n r0 = 1\n L_0x01ee:\n if (r0 != 0) goto L_0x01f5\n r0 = 0\n goto L_0x004f\n L_0x01f3:\n r0 = 0\n goto L_0x01ee\n L_0x01f5:\n dvm r0 = defpackage.dvm.HEADER_COMMENT // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x01fc:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 16\n r3 = 16\n if (r0 != r3) goto L_0x021a\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0206:\n int r3 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 <= 0) goto L_0x0218\n int r3 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 != 0) goto L_0x0206\n r0 = 1\n L_0x0213:\n if (r0 != 0) goto L_0x021a\n r0 = 0\n goto L_0x004f\n L_0x0218:\n r0 = 0\n goto L_0x0213\n L_0x021a:\n dvm r0 = defpackage.dvm.HEADER_CRC // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0221:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 2\n r3 = 2\n if (r0 != r3) goto L_0x024f\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 2\n if (r0 >= r3) goto L_0x0234\n r0 = 0\n goto L_0x004f\n L_0x0234:\n java.util.zip.CRC32 r0 = r7.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n long r10 = r0.getValue() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = (int) r10 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 65535(0xffff, float:9.1834E-41)\n r0 = r0 & r3\n dvl r3 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.c() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 == r3) goto L_0x024f\n java.util.zip.ZipException r0 = new java.util.zip.ZipException // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = \"Corrupt GZIP header\"\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x024f:\n dvm r0 = defpackage.dvm.INITIALIZE_INFLATER // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0256:\n java.util.zip.Inflater r0 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != 0) goto L_0x027e\n java.util.zip.Inflater r0 = new java.util.zip.Inflater // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 1\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.g = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0262:\n java.util.zip.CRC32 r0 = r7.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.reset() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r7.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 - r3\n if (r0 <= 0) goto L_0x0284\n java.util.zip.Inflater r3 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r7.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.setInput(r4, r10, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.INFLATING // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x027b:\n r0 = 1\n goto L_0x004f\n L_0x027e:\n java.util.zip.Inflater r0 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.reset() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x0262\n L_0x0284:\n dvm r0 = defpackage.dvm.INFLATER_NEEDS_INPUT // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x027b\n L_0x0289:\n int r0 = r9 + r5\n int r0 = r7.a(r8, r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r5 + r0\n dvm r0 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r4 = defpackage.dvm.TRAILER // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != r4) goto L_0x029e\n boolean r0 = r7.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r5 = r3\n goto L_0x004f\n L_0x029e:\n r0 = 1\n r5 = r3\n goto L_0x004f\n L_0x02a2:\n java.util.zip.Inflater r0 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 == 0) goto L_0x02c7\n r0 = 1\n L_0x02a7:\n java.lang.String r3 = \"inflater is null\"\n defpackage.cld.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r7.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != r3) goto L_0x02c9\n r0 = 1\n L_0x02b3:\n java.lang.String r3 = \"inflaterInput has unconsumed bytes\"\n defpackage.cld.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r0 = r7.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 512(0x200, float:7.175E-43)\n int r0 = java.lang.Math.min(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != 0) goto L_0x02cb\n r0 = 0\n goto L_0x004f\n L_0x02c7:\n r0 = 0\n goto L_0x02a7\n L_0x02c9:\n r0 = 0\n goto L_0x02b3\n L_0x02cb:\n r3 = 0\n r7.e = r3 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.f = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r3 = r7.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r7.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.a(r4, r10, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.Inflater r3 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r7.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.setInput(r4, r10, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.INFLATING // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x02e9:\n boolean r0 = r7.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x004f\n L_0x02ef:\n if (r0 == 0) goto L_0x0301\n dvm r0 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r3 = defpackage.dvm.HEADER // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != r3) goto L_0x0334\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 10\n if (r0 >= r3) goto L_0x0334\n L_0x0301:\n r0 = 1\n L_0x0302:\n r7.n = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r0 = r15.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r0.l // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r4 = 0\n r0.l = r4 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r2 = r2 + r3\n dvk r0 = r15.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r0.m // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r4 = 0\n r0.m = r4 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r1 = r1 + r3\n if (r5 != 0) goto L_0x0342\n if (r2 <= 0) goto L_0x0332\n dxe r0 = r15.a\n r0.a(r2)\n dxh r0 = r15.j\n dxh r3 = defpackage.dxh.BODY\n if (r0 != r3) goto L_0x0332\n dvk r0 = r15.g\n if (r0 == 0) goto L_0x0336\n dzo r0 = r15.d\n long r2 = (long) r1\n r0.d(r2)\n int r0 = r15.r\n int r0 = r0 + r1\n r15.r = r0\n L_0x0332:\n r0 = 0\n L_0x0333:\n return r0\n L_0x0334:\n r0 = 0\n goto L_0x0302\n L_0x0336:\n dzo r0 = r15.d\n long r4 = (long) r2\n r0.d(r4)\n int r0 = r15.r\n int r0 = r0 + r2\n r15.r = r0\n goto L_0x0332\n L_0x0342:\n dtd r0 = r15.m // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r3 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dxv r3 = defpackage.dxw.a(r3, r4, r5) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.a(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 + r5\n r15.i = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x000d\n L_0x0356:\n dtd r3 = r15.n // Catch:{ all -> 0x008e }\n int r3 = r3.a // Catch:{ all -> 0x008e }\n if (r3 != 0) goto L_0x0386\n if (r2 <= 0) goto L_0x0378\n dxe r0 = r15.a\n r0.a(r2)\n dxh r0 = r15.j\n dxh r3 = defpackage.dxh.BODY\n if (r0 != r3) goto L_0x0378\n dvk r0 = r15.g\n if (r0 == 0) goto L_0x037a\n dzo r0 = r15.d\n long r2 = (long) r1\n r0.d(r2)\n int r0 = r15.r\n int r0 = r0 + r1\n r15.r = r0\n L_0x0378:\n r0 = 0\n goto L_0x0333\n L_0x037a:\n dzo r0 = r15.d\n long r4 = (long) r2\n r0.d(r4)\n int r0 = r15.r\n int r0 = r0 + r2\n r15.r = r0\n goto L_0x0378\n L_0x0386:\n dtd r3 = r15.n // Catch:{ all -> 0x008e }\n int r3 = r3.a // Catch:{ all -> 0x008e }\n int r0 = java.lang.Math.min(r0, r3) // Catch:{ all -> 0x008e }\n int r2 = r2 + r0\n dtd r3 = r15.m // Catch:{ all -> 0x008e }\n dtd r4 = r15.n // Catch:{ all -> 0x008e }\n dxv r0 = r4.a(r0) // Catch:{ all -> 0x008e }\n dtd r0 = (defpackage.dtd) r0 // Catch:{ all -> 0x008e }\n r3.a(r0) // Catch:{ all -> 0x008e }\n goto L_0x000d\n L_0x039e:\n if (r2 <= 0) goto L_0x03ba\n dxe r0 = r15.a\n r0.a(r2)\n dxh r0 = r15.j\n dxh r3 = defpackage.dxh.BODY\n if (r0 != r3) goto L_0x03ba\n dvk r0 = r15.g\n if (r0 == 0) goto L_0x03bd\n dzo r0 = r15.d\n long r2 = (long) r1\n r0.d(r2)\n int r0 = r15.r\n int r0 = r0 + r1\n r15.r = r0\n L_0x03ba:\n r0 = 1\n goto L_0x0333\n L_0x03bd:\n dzo r0 = r15.d\n long r4 = (long) r2\n r0.d(r4)\n int r0 = r15.r\n int r0 = r0 + r2\n r15.r = r0\n goto L_0x03ba\n L_0x03c9:\n dzo r1 = r15.d\n long r4 = (long) r2\n r1.d(r4)\n int r1 = r15.r\n int r1 = r1 + r2\n r15.r = r1\n goto L_0x00ab\n L_0x03d6:\n r3 = r4\n goto L_0x01a8\n L_0x03d9:\n r3 = r0\n goto L_0x0118\n */\n throw new UnsupportedOperationException(\"Method not decompiled: defpackage.dxd.e():boolean\");\n }", "private final void asB() {\n /*\n r6 = this;\n r0 = r6.cxs;\n r1 = r6.asp();\n r1 = r1.cCg;\n r2 = \"binding.depositAmountEdit\";\n kotlin.jvm.internal.i.e(r1, r2);\n r2 = r0 instanceof com.iqoption.core.microservices.billing.response.deposit.cashboxitem.d;\n r3 = 0;\n r4 = 1;\n if (r2 == 0) goto L_0x002b;\n L_0x0013:\n r2 = r0;\n r2 = (com.iqoption.core.microservices.billing.response.deposit.cashboxitem.d) r2;\n r2 = r2.aaH();\n if (r2 == 0) goto L_0x0027;\n L_0x001c:\n r2 = r2.aaT();\n if (r2 == 0) goto L_0x0027;\n L_0x0022:\n r2 = r2.size();\n goto L_0x0028;\n L_0x0027:\n r2 = 0;\n L_0x0028:\n if (r2 != 0) goto L_0x002b;\n L_0x002a:\n goto L_0x0040;\n L_0x002b:\n if (r0 == 0) goto L_0x0032;\n L_0x002d:\n r2 = r0.ZL();\n goto L_0x0033;\n L_0x0032:\n r2 = 0;\n L_0x0033:\n r5 = com.iqoption.core.microservices.billing.response.deposit.cashboxitem.CashboxItemType.USER_CARD;\n if (r2 != r5) goto L_0x0038;\n L_0x0037:\n goto L_0x0040;\n L_0x0038:\n r2 = r6.aoJ();\n if (r2 == 0) goto L_0x003f;\n L_0x003e:\n goto L_0x0040;\n L_0x003f:\n r4 = 0;\n L_0x0040:\n r2 = \"binding.depositPresetsList\";\n if (r4 == 0) goto L_0x0053;\n L_0x0044:\n r0 = r6.asp();\n r0 = r0.cCr;\n kotlin.jvm.internal.i.e(r0, r2);\n r0 = (android.view.View) r0;\n com.iqoption.core.ext.a.ak(r0);\n goto L_0x006b;\n L_0x0053:\n r3 = r6.asp();\n r3 = r3.cCr;\n kotlin.jvm.internal.i.e(r3, r2);\n r3 = (android.view.View) r3;\n com.iqoption.core.ext.a.al(r3);\n r2 = new com.iqoption.deposit.light.perform.c$s;\n r2.<init>(r6, r0);\n r2 = (android.view.View.OnFocusChangeListener) r2;\n r1.setOnFocusChangeListener(r2);\n L_0x006b:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.iqoption.deposit.light.perform.c.asB():void\");\n }", "public int describeContents() {\n/* 1781 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "void testBP()\n {\n try\n {\n init();\n accessComplete.reset();\n FormTestID(TestNo,SubNo++,\"FUN\");\n\n op1 = sequance.new Operation();\n addOpSequenceBP(op1,ACCESS_OPERATION_CODE.ACCESS_OPERATION_BLOCK_PERMALOCK );\n psLog.println(\"\\n<br><a>TestCase No:\"+TestID+\"</a> <br>\");\n psLog.println(\"\\n<b>Description</b>:\"+logText+\" \"+ACCESS_OPERATION_CODE.ACCESS_OPERATION_BLOCK_PERMALOCK);\n psLog.println(\"\\n<b> Expected: Block permalock memory Bank\"+\"</b><br>\");\n psLog.println(\"\\n<b> Actual Result is :</b><br>\");\n\n// //access sequence perform.\n// byte[] tp = { (byte)0xBE,(byte)0xDD};\n//\n// accessfilter.TagPatternA.setTagPattern(tp);\n\n reader.Actions.TagAccess.OperationSequence.performSequence(accessfilter, tInfo, antInfo);\n accessComplete.waitOne();\n int successCount[] = new int[1];int failureCount[] = new int[1];\n reader.Actions.TagAccess.getLastAccessResult(successCount, failureCount);\n reader.Actions.TagAccess.OperationSequence.delete(op1);\n if( successCount[0] == 0 )\n {\n psLog.println(\"\\n Test Result :PASS\");\n psResult.println(TestID+\" \"+logText+\" :PASS\");\n\n }\n else\n {\n psLog.println(\"\\n Test Result :FAIL\");\n psResult.println(TestID+\" \"+logText+\" :FAIL\");\n }\n if( ReadMemory() )\n {\n psLog.println(\"\\n Test Result :PASS\");\n psResult.println(TestID+\" \"+logText+\" :PASS\");\n// successCount++;\n }\n else\n {\n psLog.println(\"\\n Test Result :FAIL\");\n psResult.println(TestID+\" \"+logText+\" :FAIL\");\n// failureCount++;\n }\n }\n catch(InvalidUsageException exp)\n {\n System.out.print(\"\\nInvalidUsageException\"+exp.getInfo()+exp.getVendorMessage());\n }\n catch(OperationFailureException exp)\n {\n CleanupPendingSequence();\n System.out.print(\"\\nOperationFailureException\"+exp.getMessage()+exp.getStatusDescription());\n }\n catch(InterruptedException e)\n {\n\n }\n }", "public void a(IBlockAccess paramard, BlockPosition paramdt)\r\n/* 119: */ {\r\n/* 120:148 */ bdv localbdv = e(paramard, paramdt);\r\n/* 121:149 */ if (localbdv != null)\r\n/* 122: */ {\r\n/* 123:150 */ Block localbec = localbdv.b();\r\n/* 124:151 */ BlockType localatr = localbec.getType();\r\n/* 125:152 */ if ((localatr == this) || (localatr.getMaterial() == Material.air)) {\r\n/* 126:153 */ return;\r\n/* 127: */ }\r\n/* 128:156 */ float f = localbdv.a(0.0F);\r\n/* 129:157 */ if (localbdv.d()) {\r\n/* 130:158 */ f = 1.0F - f;\r\n/* 131: */ }\r\n/* 132:160 */ localatr.a(paramard, paramdt);\r\n/* 133:161 */ if ((localatr == BlockList.J) || (localatr == BlockList.F)) {\r\n/* 134:162 */ f = 0.0F;\r\n/* 135: */ }\r\n/* 136:164 */ EnumDirection localej = localbdv.e();\r\n/* 137:165 */ this.B = (localatr.z() - localej.g() * f);\r\n/* 138:166 */ this.C = (localatr.B() - localej.h() * f);\r\n/* 139:167 */ this.D = (localatr.D() - localej.i() * f);\r\n/* 140:168 */ this.E = (localatr.A() - localej.g() * f);\r\n/* 141:169 */ this.F = (localatr.C() - localej.h() * f);\r\n/* 142:170 */ this.G = (localatr.E() - localej.i() * f);\r\n/* 143: */ }\r\n/* 144: */ }", "private final com.google.wireless.android.finsky.dfe.p505c.p506a.ec m35437b(com.google.protobuf.nano.C7213a r8) {\n /*\n r7 = this;\n r1 = 0;\n L_0x0001:\n r0 = r8.m33550a();\n switch(r0) {\n case 0: goto L_0x000e;\n case 8: goto L_0x000f;\n case 16: goto L_0x004c;\n case 26: goto L_0x006f;\n case 34: goto L_0x007c;\n default: goto L_0x0008;\n };\n L_0x0008:\n r0 = super.a(r8, r0);\n if (r0 != 0) goto L_0x0001;\n L_0x000e:\n return r7;\n L_0x000f:\n r2 = r7.f37533a;\n r2 = r2 | 1;\n r7.f37533a = r2;\n r2 = r8.m33573o();\n r3 = r8.m33567i();\t Catch:{ IllegalArgumentException -> 0x003b }\n switch(r3) {\n case 0: goto L_0x0043;\n case 1: goto L_0x0043;\n default: goto L_0x0020;\n };\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x0020:\n r4 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x003b }\n r5 = 42;\n r6 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x003b }\n r6.<init>(r5);\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r6.append(r3);\t Catch:{ IllegalArgumentException -> 0x003b }\n r5 = \" is not a valid enum ResultCode\";\n r3 = r3.append(r5);\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r3.toString();\t Catch:{ IllegalArgumentException -> 0x003b }\n r4.<init>(r3);\t Catch:{ IllegalArgumentException -> 0x003b }\n throw r4;\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x003b:\n r3 = move-exception;\n r8.m33562e(r2);\n r7.a(r8, r0);\n goto L_0x0001;\n L_0x0043:\n r7.f37534b = r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r7.f37533a;\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r3 | 1;\n r7.f37533a = r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n goto L_0x0001;\n L_0x004c:\n r2 = r7.f37533a;\n r2 = r2 | 2;\n r7.f37533a = r2;\n r2 = r8.m33573o();\n r3 = r8.m33560d();\t Catch:{ IllegalArgumentException -> 0x0067 }\n r3 = com.google.wireless.android.finsky.dfe.p505c.p506a.dp.m35391a(r3);\t Catch:{ IllegalArgumentException -> 0x0067 }\n r7.f37535c = r3;\t Catch:{ IllegalArgumentException -> 0x0067 }\n r3 = r7.f37533a;\t Catch:{ IllegalArgumentException -> 0x0067 }\n r3 = r3 | 2;\n r7.f37533a = r3;\t Catch:{ IllegalArgumentException -> 0x0067 }\n goto L_0x0001;\n L_0x0067:\n r3 = move-exception;\n r8.m33562e(r2);\n r7.a(r8, r0);\n goto L_0x0001;\n L_0x006f:\n r0 = r8.m33565g();\n r7.f37536d = r0;\n r0 = r7.f37533a;\n r0 = r0 | 4;\n r7.f37533a = r0;\n goto L_0x0001;\n L_0x007c:\n r0 = 34;\n r2 = com.google.protobuf.nano.C7222l.m33624a(r8, r0);\n r0 = r7.f37537e;\n if (r0 != 0) goto L_0x00a8;\n L_0x0086:\n r0 = r1;\n L_0x0087:\n r2 = r2 + r0;\n r2 = new com.google.wireless.android.finsky.dfe.p505c.p506a.ed[r2];\n if (r0 == 0) goto L_0x0091;\n L_0x008c:\n r3 = r7.f37537e;\n java.lang.System.arraycopy(r3, r1, r2, r1, r0);\n L_0x0091:\n r3 = r2.length;\n r3 = r3 + -1;\n if (r0 >= r3) goto L_0x00ac;\n L_0x0096:\n r3 = new com.google.wireless.android.finsky.dfe.c.a.ed;\n r3.<init>();\n r2[r0] = r3;\n r3 = r2[r0];\n r8.m33552a(r3);\n r8.m33550a();\n r0 = r0 + 1;\n goto L_0x0091;\n L_0x00a8:\n r0 = r7.f37537e;\n r0 = r0.length;\n goto L_0x0087;\n L_0x00ac:\n r3 = new com.google.wireless.android.finsky.dfe.c.a.ed;\n r3.<init>();\n r2[r0] = r3;\n r0 = r2[r0];\n r8.m33552a(r0);\n r7.f37537e = r2;\n goto L_0x0001;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.c.a.ec.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.c.a.ec\");\n }", "public void m7211c() {\n /*\n r34 = this;\n r16 = 0;\n r15 = 0;\n r5 = 0;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"MINOR_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = -1;\n r4 = r2.hashCode();\n switch(r4) {\n case -1172269795: goto L_0x002e;\n case 2157948: goto L_0x0038;\n case 2571565: goto L_0x0024;\n default: goto L_0x0018;\n };\n L_0x0018:\n r2 = r3;\n L_0x0019:\n switch(r2) {\n case 0: goto L_0x0042;\n case 1: goto L_0x0162;\n case 2: goto L_0x01a9;\n default: goto L_0x001c;\n };\n L_0x001c:\n r2 = \"Undefined type\";\n r0 = r34;\n mobi.mmdt.componentsutils.p079a.p080a.C1104b.m6366b(r0, r2);\n L_0x0023:\n return;\n L_0x0024:\n r4 = \"TEXT\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x002c:\n r2 = 0;\n goto L_0x0019;\n L_0x002e:\n r4 = \"STICKER\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x0036:\n r2 = 1;\n goto L_0x0019;\n L_0x0038:\n r4 = \"FILE\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x0040:\n r2 = 2;\n goto L_0x0019;\n L_0x0042:\n r4 = mobi.mmdt.ott.provider.p169c.C1594n.TEXT;\n r33 = r5;\n L_0x0046:\n r8 = mobi.mmdt.componentsutils.p079a.p084e.C1113a.m6421a();\n r10 = mobi.mmdt.ott.provider.p169c.C1592l.IN;\n r0 = r34;\n r2 = r0.f4758b;\n r0 = r34;\n r3 = r0.f4757a;\n r3 = mobi.mmdt.ott.p109d.p111b.C1309a.m6934a(r3);\n r3 = r3.m6942b();\n r2 = r2.equals(r3);\n if (r2 == 0) goto L_0x0064;\n L_0x0062:\n r10 = mobi.mmdt.ott.provider.p169c.C1592l.OUT;\n L_0x0064:\n r0 = r34;\n r2 = r0.f4757a;\n r0 = r34;\n r3 = r0.f4761e;\n r2 = mobi.mmdt.ott.provider.p169c.C1583c.m7972a(r2, r3, r10);\n if (r2 != 0) goto L_0x0023;\n L_0x0072:\n r2 = mobi.mmdt.ott.MyApplication.m6445a();\n r2 = r2.f4177h;\n if (r2 == 0) goto L_0x008a;\n L_0x007a:\n r2 = mobi.mmdt.ott.MyApplication.m6445a();\n r2 = r2.f4177h;\n r0 = r34;\n r3 = r0.f4759c;\n r2 = r2.equals(r3);\n if (r2 != 0) goto L_0x024e;\n L_0x008a:\n r17 = 0;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n if (r2 == 0) goto L_0x00b8;\n L_0x0098:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x00b8;\n L_0x00aa:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r17 = r2;\n L_0x00b8:\n r2 = new mobi.mmdt.ott.d.a.b;\n r0 = r34;\n r3 = r0.f4761e;\n r0 = r34;\n r5 = r0.f4760d;\n r0 = r34;\n r6 = r0.f4762f;\n r7 = \"SEND_TIME_IN_GMT\";\n r6 = r6.get(r7);\n r6 = (java.lang.String) r6;\n r6 = java.lang.Long.parseLong(r6);\n r11 = mobi.mmdt.ott.provider.p169c.C1593m.NOT_READ;\n r0 = r34;\n r12 = r0.f4759c;\n r13 = mobi.mmdt.ott.provider.p169c.C1595o.GROUP;\n r0 = r34;\n r14 = r0.f4758b;\n r2.<init>(r3, r4, r5, r6, r8, r10, r11, r12, r13, r14, r15, r16, r17);\n r0 = r34;\n r3 = r0.f4757a;\n r3 = mobi.mmdt.ott.logic.p157e.C1509a.m7621a(r3);\n r0 = r34;\n r4 = r0.f4762f;\n r0 = r33;\n r3.m7626a(r2, r0, r4);\n L_0x00f2:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n if (r2 == 0) goto L_0x013c;\n L_0x00fe:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x013c;\n L_0x0110:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4761e;\n mobi.mmdt.ott.provider.p169c.C1583c.m7976b(r3, r4, r2);\n r0 = r34;\n r3 = r0.f4757a;\n r2 = mobi.mmdt.ott.provider.p169c.C1583c.m8003n(r3, r2);\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4761e;\n r5 = mobi.mmdt.ott.provider.p169c.C1595o.SINGLE;\n mobi.mmdt.ott.logic.p112a.p120c.p121a.p123b.C1387u.m7218a(r3, r4, r2, r5);\n L_0x013c:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"MINOR_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = \"TEXT\";\n r2 = r2.equals(r3);\n if (r2 != 0) goto L_0x0023;\n L_0x0150:\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.b;\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4762f;\n r2.<init>(r3, r15, r4);\n mobi.mmdt.ott.logic.C1494c.m7541c(r2);\n goto L_0x0023;\n L_0x0162:\n r6 = mobi.mmdt.ott.provider.p169c.C1594n.STICKER;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"STICKER_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r0 = r34;\n r3 = r0.f4762f;\n r4 = \"STICKER_PACKAGE_ID\";\n r3 = r3.get(r4);\n r3 = (java.lang.String) r3;\n r0 = r34;\n r4 = r0.f4762f;\n r7 = \"STICKER_VERSION\";\n r4 = r4.get(r7);\n r4 = (java.lang.String) r4;\n if (r4 == 0) goto L_0x02c9;\n L_0x018a:\n if (r2 == 0) goto L_0x02c9;\n L_0x018c:\n if (r3 == 0) goto L_0x02c9;\n L_0x018e:\n r7 = r4.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x0194:\n r7 = r2.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x019a:\n r7 = r3.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x01a0:\n r16 = mobi.mmdt.ott.provider.p174h.C1629b.m8295a(r4, r3, r2);\n r33 = r5;\n r4 = r6;\n goto L_0x0046;\n L_0x01a9:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"FILE_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = -1;\n r4 = r2.hashCode();\n switch(r4) {\n case 327328941: goto L_0x01de;\n case 796404377: goto L_0x01ca;\n case 802160718: goto L_0x01e8;\n case 808293817: goto L_0x01d4;\n default: goto L_0x01bd;\n };\n L_0x01bd:\n r2 = r3;\n L_0x01be:\n switch(r2) {\n case 0: goto L_0x01f2;\n case 1: goto L_0x020c;\n case 2: goto L_0x0222;\n case 3: goto L_0x0238;\n default: goto L_0x01c1;\n };\n L_0x01c1:\n r2 = \"Undefined file type\";\n r0 = r34;\n mobi.mmdt.componentsutils.p079a.p080a.C1104b.m6366b(r0, r2);\n goto L_0x0023;\n L_0x01ca:\n r4 = \"FILE_TYPE_IMAGE\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01d2:\n r2 = 0;\n goto L_0x01be;\n L_0x01d4:\n r4 = \"FILE_TYPE_VIDEO\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01dc:\n r2 = 1;\n goto L_0x01be;\n L_0x01de:\n r4 = \"FILE_TYPE_PUSH_TO_TALK\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01e6:\n r2 = 2;\n goto L_0x01be;\n L_0x01e8:\n r4 = \"FILE_TYPE_OTHER\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01f0:\n r2 = 3;\n goto L_0x01be;\n L_0x01f2:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.IMAGE;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.IMAGE;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n L_0x0207:\n r33 = r2;\n r4 = r3;\n goto L_0x0046;\n L_0x020c:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.VIDEO;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.VIDEO;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x0222:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.PUSH_TO_TALK;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.PUSH_TO_TALK;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x0238:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.FILE;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.OTHER;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x024e:\n if (r33 == 0) goto L_0x029c;\n L_0x0250:\n r0 = r34;\n r0 = r0.f4757a;\n r18 = r0;\n r19 = r33.m8082n();\n r20 = r33.m8069a();\n r21 = r33.m8079k();\n r22 = r33.m8073e();\n r23 = r33.m8078j();\n r24 = r33.m8077i();\n r26 = 0;\n r27 = r33.m8081m();\n r28 = r33.m8080l();\n r29 = r33.m8075g();\n r30 = r33.m8071c();\n r31 = r33.m8072d();\n r32 = r33.m8070b();\n r33 = r33.m8074f();\n r2 = mobi.mmdt.ott.provider.p170d.C1598c.m8100a(r18, r19, r20, r21, r22, r23, r24, r26, r27, r28, r29, r30, r31, r32, r33);\n r2 = r2.getLastPathSegment();\n r2 = java.lang.Long.parseLong(r2);\n r15 = java.lang.Long.valueOf(r2);\n L_0x029c:\n r0 = r34;\n r2 = r0.f4757a;\n r0 = r34;\n r3 = r0.f4761e;\n r0 = r34;\n r5 = r0.f4760d;\n r0 = r34;\n r6 = r0.f4762f;\n r7 = \"SEND_TIME_IN_GMT\";\n r6 = r6.get(r7);\n r6 = (java.lang.String) r6;\n r6 = java.lang.Long.parseLong(r6);\n r11 = mobi.mmdt.ott.provider.p169c.C1593m.READ;\n r0 = r34;\n r12 = r0.f4759c;\n r13 = mobi.mmdt.ott.provider.p169c.C1595o.GROUP;\n r0 = r34;\n r14 = r0.f4758b;\n mobi.mmdt.ott.provider.p169c.C1583c.m7966a(r2, r3, r4, r5, r6, r8, r10, r11, r12, r13, r14, r15, r16);\n goto L_0x00f2;\n L_0x02c9:\n r33 = r5;\n r4 = r6;\n goto L_0x0046;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: mobi.mmdt.ott.logic.a.c.a.b.s.c():void\");\n }", "@Override // X.AnonymousClass0PN\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void A0D() {\n /*\n r5 = this;\n super.A0D()\n X.08d r0 = r5.A05\n X.0OQ r4 = r0.A04()\n X.0Rk r3 = r4.A00() // Catch:{ all -> 0x003d }\n X.0BK r2 = r4.A04 // Catch:{ all -> 0x0036 }\n java.lang.String r1 = \"DELETE FROM receipt_device\"\n java.lang.String r0 = \"CLEAR_TABLE_RECEIPT_DEVICE\"\n r2.A0C(r1, r0) // Catch:{ all -> 0x0036 }\n X.08m r1 = r5.A03 // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"receipt_device_migration_complete\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_index\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_retry\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n r3.A00() // Catch:{ all -> 0x0036 }\n r3.close()\n r4.close()\n java.lang.String r0 = \"ReceiptDeviceStore/ReceiptDeviceDatabaseMigration/resetMigration/done\"\n com.whatsapp.util.Log.i(r0)\n return\n L_0x0036:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x0038 }\n L_0x0038:\n r0 = move-exception\n r3.close() // Catch:{ all -> 0x003c }\n L_0x003c:\n throw r0\n L_0x003d:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x003f }\n L_0x003f:\n r0 = move-exception\n r4.close() // Catch:{ all -> 0x0043 }\n L_0x0043:\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: X.C43661yk.A0D():void\");\n }", "public long mo915b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r4 = this;\n r0 = -1;\n r2 = r4.f18088d;\t Catch:{ NumberFormatException -> 0x000e }\n if (r2 == 0) goto L_0x000d;\t Catch:{ NumberFormatException -> 0x000e }\n L_0x0006:\n r2 = r4.f18088d;\t Catch:{ NumberFormatException -> 0x000e }\n r2 = java.lang.Long.parseLong(r2);\t Catch:{ NumberFormatException -> 0x000e }\n r0 = r2;\n L_0x000d:\n return r0;\n L_0x000e:\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.c.b.b():long\");\n }", "protected int handlePrevious(int position) {\n/* 289 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "void m5769c() throws C0841b;", "private final com.google.android.finsky.verifier.p259a.p260a.C4709m m21920b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 16: goto L_0x0015;\n case 26: goto L_0x0046;\n case 34: goto L_0x0053;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r7.f();\n r6.f24221c = r0;\n goto L_0x0000;\n L_0x0015:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x003b }\n switch(r2) {\n case 0: goto L_0x0043;\n case 1: goto L_0x0020;\n case 2: goto L_0x0043;\n default: goto L_0x0020;\n };\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x0020:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x003b }\n r4 = 44;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x003b }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x003b }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x003b }\n r4 = \" is not a valid enum ResourceType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x003b }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x003b }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x003b }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x003b:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x0043:\n r6.f24222d = r2;\t Catch:{ IllegalArgumentException -> 0x003b }\n goto L_0x0000;\n L_0x0046:\n r0 = r7.g();\n r6.f24223e = r0;\n r0 = r6.f24220b;\n r0 = r0 | 1;\n r6.f24220b = r0;\n goto L_0x0000;\n L_0x0053:\n r0 = r7.f();\n r6.f24224f = r0;\n r0 = r6.f24220b;\n r0 = r0 | 2;\n r6.f24220b = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.finsky.verifier.a.a.m.b(com.google.protobuf.nano.a):com.google.android.finsky.verifier.a.a.m\");\n }", "protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected int b(i var1_1, y.c.q var2_2, y.c.q var3_3, h var4_4, h var5_5, int var6_6, ArrayList var7_7, ArrayList var8_8, h var9_9, h var10_10) {\n block26 : {\n block25 : {\n var24_11 = o.p;\n this.c = var6_6;\n this.d = var2_2;\n this.e = var3_3;\n this.n = var1_1.h();\n this.o = var1_1.f();\n this.h = var1_1;\n this.i = new int[this.n];\n this.j = new int[this.n];\n this.k = new int[this.o];\n this.l = new int[this.o];\n this.m = new int[this.n];\n this.b = new Object[this.o];\n this.t = new int[this.n];\n this.r = new d[this.n];\n this.s = new d[this.n];\n this.f = var4_4;\n this.a = new a[this.n];\n this.q = new ArrayList<E>(var1_1.f());\n this.p = new I(this.o);\n var11_12 = 0;\n block0 : do {\n v0 = var11_12;\n block1 : while (v0 < var7_7.size()) {\n var12_15 = (a)var7_7.get(var11_12);\n v1 /* !! */ = var12_15.b();\n if (var24_11) break block25;\n var13_17 = v1 /* !! */ ;\n while (var13_17.f()) {\n var14_20 = var13_17.a();\n var15_23 = var14_20.b();\n this.a[var14_20.b()] = var12_15;\n this.i[var15_23] = var12_15.a();\n v0 = this.i[var15_23];\n if (var24_11) continue block1;\n if (v0 < 0) {\n throw new B(\"found negative capacity\");\n }\n var13_17.g();\n if (!var24_11) continue;\n }\n ++var11_12;\n if (!var24_11) continue block0;\n }\n break block0;\n break;\n } while (true);\n v1 /* !! */ = var11_13 = this.h.p();\n }\n while (var11_13.f()) {\n var12_15 = var11_13.a();\n this.r[var12_15.b()] = (d)var10_10.b(var12_15);\n this.s[var12_15.b()] = (d)var9_9.b(var12_15);\n var11_13.g();\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block26;\n }\n this.g = new u[this.o];\n }\n var11_13 = var1_1.o();\n while (var11_13.f()) {\n var12_15 = var11_13.e();\n v2 = this;\n if (!var24_11) {\n v2.g[var12_15.d()] = new u((y.c.q)var12_15, var12_15.d());\n var11_13.g();\n if (!var24_11) continue;\n }\n ** GOTO lbl65\n }\n block5 : do {\n v2 = this;\nlbl65: // 2 sources:\n var11_14 = var13_18 = v2.a();\n var12_16 = 0;\n var14_21 = 0;\n block6 : do {\n v3 = var14_21;\n v4 = var8_8.size();\n block7 : while (v3 < v4) {\n v5 = var8_8.get(var14_21);\n do {\n var15_24 = (ArrayList)v5;\n var16_26 = false;\n var17_27 = 0;\n var18_28 = 0;\n v6 = 0;\n if (!var24_11) {\n for (var19_29 = v1574606; var19_29 < var15_24.size(); ++var19_29) {\n block28 : {\n block27 : {\n var20_30 = (a)var15_24.get(var19_29);\n v3 = this.m[var20_30.b[0].b()];\n v4 = 1;\n if (var24_11) continue block7;\n if (v3 != v4 || this.m[var20_30.b[1].b()] != 1) continue;\n ++var12_16;\n var21_31 = this.s[var20_30.b[0].b()];\n var22_32 = 0;\n while (this.m[var21_31.b()] == 1) {\n var22_32 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n var21_31 = this.s[var21_31.b()];\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block27;\n }\n var22_32 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n }\n var23_33 = 0;\n var21_31 = this.s[var20_30.b[1].b()];\n while (this.m[var21_31.b()] == 1) {\n var23_33 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n var21_31 = this.s[var21_31.b()];\n if (!var24_11) {\n if (!var24_11) continue;\n }\n break block28;\n }\n var23_33 += var4_4.a(this.a[var21_31.b()].b(var21_31));\n }\n if (var23_33 > 400 || var22_32 > 400) {\n block29 : {\n if (var23_33 < var22_32) {\n this.a(var20_30);\n if (!var24_11) break block29;\n }\n this.b(var20_30);\n }\n var16_26 = true;\n }\n var18_28 += var23_33;\n var17_27 += var22_32;\n if (!var24_11) continue;\n }\n if (!var16_26) {\n for (var19_29 = 0; var19_29 < var15_24.size(); ++var19_29) {\n var20_30 = (a)var15_24.get(var19_29);\n v3 = this.m[var20_30.b[0].b()];\n v4 = 1;\n if (var24_11) continue block7;\n if (v3 != v4 || this.m[var20_30.b[1].b()] != 1) continue;\n if (var18_28 < var17_27) {\n this.a(var20_30);\n if (!var24_11) continue;\n }\n this.b(var20_30);\n if (!var24_11) continue;\n }\n }\n ++var14_21;\n if (!var24_11) continue block6;\n }\n ** GOTO lbl133\n v6 = var12_16;\nlbl133: // 2 sources:\n if (v6 > 0) continue block5;\n v5 = this.h.p();\n } while (var24_11);\n }\n break;\n } while (true);\n break;\n } while (true);\n var13_19 = v5;\n while (var13_19.f()) {\n var14_22 = var13_19.a();\n v7 = var14_22.b();\n if (var24_11 != false) return v7;\n var15_25 = v7;\n var5_5.a((Object)var14_22, this.m[var15_25]);\n var13_19.g();\n if (!var24_11) continue;\n }\n v7 = var11_14;\n return v7;\n }", "public int g()\r\n/* 601: */ {\r\n/* 602:645 */ return 0;\r\n/* 603: */ }", "public int g()\r\n/* 173: */ {\r\n/* 174:198 */ return 0;\r\n/* 175: */ }", "public final void a(com.tencent.mm.plugin.game.c.ai r12, java.lang.String r13, int r14, int r15) {\n /*\n r11 = this;\n if (r12 == 0) goto L_0x000a;\n L_0x0002:\n r0 = r12.nmz;\n r0 = com.tencent.mm.sdk.platformtools.bi.cC(r0);\n if (r0 == 0) goto L_0x0010;\n L_0x000a:\n r0 = 8;\n r11.setVisibility(r0);\n L_0x000f:\n return;\n L_0x0010:\n r11.mAppId = r13;\n r11.niV = r15;\n r0 = r12.nmz;\n r7 = r0.iterator();\n L_0x001a:\n r0 = r7.hasNext();\n if (r0 == 0) goto L_0x000f;\n L_0x0020:\n r0 = r7.next();\n r4 = r0;\n r4 = (com.tencent.mm.plugin.game.c.k) r4;\n if (r4 == 0) goto L_0x001a;\n L_0x0029:\n r5 = new com.tencent.mm.plugin.game.d.e$a$a;\n r5.<init>();\n r0 = r4.nlz;\n switch(r0) {\n case 1: goto L_0x004a;\n case 2: goto L_0x00e3;\n default: goto L_0x0033;\n };\n L_0x0033:\n r0 = 2;\n if (r14 != r0) goto L_0x001a;\n L_0x0036:\n r0 = r11.mContext;\n r1 = 10;\n r2 = 1002; // 0x3ea float:1.404E-42 double:4.95E-321;\n r3 = r4.nlw;\n r4 = r4.nlr;\n r6 = com.tencent.mm.plugin.game.model.ap.CD(r4);\n r4 = r13;\n r5 = r15;\n com.tencent.mm.plugin.game.model.ap.a(r0, r1, r2, r3, r4, r5, r6);\n goto L_0x001a;\n L_0x004a:\n r0 = r4.nlx;\n if (r0 == 0) goto L_0x001a;\n L_0x004e:\n r11.e(r11);\n r0 = r11.DF;\n r1 = com.tencent.mm.R.i.djD;\n r2 = 1;\n r6 = r0.inflate(r1, r11, r2);\n r0 = com.tencent.mm.R.h.cxP;\n r0 = r6.findViewById(r0);\n r0 = (android.widget.TextView) r0;\n r1 = com.tencent.mm.R.h.cxR;\n r1 = r6.findViewById(r1);\n r1 = (android.widget.TextView) r1;\n r2 = com.tencent.mm.R.h.cxO;\n r2 = r6.findViewById(r2);\n r2 = (com.tencent.mm.plugin.game.widget.EllipsizingTextView) r2;\n r3 = 2;\n r2.setMaxLines(r3);\n r3 = com.tencent.mm.R.h.cxQ;\n r3 = r6.findViewById(r3);\n r3 = (android.widget.ImageView) r3;\n r8 = r11.mContext;\n r9 = r4.nlv;\n r10 = r0.getTextSize();\n r8 = com.tencent.mm.pluginsdk.ui.d.i.b(r8, r9, r10);\n r0.setText(r8);\n r0 = r11.mContext;\n r8 = r4.nlx;\n r8 = r8.fpg;\n r9 = r1.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r8, r9);\n r1.setText(r0);\n r0 = r11.mContext;\n r1 = r4.nlx;\n r1 = r1.nkL;\n r8 = r2.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r1, r8);\n r2.setText(r0);\n r0 = r4.nlx;\n r0 = r0.nkM;\n r0 = com.tencent.mm.sdk.platformtools.bi.oN(r0);\n if (r0 != 0) goto L_0x00dd;\n L_0x00b9:\n r0 = com.tencent.mm.plugin.game.d.e.aSC();\n r1 = r4.nlx;\n r1 = r1.nkM;\n r2 = r5.aSD();\n r0.a(r3, r1, r2);\n L_0x00c8:\n r0 = new com.tencent.mm.plugin.game.ui.f$a;\n r1 = r4.nlw;\n r2 = r4.nlx;\n r2 = r2.nkN;\n r3 = r4.nlr;\n r0.<init>(r1, r2, r3);\n r6.setTag(r0);\n r6.setOnClickListener(r11);\n goto L_0x0033;\n L_0x00dd:\n r0 = 8;\n r3.setVisibility(r0);\n goto L_0x00c8;\n L_0x00e3:\n r0 = r4.nly;\n if (r0 == 0) goto L_0x001a;\n L_0x00e7:\n r11.e(r11);\n r0 = r11.DF;\n r1 = com.tencent.mm.R.i.djE;\n r2 = 1;\n r3 = r0.inflate(r1, r11, r2);\n r0 = com.tencent.mm.R.h.cOG;\n r0 = r3.findViewById(r0);\n r0 = (android.widget.TextView) r0;\n r1 = com.tencent.mm.R.h.cOI;\n r1 = r3.findViewById(r1);\n r1 = (android.widget.TextView) r1;\n r2 = com.tencent.mm.R.h.cOH;\n r2 = r3.findViewById(r2);\n r2 = (android.widget.ImageView) r2;\n r6 = r11.mContext;\n r8 = r4.nlv;\n r9 = r0.getTextSize();\n r6 = com.tencent.mm.pluginsdk.ui.d.i.b(r6, r8, r9);\n r0.setText(r6);\n r0 = r11.mContext;\n r6 = r4.nly;\n r6 = r6.fpg;\n r8 = r1.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r6, r8);\n r1.setText(r0);\n r0 = r4.nly;\n r0 = r0.nkM;\n r0 = com.tencent.mm.sdk.platformtools.bi.oN(r0);\n if (r0 != 0) goto L_0x016f;\n L_0x0135:\n r0 = r4.nly;\n r0 = r0.npS;\n r1 = 1;\n if (r0 != r1) goto L_0x0167;\n L_0x013c:\n r0 = 1;\n r5.nDa = r0;\n r0 = com.tencent.mm.R.g.bCF;\n r5.nDd = r0;\n L_0x0143:\n r0 = com.tencent.mm.plugin.game.d.e.aSC();\n r1 = r4.nly;\n r1 = r1.nkM;\n r5 = r5.aSD();\n r0.a(r2, r1, r5);\n L_0x0152:\n r0 = new com.tencent.mm.plugin.game.ui.f$a;\n r1 = r4.nlw;\n r2 = r4.nly;\n r2 = r2.nkN;\n r5 = r4.nlr;\n r0.<init>(r1, r2, r5);\n r3.setTag(r0);\n r3.setOnClickListener(r11);\n goto L_0x0033;\n L_0x0167:\n r0 = 1;\n r5.hFJ = r0;\n r0 = com.tencent.mm.R.g.bCE;\n r5.nDd = r0;\n goto L_0x0143;\n L_0x016f:\n r0 = 8;\n r2.setVisibility(r0);\n goto L_0x0152;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.plugin.game.ui.f.a(com.tencent.mm.plugin.game.c.ai, java.lang.String, int, int):void\");\n }", "@Test(timeout = 4000)\n public void test21() throws Throwable {\n FBProcedureCall fBProcedureCall0 = new FBProcedureCall();\n FBProcedureParam fBProcedureParam0 = fBProcedureCall0.addParam(5985, \"68]z9?lgE]u@\");\n fBProcedureCall0.addOutputParam(fBProcedureParam0);\n fBProcedureCall0.mapOutParamIndexToPosition(2, true);\n // Undeclared exception!\n fBProcedureCall0.mapOutParamIndexToPosition(5985, true);\n }", "final com.google.bV a(java.util.Map r14) {\n /*\n r13_this = this;\n r6 = f;\n if (r14 == 0) goto L_0x013c;\n L_0x0004:\n r0 = com.google.fm.TRY_HARDER;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x013c;\n L_0x000c:\n r0 = 1;\n r2 = r0;\n L_0x000e:\n if (r14 == 0) goto L_0x0140;\n L_0x0010:\n r0 = com.google.fm.PURE_BARCODE;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x0140;\n L_0x0018:\n r0 = 1;\n L_0x0019:\n r1 = r13.b;\n r7 = r1.f();\n r1 = r13.b;\n r8 = r1.b();\n r1 = r7 * 3;\n r1 = r1 / 228;\n r3 = 3;\n if (r1 < r3) goto L_0x002e;\n L_0x002c:\n if (r2 == 0) goto L_0x002f;\n L_0x002e:\n r1 = 3;\n L_0x002f:\n r2 = 0;\n r3 = 5;\n r9 = new int[r3];\n r4 = r1 + -1;\n r5 = r1;\n L_0x0036:\n if (r4 >= r7) goto L_0x0127;\n L_0x0038:\n if (r2 != 0) goto L_0x0127;\n L_0x003a:\n r1 = 0;\n r3 = 0;\n r9[r1] = r3;\n r1 = 1;\n r3 = 0;\n r9[r1] = r3;\n r1 = 2;\n r3 = 0;\n r9[r1] = r3;\n r1 = 3;\n r3 = 0;\n r9[r1] = r3;\n r1 = 4;\n r3 = 0;\n r9[r1] = r3;\n r1 = 0;\n r3 = 0;\n L_0x0050:\n if (r3 >= r8) goto L_0x010d;\n L_0x0052:\n r10 = r13.b;\n r10 = r10.a(r3, r4);\n if (r10 == 0) goto L_0x0069;\n L_0x005a:\n r10 = r1 & 1;\n r11 = 1;\n if (r10 != r11) goto L_0x0061;\n L_0x005f:\n r1 = r1 + 1;\n L_0x0061:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0069:\n r10 = r1 & 1;\n if (r10 != 0) goto L_0x0103;\n L_0x006d:\n r10 = 4;\n if (r1 != r10) goto L_0x00f9;\n L_0x0070:\n r1 = a(r9);\n if (r1 == 0) goto L_0x015f;\n L_0x0076:\n r1 = r13.a(r9, r4, r3, r0);\n if (r1 == 0) goto L_0x0159;\n L_0x007c:\n r5 = 2;\n r1 = r13.a;\n if (r1 == 0) goto L_0x0156;\n L_0x0081:\n r1 = r13.b();\n if (r6 == 0) goto L_0x00c2;\n L_0x0087:\n r2 = r13.c();\n r10 = 2;\n r10 = r9[r10];\n if (r2 <= r10) goto L_0x0152;\n L_0x0090:\n r3 = 2;\n r3 = r9[r3];\n r2 = r2 - r3;\n r2 = r2 - r5;\n r3 = r4 + r2;\n r2 = r8 + -1;\n L_0x0099:\n if (r6 == 0) goto L_0x014e;\n L_0x009b:\n r4 = r5;\n r12 = r3;\n r3 = r1;\n r1 = r2;\n r2 = r12;\n L_0x00a0:\n r5 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 3;\n r10 = 1;\n r9[r5] = r10;\n r5 = 4;\n r10 = 0;\n r9[r5] = r10;\n r5 = 3;\n if (r6 == 0) goto L_0x0147;\n L_0x00bd:\n r5 = r4;\n r4 = r2;\n r12 = r3;\n r3 = r1;\n r1 = r12;\n L_0x00c2:\n r2 = 0;\n r10 = 0;\n r11 = 0;\n r9[r10] = r11;\n r10 = 1;\n r11 = 0;\n r9[r10] = r11;\n r10 = 2;\n r11 = 0;\n r9[r10] = r11;\n r10 = 3;\n r11 = 0;\n r9[r10] = r11;\n r10 = 4;\n r11 = 0;\n r9[r10] = r11;\n if (r6 == 0) goto L_0x0143;\n L_0x00d9:\n r2 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 3;\n r10 = 1;\n r9[r2] = r10;\n r2 = 4;\n r10 = 0;\n r9[r2] = r10;\n r2 = 3;\n if (r6 == 0) goto L_0x0143;\n L_0x00f6:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n L_0x00f9:\n r1 = r1 + 1;\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0103:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n L_0x0109:\n r3 = r3 + 1;\n if (r6 == 0) goto L_0x0050;\n L_0x010d:\n r1 = a(r9);\n if (r1 == 0) goto L_0x0124;\n L_0x0113:\n r1 = r13.a(r9, r4, r8, r0);\n if (r1 == 0) goto L_0x0124;\n L_0x0119:\n r1 = 0;\n r5 = r9[r1];\n r1 = r13.a;\n if (r1 == 0) goto L_0x0124;\n L_0x0120:\n r2 = r13.b();\n L_0x0124:\n r4 = r4 + r5;\n if (r6 == 0) goto L_0x0036;\n L_0x0127:\n r0 = r13.a();\n com.google.bm.a(r0);\n r1 = new com.google.bV;\n r1.<init>(r0);\n r0 = com.google.gC.a;\n if (r0 == 0) goto L_0x013b;\n L_0x0137:\n r0 = r6 + 1;\n f = r0;\n L_0x013b:\n return r1;\n L_0x013c:\n r0 = 0;\n r2 = r0;\n goto L_0x000e;\n L_0x0140:\n r0 = 0;\n goto L_0x0019;\n L_0x0143:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n goto L_0x0109;\n L_0x0147:\n r12 = r1;\n r1 = r5;\n r5 = r4;\n r4 = r2;\n r2 = r3;\n r3 = r12;\n goto L_0x0109;\n L_0x014e:\n r4 = r3;\n r3 = r2;\n goto L_0x00c2;\n L_0x0152:\n r2 = r3;\n r3 = r4;\n goto L_0x0099;\n L_0x0156:\n r1 = r2;\n goto L_0x0087;\n L_0x0159:\n r1 = r3;\n r3 = r2;\n r2 = r4;\n r4 = r5;\n goto L_0x00a0;\n L_0x015f:\n r1 = r2;\n goto L_0x00d9;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.bj.a(java.util.Map):com.google.bV\");\n }", "@Test(timeout = 4000)\n public void test22() throws Throwable {\n LinkedList<byte[][]> linkedList0 = new LinkedList<byte[][]>();\n XSQLVAR[] xSQLVARArray0 = new XSQLVAR[0];\n FBResultSet fBResultSet0 = new FBResultSet(xSQLVARArray0, linkedList0);\n byte[][] byteArray0 = new byte[7][0];\n byte[] byteArray1 = new byte[7];\n byteArray1[0] = (byte) (-111);\n FileSystemHandling.appendLineToFile((EvoSuiteFile) null, \"!3eO>|kx{3s''g6%=\");\n byteArray1[1] = (byte) (-109);\n byteArray1[2] = (byte)31;\n linkedList0.add((byte[][]) null);\n linkedList0.add(byteArray0);\n FBCachedFetcher fBCachedFetcher0 = new FBCachedFetcher(linkedList0, fBResultSet0);\n fBCachedFetcher0.next();\n fBCachedFetcher0.deleteRow();\n assertTrue(fBCachedFetcher0.isLast());\n }", "public boolean b(IBlockAccess paramard, BlockPosition paramdt)\r\n/* 31: */ {\r\n/* 32:46 */ return true;\r\n/* 33: */ }", "private synchronized void m3985g() {\n /*\n r8 = this;\n monitor-enter(r8);\n r2 = java.lang.Thread.currentThread();\t Catch:{ all -> 0x0063 }\n r3 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r3 = r3.mo1186c();\t Catch:{ all -> 0x0063 }\n r2 = r2.equals(r3);\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0021;\n L_0x0011:\n r2 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1185b();\t Catch:{ all -> 0x0063 }\n r3 = new com.google.analytics.tracking.android.aa;\t Catch:{ all -> 0x0063 }\n r3.<init>(r8);\t Catch:{ all -> 0x0063 }\n r2.add(r3);\t Catch:{ all -> 0x0063 }\n L_0x001f:\n monitor-exit(r8);\n return;\n L_0x0021:\n r2 = r8.f2122n;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x0028;\n L_0x0025:\n r8.m3999d();\t Catch:{ all -> 0x0063 }\n L_0x0028:\n r2 = com.google.analytics.tracking.android.ab.f1966a;\t Catch:{ all -> 0x0063 }\n r3 = r8.f2110b;\t Catch:{ all -> 0x0063 }\n r3 = r3.ordinal();\t Catch:{ all -> 0x0063 }\n r2 = r2[r3];\t Catch:{ all -> 0x0063 }\n switch(r2) {\n case 1: goto L_0x0036;\n case 2: goto L_0x006e;\n case 3: goto L_0x00aa;\n default: goto L_0x0035;\n };\t Catch:{ all -> 0x0063 }\n L_0x0035:\n goto L_0x001f;\n L_0x0036:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0066;\n L_0x003e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.poll();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to store\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2112d;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1197a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n goto L_0x0036;\n L_0x0063:\n r2 = move-exception;\n monitor-exit(r8);\n throw r2;\n L_0x0066:\n r2 = r8.f2121m;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x001f;\n L_0x006a:\n r8.m3987h();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x006e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x00a0;\n L_0x0076:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.peek();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to service\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2111c;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1204a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2.poll();\t Catch:{ all -> 0x0063 }\n goto L_0x006e;\n L_0x00a0:\n r2 = r8.f2123o;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1198a();\t Catch:{ all -> 0x0063 }\n r8.f2109a = r2;\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x00aa:\n r2 = \"Need to reconnect\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x001f;\n L_0x00b7:\n r8.m3991j();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.analytics.tracking.android.y.g():void\");\n }", "protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }", "private final com.google.android.play.p179a.p352a.C6210u m28673b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 16: goto L_0x001b;\n case 26: goto L_0x0058;\n case 34: goto L_0x0065;\n case 42: goto L_0x0072;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r7.f();\n r6.f31049b = r0;\n r0 = r6.f31048a;\n r0 = r0 | 1;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x001b:\n r1 = r6.f31048a;\n r1 = r1 | 2;\n r6.f31048a = r1;\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0047 }\n switch(r2) {\n case 0: goto L_0x004f;\n case 1: goto L_0x004f;\n case 2: goto L_0x004f;\n case 3: goto L_0x004f;\n case 4: goto L_0x004f;\n case 5: goto L_0x004f;\n case 6: goto L_0x004f;\n default: goto L_0x002c;\n };\t Catch:{ IllegalArgumentException -> 0x0047 }\n L_0x002c:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r4 = 38;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r4 = \" is not a valid enum OsType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0047 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0047 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0047 }\n L_0x0047:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x004f:\n r6.f31050c = r2;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r6.f31048a;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r2 | 2;\n r6.f31048a = r2;\t Catch:{ IllegalArgumentException -> 0x0047 }\n goto L_0x0000;\n L_0x0058:\n r0 = r7.f();\n r6.f31051d = r0;\n r0 = r6.f31048a;\n r0 = r0 | 4;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x0065:\n r0 = r7.f();\n r6.f31052e = r0;\n r0 = r6.f31048a;\n r0 = r0 | 8;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x0072:\n r0 = r7.f();\n r6.f31053f = r0;\n r0 = r6.f31048a;\n r0 = r0 | 16;\n r6.f31048a = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.play.a.a.u.b(com.google.protobuf.nano.a):com.google.android.play.a.a.u\");\n }", "private boolean m2248a(java.lang.String r3, com.onesignal.La.C0596a r4) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/318857719.run(Unknown Source)\n*/\n /*\n r2 = this;\n r0 = 0;\n r1 = 1;\n java.lang.Float.parseFloat(r3);\t Catch:{ Throwable -> 0x0007 }\n r3 = 1;\n goto L_0x0008;\n L_0x0007:\n r3 = 0;\n L_0x0008:\n if (r3 != 0) goto L_0x0017;\n L_0x000a:\n r3 = com.onesignal.sa.C0650i.ERROR;\n r1 = \"Missing Google Project number!\\nPlease enter a Google Project number / Sender ID on under App Settings > Android > Configuration on the OneSignal dashboard.\";\n com.onesignal.sa.m1656a(r3, r1);\n r3 = 0;\n r1 = -6;\n r4.mo1392a(r3, r1);\n return r0;\n L_0x0017:\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.onesignal.Pa.a(java.lang.String, com.onesignal.La$a):boolean\");\n }", "public int mo4452e() {\n /*\n r7 = this;\n int r0 = r7.f2518c\n r7.f2519d = r0\n r0 = 0\n r1 = 0\n r2 = 0\n L_0x0007:\n int r3 = r7.f2519d\n if (r3 <= 0) goto L_0x003b\n byte r3 = r7.mo4449a()\n r4 = -1\n if (r3 == 0) goto L_0x0034\n r5 = 1\n if (r3 == r5) goto L_0x002e\n r6 = 2\n if (r3 == r6) goto L_0x002e\n r6 = 9\n if (r3 == r6) goto L_0x0007\n switch(r3) {\n case 14: goto L_0x0028;\n case 15: goto L_0x0028;\n case 16: goto L_0x0025;\n case 17: goto L_0x0025;\n case 18: goto L_0x0022;\n default: goto L_0x001f;\n }\n L_0x001f:\n if (r2 != 0) goto L_0x0007\n goto L_0x0039\n L_0x0022:\n int r1 = r1 + 1\n goto L_0x0007\n L_0x0025:\n if (r2 != r1) goto L_0x002b\n return r5\n L_0x0028:\n if (r2 != r1) goto L_0x002b\n return r4\n L_0x002b:\n int r1 = r1 + -1\n goto L_0x0007\n L_0x002e:\n if (r1 != 0) goto L_0x0031\n return r5\n L_0x0031:\n if (r2 != 0) goto L_0x0007\n goto L_0x0039\n L_0x0034:\n if (r1 != 0) goto L_0x0037\n return r4\n L_0x0037:\n if (r2 != 0) goto L_0x0007\n L_0x0039:\n r2 = r1\n goto L_0x0007\n L_0x003b:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: androidx.core.text.BidiFormatter.C0510a.mo4452e():int\");\n }", "public final void mo8775b() {\n }", "public final int mo11683a(com.google.android.gms.internal.ads.bci r11, com.google.android.gms.internal.ads.bcn r12) {\n /*\n r10 = this;\n L_0x0000:\n int r12 = r10.f3925e\n r0 = -1\n r1 = 1\n r2 = 0\n switch(r12) {\n case 0: goto L_0x00b2;\n case 1: goto L_0x0044;\n case 2: goto L_0x000e;\n default: goto L_0x0008;\n }\n L_0x0008:\n java.lang.IllegalStateException r11 = new java.lang.IllegalStateException\n r11.<init>()\n throw r11\n L_0x000e:\n int r12 = r10.f3928h\n if (r12 <= 0) goto L_0x0031\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n r12.mo12047a()\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n byte[] r12 = r12.f4559a\n r0 = 3\n r11.mo11675b(r12, r2, r0)\n com.google.android.gms.internal.ads.bcq r12 = r10.f3924d\n com.google.android.gms.internal.ads.bkh r3 = r10.f3923c\n r12.mo11681a(r3, r0)\n int r12 = r10.f3929i\n int r12 = r12 + r0\n r10.f3929i = r12\n int r12 = r10.f3928h\n int r12 = r12 - r1\n r10.f3928h = r12\n goto L_0x000e\n L_0x0031:\n int r11 = r10.f3929i\n if (r11 <= 0) goto L_0x0041\n com.google.android.gms.internal.ads.bcq r3 = r10.f3924d\n long r4 = r10.f3927g\n r6 = 1\n int r7 = r10.f3929i\n r8 = 0\n r9 = 0\n r3.mo11680a(r4, r6, r7, r8, r9)\n L_0x0041:\n r10.f3925e = r1\n return r2\n L_0x0044:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n r12.mo12047a()\n int r12 = r10.f3926f\n if (r12 != 0) goto L_0x006a\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n byte[] r12 = r12.f4559a\n r3 = 5\n boolean r12 = r11.mo11672a(r12, r2, r3, r1)\n if (r12 != 0) goto L_0x005a\n L_0x0058:\n r1 = 0\n goto L_0x008d\n L_0x005a:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n long r3 = r12.mo12063j()\n r5 = 1000(0x3e8, double:4.94E-321)\n long r3 = r3 * r5\n r5 = 45\n long r3 = r3 / r5\n r10.f3927g = r3\n goto L_0x0083\n L_0x006a:\n int r12 = r10.f3926f\n if (r12 != r1) goto L_0x0097\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n byte[] r12 = r12.f4559a\n r3 = 9\n boolean r12 = r11.mo11672a(r12, r2, r3, r1)\n if (r12 != 0) goto L_0x007b\n goto L_0x0058\n L_0x007b:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n long r3 = r12.mo12066m()\n r10.f3927g = r3\n L_0x0083:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n int r12 = r12.mo12059f()\n r10.f3928h = r12\n r10.f3929i = r2\n L_0x008d:\n if (r1 == 0) goto L_0x0094\n r12 = 2\n r10.f3925e = r12\n goto L_0x0000\n L_0x0094:\n r10.f3925e = r2\n return r0\n L_0x0097:\n com.google.android.gms.internal.ads.bad r11 = new com.google.android.gms.internal.ads.bad\n int r12 = r10.f3926f\n r0 = 39\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>(r0)\n java.lang.String r0 = \"Unsupported version number: \"\n r1.append(r0)\n r1.append(r12)\n java.lang.String r12 = r1.toString()\n r11.<init>((java.lang.String) r12)\n throw r11\n L_0x00b2:\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n r12.mo12047a()\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n byte[] r12 = r12.f4559a\n r3 = 8\n boolean r12 = r11.mo11672a(r12, r2, r3, r1)\n if (r12 == 0) goto L_0x00df\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n int r12 = r12.mo12065l()\n int r2 = f3921a\n if (r12 != r2) goto L_0x00d7\n com.google.android.gms.internal.ads.bkh r12 = r10.f3923c\n int r12 = r12.mo12059f()\n r10.f3926f = r12\n r2 = 1\n goto L_0x00df\n L_0x00d7:\n java.io.IOException r11 = new java.io.IOException\n java.lang.String r12 = \"Input not RawCC\"\n r11.<init>(r12)\n throw r11\n L_0x00df:\n if (r2 == 0) goto L_0x00e5\n r10.f3925e = r1\n goto L_0x0000\n L_0x00e5:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.ads.bef.mo11683a(com.google.android.gms.internal.ads.bci, com.google.android.gms.internal.ads.bcn):int\");\n }", "public final void mo51373a() {\n }", "public void mo2485a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r2 = this;\n r0 = r2.f11863a;\n monitor-enter(r0);\n r1 = r2.f11873l;\t Catch:{ all -> 0x002a }\n if (r1 != 0) goto L_0x0028;\t Catch:{ all -> 0x002a }\n L_0x0007:\n r1 = r2.f11872k;\t Catch:{ all -> 0x002a }\n if (r1 == 0) goto L_0x000c;\t Catch:{ all -> 0x002a }\n L_0x000b:\n goto L_0x0028;\t Catch:{ all -> 0x002a }\n L_0x000c:\n r1 = r2.f11875n;\t Catch:{ all -> 0x002a }\n if (r1 == 0) goto L_0x0015;\n L_0x0010:\n r1 = r2.f11875n;\t Catch:{ RemoteException -> 0x0015 }\n r1.cancel();\t Catch:{ RemoteException -> 0x0015 }\n L_0x0015:\n r1 = r2.f11870i;\t Catch:{ all -> 0x002a }\n m14216b(r1);\t Catch:{ all -> 0x002a }\n r1 = 1;\t Catch:{ all -> 0x002a }\n r2.f11873l = r1;\t Catch:{ all -> 0x002a }\n r1 = com.google.android.gms.common.api.Status.zzfnm;\t Catch:{ all -> 0x002a }\n r1 = r2.mo3568a(r1);\t Catch:{ all -> 0x002a }\n r2.m14217c(r1);\t Catch:{ all -> 0x002a }\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n return;\t Catch:{ all -> 0x002a }\n L_0x0028:\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n return;\t Catch:{ all -> 0x002a }\n L_0x002a:\n r1 = move-exception;\t Catch:{ all -> 0x002a }\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.common.api.internal.BasePendingResult.a():void\");\n }", "public ItemStack func_70298_a(int par1, int par2)\n/* */ {\n/* 35 */ return null;\n/* */ }", "private final void zzR(Object var1_1, zzha var2_2) {\n block94: {\n var3_3 = this;\n var4_4 = var1_1;\n var5_5 = var2_2;\n var6_6 = this.zzh;\n if (var6_6 != 0) break block94;\n var7_7 = this.zzc;\n var6_6 = ((int[])var7_7).length;\n var8_8 = zzja.zzb;\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n var11_11 = var9_9;\n var13_13 = 0;\n for (var12_12 = 0; var12_12 < var6_6; var12_12 += 3) {\n block95: {\n var14_14 = var3_3.zzA(var12_12);\n var15_15 = var3_3.zzc;\n var16_16 = var15_15[var12_12];\n var17_17 = zzja.zzC(var14_14);\n var18_18 = 17;\n var19_19 = 1;\n if (var17_17 <= var18_18) {\n var20_20 = var3_3.zzc;\n var21_21 = var12_12 + 2;\n var18_18 = var20_20[var21_21];\n if ((var21_21 = var18_18 & var9_9) != var11_11) {\n var22_22 = var21_21;\n var13_13 = var8_8.getInt(var4_4, var22_22);\n var11_11 = var21_21;\n }\n var18_18 >>>= 20;\n var18_18 = var19_19 << var18_18;\n } else {\n var18_18 = 0;\n var20_20 = null;\n }\n var24_23 = var14_14 &= var9_9;\n switch (var17_17) lbl-1000:\n // 56 sources\n\n {\n default: {\n var17_17 = 0;\n break block95;\n }\n case 68: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 67: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 66: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 65: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 64: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 63: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 62: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 61: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n ** GOTO lbl-1000\n }\n case 60: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 59: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 58: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = (int)zzja.zzH(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n ** GOTO lbl-1000\n }\n case 57: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 56: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 55: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 54: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 53: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 52: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var10_10 = zzja.zzE(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n ** GOTO lbl-1000\n }\n case 51: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var28_26 = zzja.zzD(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n ** GOTO lbl-1000\n }\n case 50: {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var3_3.zzS(var5_5, var16_16, var26_24, var12_12);\n ** GOTO lbl-1000\n }\n case 49: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzaa(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 48: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzN(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 47: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 46: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 45: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 44: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 43: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 42: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzW(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 41: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 40: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 39: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 38: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 37: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 36: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 35: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 34: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var16_16 = 0;\n var15_15 = null;\n zzjk.zzN(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 33: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 32: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 31: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 30: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 29: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, false);\nlbl290:\n // 6 sources\n\n var17_17 = 0;\n break block95;\n }\n case 28: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzY(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 27: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzZ(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 26: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzX(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 25: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var17_17 = 0;\n zzjk.zzW(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 24: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 23: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 22: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 21: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 20: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 19: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 18: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 17: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 16: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n }\n break block95;\n }\n case 15: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n }\n break block95;\n }\n case 14: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n }\n break block95;\n }\n case 13: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n }\n break block95;\n }\n case 12: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n }\n break block95;\n }\n case 11: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n }\n break block95;\n }\n case 10: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n }\n break block95;\n }\n case 9: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 8: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n }\n break block95;\n }\n case 7: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = (int)zzkh.zzh(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n }\n break block95;\n }\n case 6: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n }\n break block95;\n }\n case 5: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n }\n break block95;\n }\n case 4: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n }\n break block95;\n }\n case 3: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n }\n break block95;\n }\n case 2: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n }\n break block95;\n }\n case 1: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var10_10 = zzkh.zzj(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n }\n break block95;\n }\n case 0: \n }\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var28_26 = zzkh.zzl(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n }\n }\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n }\n var7_7 = var3_3.zzn;\n var4_4 = var7_7.zzd(var4_4);\n var7_7.zzi(var4_4, var5_5);\n return;\n }\n this.zzo.zzb(var1_1);\n throw null;\n }", "public void zzbr() {\n /*\n r8 = this;\n r0 = 0;\n r2 = r8.zzF;\n L_0x0003:\n r1 = 10;\n if (r0 >= r1) goto L_0x0119;\n L_0x0007:\n r4 = r0 + 1;\n r0 = new java.net.URL;\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r0.<init>(r2);\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r1 = \"play.google.com\";\n r3 = r0.getHost();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r1 = r1.equalsIgnoreCase(r3);\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n if (r1 == 0) goto L_0x002d;\n L_0x001a:\n r0 = r2;\n L_0x001b:\n r0 = r8.zzT(r0);\n r1 = com.google.android.gms.ads.internal.zzr.zzbC();\n r2 = r8.zzpD;\n r2 = r2.getContext();\n r1.zzb(r2, r0);\n return;\n L_0x002d:\n r1 = \"market\";\n r3 = r0.getProtocol();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r1 = r1.equalsIgnoreCase(r3);\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n if (r1 == 0) goto L_0x003b;\n L_0x0039:\n r0 = r2;\n goto L_0x001b;\n L_0x003b:\n r0 = r0.openConnection();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r0 = (java.net.HttpURLConnection) r0;\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r1 = com.google.android.gms.ads.internal.zzr.zzbC();\t Catch:{ all -> 0x00b1 }\n r3 = r8.zzpD;\t Catch:{ all -> 0x00b1 }\n r3 = r3.getContext();\t Catch:{ all -> 0x00b1 }\n r5 = r8.zzpD;\t Catch:{ all -> 0x00b1 }\n r5 = r5.zzhX();\t Catch:{ all -> 0x00b1 }\n r5 = r5.afmaVersion;\t Catch:{ all -> 0x00b1 }\n r6 = 0;\n r1.zza(r3, r5, r6, r0);\t Catch:{ all -> 0x00b1 }\n r1 = r0.getResponseCode();\t Catch:{ all -> 0x00b1 }\n r5 = r0.getHeaderFields();\t Catch:{ all -> 0x00b1 }\n r3 = \"\";\n r6 = 300; // 0x12c float:4.2E-43 double:1.48E-321;\n if (r1 < r6) goto L_0x0116;\n L_0x0065:\n r6 = 399; // 0x18f float:5.59E-43 double:1.97E-321;\n if (r1 > r6) goto L_0x0116;\n L_0x0069:\n r1 = 0;\n r6 = \"Location\";\n r6 = r5.containsKey(r6);\t Catch:{ all -> 0x00b1 }\n if (r6 == 0) goto L_0x0099;\n L_0x0072:\n r1 = \"Location\";\n r1 = r5.get(r1);\t Catch:{ all -> 0x00b1 }\n r1 = (java.util.List) r1;\t Catch:{ all -> 0x00b1 }\n L_0x007a:\n if (r1 == 0) goto L_0x0116;\n L_0x007c:\n r5 = r1.size();\t Catch:{ all -> 0x00b1 }\n if (r5 <= 0) goto L_0x0116;\n L_0x0082:\n r3 = 0;\n r1 = r1.get(r3);\t Catch:{ all -> 0x00b1 }\n r1 = (java.lang.String) r1;\t Catch:{ all -> 0x00b1 }\n L_0x0089:\n r3 = android.text.TextUtils.isEmpty(r1);\t Catch:{ all -> 0x00b1 }\n if (r3 == 0) goto L_0x00aa;\n L_0x008f:\n r1 = \"Arrived at landing page, this ideally should not happen. Will open it in browser.\";\n com.google.android.gms.ads.internal.util.client.zzb.zzaK(r1);\t Catch:{ all -> 0x00b1 }\n r0.disconnect();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n r0 = r2;\n goto L_0x001b;\n L_0x0099:\n r6 = \"location\";\n r6 = r5.containsKey(r6);\t Catch:{ all -> 0x00b1 }\n if (r6 == 0) goto L_0x007a;\n L_0x00a1:\n r1 = \"location\";\n r1 = r5.get(r1);\t Catch:{ all -> 0x00b1 }\n r1 = (java.util.List) r1;\t Catch:{ all -> 0x00b1 }\n goto L_0x007a;\n L_0x00aa:\n r0.disconnect();\t Catch:{ IndexOutOfBoundsException -> 0x0111, IOException -> 0x010c, RuntimeException -> 0x0107 }\n r0 = r4;\n r2 = r1;\n goto L_0x0003;\n L_0x00b1:\n r1 = move-exception;\n r0.disconnect();\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n throw r1;\t Catch:{ IndexOutOfBoundsException -> 0x00b6, IOException -> 0x00d1, RuntimeException -> 0x00ec }\n L_0x00b6:\n r0 = move-exception;\n r1 = r0;\n r0 = r2;\n L_0x00b9:\n r2 = new java.lang.StringBuilder;\n r2.<init>();\n r3 = \"Error while parsing ping URL: \";\n r2 = r2.append(r3);\n r2 = r2.append(r0);\n r2 = r2.toString();\n com.google.android.gms.ads.internal.util.client.zzb.zzd(r2, r1);\n goto L_0x001b;\n L_0x00d1:\n r0 = move-exception;\n r1 = r0;\n r0 = r2;\n L_0x00d4:\n r2 = new java.lang.StringBuilder;\n r2.<init>();\n r3 = \"Error while pinging URL: \";\n r2 = r2.append(r3);\n r2 = r2.append(r0);\n r2 = r2.toString();\n com.google.android.gms.ads.internal.util.client.zzb.zzd(r2, r1);\n goto L_0x001b;\n L_0x00ec:\n r0 = move-exception;\n r1 = r0;\n r0 = r2;\n L_0x00ef:\n r2 = new java.lang.StringBuilder;\n r2.<init>();\n r3 = \"Error while pinging URL: \";\n r2 = r2.append(r3);\n r2 = r2.append(r0);\n r2 = r2.toString();\n com.google.android.gms.ads.internal.util.client.zzb.zzd(r2, r1);\n goto L_0x001b;\n L_0x0107:\n r0 = move-exception;\n r7 = r0;\n r0 = r1;\n r1 = r7;\n goto L_0x00ef;\n L_0x010c:\n r0 = move-exception;\n r7 = r0;\n r0 = r1;\n r1 = r7;\n goto L_0x00d4;\n L_0x0111:\n r0 = move-exception;\n r7 = r0;\n r0 = r1;\n r1 = r7;\n goto L_0x00b9;\n L_0x0116:\n r1 = r3;\n goto L_0x0089;\n L_0x0119:\n r0 = r2;\n goto L_0x001b;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.zzdm.zza.zzbr():void\");\n }", "public final void b() {\n /*\n r10 = this;\n r0 = 0\n java.lang.Object[] r1 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r3 = f53248e\n java.lang.Class[] r6 = new java.lang.Class[r0]\n java.lang.Class r7 = java.lang.Void.TYPE\n r4 = 0\n r5 = 55479(0xd8b7, float:7.7743E-41)\n r2 = r10\n boolean r1 = com.meituan.robust.PatchProxy.isSupport(r1, r2, r3, r4, r5, r6, r7)\n if (r1 == 0) goto L_0x0025\n java.lang.Object[] r2 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r4 = f53248e\n r5 = 0\n r6 = 55479(0xd8b7, float:7.7743E-41)\n java.lang.Class[] r7 = new java.lang.Class[r0]\n java.lang.Class r8 = java.lang.Void.TYPE\n r3 = r10\n com.meituan.robust.PatchProxy.accessDispatch(r2, r3, r4, r5, r6, r7, r8)\n return\n L_0x0025:\n com.ss.android.ugc.aweme.live.alphaplayer.e$i r9 = r10.h\n java.lang.Object[] r2 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r4 = com.ss.android.ugc.aweme.live.alphaplayer.e.i.f53268a\n r5 = 0\n r6 = 55516(0xd8dc, float:7.7794E-41)\n java.lang.Class[] r7 = new java.lang.Class[r0]\n java.lang.Class r8 = java.lang.Void.TYPE\n r3 = r9\n boolean r2 = com.meituan.robust.PatchProxy.isSupport(r2, r3, r4, r5, r6, r7, r8)\n if (r2 == 0) goto L_0x004b\n java.lang.Object[] r2 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r4 = com.ss.android.ugc.aweme.live.alphaplayer.e.i.f53268a\n r5 = 0\n r6 = 55516(0xd8dc, float:7.7794E-41)\n java.lang.Class[] r7 = new java.lang.Class[r0]\n java.lang.Class r8 = java.lang.Void.TYPE\n r3 = r9\n com.meituan.robust.PatchProxy.accessDispatch(r2, r3, r4, r5, r6, r7, r8)\n return\n L_0x004b:\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r2 = g\n monitor-enter(r2)\n r0 = 1\n r9.f53270c = r0 // Catch:{ all -> 0x006e }\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r0 = g // Catch:{ all -> 0x006e }\n r0.notifyAll() // Catch:{ all -> 0x006e }\n L_0x0056:\n boolean r0 = r9.f53269b // Catch:{ all -> 0x006e }\n if (r0 != 0) goto L_0x006c\n boolean r0 = r9.f53271d // Catch:{ all -> 0x006e }\n if (r0 != 0) goto L_0x006c\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r0 = g // Catch:{ InterruptedException -> 0x0064 }\n r0.wait() // Catch:{ InterruptedException -> 0x0064 }\n goto L_0x0056\n L_0x0064:\n java.lang.Thread r0 = java.lang.Thread.currentThread() // Catch:{ all -> 0x006e }\n r0.interrupt() // Catch:{ all -> 0x006e }\n goto L_0x0056\n L_0x006c:\n monitor-exit(r2) // Catch:{ all -> 0x006e }\n return\n L_0x006e:\n r0 = move-exception\n monitor-exit(r2) // Catch:{ all -> 0x006e }\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.ss.android.ugc.aweme.live.alphaplayer.e.b():void\");\n }", "public int getEventCode() {\n/* 41 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public void mo9137b() {\n }", "static com.qiyukf.nimlib.p470f.p471a.C5826a m23369a(android.os.Parcel r4) {\n /*\n com.qiyukf.nimlib.f.a.a r0 = new com.qiyukf.nimlib.f.a.a\n r1 = 0\n r0.m50001init(r1)\n int r2 = r4.readInt()\n r0.f18499a = r2\n int r2 = r4.readInt()\n if (r2 <= 0) goto L_0x001d\n byte[] r2 = r4.createByteArray()\n java.nio.ByteBuffer r2 = java.nio.ByteBuffer.wrap(r2)\n r0.f18501c = r2\n L_0x001d:\n int r2 = r4.readInt()\n r0.f18500b = r2\n int r2 = r4.readInt()\n if (r2 <= 0) goto L_0x0061\n byte[] r4 = r4.createByteArray()\n int r3 = r0.f18500b\n if (r3 <= 0) goto L_0x005c\n int r1 = r0.f18500b\n if (r1 != r2) goto L_0x0049\n java.nio.ByteBuffer r4 = java.nio.ByteBuffer.wrap(r4)\n r0.f18502d = r4\n java.nio.ByteBuffer r4 = r0.f18502d\n r4.position(r2)\n goto L_0x0068\n L_0x0049:\n int r1 = r0.f18500b\n java.nio.ByteBuffer r1 = java.nio.ByteBuffer.allocate(r1)\n r0.f18502d = r1\n java.nio.ByteBuffer r1 = r0.f18502d\n r1.put(r4)\n goto L_0x0068\n L_0x005c:\n java.nio.ByteBuffer r4 = java.nio.ByteBuffer.wrap(r4, r1, r2)\n goto L_0x0065\n L_0x0061:\n java.nio.ByteBuffer r4 = java.nio.ByteBuffer.allocate(r1)\n L_0x0065:\n r0.f18502d = r4\n L_0x0068:\n boolean r4 = m23372b(r0)\n if (r4 == 0) goto L_0x006f\n return r0\n L_0x006f:\n int r4 = r0.f18500b\n if (r4 <= 0) goto L_0x007d\n android.util.SparseArray<com.qiyukf.nimlib.f.a.a> r4 = f18504a\n int r1 = r0.f18499a\n r4.put(r1, r0)\n goto L_0x00a2\n L_0x007d:\n android.util.SparseArray<com.qiyukf.nimlib.f.a.a> r4 = f18504a\n int r1 = r0.f18499a\n java.lang.Object r4 = r4.get(r1)\n com.qiyukf.nimlib.f.a.a r4 = (com.qiyukf.nimlib.p470f.p471a.C5826a) r4\n if (r4 == 0) goto L_0x00a2\n java.nio.ByteBuffer r1 = r4.f18502d\n java.nio.ByteBuffer r0 = r0.f18502d\n r1.put(r0)\n boolean r0 = m23372b(r4)\n if (r0 == 0) goto L_0x00a2\n android.util.SparseArray<com.qiyukf.nimlib.f.a.a> r0 = f18504a\n int r1 = r4.f18499a\n r0.remove(r1)\n return r4\n L_0x00a2:\n r4 = 0\n return r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.qiyukf.nimlib.p470f.p471a.C5826a.C5829b.m23369a(android.os.Parcel):com.qiyukf.nimlib.f.a.a\");\n }", "public boolean mo3969a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r4 = this;\n r0 = r4.f19005h;\n if (r0 != 0) goto L_0x0011;\n L_0x0004:\n r0 = r4.f19004g;\n if (r0 == 0) goto L_0x000f;\n L_0x0008:\n r0 = r4.f19004g;\n r1 = com.facebook.ads.C1700b.f5123e;\n r0.mo1313a(r4, r1);\n L_0x000f:\n r0 = 0;\n return r0;\n L_0x0011:\n r0 = new android.content.Intent;\n r1 = r4.f19002e;\n r2 = com.facebook.ads.AudienceNetworkActivity.class;\n r0.<init>(r1, r2);\n r1 = \"predefinedOrientationKey\";\n r2 = r4.m25306b();\n r0.putExtra(r1, r2);\n r1 = \"uniqueId\";\n r2 = r4.f18999b;\n r0.putExtra(r1, r2);\n r1 = \"placementId\";\n r2 = r4.f19000c;\n r0.putExtra(r1, r2);\n r1 = \"requestTime\";\n r2 = r4.f19001d;\n r0.putExtra(r1, r2);\n r1 = \"viewType\";\n r2 = r4.f19009l;\n r0.putExtra(r1, r2);\n r1 = \"useCache\";\n r2 = r4.f19010m;\n r0.putExtra(r1, r2);\n r1 = r4.f19008k;\n if (r1 == 0) goto L_0x0052;\n L_0x004a:\n r1 = \"ad_data_bundle\";\n r2 = r4.f19008k;\n r0.putExtra(r1, r2);\n goto L_0x005b;\n L_0x0052:\n r1 = r4.f19006i;\n if (r1 == 0) goto L_0x005b;\n L_0x0056:\n r1 = r4.f19006i;\n r1.m18953a(r0);\n L_0x005b:\n r1 = 268435456; // 0x10000000 float:2.5243549E-29 double:1.32624737E-315;\n r0.addFlags(r1);\n r1 = r4.f19002e;\t Catch:{ ActivityNotFoundException -> 0x0066 }\n r1.startActivity(r0);\t Catch:{ ActivityNotFoundException -> 0x0066 }\n goto L_0x0072;\n L_0x0066:\n r1 = r4.f19002e;\n r2 = com.facebook.ads.InterstitialAdActivity.class;\n r0.setClass(r1, r2);\n r1 = r4.f19002e;\n r1.startActivity(r0);\n L_0x0072:\n r0 = 1;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.adapters.k.a():boolean\");\n }", "protected void method_2247() {\r\n // $FF: Couldn't be decompiled\r\n }", "public int getDrawingOrder() {\n/* 1068 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public void mo21825b() {\n }", "public void b(World paramaqu, BlockPosition paramdt, Block parambec, Random paramRandom)\r\n/* 39: */ {\r\n/* 40: 54 */ if (paramaqu.isClient) {\r\n/* 41: 55 */ return;\r\n/* 42: */ }\r\n/* 43: 58 */ if ((paramaqu.l(paramdt.up()) < 4) && (paramaqu.getBlock(paramdt.up()).getType().getLightOpacity() > 2))\r\n/* 44: */ {\r\n/* 45: 59 */ paramaqu.setBlock(paramdt, BlockList.dirt.instance());\r\n/* 46: 60 */ return;\r\n/* 47: */ }\r\n/* 48: 63 */ if (paramaqu.l(paramdt.up()) >= 9) {\r\n/* 49: 64 */ for (int i = 0; i < 4; i++)\r\n/* 50: */ {\r\n/* 51: 65 */ BlockPosition localdt = paramdt.offset(paramRandom.nextInt(3) - 1, paramRandom.nextInt(5) - 3, paramRandom.nextInt(3) - 1);\r\n/* 52: 66 */ BlockType localatr = paramaqu.getBlock(localdt.up()).getType();\r\n/* 53: 67 */ Block localbec = paramaqu.getBlock(localdt);\r\n/* 54: 68 */ if ((localbec.getType() == BlockList.dirt) && (localbec.getData(BlockDirt.a) == avd.a) && (paramaqu.l(localdt.up()) >= 4) && (localatr.getLightOpacity() <= 2)) {\r\n/* 55: 69 */ paramaqu.setBlock(localdt, BlockList.grass.instance());\r\n/* 56: */ }\r\n/* 57: */ }\r\n/* 58: */ }\r\n/* 59: */ }", "public synchronized void mo28699e() {\n if (mo27566d()) {\n throw new PooledByteBuffer.C3959a();\n }\n }", "static void complete_return_requirements(){\n\t\tString ad = memory.get(SP+1)+memory.get(SP);\n\t\tSP+=2;\n\t\tPC = hexa_to_deci(ad);\n\t\tmodified =true;\n\t}", "private void method_7083() {\r\n // $FF: Couldn't be decompiled\r\n }", "public int zzB() {\n return 0;\n }", "public int getBlockLength()\r\n/* 45: */ {\r\n/* 46:107 */ return -32;\r\n/* 47: */ }", "@Test(timeout = 4000)\n public void test085() throws Throwable {\n Frame frame0 = new Frame();\n ClassWriter classWriter0 = new ClassWriter(16777267);\n Class<Object> class0 = Object.class;\n Type.getType(class0);\n Type type0 = Type.BYTE_TYPE;\n Type.getObjectType(\"The prefix must not be null\");\n Type type1 = Type.INT_TYPE;\n int[] intArray0 = new int[8];\n intArray0[0] = 6;\n intArray0[1] = 7;\n intArray0[2] = 2;\n intArray0[3] = 1;\n intArray0[4] = 2;\n intArray0[5] = 4;\n intArray0[6] = 9;\n intArray0[7] = 4;\n frame0.inputStack = intArray0;\n Item item0 = new Item();\n item0.hashCode = 1687;\n // Undeclared exception!\n try { \n frame0.execute(111, 164, classWriter0, item0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"wheel.asm.Frame\", e);\n }\n }", "public void mo1944a() throws cf {\r\n }", "@Override\n public void a() {\n block25 : {\n block24 : {\n block22 : {\n var17_1 = a.a;\n var3_2 = this.c.i();\n var4_3 = var3_2.a().a();\n this.d = new w();\n this.e = new y.f.h.D(this.d);\n this.h = M.a(new Object[this.b.e()]);\n this.i = M.b(new Object[this.b.g()]);\n var5_4 = this.b.o();\n while (var5_4.f()) {\n var6_5 = var5_4.e();\n if (var17_1 == 0) {\n if (var6_5.c() <= this.l) {\n var7_6 = this.d.d();\n this.h.a(var6_5, var7_6);\n }\n var5_4.g();\n if (var17_1 == 0) continue;\n }\n break block22;\n }\n this.j = M.b(new Object[this.b.g()]);\n this.k = M.b(new Object[this.b.g()]);\n this.a(this.j, this.k);\n }\n var2_8 = this.b.o();\n block3 : do {\n v0 = var2_8.f();\n block4 : while (v0 != 0) {\n var5_4 = var2_8.e();\n if (var5_4.c() != 0) {\n var1_9 = var5_4.l();\n var6_5 = var1_9.a();\n var7_6 = (y.c.q)this.j.b(var6_5);\n var1_9.b();\n while (var1_9.f()) {\n var8_10 = var1_9.a();\n var9_11 = (y.c.q)this.j.b(var8_10);\n var10_12 = (y.c.q)this.k.b(var8_10);\n var11_13 = this.a((y.c.q)var7_6, (y.c.q)var9_11);\n v0 = var5_4.c();\n if (var17_1 != 0) continue block4;\n if (v0 > this.l) {\n this.h.a(var5_4, var11_13);\n }\n var7_6 = (y.c.q)this.j.b(var8_10);\n var12_14 /* !! */ = this.d.a((y.c.q)var9_11, (y.c.q)var10_12);\n this.i.a(var8_10, var12_14 /* !! */ );\n if (var8_10 == var6_5) break;\n var1_9.b();\n if (var17_1 == 0) continue;\n }\n }\n var2_8.g();\n if (var17_1 == 0) continue block3;\n }\n break block3;\n break;\n } while (true);\n var1_9 = this.b.p();\n while (var1_9.f()) {\n var5_4 = var1_9.a();\n v1 = this;\n if (var17_1 == 0) {\n block23 : {\n if (v1.c.n((y.c.d)var5_4)) {\n this.e.m((y.c.d)this.i.b(var5_4));\n if (var17_1 == 0) break block23;\n }\n this.e.e((y.c.d)this.i.b(var5_4));\n }\n var6_5 = this.c.h((y.c.d)var5_4);\n this.e.b((y.c.d)this.i.b(var5_4), (y.c.d)this.i.b(var6_5));\n var1_9.g();\n if (var17_1 == 0) continue;\n }\n break block24;\n }\n v1 = this;\n }\n var5_4 = v1.e.m();\n this.d.a(\"y.layout.orthogonal.general.NodeSplitter.NODE_FACES\", (y.c.c)var5_4);\n var6_5 = this.e.m();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", (y.c.c)var6_5);\n this.m = this.e.g().t();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", new c((r)var6_5, this.m));\n try {\n this.e.l();\n var7_6 = (y.c.d)this.i.b(var4_3);\n this.e.b(this.e.i((y.c.d)var7_6));\n var8_10 = this.e.h();\n while (var8_10.f()) {\n var5_4.a(var8_10.a(), false);\n var8_10.g();\n if (var17_1 == 0) {\n if (var17_1 == 0) continue;\n }\n break block25;\n }\n var8_10 = this.b.o();\n while (var8_10.f()) {\n var9_11 = var8_10.e();\n if (var17_1 != 0) break;\n if (var9_11.c() <= this.l) ** GOTO lbl-1000\n var10_12 = (y.c.d)this.h.b(var9_11);\n var11_13 = this.e.i((y.c.d)var10_12);\n this.h.a(var9_11, var11_13);\n var5_4.a((p)var11_13, true);\n var12_14 /* !! */ = (y.c.d)this.b.p((y.c.q)var9_11);\n var14_15 = this.b.q((y.c.q)var9_11);\n var16_16 = new Dimension((int)var12_14 /* !! */ , (int)var14_15);\n var6_5.a((p)var11_13, var16_16);\n if (var17_1 != 0) lbl-1000: // 2 sources:\n {\n var10_12 = this.b.r((y.c.q)var9_11);\n if (var10_12.a > 0.0 || var10_12.b > 0.0) {\n var11_13 = (y.c.q)this.h.b(var9_11);\n this.m.a(var11_13, this.b.r((y.c.q)var9_11));\n }\n }\n var8_10.g();\n if (var17_1 == 0) continue;\n break;\n }\n }\n catch (Exception var7_7) {\n System.err.println(\"Internal Error in Face calculation !\");\n var7_7.printStackTrace(System.err);\n }\n }\n var7_6 = this.e.h();\n block9 : do {\n if (var7_6.f() == false) return;\n var8_10 = (p)var7_6.d();\n if (var5_4.d(var8_10)) {\n var9_11 = var8_10.a();\n while (var9_11.f()) {\n var10_12 = var9_11.a();\n this.e.m(this.e.h((y.c.d)var10_12));\n this.e.e((y.c.d)var10_12);\n var9_11.g();\n if (var17_1 != 0) continue block9;\n if (var17_1 == 0) continue;\n }\n }\n var7_6.g();\n } while (var17_1 == 0);\n }", "public int getLiveRegion() {\n/* 1213 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "public boolean renderAsNormalBlock()\r\n/* 166: */ {\r\n/* 167:184 */ return false;\r\n/* 168: */ }", "public final void m15744a(com.p111d.p112a.p114b.C5301g r9) {\n /*\n r8 = this;\n r0 = r8.f17783i;\n r1 = r8.f17781g;\n r2 = 0;\n r3 = 1;\n if (r1 == 0) goto L_0x0010;\n L_0x0008:\n r4 = r0.m4038b();\n if (r4 == 0) goto L_0x0010;\n L_0x000e:\n r4 = r3;\n goto L_0x0011;\n L_0x0010:\n r4 = r2;\n L_0x0011:\n r5 = -1;\n L_0x0012:\n r5 = r5 + r3;\n r6 = 16;\n if (r5 < r6) goto L_0x0029;\n L_0x0017:\n r0 = r0.m4032a();\n if (r0 == 0) goto L_0x0148;\n L_0x001d:\n if (r1 == 0) goto L_0x0027;\n L_0x001f:\n r4 = r0.m4038b();\n if (r4 == 0) goto L_0x0027;\n L_0x0025:\n r4 = r3;\n goto L_0x0028;\n L_0x0027:\n r4 = r2;\n L_0x0028:\n r5 = r2;\n L_0x0029:\n r6 = r0.m4031a(r5);\n if (r6 == 0) goto L_0x0148;\n L_0x002f:\n if (r4 == 0) goto L_0x0043;\n L_0x0031:\n r7 = r0.m4039c(r5);\n if (r7 == 0) goto L_0x003a;\n L_0x0037:\n r9.writeObjectId(r7);\n L_0x003a:\n r7 = r0.m4040d(r5);\n if (r7 == 0) goto L_0x0043;\n L_0x0040:\n r9.writeTypeId(r7);\n L_0x0043:\n r7 = com.p111d.p112a.p121c.p138m.C6523u.C15401.f4807a;\n r6 = r6.ordinal();\n r6 = r7[r6];\n switch(r6) {\n case 1: goto L_0x0143;\n case 2: goto L_0x013e;\n case 3: goto L_0x0139;\n case 4: goto L_0x0134;\n case 5: goto L_0x011e;\n case 6: goto L_0x0108;\n case 7: goto L_0x00c5;\n case 8: goto L_0x0074;\n case 9: goto L_0x0070;\n case 10: goto L_0x006c;\n case 11: goto L_0x0068;\n case 12: goto L_0x0056;\n default: goto L_0x004e;\n };\n L_0x004e:\n r9 = new java.lang.RuntimeException;\n r0 = \"Internal error: should never end up through this code path\";\n r9.<init>(r0);\n throw r9;\n L_0x0056:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof com.p111d.p112a.p121c.p138m.C5378q;\n if (r7 == 0) goto L_0x0064;\n L_0x005e:\n r6 = (com.p111d.p112a.p121c.p138m.C5378q) r6;\n r6.m11598a(r9);\n goto L_0x0012;\n L_0x0064:\n r9.writeObject(r6);\n goto L_0x0012;\n L_0x0068:\n r9.writeNull();\n goto L_0x0012;\n L_0x006c:\n r9.writeBoolean(r2);\n goto L_0x0012;\n L_0x0070:\n r9.writeBoolean(r3);\n goto L_0x0012;\n L_0x0074:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof java.lang.Double;\n if (r7 == 0) goto L_0x0086;\n L_0x007c:\n r6 = (java.lang.Double) r6;\n r6 = r6.doubleValue();\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x0086:\n r7 = r6 instanceof java.math.BigDecimal;\n if (r7 == 0) goto L_0x0090;\n L_0x008a:\n r6 = (java.math.BigDecimal) r6;\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x0090:\n r7 = r6 instanceof java.lang.Float;\n if (r7 == 0) goto L_0x009f;\n L_0x0094:\n r6 = (java.lang.Float) r6;\n r6 = r6.floatValue();\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x009f:\n if (r6 != 0) goto L_0x00a2;\n L_0x00a1:\n goto L_0x0068;\n L_0x00a2:\n r7 = r6 instanceof java.lang.String;\n if (r7 == 0) goto L_0x00ad;\n L_0x00a6:\n r6 = (java.lang.String) r6;\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x00ad:\n r0 = new com.d.a.b.f;\n r1 = \"Unrecognized value type for VALUE_NUMBER_FLOAT: %s, can not serialize\";\n r3 = new java.lang.Object[r3];\n r4 = r6.getClass();\n r4 = r4.getName();\n r3[r2] = r4;\n r1 = java.lang.String.format(r1, r3);\n r0.<init>(r1, r9);\n throw r0;\n L_0x00c5:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof java.lang.Integer;\n if (r7 == 0) goto L_0x00d8;\n L_0x00cd:\n r6 = (java.lang.Integer) r6;\n r6 = r6.intValue();\n L_0x00d3:\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x00d8:\n r7 = r6 instanceof java.math.BigInteger;\n if (r7 == 0) goto L_0x00e3;\n L_0x00dc:\n r6 = (java.math.BigInteger) r6;\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x00e3:\n r7 = r6 instanceof java.lang.Long;\n if (r7 == 0) goto L_0x00f2;\n L_0x00e7:\n r6 = (java.lang.Long) r6;\n r6 = r6.longValue();\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x00f2:\n r7 = r6 instanceof java.lang.Short;\n if (r7 == 0) goto L_0x0101;\n L_0x00f6:\n r6 = (java.lang.Short) r6;\n r6 = r6.shortValue();\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x0101:\n r6 = (java.lang.Number) r6;\n r6 = r6.intValue();\n goto L_0x00d3;\n L_0x0108:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof com.p111d.p112a.p114b.C1382p;\n if (r7 == 0) goto L_0x0117;\n L_0x0110:\n r6 = (com.p111d.p112a.p114b.C1382p) r6;\n r9.writeString(r6);\n goto L_0x0012;\n L_0x0117:\n r6 = (java.lang.String) r6;\n r9.writeString(r6);\n goto L_0x0012;\n L_0x011e:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof com.p111d.p112a.p114b.C1382p;\n if (r7 == 0) goto L_0x012d;\n L_0x0126:\n r6 = (com.p111d.p112a.p114b.C1382p) r6;\n r9.writeFieldName(r6);\n goto L_0x0012;\n L_0x012d:\n r6 = (java.lang.String) r6;\n r9.writeFieldName(r6);\n goto L_0x0012;\n L_0x0134:\n r9.writeEndArray();\n goto L_0x0012;\n L_0x0139:\n r9.writeStartArray();\n goto L_0x0012;\n L_0x013e:\n r9.writeEndObject();\n goto L_0x0012;\n L_0x0143:\n r9.writeStartObject();\n goto L_0x0012;\n L_0x0148:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.d.a.c.m.u.a(com.d.a.b.g):void\");\n }", "private void c() {\n /*\n r14 = this;\n r12 = android.os.SystemClock.elapsedRealtime();\n r8 = r14.d();\n r0 = r14.t;\n if (r0 == 0) goto L_0x007a;\n L_0x000c:\n r0 = 1;\n r7 = r0;\n L_0x000e:\n r0 = r14.r;\n r0 = r0.a();\n if (r0 != 0) goto L_0x0018;\n L_0x0016:\n if (r7 == 0) goto L_0x007d;\n L_0x0018:\n r0 = 1;\n r10 = r0;\n L_0x001a:\n if (r10 != 0) goto L_0x0095;\n L_0x001c:\n r0 = r14.d;\n r0 = r0.b;\n if (r0 != 0) goto L_0x0028;\n L_0x0022:\n r0 = -1;\n r0 = (r8 > r0 ? 1 : (r8 == r0 ? 0 : -1));\n if (r0 != 0) goto L_0x0032;\n L_0x0028:\n r0 = r14.p;\n r0 = r12 - r0;\n r2 = 2000; // 0x7d0 float:2.803E-42 double:9.88E-321;\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 <= 0) goto L_0x0095;\n L_0x0032:\n r14.p = r12;\n r0 = r14.d;\n r1 = r14.f;\n r1 = r1.size();\n r0.a = r1;\n r0 = r14.c;\n r1 = r14.f;\n r2 = r14.o;\n r4 = r14.m;\n r6 = r14.d;\n r0.getChunkOperation(r1, r2, r4, r6);\n r0 = r14.d;\n r0 = r0.a;\n r0 = r14.a(r0);\n r1 = r14.d;\n r1 = r1.b;\n if (r1 != 0) goto L_0x0080;\n L_0x0059:\n r4 = -1;\n L_0x005b:\n r0 = r14.b;\n r2 = r14.m;\n r1 = r14;\n r6 = r10;\n r0 = r0.update(r1, r2, r4, r6);\n if (r7 == 0) goto L_0x0087;\n L_0x0067:\n r0 = r14.v;\n r0 = r12 - r0;\n r2 = r14.u;\n r2 = (long) r2;\n r2 = r14.c(r2);\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 < 0) goto L_0x0079;\n L_0x0076:\n r14.e();\n L_0x0079:\n return;\n L_0x007a:\n r0 = 0;\n r7 = r0;\n goto L_0x000e;\n L_0x007d:\n r0 = 0;\n r10 = r0;\n goto L_0x001a;\n L_0x0080:\n if (r0 == 0) goto L_0x0095;\n L_0x0082:\n r4 = r14.d();\n goto L_0x005b;\n L_0x0087:\n r1 = r14.r;\n r1 = r1.a();\n if (r1 != 0) goto L_0x0079;\n L_0x008f:\n if (r0 == 0) goto L_0x0079;\n L_0x0091:\n r14.f();\n goto L_0x0079;\n L_0x0095:\n r4 = r8;\n goto L_0x005b;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.exoplayer.chunk.ChunkSampleSource.c():void\");\n }", "public final void b() {\n /*\n r9 = this;\n r0 = 0\n java.lang.Object[] r1 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r3 = f53268a\n java.lang.Class[] r6 = new java.lang.Class[r0]\n java.lang.Class r7 = java.lang.Void.TYPE\n r4 = 0\n r5 = 55519(0xd8df, float:7.7799E-41)\n r2 = r9\n boolean r1 = com.meituan.robust.PatchProxy.isSupport(r1, r2, r3, r4, r5, r6, r7)\n if (r1 == 0) goto L_0x0025\n java.lang.Object[] r2 = new java.lang.Object[r0]\n com.meituan.robust.ChangeQuickRedirect r4 = f53268a\n r5 = 0\n r6 = 55519(0xd8df, float:7.7799E-41)\n java.lang.Class[] r7 = new java.lang.Class[r0]\n java.lang.Class r8 = java.lang.Void.TYPE\n r3 = r9\n com.meituan.robust.PatchProxy.accessDispatch(r2, r3, r4, r5, r6, r7, r8)\n return\n L_0x0025:\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r0 = com.ss.android.ugc.aweme.live.alphaplayer.e.g\n monitor-enter(r0)\n r1 = 1\n r9.h = r1 // Catch:{ all -> 0x0044 }\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r1 = com.ss.android.ugc.aweme.live.alphaplayer.e.g // Catch:{ all -> 0x0044 }\n r1.notifyAll() // Catch:{ all -> 0x0044 }\n L_0x0030:\n boolean r1 = r9.f53269b // Catch:{ all -> 0x0044 }\n if (r1 != 0) goto L_0x0042\n com.ss.android.ugc.aweme.live.alphaplayer.e$j r1 = com.ss.android.ugc.aweme.live.alphaplayer.e.g // Catch:{ InterruptedException -> 0x003a }\n r1.wait() // Catch:{ InterruptedException -> 0x003a }\n goto L_0x0030\n L_0x003a:\n java.lang.Thread r1 = java.lang.Thread.currentThread() // Catch:{ all -> 0x0044 }\n r1.interrupt() // Catch:{ all -> 0x0044 }\n goto L_0x0030\n L_0x0042:\n monitor-exit(r0) // Catch:{ all -> 0x0044 }\n return\n L_0x0044:\n r1 = move-exception\n monitor-exit(r0) // Catch:{ all -> 0x0044 }\n throw r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.ss.android.ugc.aweme.live.alphaplayer.e.i.b():void\");\n }", "public abstract void mo70713b();", "public final void mo91715d() {\n }", "private void m14210a(java.io.IOException r4, java.io.IOException r5) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r3 = this;\n r0 = f12370a;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = f12370a;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1 = 1;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1 = new java.lang.Object[r1];\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r2 = 0;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1[r2] = r5;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r0.invoke(r4, r1);\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.internal.connection.RouteException.a(java.io.IOException, java.io.IOException):void\");\n }", "private p000a.p001a.p002a.p003a.C0916s m1655b(p000a.p001a.p002a.p003a.p022i.p024b.C0112x r7, p000a.p001a.p002a.p003a.p034n.C0157e r8) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/293907205.run(Unknown Source)\n*/\n /*\n r6 = this;\n r0 = r7.m321a();\n r7 = r7.m322b();\n r1 = 0;\n r2 = r1;\n L_0x000a:\n r3 = r6.f1533u;\n r3 = r3 + 1;\n r6.f1533u = r3;\n r0.m2803e();\n r3 = r0.mo2010a();\n if (r3 != 0) goto L_0x0032;\n L_0x0019:\n r7 = r6.f1513a;\n r8 = \"Cannot retry non-repeatable request\";\n r7.m260a(r8);\n if (r2 == 0) goto L_0x002a;\n L_0x0022:\n r7 = new a.a.a.a.b.m;\n r8 = \"Cannot retry request with a non-repeatable request entity. The cause lists the reason the original request failed.\";\n r7.<init>(r8, r2);\n throw r7;\n L_0x002a:\n r7 = new a.a.a.a.b.m;\n r8 = \"Cannot retry request with a non-repeatable request entity.\";\n r7.<init>(r8);\n throw r7;\n L_0x0032:\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.mo1932c();\t Catch:{ IOException -> 0x0086 }\n if (r2 != 0) goto L_0x0057;\t Catch:{ IOException -> 0x0086 }\n L_0x003a:\n r2 = r7.mo15e();\t Catch:{ IOException -> 0x0086 }\n if (r2 != 0) goto L_0x004f;\t Catch:{ IOException -> 0x0086 }\n L_0x0040:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = \"Reopening the direct connection.\";\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r3 = r6.f1528p;\t Catch:{ IOException -> 0x0086 }\n r2.mo2023a(r7, r8, r3);\t Catch:{ IOException -> 0x0086 }\n goto L_0x0057;\t Catch:{ IOException -> 0x0086 }\n L_0x004f:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = \"Proxied connection. Need to start over.\";\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n goto L_0x0085;\t Catch:{ IOException -> 0x0086 }\n L_0x0057:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.m262a();\t Catch:{ IOException -> 0x0086 }\n if (r2 == 0) goto L_0x007c;\t Catch:{ IOException -> 0x0086 }\n L_0x005f:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = new java.lang.StringBuilder;\t Catch:{ IOException -> 0x0086 }\n r3.<init>();\t Catch:{ IOException -> 0x0086 }\n r4 = \"Attempt \";\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r4 = r6.f1533u;\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r4 = \" to execute request\";\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r3 = r3.toString();\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n L_0x007c:\n r2 = r6.f1518f;\t Catch:{ IOException -> 0x0086 }\n r3 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.m464a(r0, r3, r8);\t Catch:{ IOException -> 0x0086 }\n r1 = r2;\n L_0x0085:\n return r1;\n L_0x0086:\n r2 = move-exception;\n r3 = r6.f1513a;\n r4 = \"Closing the connection.\";\n r3.m260a(r4);\n r3 = r6.f1529q;\t Catch:{ IOException -> 0x0093 }\n r3.close();\t Catch:{ IOException -> 0x0093 }\n L_0x0093:\n r3 = r6.f1520h;\n r4 = r0.m2802d();\n r3 = r3.retryRequest(r2, r4, r8);\n if (r3 == 0) goto L_0x010a;\n L_0x009f:\n r3 = r6.f1513a;\n r3 = r3.m270d();\n if (r3 == 0) goto L_0x00d9;\n L_0x00a7:\n r3 = r6.f1513a;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r5 = \"I/O exception (\";\n r4.append(r5);\n r5 = r2.getClass();\n r5 = r5.getName();\n r4.append(r5);\n r5 = \") caught when processing request to \";\n r4.append(r5);\n r4.append(r7);\n r5 = \": \";\n r4.append(r5);\n r5 = r2.getMessage();\n r4.append(r5);\n r4 = r4.toString();\n r3.m269d(r4);\n L_0x00d9:\n r3 = r6.f1513a;\n r3 = r3.m262a();\n if (r3 == 0) goto L_0x00ea;\n L_0x00e1:\n r3 = r6.f1513a;\n r4 = r2.getMessage();\n r3.m261a(r4, r2);\n L_0x00ea:\n r3 = r6.f1513a;\n r3 = r3.m270d();\n if (r3 == 0) goto L_0x000a;\n L_0x00f2:\n r3 = r6.f1513a;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r5 = \"Retrying request to \";\n r4.append(r5);\n r4.append(r7);\n r4 = r4.toString();\n r3.m269d(r4);\n goto L_0x000a;\n L_0x010a:\n r8 = r2 instanceof p000a.p001a.p002a.p003a.C0176z;\n if (r8 == 0) goto L_0x0134;\n L_0x010e:\n r8 = new a.a.a.a.z;\n r0 = new java.lang.StringBuilder;\n r0.<init>();\n r7 = r7.mo10a();\n r7 = r7.m474e();\n r0.append(r7);\n r7 = \" failed to respond\";\n r0.append(r7);\n r7 = r0.toString();\n r8.<init>(r7);\n r7 = r2.getStackTrace();\n r8.setStackTrace(r7);\n throw r8;\n L_0x0134:\n throw r2;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: a.a.a.a.i.b.p.b(a.a.a.a.i.b.x, a.a.a.a.n.e):a.a.a.a.s\");\n }", "zzand mo29852bb() throws RemoteException;", "C4932q5 mo19394a(byte[] bArr) throws zzfn;", "public abstract void mo6549b();", "private final void m710e() {\n /*\n r12 = this;\n akn r0 = r12.f531p\n akl r0 = r0.f601d\n if (r0 == 0) goto L_0x0155\n boolean r1 = r0.f580d\n r2 = -9223372036854775807(0x8000000000000001, double:-4.9E-324)\n if (r1 == 0) goto L_0x0017\n aws r1 = r0.f577a\n long r4 = r1.mo1486c()\n r8 = r4\n goto L_0x0019\n L_0x0017:\n r8 = r2\n L_0x0019:\n int r1 = (r8 > r2 ? 1 : (r8 == r2 ? 0 : -1))\n if (r1 != 0) goto L_0x0122\n ajf r1 = r12.f528m\n akn r2 = r12.f531p\n akl r2 = r2.f602e\n akx r3 = r1.f445c\n r4 = 0\n if (r3 == 0) goto L_0x008a\n boolean r3 = r3.mo486w()\n if (r3 != 0) goto L_0x008a\n akx r3 = r1.f445c\n boolean r3 = r3.mo485v()\n if (r3 == 0) goto L_0x0037\n goto L_0x0042\n L_0x0037:\n if (r0 != r2) goto L_0x008a\n akx r2 = r1.f445c\n boolean r2 = r2.mo359g()\n if (r2 == 0) goto L_0x0042\n goto L_0x008a\n L_0x0042:\n bkr r2 = r1.f446d\n long r2 = r2.mo379b()\n boolean r5 = r1.f447e\n if (r5 == 0) goto L_0x0068\n blf r5 = r1.f443a\n long r5 = r5.mo379b()\n int r7 = (r2 > r5 ? 1 : (r2 == r5 ? 0 : -1))\n if (r7 >= 0) goto L_0x005c\n blf r2 = r1.f443a\n r2.mo2109d()\n goto L_0x0096\n L_0x005c:\n r1.f447e = r4\n boolean r5 = r1.f448f\n if (r5 == 0) goto L_0x0068\n blf r5 = r1.f443a\n r5.mo2107a()\n L_0x0068:\n blf r5 = r1.f443a\n r5.mo2108a(r2)\n bkr r2 = r1.f446d\n akq r2 = r2.mo376Q()\n blf r3 = r1.f443a\n akq r3 = r3.f4280a\n boolean r3 = r2.equals(r3)\n if (r3 != 0) goto L_0x0096\n blf r3 = r1.f443a\n r3.mo378a(r2)\n aje r3 = r1.f444b\n ake r3 = (p000.ake) r3\n r3.m694a(r2, r4)\n goto L_0x0096\n L_0x008a:\n r2 = 1\n r1.f447e = r2\n boolean r2 = r1.f448f\n if (r2 == 0) goto L_0x0096\n blf r2 = r1.f443a\n r2.mo2107a()\n L_0x0096:\n long r1 = r1.mo379b()\n r12.f513D = r1\n long r0 = r0.mo440b(r1)\n akp r2 = r12.f533r\n long r2 = r2.f623m\n java.util.ArrayList r5 = r12.f530o\n boolean r5 = r5.isEmpty()\n if (r5 != 0) goto L_0x011d\n akp r5 = r12.f533r\n awt r5 = r5.f612b\n boolean r5 = r5.mo1504a()\n if (r5 != 0) goto L_0x011d\n akp r5 = r12.f533r\n long r6 = r5.f613c\n int r8 = (r6 > r2 ? 1 : (r6 == r2 ? 0 : -1))\n if (r8 != 0) goto L_0x00c5\n boolean r6 = r12.f515F\n if (r6 == 0) goto L_0x00c5\n r6 = -1\n long r2 = r2 + r6\n L_0x00c5:\n r12.f515F = r4\n alh r4 = r5.f611a\n awt r5 = r5.f612b\n java.lang.Object r5 = r5.f2566a\n int r4 = r4.mo525a(r5)\n int r5 = r12.f514E\n r6 = 0\n if (r5 <= 0) goto L_0x00e1\n java.util.ArrayList r7 = r12.f530o\n int r5 = r5 + -1\n java.lang.Object r5 = r7.get(r5)\n akb r5 = (p000.akb) r5\n goto L_0x00e3\n L_0x00e1:\n L_0x00e2:\n r5 = r6\n L_0x00e3:\n if (r5 != 0) goto L_0x00e6\n goto L_0x0109\n L_0x00e6:\n int r5 = r5.f502a\n if (r4 >= 0) goto L_0x00eb\n L_0x00ea:\n goto L_0x00f4\n L_0x00eb:\n if (r4 != 0) goto L_0x0109\n r7 = 0\n int r5 = (r2 > r7 ? 1 : (r2 == r7 ? 0 : -1))\n if (r5 >= 0) goto L_0x0109\n goto L_0x00ea\n L_0x00f4:\n int r5 = r12.f514E\n int r5 = r5 + -1\n r12.f514E = r5\n if (r5 <= 0) goto L_0x0108\n java.util.ArrayList r7 = r12.f530o\n int r5 = r5 + -1\n java.lang.Object r5 = r7.get(r5)\n akb r5 = (p000.akb) r5\n goto L_0x00e3\n L_0x0108:\n goto L_0x00e2\n L_0x0109:\n int r2 = r12.f514E\n java.util.ArrayList r3 = r12.f530o\n int r3 = r3.size()\n if (r2 >= r3) goto L_0x011d\n java.util.ArrayList r2 = r12.f530o\n int r3 = r12.f514E\n java.lang.Object r2 = r2.get(r3)\n akb r2 = (p000.akb) r2\n L_0x011d:\n akp r2 = r12.f533r\n r2.f623m = r0\n goto L_0x0140\n L_0x0122:\n r12.m691a(r8)\n akp r0 = r12.f533r\n long r0 = r0.f623m\n int r2 = (r8 > r0 ? 1 : (r8 == r0 ? 0 : -1))\n if (r2 == 0) goto L_0x0140\n akp r0 = r12.f533r\n awt r7 = r0.f612b\n long r10 = r0.f614d\n r6 = r12\n akp r0 = r6.m686a(r7, r8, r10)\n r12.f533r = r0\n akc r0 = r12.f529n\n r1 = 4\n r0.mo409b(r1)\n L_0x0140:\n akn r0 = r12.f531p\n akl r0 = r0.f603f\n akp r1 = r12.f533r\n long r2 = r0.mo442c()\n r1.f621k = r2\n akp r0 = r12.f533r\n long r1 = r12.m719n()\n r0.f622l = r1\n return\n L_0x0155:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p000.ake.m710e():void\");\n }", "C0832f m5767a() throws C0841b, WDException;", "@Test(timeout = 4000)\n public void test05() throws Throwable {\n DefaultNucleotideCodec defaultNucleotideCodec0 = DefaultNucleotideCodec.INSTANCE;\n byte[] byteArray0 = new byte[5];\n byteArray0[0] = (byte)89;\n byteArray0[1] = (byte)71;\n byte byte0 = (byte)0;\n byteArray0[2] = (byte)0;\n int int0 = (-3383);\n // Undeclared exception!\n try { \n defaultNucleotideCodec0.getUngappedOffsetFor(byteArray0, (-3383));\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }" ]
[ "0.6692487", "0.63336617", "0.6324907", "0.6304088", "0.62710774", "0.6250429", "0.6248566", "0.62453145", "0.6198705", "0.6196631", "0.617466", "0.61215025", "0.61184895", "0.6116474", "0.6115875", "0.6096451", "0.60881037", "0.60824215", "0.6068702", "0.6058612", "0.6058242", "0.6058151", "0.60317886", "0.60293525", "0.6028702", "0.60135853", "0.5996032", "0.59944713", "0.5989635", "0.59844893", "0.59786767", "0.59711844", "0.5965791", "0.59580237", "0.5956227", "0.59548324", "0.5951418", "0.59443563", "0.59361184", "0.593082", "0.59277797", "0.5922793", "0.5902617", "0.5894243", "0.58929896", "0.58865875", "0.5872992", "0.58418226", "0.58347005", "0.58308595", "0.58262515", "0.5821283", "0.5816979", "0.5809999", "0.58032036", "0.5798788", "0.5786391", "0.57793564", "0.5778272", "0.57780844", "0.57752407", "0.5773884", "0.5773656", "0.5771016", "0.57626474", "0.57622504", "0.5758946", "0.5758338", "0.5755972", "0.5750659", "0.5748588", "0.574467", "0.57423747", "0.57380825", "0.57380277", "0.57358384", "0.57353175", "0.57314235", "0.5725027", "0.572219", "0.57215863", "0.5719301", "0.5707671", "0.5704688", "0.57039446", "0.56987745", "0.5690903", "0.5688954", "0.5688533", "0.5685801", "0.56819785", "0.56736374", "0.5669772", "0.56695455", "0.56673014", "0.56671154", "0.56614983", "0.5654821", "0.56546295", "0.56532186", "0.5652807" ]
0.0
-1
/ Access modifiers changed, original: protected
public void setCameraState(int state) { switch (state) { case 1: this.mAppController.getLockEventListener().onIdle(); break; case 2: this.mAppController.getLockEventListener().onShutter(); break; } this.mCameraState = state; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean shouldHoldRecorderForSecond() { return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "private abstract void privateabstract();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "protected void method_3848() {\r\n super.method_3848();\r\n }", "@Override\n public void memoria() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private TMCourse() {\n\t}", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "abstract int pregnancy();", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "public abstract void mo42331g();", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo102899a();" ]
[ "0.73629737", "0.698275", "0.6893718", "0.67984074", "0.6731795", "0.6725871", "0.6703971", "0.6552133", "0.6525146", "0.6523726", "0.64779514", "0.64592475", "0.64412045", "0.64338404", "0.64115113", "0.64100546", "0.6405308", "0.6404923", "0.6404923", "0.64024466", "0.63932085", "0.6390889", "0.6386778", "0.63841987", "0.638282", "0.63794196", "0.63794196", "0.6328407", "0.6313807", "0.6292603", "0.6290541", "0.62812257", "0.62488496", "0.62488496", "0.6247837", "0.6216246", "0.62158704", "0.6204517", "0.6194201", "0.6185745", "0.6175866", "0.6147165", "0.61243314", "0.61190856", "0.61065257", "0.61060417", "0.60974884", "0.6085475", "0.6084266", "0.6081045", "0.6076486", "0.6069762", "0.6062573", "0.6059388", "0.6033081", "0.60313636", "0.6022232", "0.6021943", "0.6020643", "0.60182416", "0.6016128", "0.6012776", "0.6012776", "0.60081047", "0.60081047", "0.6005714", "0.60054314", "0.6002981", "0.5991115", "0.5990917", "0.59850454", "0.59823835", "0.5981064", "0.59688264", "0.5961836", "0.59494895", "0.59487563", "0.5946457", "0.59363616", "0.592992", "0.5926872", "0.59264714", "0.59213376", "0.5917447", "0.59124196", "0.5909579", "0.5908399", "0.59030217", "0.590017", "0.58924705", "0.5889083", "0.58887863", "0.5887926", "0.58874685", "0.5887398", "0.58869267", "0.58837885", "0.58836144", "0.5876662", "0.5876164", "0.58760124" ]
0.0
-1
/ Access modifiers changed, original: protected
public boolean isSendMsgEnableShutterButton() { return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
/ Access modifiers changed, original: protected
public void setTimeLapsed(boolean isTL) { this.isTL = isTL; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n protected void prot() {\n }", "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public abstract Object mo26777y();", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "protected abstract Set method_1559();", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "private abstract void privateabstract();", "private PropertyAccess() {\n\t\tsuper();\n\t}", "protected void h() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public abstract void mo27386d();", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\n\tpublic void nadar() {\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}", "public abstract void mo70713b();", "@Override\n\tprotected void getExras() {\n\n\t}", "protected Doodler() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public abstract void mo56925d();", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public abstract void mo27385c();", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n public void memoria() {\n \n }", "protected void method_3848() {\r\n super.method_3848();\r\n }", "public final void mo51373a() {\n }", "@Override\n protected void init() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "public abstract void mo30696a();", "@Override\n public void get() {}", "public void method_4270() {}", "private Infer() {\n\n }", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "@Override\n\tpublic void leti() \n\t{\n\t}", "@Override\n\tpublic void modify() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private void m50366E() {\n }", "private Get() {}", "private Get() {}", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public abstract String mo41079d();", "public abstract void m15813a();", "public abstract Object mo1771a();", "public abstract void mo27464a();", "public void gored() {\n\t\t\n\t}", "public abstract void mo35054b();", "public abstract String mo118046b();", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public abstract void mo42329d();", "public void method_6349() {\r\n super.method_6349();\r\n }", "public abstract String mo13682d();", "private TMCourse() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n public void init() {\n\n }", "protected FanisamBato(){\n\t}", "public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }", "@Override\n void init() {\n }", "@Override\r\n\tpublic void member() {\n\t\t\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public abstract Object mo1185b();", "protected Problem() {/* intentionally empty block */}", "public void mo21779D() {\n }", "@Override\n public void init() {\n }", "public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }", "abstract int pregnancy();", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "public abstract void mo42331g();", "@Override\n\tpublic void nghe() {\n\n\t}" ]
[ "0.73623323", "0.69830847", "0.68941706", "0.6798817", "0.67315143", "0.67264825", "0.67049384", "0.6551554", "0.65256643", "0.65247214", "0.64783233", "0.6459452", "0.644003", "0.6434508", "0.641292", "0.64095944", "0.64055127", "0.64055127", "0.6402614", "0.64020926", "0.6393029", "0.63912094", "0.63859856", "0.6384489", "0.6383653", "0.6380349", "0.6380349", "0.63279754", "0.6313872", "0.6292485", "0.6291318", "0.62806165", "0.62501454", "0.62501454", "0.62484556", "0.62161934", "0.6215408", "0.62054044", "0.6194926", "0.61860305", "0.6176722", "0.6148199", "0.61227506", "0.61191195", "0.6106887", "0.6105869", "0.60996646", "0.60863525", "0.6085324", "0.60816956", "0.60758764", "0.6070361", "0.60618234", "0.6060162", "0.6033592", "0.60312134", "0.60226506", "0.6021987", "0.6021259", "0.601888", "0.60173005", "0.60126936", "0.60126936", "0.6007756", "0.6007756", "0.6006481", "0.60035807", "0.6002446", "0.59910554", "0.59904367", "0.5986164", "0.59818316", "0.5979646", "0.5968579", "0.5962536", "0.59501475", "0.5950128", "0.59459466", "0.5935737", "0.5928706", "0.5926807", "0.59261245", "0.59209156", "0.5917089", "0.591341", "0.59093", "0.5907795", "0.59040606", "0.5900644", "0.5891739", "0.5888383", "0.58880633", "0.5888005", "0.58879685", "0.5887258", "0.5887091", "0.5885097", "0.58847475", "0.58776057", "0.5876178", "0.5876079" ]
0.0
-1
TODO Autogenerated method stub
@Override public void updateUser(User curpwd) { userRepository.save(curpwd); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public User findDuplicateByEmail(String email) { User dbUser = userRepository.findByEmail(email); if (dbUser != null) { throw new RuntimeException("User Already Registered."); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
crea la pparticion del cache estatico
public void EstaticCache(){ LinkedHashMap<String, String> ParticionAux = new LinkedHashMap <String,String>(); Cache.add(ParticionAux); for (int i = 0; i < Estatico.length; i++) { Cache.get(0).put(Estatico[i], ResEstatico[i]); // System.out.println("===== Particion de Cache N°"+ParticionAux.values()+" ====="); } //this.Cache.add(ParticionAux); // carga el hashMap en una particion del cache //System.out.println("===== Particion de Cache AQUIAQUI"+Cache.get(0).values()+" ====="); // ParticionAux.clear(); // limpia el Hashmap aux }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private CacheWrapper<AccessPointIdentifier, Integer> createCache() {\n return new CacheWrapper<AccessPointIdentifier, Integer>() {\n \n @Override\n public void put(AccessPointIdentifier key, Integer value) {\n cache.put(key, value);\n }\n \n @Override\n public Integer get(AccessPointIdentifier key) {\n if (cache.containsKey(key)) {\n hitRate++;\n }\n return cache.get(key);\n }\n \n \n };\n }", "private void createImageCache(){\n ImageCacheManager.getInstance().init(this,\n this.getPackageCodePath()\n , DISK_IMAGECACHE_SIZE\n , DISK_IMAGECACHE_COMPRESS_FORMAT\n , DISK_IMAGECACHE_QUALITY\n , ImageCacheManager.CacheType.MEMORY);\n }", "public void loadCache() {\r\n\t\tint rango = getEmpleadoActual().getRango();\r\n\t\tArrayList<String> idsDptos = getEmpleadoActual().getDepartamentosId();\r\n\t\t\r\n\t\t// Para todos los departamentos a los que pertenezca el empleado\r\n\t\tfor (int nd=0; nd<idsDptos.size(); nd++){\r\n\t\t\tString dep = idsDptos.get(nd);\r\n\t\t\tint numvendedor = getEmpleadoActual().getEmplId();\r\n\r\n\t\t\tif (!alive) return;\r\n\t\t\tsetProgreso(\"Cargando contratos dpto \"+dep, 50);\r\n\t\t\tcontratos = controlador.getListaContratosDpto(dep);\r\n\t\t\tsetProgreso(\"Cargando contratos dpto \"+dep, 100);\r\n\r\n\t\t\tif (!alive) return;\r\n\t\t\tsetProgreso(\"Cargando empleados dpto \"+dep, 25);\r\n\t\t\templeados = controlador.getEmpleadosDepartamento(getEmpleadoActual().getEmplId(),dep);\r\n\t\t\tsetProgreso(\"Cargando empleados dpto \"+dep, 100);\r\n\t\t\t\r\n\t\t\t//Prueba ordenación empleados\r\n//\t\t\tfor (int i = 0; i < empleados.size(); i++) {\r\n//\t\t\t\tSystem.out.println(empleados.get(i).getPosicion());\r\n//\t\t\t}\r\n\t\t\tordenaEmpleados();\r\n//\t\t\tfor (int i = 0; i < empleados.size(); i++) {\r\n//\t\t\t\tSystem.out.println(empleados.get(i).getPosicion());\r\n//\t\t\t}\r\n\t\t\t//Fin PRueba\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif (!alive) return;\r\n\t\t\tif (rango == 1) { // Si es un empleado, coger turnos de su departamento\r\n\t\t\t\tsetProgreso(\"Cargando turnos dpto \"+dep, 70);\r\n\t\t\t\tturnos = controlador.getListaTurnosEmpleadosDpto(dep);\r\n\t\t\t\tsetProgreso(\"Cargando turnos dpto \"+dep, 100);\r\n\t\t\t} else if (rango == 2) { // Si es un jefe, coger turnos de todos los departamentos\r\n\t\t\t\tArrayList<String> temp = new ArrayList<String>();\r\n\t\t\t\ttemp = controlador.getDepartamentosJefe(numvendedor);\r\n\t\t\t\tfor (int i=0; i<temp.size(); i++)\r\n\t\t\t\t\tdepartamentosJefe.add(controlador.getDepartamento(temp.get(i)));\r\n\t\t\t\t//TODO borrar si al final no se usa\r\n\t//\t\t\tsetProgreso(\"Cargando jefes de departamento\", 60);\r\n\t//\t\t\tnumeroJefesDepartamento = controlador.getNumVendedorTodosJefes();\r\n\t//\t\t\tnombreJefesDepartamento = controlador.getNombreTodosJefes();\r\n\t\t\t\tsetProgreso(\"Cargando turnos dpto \"+dep, 70);\r\n\t\t\t\tArrayList<Turno> turnosDep = new ArrayList<Turno>();\r\n\t\t\t\tfor (int i=0; i<departamentosJefe.size(); i++) {\r\n\t\t\t\t\tturnosDep = controlador.getListaTurnosEmpleadosDpto(departamentosJefe.get(i).getNombreDepartamento());\r\n\t\t\t\t\tfor (int j=0; j<turnosDep.size(); j++) {\r\n\t\t\t\t\t\tturnos.add(turnosDep.get(j));\r\n\t\t\t\t\t}\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\tsetProgreso(\"Cargando turnos dpto \"+dep, 100);\r\n\t\t\t\t\r\n\t\t\t} else {\r\n\t\t\t\tSystem.err.println(\"Vista\\t:: Tipo de empleado inválido para cargar la cache.\");\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(rango==1){//si es un empleado guardamos las ventas que éste ha hecho en un año\r\n\t\t\tjava.util.Date fecha = new java.util.Date();//cogemos la fecha del sistema\r\n\t\t\tvector_ventas=controlador.getVentas(this.getEmpleadoActual().getEmplId(),fecha.getYear()+1900);\r\n\t\t}else if(rango==2){//si es un jefe almacenamos la suma de las ventas de todos los empleados de este departamento durante un año\r\n\t\t\tjava.util.Date fecha = new java.util.Date();//cogemos la fecha del sistema\r\n\t\t\tvector_ventas=controlador.getVentasJefe(this.empleados,fecha.getYear()+1900);\r\n\t\t}\r\n\t\tSystem.out.println(\"Cache cargada\");\r\n\t}", "public void cache(){\n\t\t\n\t\t/*\n\t\t * second, check if there is a cache file\n\t\t * if yes, then check date\n\t\t * if no, then create a cache file \n\t\t*/\n\t\tif(cacheExist()){\n\t\t\t//check date and decide which file to update\n\t\t\tSystem.out.println(\" hahahaha, cache already there! \");\n\t\t\t\n\t\t\tFile cache = new File(\"./cache.txt\");\n\t\t\tsource = readFile(\"./cache.txt\",source);\n\t\t\tSystem.out.println(\"the size of source hashmap : \"+ source.size());\n\t\t\t\n\t\t\tfor(int i = 1; i < fileList.length;i++){\n\t\t\t\t//if this file need to be updated, write the data to source array\n\t\t\t\tif(needToUpdate(fileList[i], cache)){\n\t\t\t\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"MM/dd/yyyy HH:mm:ss\");\n\t\t\t\t\tSystem.out.println(\"S: \"+ sdf.format(fileList[i].lastModified()) + \" c: \"+ sdf.format(cache.lastModified()));\n\t\t\t\t\tsource = readFile(fileList[i].getPath(), source);\n\t\t\t\t}\n\t\t\t}\n\t\t\t//after checking the whole source file and add the new data to source array\n\t\t\t//then sort the source array and write it to cache\n\t\t\tsort(source);\n\t\t\ttry\n\t\t\t{\n\t\t\t String filename= \"./cache.txt\";\n\t\t\t FileWriter fw = new FileWriter(filename,true); //the true will append the new data\n\t\t\t for(int j = 0; j < writeList.size(); j++){\n\t\t\t\t\tfw.write(writeList.get(j));\n\t\t\t\t}\n\t\t\t fw.close();\n\t\t\t}\n\t\t\tcatch(IOException ioe)\n\t\t\t{\n\t\t\t System.err.println(\"IOException: \" + ioe.getMessage());\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\t//there are is no cache, need to create a cache file\n\t\telse{\n\t\t\tSystem.out.println(\" create new cache file !\");\n\t\t\t//create cache file and copy sort the data from source file\n\t\t\t//1. read all the source file and store the data to an arrayList\n\t\t\tfor(int i = 1; i < fileList.length; i++){\n\t\t\t\tsource = readFile(fileList[i].getPath(), source);\t\t\t\n\t\t\t}\n\t\t\tsort(source);\n//\t\t\tSystem.out.println(source);\n\t\t\t\n\t\t\t//2.write the data to the cache file\n\t\t\tPrintWriter writer;\n\t\t\ttry {\n\t\t\t\twriter = new PrintWriter(\"cache.txt\", \"UTF-8\");\t\t\t\n\t\t\t\twriter.println(writeList.size());\n\t\t\t\tfor(int j = 0; j < writeList.size(); j++){\n\t\t\t\t\twriter.println(writeList.get(j));\n\t\t\t\t}\n\t\t\t\twriter.close();\n\t\t\t\t\n\t\t\t} catch (FileNotFoundException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t \n\t\t\n\t}", "void insertFileCacheInfo(String filename){\n Calendar cal = Calendar.getInstance(TimeZone.getTimeZone(\"GMT\"));\n Date curDate = cal.getTime();\n\n DateFormat sdf = new SimpleDateFormat(\"EEE, dd MMM yyyy HH:mm:ss z\");\n sdf.setTimeZone(TimeZone.getTimeZone(\"GMT\"));\n String cacheDate = sdf.format(curDate).toString();\n\n List<FileCache> fcl = fcds.getFileCache(filename);\n if(fcl != null) {\n if(fcl.size() != 0) {\n fcds.updateFileCache(filename, cacheDate);\n }else{\n fcds.createFileCache(filename, cacheDate);\n }\n }\n }", "private static File createReserveDiskCacheDir(Context context) {\n\t\tFile cacheDir = StorageUtils.getCacheDirectory(context, false);\n\t\tFile individualDir = new File(cacheDir, \"lazy-cache\");\n\t\tif (individualDir.exists() || individualDir.mkdir()) {\n\t\t\tcacheDir = individualDir;\n\t\t}\n\t\treturn cacheDir;\n\t}", "public void crearDepartamento(String nombredep, String num, int nvJefe, int horIn, int minIn, int horCi, int minCi) {\r\n\t\t// TODO Auto-generated method stub by carlos Sánchez\r\n\t\t//Agustin deberia devolverme algo q me indique si hay un fallo alcrearlo cual es\r\n\t\t//hazlo como mas facil te sea.Yo no se cuantos distintos puede haber.\r\n\t\r\n\t//para añadir el Dpto en la BBDD no se necesita el Nombre del Jefe\r\n\t//pero si su numero de vendedor (por eso lo he puesto como int) que forma parte de la PK \r\n\t\t\r\n\t\tint n= Integer.parseInt(num);\r\n\t\tString horaapertura=aplicacion.utilidades.Util.horaminutosAString(horIn, minIn);\r\n\t\tString horacierre=aplicacion.utilidades.Util.horaminutosAString(horCi, minCi);\r\n\t\tTime thI= Time.valueOf(horaapertura);\r\n\t\tTime thC=Time.valueOf(horacierre);\r\n\t\tthis.controlador.insertDepartamentoPruebas(nombredep, nvJefe,thI,thC); //tabla DEPARTAMENTO\r\n\t\tthis.controlador.insertNumerosDepartamento(n, nombredep); //tabla NumerosDEPARTAMENTOs\r\n\t\tthis.controlador.insertDepartamentoUsuario(nvJefe, nombredep); //tabla DepartamentoUsuario\r\n\r\n\t\t//insertamos en la cache\r\n\t\t//Departamento d=new Departamento(nombredep,Integer.parseInt(num),getEmpleado(nvJefe),null,null);\r\n\t\t//departamentosJefe.add(d);\r\n\t\t/*ArrayList<Object> aux=new ArrayList<Object>();\r\n\t\taux.add(nombredep);\r\n\t\taux.add(n);\r\n\t\taux.add(nvJefe);\r\n\t\tinsertCache(aux,\"crearDepartamento\");*///no quitar el parseInt\r\n\t}", "protected void createLookupCache()\n/* */ {\n/* 1260 */ this.lookup = new SimpleCache(1, Math.max(getSize() * 2, 64));\n/* */ }", "public static void createCacheServer1() throws Exception {\n ds = (new ClearGlobalDUnitTest()).getSystem(props);\n cache = CacheFactory.create(ds);\n AttributesFactory factory = new AttributesFactory();\n factory.setScope(Scope.GLOBAL);\n RegionAttributes attr = factory.create();\n region = cache.createRegion(REGION_NAME, attr);\n\n }", "protected void createLookupCache() {\n }", "public Cache createCache(int cacacity, String className) \n throws Exception {\n\n // use the context class loader to load class so that any\n // user-defined classes in WEB-INF can also be loaded.\n ClassLoader cl = Thread.currentThread().getContextClassLoader();\n Class cacheClass = cl.loadClass(className);\n\n Cache cacheImpl = (Cache)cacheClass.newInstance();\n cacheImpl.init(maxEntries, cacheProps);\n\n return cacheImpl;\n }", "public UrlCache() throws UrlCacheException {\n\t\tcreateCatalogFileIfNoneExists();\t\t\n\t}", "public Cache createCache() throws Exception {\n return createCache(maxEntries, DEFAULT_CACHE_CLASSNAME);\n }", "public void createCYP1A1Cache() throws IOException {\n String response = vsacService.callVSAC(cyp1A2Config.getVsacTizanidine());\n vsacService.buildCodeList(response, tizanidineCodes);\n\n response = vsacService.callVSAC(cyp1A2Config.getVsacCYP1A2());\n vsacService.buildCodeList(response, cyp1a2Codes);\n\n\n for (String code : cyp1a2Codes) {\n addToCache(code);\n }\n }", "private void creaModuloMem() {\n /* variabili e costanti locali di lavoro */\n ArrayList<Campo> campi = new ArrayList<Campo>();\n ModuloRisultati modulo;\n Campo campo;\n\n try { // prova ad eseguire il codice\n\n campo = CampoFactory.intero(Campi.Ris.codicePiatto.getNome());\n campi.add(campo);\n\n campo = CampoFactory.testo(Campi.Ris.nomePiatto.getNome());\n campo.setVisibileVistaDefault();\n campo.setTitoloColonna(\"piatto\");\n campo.setToolTipLista(\"nome del piatto\");\n campo.decora()\n .etichetta(\"nome del piatto\"); // le etichette servono per il dialogo ricerca\n campo.setLarghezza(250);\n campi.add(campo);\n\n campo = CampoFactory.testo(Campi.Ris.categoria.getNome());\n campo.setVisibileVistaDefault();\n campo.setTitoloColonna(\"categoria\");\n campo.setToolTipLista(\"categoria del piatto\");\n campo.setLarghezza(80);\n campi.add(campo);\n\n campo = CampoFactory.intero(Campi.Ris.quanteVolte.getNome());\n campo.setVisibileVistaDefault();\n campo.setLarghezza(80);\n campo.setTitoloColonna(\"quante volte\");\n campo.setToolTipLista(\n \"quante volte questo piatto è stato offerto nel periodo analizzato\");\n campo.decora().etichetta(\"quante volte\");\n campi.add(campo);\n\n campo = CampoFactory.intero(Campi.Ris.quantiCoperti.getNome());\n campo.setVisibileVistaDefault();\n campo.setTitoloColonna(\"coperti\");\n campo.setToolTipLista(\"numero di coperti che avrebbero potuto ordinare\");\n campo.decora().etichetta(\"n. coperti\");\n campo.setLarghezza(80);\n campi.add(campo);\n\n campo = CampoFactory.intero(Campi.Ris.quanteComande.getNome());\n campo.setVisibileVistaDefault();\n campo.setTitoloColonna(\"comande\");\n campo.setToolTipLista(\"numero di comande effettive\");\n campo.decora().etichetta(\"n. comande\");\n campo.setLarghezza(80);\n campo.setTotalizzabile(true);\n campi.add(campo);\n\n campo = CampoFactory.percentuale(Campi.Ris.gradimento.getNome());\n campo.setVisibileVistaDefault();\n campo.setTitoloColonna(\"gradimento\");\n campo.setToolTipLista(\n \"percentuale di gradimento (è il 100% se tutti i coperti potenziali lo hanno ordinato)\");\n campo.decora().etichetta(\"% gradimento\");\n campo.setLarghezza(80);\n campi.add(campo);\n\n modulo = new ModuloRisultati(campi);\n setModuloRisultati(modulo);\n\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n } // fine del blocco try-catch\n\n }", "public static void initCacheFileByData(Context context) {\n\t\tfinal String imageDir = getAppFilesDirByData(context)+ CACHE_IMG_DIR_PATH;\n\t\tfinal File imageFileDir = new File(imageDir);\n\t\tif (!imageFileDir.exists()) {\n\t\t\timageFileDir.mkdirs();\n\t\t}\n\t}", "static File m61441b(Context context) {\n File file = new File(context.getApplicationContext().getCacheDir(), \"picasso-cache\");\n if (!file.exists()) {\n file.mkdirs();\n }\n return file;\n }", "public void cacheResult(PlanoSaude planoSaude);", "public static void createCacheServer2() throws Exception {\n ds = (new ClearGlobalDUnitTest()).getSystem(props);\n CacheObserverImpl observer = new CacheObserverImpl();\n origObserver = CacheObserverHolder.setInstance(observer);\n LocalRegion.ISSUE_CALLBACKS_TO_CACHE_OBSERVER = true;\n\n cache = CacheFactory.create(ds);\n AttributesFactory factory = new AttributesFactory();\n factory.setScope(Scope.GLOBAL);\n RegionAttributes attr = factory.create();\n region = cache.createRegion(REGION_NAME, attr);\n cache.setLockTimeout(3);\n\n }", "private FactoryCacheValet() {\n\t\tsuper();\n\t}", "public void createOrReadCache() {\n\t\tList<String> cachedDirectoryPaths = new ArrayList<>();\n\t\tFile file = new File(LevelEditor.SAVED_PATH_DATA);\n\t\tif (!file.exists()) {\n\t\t\t// Set the default paths first\n\t\t\tFileControl.lastSavedDirectory = new File(LevelEditor.defaultPath);\n\t\t\tScriptEditor.lastSavedDirectory = FileControl.lastSavedDirectory;\n\n\t\t\tcachedDirectoryPaths.add(FileControl.lastSavedDirectory.getAbsolutePath());\n\n\t\t\ttry (RandomAccessFile raf = new RandomAccessFile(file, \"rw\")) {\n\t\t\t\tthis.storeCachedDirectories(raf, cachedDirectoryPaths);\n\t\t\t}\n\t\t\tcatch (IOException e) {\n\t\t\t\tDebug.exception(e);\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\ttry (RandomAccessFile raf = new RandomAccessFile(file, \"r\")) {\n\t\t\t\tthis.fetchCachedDirectories(raf, cachedDirectoryPaths);\n\t\t\t}\n\t\t\tcatch (IOException e) {\n\t\t\t\tDebug.exception(e);\n\t\t\t}\n\n\t\t\tFileControl.lastSavedDirectory = new File(cachedDirectoryPaths.get(LevelEditor.FileControlIndex));\n\t\t\tScriptEditor.lastSavedDirectory = FileControl.lastSavedDirectory;\n\t\t}\n\t}", "private void addProfileDataToCache(String userId, Document content) {\n\t\t// If caching is disabled , no action\n\t\tif (this.cacheSize == 0) {\n\t\t\treturn;\n\t\t}\n\t\t// Limit the cache size as per options\n\t\t// to check if cache is full , remove if full using LRU algorithm\n\t\t// for now remove first entry in the cache\n\t\tif (cache.size() == this.cacheSize) {\n\t\t\tIterator<String> iterator = cache.keySet().iterator();\n\t\t\tif (iterator.hasNext()) {\n\t\t\t\tString firstEntry = iterator.next();\n\t\t\t\tcache.remove(firstEntry);\n\t\t\t}\n\t\t}\n\t\tcache.put(userId, content);\n\t}", "void createCache(String cacheName, Set<CloudCacheStrategy> strategies);", "private void addProfileDataToCache(String userId, Document content) {\n \t\n \t\tlruCache.put(userId, content);\n \t}", "StoreResponse add(CACHE_ELEMENT e);", "public void run() {\r\n\t\t\tthis.setName(\"Vista.CacheUploaderDaemon\");\r\n\t\t\tint frac = 0;\r\n\t\t\tint prog = 0; // Progreso de la cola\r\n\t\t\twhile (alive) {\r\n\t\t\t\tif (!colaEscritura.isEmpty()) {\r\n\t\t\t\t\tfrac = 100/colaEscritura.size();\r\n\t\t\t\t\tprog = 0;\r\n\t\t\t\t}\r\n\t\t\t\twhile (!colaEscritura.isEmpty()) {\r\n\t\t\t\t\tsetProgreso(\"Actualizando base de datos\", prog);\r\n\t\t\t\t\tprog+=frac;\r\n\t\t\t\t\tElementoCache e = colaEscritura.poll();\r\n\t\t\t\t\tif (e.i==INSERTAR) {\r\n\t\t\t\t\t\tif (e.tipo.equals(\"Empleado\" ))\t\tinsertEmpleadoBD((Empleado) e.o.get(0));\r\n\t\t\t\t\t\telse if (e.tipo.equals(\"Cuadrante\"))\t\tcontrolador.insertCuadrante((Cuadrante) e.o.get(0)); \t\t\t\r\n\t\t\t\t\t\telse if (e.tipo.equals(\"TurnoContrato\"))\tcontrolador.insertTurnoPorContrato((Integer)e.o.get(0), (Integer)e.o.get(1));\r\n\t\t\t\t\t\telse if (e.tipo.equals(\"Sugerencia\"))\t\tcontrolador.insertSugerencia((Sugerencia)e.o.get(0));\r\n//\t\t\t\t\t\telse if (e.tipo.equals(\"Contrato\"))\t\t\tcontrolador.insertContrato((Contrato) e.o.get(0));\r\n\t\t\t\t\t\t/*else if (e.tipo.equals(\"Departamento\"))\t\tcontrolador.insertDepartamento((Departamento)e.o.get(0));\r\n\t\t\t\t\t\telse if (e.tipo.equals(\"CrearDepartamento\")){ \tcontrolador.insertDepartamentoUsuario((Integer)e.o.get(2),e.o.get(0).toString()); //tabla DepartamentoUsuario\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolador.insertNumerosDepartamento((Integer)e.o.get(1),e.o.get(0).toString()); //tabla NumerosDEPARTAMENTOs\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolador.insertDepartamentoPruebas(e.o.get(0).toString(),(Integer)e.o.get(2)); //tabla DEPARTAMENTO\r\n\t\t\t\t\t\t}*/\r\n\t\t\t\t\t\t//TODO quitar esto\r\n\t\t\t\t\t\telse System.err.println(\"Error en cache - Insertar \"+e.tipo+\" no existe\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (e.i==ELIMINAR) {\r\n\t\t\t\t\t\tif (e.tipo.equals(\"Contrato\"))\t\t\tcontrolador.eliminaContrato((Integer) e.o.get(0));\r\n\t\t\t\t\t\telse if (e.tipo.equals(\"Turno\"))\t\t\tcontrolador.eliminaTurno((Integer) e.o.get(0));\r\n\t\t\t\t\t\telse if (e.tipo.equals(\"ContratoConTurnos\"))\tcontrolador.eliminaContratoConTurnos((Integer) e.o.get(0));\r\n\t\t\t\t\t\telse if (e.tipo.equals(\"Empleado\"))\t\t\tcontrolador.eliminaEmpleado((Integer) e.o.get(0));\r\n\t\t\t\t\t\telse if (e.tipo.equals(\"eliminaMesTrabaja\")) {\r\n\t\t\t\t\t\t\tArrayList<Object> ar = (ArrayList<Object>)e.o.get(0);\r\n\t\t\t\t\t\t\tcontrolador.eliminaMesTrabaja((Integer)ar.get(0),(Integer)ar.get(1),(Integer)ar.get(2),ar.get(3).toString());\r\n\t\t\t\t\t\t}else if (e.tipo.equals(\"eliminaTurnoDeContrato\")){\r\n\t\t\t\t\t\t\tArrayList<Object> aux = (ArrayList<Object>)e.o.get(0);\r\n\t\t\t\t\t\t\tcontrolador.eliminaTurnoDeContrato((Integer)aux.get(0),(Integer)aux.get(1));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t//TODO quitar esto\r\n\t\t\t\t\t\telse System.err.println(\"Error en cache - Eliminar \"+e.tipo+\" no existe\");\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if(e.i==MODIFICAR) {\r\n\t\t\t\t\t\tif (e.tipo.equals(\"Contrato\"))\t\t\tcontrolador.modificarContrato(((Contrato)e.o.get(0)).getNumeroContrato(), ((Contrato)e.o.get(0)).getTurnoInicial(), ((Contrato)e.o.get(0)).getNombreContrato(), ((Contrato)e.o.get(0)).getPatron() , ((Contrato)e.o.get(0)).getDuracionCiclo(), ((Contrato)e.o.get(0)).getSalario(), ((Contrato)e.o.get(0)).getTipoContrato());\r\n\t\t\t\t\t\telse if (e.tipo.equals(\"Turno\"))\t\t\tcontrolador.modificarTurno(((Turno)e.o.get(0)).getIdTurno(), ((Turno)e.o.get(0)).getDescripcion(), ((Turno)e.o.get(0)).getHoraEntrada(), ((Turno)e.o.get(0)).getHoraSalida(), ((Turno)e.o.get(0)).getHoraDescanso(), ((Turno)e.o.get(0)).getTDescanso(),((Turno)e.o.get(0)).getColor());\r\n\t\t\t\t\t\telse if (e.tipo.equals(\"Empleado\"))\t\t\tcontrolador.cambiarEmpleado(((Empleado)e.o.get(0)).getEmplId(), ((Empleado)e.o.get(0)).getNombre(), ((Empleado)e.o.get(0)).getApellido1(), ((Empleado)e.o.get(0)).getApellido2(), ((Empleado)e.o.get(0)).getFechaNac(), ((Empleado)e.o.get(0)).getSexo(), ((Empleado)e.o.get(0)).getEmail(), ((Empleado)e.o.get(0)).getPassword(), ((Empleado)e.o.get(0)).getGrupo(), ((Empleado)e.o.get(0)).getFcontrato(), ((Empleado)e.o.get(0)).getFAlta(), ((Empleado)e.o.get(0)).getFelicidad(), ((Empleado)e.o.get(0)).getIdioma(), ((Empleado)e.o.get(0)).getRango(), ((Empleado)e.o.get(0)).getTurnoFavorito(), ((Empleado)e.o.get(0)).getColor(),((Empleado)e.o.get(0)).getContratoId(), ((Empleado)e.o.get(0)).getPosicion());\r\n\t\t\t\t\t\telse if (e.tipo.equals(\"Mensaje\"))\t\t\tcontrolador.marcarMensaje((Mensaje)e.o.get(0));\r\n\t\t\t\t\t\telse if (e.tipo.equals(\"MensajeLeido\"))\t\tcontrolador.setLeido((Mensaje)e.o.get(0));\r\n\t\t\t\t\t\t//else if (e.tipo.equals(\"JefeDepartamento\"))\tcontrolador.modificaDpto(((Departamento)e.o.get(0)).getNombreDepartamento(), ((Departamento)e.o.get(0)).getJefeDepartamento().getEmplId()); \r\n\t\t\t\t\t\telse if (e.tipo.equals(\"NombreDepartamento\")){controlador.cambiaNombreDpto(((ArrayList<String>)e.o.get(0)).get(0),((ArrayList<String>)e.o.get(0)).get(1));}//nombre antiguo,nombre nuevo\r\n//\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolador.cambiaNombreDepartamentoUsuario(e.o.get(0).toString(),e.o.get(1).toString());\r\n//\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontrolador.cambiaNombreNumerosDEPARTAMENTOs(e.o.get(0).toString(),e.o.get(1).toString());\r\n//\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t} \r\n\t\t\t\t\t\telse if (e.tipo.equals(\"Trabaja\"))\t\t\tcontrolador.modificaTrabaja(((Trabaja)e.o.get(0)).getIdEmpl(), ((Trabaja)e.o.get(0)).getIdTurno(), (String)e.o.get(1));\r\n\t\t\t\t\t\t//TODO quitar esto\r\n\t\t\t\t\t\telse System.err.println(\"Error en cache - Modificar \"+e.tipo+\" no existe\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tsetProgreso(\"Actualizando base de datos\", 100);\r\n\t\t\t\ttry {\r\n\t\t\t\t\tsleep(1000);\r\n\t\t\t\t} catch (Exception e) {};\r\n\t\t\t}\r\n\t\t}", "@Override\n public void create() {\n theMap = new ObjectSet<>(2048, 0.5f);\n generate();\n }", "public HotrodCacheFactory() {\n }", "public CacheObject(String pn, Runner runner) throws IOException, BadPathnameException {\n pathname = pn;\n // also sets server_checkin_time\n last_known_edit_time = get_server_edit_time(runner);\n content = new HashMap<>();\n final_block = -1;\n }", "@PostConstruct\n public void initCache() {\n cache = Collections.synchronizedMap(new HashMap<>(cacheCapacity, 1));\n }", "private static void putInPersistentCache(final Asset asset) {\n \n \t\tif (!usePersistentCache) {\n \t\t\treturn;\n \t\t}\n \n \t\tif (!assetIsInPersistentCache(asset)) {\n \n \t\t\tfinal File assetFile = getAssetCacheFile(asset);\n \n \t\t\tnew Thread() {\n \t\t\t\t@Override\n \t\t\t\tpublic void run() {\n \n \t\t\t\t\ttry {\n \t\t\t\t\t\tassetFile.getParentFile().mkdirs();\n \t\t\t\t\t\t// Image\n \t\t\t\t\t\tOutputStream out = new FileOutputStream(assetFile);\n \t\t\t\t\t\tout.write(asset.getImage());\n \t\t\t\t\t\tout.close();\n \n \t\t\t\t\t} catch (IOException ioe) {\n \t\t\t\t\t\tlog.error(\"Could not persist asset while writing image data\", ioe);\n \t\t\t\t\t\treturn;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}.start();\n \n \t\t}\n \t\tif (!assetInfoIsInPersistentCache(asset)) {\n \n \t\t\tFile infoFile = getAssetInfoFile(asset);\n \n \t\t\ttry {\n \t\t\t\t// Info\n \t\t\t\tOutputStream out = new FileOutputStream(infoFile);\n \t\t\t\tProperties props = new Properties();\n \t\t\t\tprops.put(NAME, asset.getName() != null ? asset.getName() : \"\");\n \t\t\t\tprops.store(out, \"Asset Info\");\n \t\t\t\tout.close();\n \n \t\t\t} catch (IOException ioe) {\n \t\t\t\tlog.error(\"Could not persist asset while writing image properties\", ioe);\n \t\t\t\treturn;\n \t\t\t}\n \n \t\t}\n \t}", "@Override\n protected synchronized void generateEntry(File file, boolean prefetch) {\n if (file == null) {\n throw new NullPointerException(\"file == null\");\n }\n ThumbnailCacheIndirection ci = new ThumbnailCacheIndirection(file);\n updateUsageTime(ci);\n fileCache.put(file, ci);\n if (prefetch) {\n workQueue.append(ci);\n } else {\n workQueue.push(ci);\n }\n }", "public void cacheResult(com.alain.puntocoma.model.Catalogo catalogo);", "public static void loadCache() {\n\t\t // it is the temporary replacement to database. We should use DB instead\n\t Circle circle = new Circle();\n\t circle.setId(\"1\");\n\t shapeMap.put(circle.getId(),circle);\n\n\t Square square = new Square();\n\t square.setId(\"2\");\n\t shapeMap.put(square.getId(),square);\n\n\t Rectangle rectangle = new Rectangle();\n\t rectangle.setId(\"3\");\n\t \n\t Circle circle2 = new Circle();\n\t circle2.setId(\"4\");\n\t circle2.setType(\"Big Circle\");\n\t shapeMap.put(circle2.getId(),circle2);\n\t shapeMap.put(rectangle.getId(), rectangle);\n\t }", "@Override\n public int getCacheSize() {\n return 4 + 20 * 88;\n }", "protected abstract void initCache(List<RECIPE> recipes);", "void createCachedCode(Code code)\n throws DAOException;", "public void setCached() {\n }", "private IgniteEx prepareNodeToCreateNewIndex(String cacheName, int cnt, boolean disableCp) throws Exception {\n IndexesRebuildTaskEx.prepareBeforeNodeStart();\n\n IgniteEx n = startGrid(0);\n\n populate(n.cache(cacheName), cnt);\n\n if (disableCp)\n enableCheckpointsAsync(n, getTestIgniteInstanceName(), false).get(getTestTimeout());\n\n return n;\n }", "public void crearRutaImgPublicacion(){\n \n servletContext=(ServletContext) contexto.getExternalContext().getContext();\n String ruta=\"\";\n //Ruta real hasta la carpeta uploads\n ruta=servletContext.getRealPath(\"/upload/\");\n //Obtener el codigo del usuario de la sesion actual\n //este es utilizado para ubicar la carpeta que le eprtenece\n String codUsuario=String.valueOf(new SessionLogica().obtenerUsuarioSession().getCodUsuario());\n //Concatenamiento de directorios internos\n ruta+=File.separatorChar+\"img\"+File.separatorChar+\"post\"+File.separatorChar+codUsuario+File.separatorChar+\"all\"+File.separatorChar;\n //Asignacion de la ruta creada\n this.rutaImgPublicacion=ruta;\n }", "private <K extends Resource> K addToCache(K res, String uri) {\n\t\tif (res == null)\n\t\t\tnegCache.put(uri, null);\n\t\treturn res;\n\t}", "Long crear(Espacio espacio);", "public void limpaCache()\n\t{\n\t\tpoolMensagens.clear();\n\t}", "private void initializeCache(int cacheSize){\n \t\tlruCache = new LRUCache(cacheSize);\n \t}", "public void cacheResult(ua.org.gostroy.guestbook.model.Entry3 entry3);", "protected final void addCache(Cache cache)\r\n/* 33: */ {\r\n/* 34:59 */ this.cacheMap.put(cache.getName(), cache);\r\n/* 35:60 */ this.cacheNames.add(cache.getName());\r\n/* 36: */ }", "private void init() {\n clearCaches();\n }", "public MultiCache () {\n super();\n this.locals = new ArrayList<Coordinates>();\n this.stage = 0;\n }", "public static void setDFPPropertiesInCache(List<LineItemDTO> propertiesList, String key){ \n\t \tkey = PROPERTIES_DFP_KEY+\"-\"+key;\n\t\t\tlog.info(\"setDFPPropertiesInCache : memcache key:\"+key);\t\t\t\n\t\t\tif(memcache !=null && memcache.contains(key)){\n\t \t\tmemcache.delete(key);\n\t \t}\n\t \tmemcache.put(key, propertiesList, Expiration.byDeltaSeconds(expireInDay));\n\t\t}", "public boolean existCache() {\n return false;\n }", "public void init() {\n\t\tif (cache != null) {\n\t\t\tcache.dispose();\n\t\t\tcache = null;\n\t\t}\n\t\tcache = cacheFactory.create(CacheFactoryDirective.NoDCE, \"test\");\n\t}", "@Override\n public boolean isCaching() {\n return false;\n }", "StoreResponse append(CACHE_ELEMENT element);", "private void putInCache(Module module){\n\t\tString key = getKey(module);\n\t\tcache.put(key, module);\n\t}", "public static void instanciarCreencias() {\n\t\tfor(int i =0; i < GestorPartida.getContJugadores(); i++) {\n\t\t\t\n\t\t\tGestorPartida.jugadores[i].setCreencias(new Creencias(GestorPartida.jugadores, GestorPartida.objetoJugador, GestorPartida.objetoSala, i)); \n\t\t}\n\t}", "protected void creaPagine() {\n Pagina pag;\n Pannello pan;\n\n try { // prova ad eseguire il codice\n\n /* crea la pagina e aggiunge campi e pannelli */\n pag = this.addPagina(\"generale\");\n\n pan = PannelloFactory.orizzontale(this);\n pan.add(Cam.data);\n pan.add(Cam.importo.get());\n pan.add(Cam.note.get());\n pag.add(pan);\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }", "@Override\n public int getCacheSize() {\n return 4 + 20 * (4 + 4 + 8);\n }", "private static void initializeCache() {\n\t\t// prepare cache folder for this application instance\n\t\tFile cacheRoot = getApplicationCache();\n\n\t\ttry {\n\t\t\tfor (int i = 0; true; i++) {\n\t\t\t\tFile cache = new File(cacheRoot, String.format(\"%d\", i));\n\t\t\t\tif (!cache.isDirectory() && !cache.mkdirs()) {\n\t\t\t\t\tthrow new IOException(\"Failed to create cache dir: \" + cache);\n\t\t\t\t}\n\n\t\t\t\tfinal File lockFile = new File(cache, \".lock\");\n\t\t\t\tboolean isNewCache = !lockFile.exists();\n\n\t\t\t\tfinal RandomAccessFile handle = new RandomAccessFile(lockFile, \"rw\");\n\t\t\t\tfinal FileChannel channel = handle.getChannel();\n\t\t\t\tfinal FileLock lock = channel.tryLock();\n\n\t\t\t\tif (lock != null) {\n\t\t\t\t\t// setup cache dir for ehcache\n\t\t\t\t\tSystem.setProperty(\"ehcache.disk.store.dir\", cache.getAbsolutePath());\n\n\t\t\t\t\tint applicationRevision = getApplicationRevisionNumber();\n\t\t\t\t\tint cacheRevision = 0;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tcacheRevision = new Scanner(channel, \"UTF-8\").nextInt();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t// ignore\n\t\t\t\t\t}\n\n\t\t\t\t\tif (cacheRevision != applicationRevision && applicationRevision > 0 && !isNewCache) {\n\t\t\t\t\t\tLogger.getLogger(Main.class.getName()).log(Level.WARNING, String.format(\"App version (r%d) does not match cache version (r%d): reset cache\", applicationRevision, cacheRevision));\n\n\t\t\t\t\t\t// tag cache with new revision number\n\t\t\t\t\t\tisNewCache = true;\n\n\t\t\t\t\t\t// delete all files related to previous cache instances\n\t\t\t\t\t\tfor (File it : getChildren(cache)) {\n\t\t\t\t\t\t\tif (!it.equals(lockFile)) {\n\t\t\t\t\t\t\t\tdelete(cache);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (isNewCache) {\n\t\t\t\t\t\t// set new cache revision\n\t\t\t\t\t\tchannel.position(0);\n\t\t\t\t\t\tchannel.write(Charset.forName(\"UTF-8\").encode(String.valueOf(applicationRevision)));\n\t\t\t\t\t\tchannel.truncate(channel.position());\n\t\t\t\t\t}\n\n\t\t\t\t\t// make sure to orderly shutdown cache\n\t\t\t\t\tRuntime.getRuntime().addShutdownHook(new Thread() {\n\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tCacheManager.getInstance().shutdown();\n\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t// ignore, shutting down anyway\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tlock.release();\n\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t// ignore, shutting down anyway\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\thandle.close();\n\t\t\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\t\t\t// ignore, shutting down anyway\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\t\t// cache for this application instance is successfully set up and locked\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t// try next lock file\n\t\t\t\thandle.close();\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tLogger.getLogger(Main.class.getName()).log(Level.WARNING, e.toString(), e);\n\t\t}\n\n\t\t// use cache root itself as fail-safe fallback\n\t\tSystem.setProperty(\"ehcache.disk.store.dir\", new File(cacheRoot, \"default\").getAbsolutePath());\n\t}", "StoreResponse prepend(CACHE_ELEMENT element);", "public void cacheResult(java.util.List<PlanoSaude> planoSaudes);", "public void interestCacheInsert(InterestCacheEntry e)\n\t{\n\t\tif ( interestCache_purgeTimer == null ){\n\t\t\tinterestCache_purgeTimer = new DiffTimer(DiffTimer.TIMEOUT_INTEREST_CACHE_PURGE, null) ;\n\t\t\tif ( interestCache_purgeTimer != null ){\n\t\t\t\tinterestCache_purgeTimer.handle = setTimeout(interestCache_purgeTimer, INTEREST_CACHE_PURGE_INTERVAL) ;\n\t\t\t}\n\t\t}\n\t\tinterestCache.put(e.getInterest().getTaskId(),e) ;\n\t}", "private void registerCaches(){\n // Initialize region arraylist\n prisoners = new HashMap<>();\n regions = QueryManager.getRegions();\n prisonBlocks = QueryManager.getPrisonBlocks();\n portals = QueryManager.getPortals();\n }", "interface Cache {\n\n /** @return A cache entry for given path string or <code>null</code> (if file cannot be read or too large to cache).\n * This method increments CacheEntry reference counter, caller must call {@link #checkIn(CacheEntry)} to release returned entry (when not null). */\n CacheEntry checkOut(CacheEntryLoader cacheEntryLoader);\n\n /**\n * Method to release cache entry previously obtained from {@link #checkOut(CacheEntryLoader)} call.\n * This method decrements CacheEntry reference counter.\n */\n void checkIn(CacheEntry key);\n\n /** Invalidates cached entry for given path string (if it is cached) */\n void invalidate(String pathString);\n\n void rename(String fromPathString, String toPathString);\n\n// /** Preload given file path in cache (if cache has vacant spot). Preloading happens in background. Preloaded pages initially have zero reference counter. */\n// void preload (String pathString);\n\n /** Clears the cache of all entries (even if some entries are checked out) */\n void clear();\n\n /** Allocates entry of given size for writing.\n * It will not be visible to others until caller calls {@link #update(String, CacheEntry)}.*/\n CacheEntry alloc(long size);\n\n /** Registers recently writtien cache entry as available for reading */\n void update(String pathString, CacheEntry cacheEntry);\n}", "public void crearPrimerFichero(){\n File f=new File(getApplicationContext().getFilesDir(),\"datos.json\");\n // si no existe lo creo\n if(!f.exists()) {\n String filename = \"datos.json\";\n String fileContents = \"[]\";\n FileOutputStream outputStream;\n\n try {\n outputStream = openFileOutput(filename, Context.MODE_PRIVATE);\n outputStream.write(fileContents.getBytes());\n outputStream.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n }", "FixedTextureCache()\n {\n textureMap = new HashMap();\n componentMap = new HashMap();\n }", "public void addToCache () {\n ArrayList <Location> gridCache = getGridCache();\n for (Location l : imageLocs) {\n gridCache.add (l);\n }\n }", "private HashMap<String, Element> construireCacheDefElement() {\n cacheDefElement = new HashMap<String, Element>();\n cacheNomsElements = new HashMap<Element, String>();\n final NodeList lelements = racine_schema.getElementsByTagName(\"ELEMENT\");\n for (int i=0; i<lelements.getLength(); i++) {\n final Element el = (Element)lelements.item(i);\n final String nom = el.getAttribute(\"nom\");\n cacheDefElement.put(nom, el);\n cacheNomsElements.put(el, nom);\n }\n return(cacheDefElement);\n }", "public void cacheBusRouteData()\n\t{\t\n\t\tdataMap = BusRouteDataFileReader.readAndCacheBusRouteData(this.pathname);\n\t}", "public HeapCacheBuilder() {\n this.name = \"imcache-heap-cache-\" + cacheNumber.incrementAndGet();\n }", "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\ttry {\n\t\t\tFile httpCacheDir = new File(getActivity().getCacheDir(), \"http\");\n\t\t\tlong httpCacheSize = 10 * 1024 * 1024;\n\t\t\tHttpResponseCache.install(httpCacheDir, httpCacheSize);\n\t\t} catch (IOException e) {\n\t\t\tLog.i(TAG, \"HTTP response cache installation failed:\" + e);\n\t\t}\n\t\tsuper.onCreate(savedInstanceState);\n\t}", "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tImageCacheParams cacheParams = new ImageCacheParams(getActivity(), IMAGE_CACHE_DIR);\n\n cacheParams.setMemCacheSizePercent(0.25f); // Set memory cache to 25% of app memory\n\n // The ImageFetcher takes care of loading images into our ImageView children asynchronously\n mImageFetcher = new ImageFetcher(getActivity());\n// mImageFetcher.setLoadingImage(R.drawable.empty_photo);\n mImageFetcher.addImageCache(((FragmentActivity) getActivity()).getSupportFragmentManager(), cacheParams);\n lsnb_temp = new ArrayList<NewsBean>();\n\t}", "@Override\n\tpublic final void beforeExecutions() throws CacheException {\n\t\tif ( persister.hasCache() ) {\n\t\t\tfinal CollectionRegionAccessStrategy cache = persister.getCacheAccessStrategy();\n\t\t\tfinal Object ck = cache.generateCacheKey(\n\t\t\t\t\tkey,\n\t\t\t\t\tpersister,\n\t\t\t\t\tsession.getFactory(),\n\t\t\t\t\tsession.getTenantIdentifier()\n\t\t\t);\n\t\t\tfinal SoftLock lock = cache.lockItem( session, ck, null );\n\t\t\t// the old behavior used key as opposed to getKey()\n\t\t\tafterTransactionProcess = new CacheCleanupProcess( key, persister, lock );\n\t\t}\n\t}", "public void createDistributedObjectsPolicy(){\n\t\t\n\t\tint size = 0;\n\t\t\n\t\tIterator<CacheObject> cst = candidateStableOnlyList.iterator();\n\t\t\n\t\twhile(cst.hasNext()){\n\t\t\t\n\t\t\tCacheObject ct = cst.next();\n\t\t\t\n\t\t\tIterator<String> it1 = serverList.keySet().iterator();\n\t\t\t\n\t\t\twhile(it1.hasNext()){\n\t\t\t\t\n\t\t\t\tString serverId = it1.next();\n\t\t\t\tHashMap<String, CacheObject> htemp = individualMap.get(serverId); \n\t\t\t\t\n\t\t\t\tif(htemp.containsKey(ct.cacheKey)){\n\t\t\t\t\t\n\t\t\t\t\tInteger sz = serverList.get(serverId);\n\t\t\t\t\t\n\t\t\t\t\tif(sz.intValue() < STABLE_SIZE){\n\t\t\t\t\t\tArrayList<String> lt = new ArrayList<String>();\n\t\t\t\t\t\tlt.add(serverId);\n\t\t\t\t\t\tRuleList rl = new RuleList(serverId, RuleList.MOVE , RuleList.LONG_TTL, lt);\n\t\t\t\t\t\tListKey lk = new ListKey();\n\t\t\t\t\t\tlk.addtoListKey(ct.cacheKey);\n\t\t\t\t\t\tASPolicyMap.get(serverId).addNewPolicy(lk, rl);\n\t\t\t\t\t\tsz = sz + ct.size;\n\t\t\t\t\t\tsize += ct.size;\n\t\t\t\t\t\tserverList.put(serverId, sz);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tIterator<String> it2 = serverList.keySet().iterator();\n\t\t\t\t\t\t\n\t\t\t\t\t\twhile(it2.hasNext()){\n\t\t\t\t\t\t\tString serverId2 = it2.next();\n\t\t\t\t\t\t\tInteger sz2 = serverList.get(serverId2);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(sz2.intValue() < STABLE_SIZE){\n\t\t\t\t\t\t\t\tArrayList<String> lt = new ArrayList<String>();\n\t\t\t\t\t\t\t\tlt.add(serverId2);\n\t\t\t\t\t\t\t\tRuleList rl = new RuleList(serverId2, RuleList.MOVE , RuleList.LONG_TTL, lt);\n\t\t\t\t\t\t\t\tListKey lk = new ListKey();\n\t\t\t\t\t\t\t\tlk.addtoListKey(ct.cacheKey);\n\t\t\t\t\t\t\t\tASPolicyMap.get(serverId2).addNewPolicy(lk, rl);\n\t\t\t\t\t\t\t\tsz2 = sz2 + ct.size;\n\t\t\t\t\t\t\t\tsize += ct.size;\n\t\t\t\t\t\t\t\tserverList.put(serverId2, sz2);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tif(size >= (STABLE_SIZE*NO_SERVERS) ){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t}", "public int getCacheSize();", "private HttpCache(@NonNull Context context) {\n mCache = new Cache(new File(context.getExternalCacheDir(), CacheConfig.FILE_DIR),\n CacheConfig.FILE_SIZE);\n }", "static CacheResult createCacheFile(String url, int statusCode,\n Headers headers, String mimeType, boolean forceCache) {\n // This method is public but hidden. We break functionality.\n return null;\n }", "public CacheService()\n {\n }", "public CacheService()\n {\n }", "public static void alloc_cache_r(int request, int index_set,Memory[] memory_r, Cache[] cache_r, MCT[] mct_r){\n\t\tint replace_index=index_set*4+random_in_set_alloc_producer();\n\t\tmct_r[index_set].tag=cache_r[replace_index].address;\n\t\t\n\t\tcache_r[replace_index].address=memory_r[request].address;\n\t\tcache_r[replace_index].content=memory_r[request].content;\n\t\tcache_r[replace_index].priority=memory_r[request].priority;\n\t}", "public static void setAllDFPPropertiesInCache(List<LineItemDTO> propertiesList, String key){ \n\t \tkey = ALL_PROPERTIES_DFP_KEY+\"-\"+key;\n\t\t\tlog.info(\"setDFPPropertiesInCache : memcache key:\"+key);\t\t\t\n\t\t\tif(memcache !=null && memcache.contains(key)){\n\t \t\tmemcache.delete(key);\n\t \t}\n\t \tmemcache.put(key, propertiesList, Expiration.byDeltaSeconds(expireInDay));\n\t\t}", "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\t\n\t\tmCache=ACache.get(this);\n\t\t//final int HEAP_SIZE = 16 * 1024* 1024 ; \n\t\t\n\t\tsetContentView(R.layout.appstart);\n\t\t//requestWindowFeature(Window.FEATURE_NO_TITLE);//去掉标题栏\n\t\t//getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,\n // WindowManager.LayoutParams.FLAG_FULLSCREEN); //全屏显示\n\t\t\n//\t\tStrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()\n//\t\t\t.detectDiskReads().detectDiskWrites().detectNetwork()\n//\t\t\t.penaltyLog().build());\n\t\t\n//\t\tStrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()\n//\t\t\t.detectLeakedSqlLiteObjects().penaltyLog().penaltyDeath()\n//\t\t\t.build());\n\t\t\n\t\tAppstartTask task=new AppstartTask();\n\t\tAppstartHandler handler=new AppstartHandler(this,false);\n\t\ttask.connect(handler);\n\t\ttask.execute();\n }", "private UtilsCache() {\n\t\tsuper();\n\t}", "public DescriptorCacheImpl() {\n super();\n \n LOG2.debug(\"New instance!\");\n \n _typeMap = new HashMap();\n _xmlNameMap = new HashMap();\n _missingTypes = new ArrayList();\n }", "public static void start(){\n int size = 1024;\n int max = 32;\n GenericObjectPoolConfig genericObjectPoolConfig = new GenericObjectPoolConfig();\n genericObjectPoolConfig.setMaxTotal(size * max);\n genericObjectPoolConfig.setMaxIdle(size * max);\n genericObjectPoolConfig.setMinIdle(size);\n long time = 1000 * 30;\n genericObjectPoolConfig.setMaxWaitMillis(time);\n genericObjectPoolConfig.setSoftMinEvictableIdleTimeMillis(time);\n\n updateEventCacheFactory = new UpdateEventCacheFactory(new UpdateEventPoolFactory(), genericObjectPoolConfig);\n }", "Builder withCacheSizeInMiB(int sizeInMiB);", "protected ElevationDataCache() {\n }", "int saveCached(String fileName) throws IOException\n\t {\n\t\t File f = new File (fileName);\n\t\t \n\t\t\t\tif (f.exists())\n\t\t\t\t{\n\t\t\t\t\tSystem.out.println(\"ATTENTION!!! File \" +fileName+ \" already exists. Adding new records to it.\");\n\t\t\t\t\tFileWriter fw = new FileWriter (f, true);\n\t\t\t\t\tPrintWriter pwx = new PrintWriter (fw);\n\t\t\t\t\tBufferedReader brx = new BufferedReader(new FileReader (\".cache\"));\n\t\t\t\t\t \n\t\t\t\t\t String lineX = brx.readLine();\n\t\t\t\t\t \n\t\t\t\t\t while (lineX != null)\n\t\t\t\t\t {\n\t\t\t\t\t\t pwx.println(lineX);\n\t\t\t\t\t\t lineX=brx.readLine();\n\t\t\t\t\t }\n\t\t\t\t\t brx.close();\n\t\t\t\t\t pwx.flush();\n\t\t\t\t\t pwx.close();\n\t\t\t\t\t \n\t\t\t\t\t return 0;\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tf.createNewFile();\n\t\t\t\t}\n\t\t \n\t\t \n\t\t PrintWriter pn = new PrintWriter (fileName);\n\t\t BufferedReader br = new BufferedReader(new FileReader (\".cache\"));\n\t\t \n\t\t String line = br.readLine();\n\t\t \n\t\t while (line != null)\n\t\t {\n\t\t\t pn.println(line);\n\t\t\t line=br.readLine();\n\t\t }\n\t\t pn.flush();\n\t\t br.close();\n\t\t pn.close();\n\t\t System.out.println(\"Your file was saved as follows\");\n\t\t FileManager fm = new FileManager();\n\t\t fm.show(fileName);\n\t\treturn 1;\n\t }", "public static void alloc_cache_rp(int request, int index_set, Cache[] cache_rp, Memory[] memory_rp, MCT[] mct_rp){\n\t\tint num=0,min=0,random_in_set=0,replace_index=0;\n\t\tint[][] tmp = new int[4][2];\n\t\t\n\t\tfor(int i=0;i<4;i++){\n\t\t\ttmp[i][0]=index_set*4+i;\n\t\t\ttmp[i][1]=cache_rp[index_set*4+i].priority;\n\t\t}\n\t\tmin=tmp[0][1];\n\t\tfor(int j=0;j<4;j++){ //find the minimum in all priorities\n\t\t\tif(min>tmp[j][1]){\n\t\t\t\tmin=tmp[j][1];\n\t\t\t}\n\t\t}\n\t\tfor(int k=0;k<4;k++){\n\t\t\tif(min==tmp[k][1]){\n\t\t\t\tnum++;\n\t\t\t}\n\t\t}\n\t\t\n\t\trandom_in_set=random_seed(num)+1;\n\t\tfor(int m=0;m<4;m++){\t\t//randomly choose the one in all cache lines with same minimal priority\n\t\t\tif(min==cache_rp[index_set*4+m].priority){\n\t\t\t\tif(random_in_set==1){\n\t\t\t\t\treplace_index=index_set*4+m;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\trandom_in_set--;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tmct_rp[index_set].tag=cache_rp[replace_index].address;\n\t\tcache_rp[replace_index].address=memory_rp[request].address;\n\t\tcache_rp[replace_index].content=memory_rp[request].content;\n\t\tcache_rp[replace_index].priority=memory_rp[request].priority;\t\t\n\t}", "public void testGetCachedFileObject() throws IOException {\n FileObject fobj = getFileObject(testFile);\n FileObject parent = fobj.getParent();\n parent = parent.createFolder(\"parent\");\n FileObject child = parent.createData(\"child\");\n monitor.reset();\n FileObject ch = parent.getFileObject(\"child\");\n monitor.getResults().assertResult(0, StatFiles.ALL);\n //second time\n monitor.reset();\n ch = parent.getFileObject(\"child\");\n monitor.getResults().assertResult(0, StatFiles.ALL);\n }", "public interface CacheManager extends AutoCloseable {\n /**\n * @param conf the Alluxio configuration\n * @return an instance of {@link CacheManager}\n */\n static CacheManager create(AlluxioConfiguration conf) throws IOException {\n // TODO(feng): make cache manager type configurable when we introduce more implementations.\n return new NoExceptionCacheManager(LocalCacheManager.create(conf));\n }\n\n /**\n * Puts a page into the cache manager. This method is best effort. It is possible that this put\n * operation returns without page written.\n *\n * @param pageId page identifier\n * @param page page data\n * @return true if the put was successful, false otherwise\n */\n boolean put(PageId pageId, byte[] page);\n\n /**\n * Wraps the page in a channel or null if the queried page is not found in the cache or otherwise\n * unable to be read from the cache.\n *\n * @param pageId page identifier\n * @return a channel to read the page\n */\n @Nullable\n ReadableByteChannel get(PageId pageId);\n\n /**\n * Wraps a part of the page in a channel or null if the queried page is not found in the cache or\n * otherwise unable to be read from the cache.\n *\n * @param pageId page identifier\n * @param pageOffset offset into the page\n * @return a channel to read the page\n */\n @Nullable\n ReadableByteChannel get(PageId pageId, int pageOffset);\n\n /**\n * Deletes a page from the cache.\n *\n * @param pageId page identifier\n * @return true if the page is successfully deleted, false otherwise\n */\n boolean delete(PageId pageId);\n}", "void clearCache();", "void clearCache();", "private void añadirEnemigo() {\n\t\t\n\t\tif(enemigo.isVivo()==false){\n\t\t\tint k;\n\t\t\tk = (int)(Math.random()*1000)+1;\n\t\t\tif(k<=200){\n\t\t\t\tif(this.puntuacion<10000){\n\t\t\t\t\tenemigo.setTipo(0);\n\t\t\t\t\tenemigo.setVivo(true);\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tenemigo.setTipo(1);\n\t\t\t\t\tenemigo.setVivo(true);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "private void replaceCache(Entry<V> e) {\n if (sizeT1 + sizeT2 < sizeCache) {\n return;\n }\n\n if (sizeT1 > 0 && (sizeT1 > p || (sizeT1 == p && e.posType == Entry.IN_B2))) {\n Entry<V> m = mid1;\n m.value = null;\n mid1 = mid1.prev;\n\n sizeAdjust(m.posType, Entry.IN_B1);\n m.posType = Entry.IN_B1;\n } else {\n Entry<V> m = mid2;\n m.value = null;\n mid2.value = null;\n mid2 = mid2.prev;\n\n sizeAdjust(m.posType, Entry.IN_B2);\n m.posType = Entry.IN_B2;\n }\n }", "private Cache configureCache(MemoryStoreEvictionPolicy evictionPolicy) {\n\t\tCacheConfiguration cacheConfiguration = new CacheConfiguration(\n\t\t\t\t\"evictionCache\", 2);\n\t\t// set FIFO eviction policy\n\t\tcacheConfiguration\n\t\t\t\t.setMemoryStoreEvictionPolicyFromObject(evictionPolicy);\n\t\t// set time to idle time\n\t\tcacheConfiguration.setTimeToIdleSeconds(300);\n\t\t// set time to live time\n\t\tcacheConfiguration.setTimeToLiveSeconds(600);\n\n\t\tCacheManager cacheManager = CacheManager.create();\n\t\t// create a new cache\n\t\tCache memoryCache = new Cache(cacheConfiguration);\n\t\tcacheManager.addCache(memoryCache);\n\t\tCache evictionCache = cacheManager.getCache(\"evictionCache\");\n\t\tevictionCache.removeAll();\n\t\treturn evictionCache;\n\t}", "private void addPrecious(CacheRepositoryEntry entry)\n {\n try {\n long size = entry.getSize();\n synchronized (_precious) {\n if (_precious.add(entry.getPnfsId())) {\n _preciousSpace += size;\n }\n }\n } catch (CacheException e) {\n _log.error(\"failed to get entry size : \" + e.getMessage());\n }\n }", "@PrePersist\r\n\tpublic void prePersist() {\n\t\ttry { Thread.sleep(1); } catch (Exception e) { System.out.println(\"Impossibile fermare il thread per 1 ms.\");}\r\n\t\tGregorianCalendar now = new GregorianCalendar();\r\n\t\tdataArrivoFile = new Date(now.getTimeInMillis());\r\n\t\tannoOrdine = now.get(Calendar.YEAR);\r\n\t\tannodoc = now.get(Calendar.YEAR);\r\n\t\tgenMovUscita = \"NO\";\r\n\t\t// il numero di lista è necessario, se non c'è lo genero.\r\n\t\tif (nrLista == null || nrLista.isEmpty()) {\r\n\t\t\tnrLista = sdf.format(now.getTime());\r\n\t\t}\r\n\t\t// il raggruppamento stampe è necessario, se non c'è lo imposto uguale al numero di lista.\r\n\t\tif (ragstampe == null || ragstampe.isEmpty()) {\r\n\t\t\tragstampe = nrLista;\r\n\t\t}\r\n\t\tnrListaArrivato = 0; // TODO, in teoria sarebbe come un autoincrement\r\n\t\tif (nomeFileArrivo == null || nomeFileArrivo.isEmpty()) nomeFileArrivo = sdf.format(now.getTime());\r\n\t\t// Se non ho specificato l'operatore assumo che sia un servizio.\r\n\t\tif (operatore == null || operatore.isEmpty()) operatore = \"SERVIZIO\";\r\n\t\t// Priorita', se non valorizzata imposto il default.\r\n\t\tif (priorita <= 0) priorita = 1;\r\n\t\t// Contrassegno\r\n\t\tif (tipoIncasso == null) tipoIncasso = \"\";\r\n\t\tif (valContrassegno == null) valContrassegno = 0.0;\r\n\t\tif (valoreDoganale == null)\tvaloreDoganale = 0.0;\r\n\t\t// Corriere, se null imposto a stringa vuota.\r\n\t\tif (corriere == null) corriere = \"\";\r\n\t\t// Codice cliente per il corriere, se null imposto a stringa vuota.\r\n\t\tif (codiceClienteCorriere == null) codiceClienteCorriere = \"\";\r\n\t\tif (stato == null) stato = \"INSE\";\r\n\t\tif (sessioneLavoro == null) sessioneLavoro = \"\";\r\n\t\tif (tipoDoc == null) tipoDoc = \"ORDINE\";\r\n\t}", "protected void addShiftToCache () {\n if (digitalShift == null)\n for (int j = 0; j < dimS; j++)\n cachedCurPoint[j] = 0;\n else\n for (int j = 0; j < dimS; j++)\n cachedCurPoint[j] = digitalShift[j];\n }", "private BufferedWriter openCacheFile() throws IOException {\n boolean hasLock = false;\n while (!hasLock) {\n synchronized (this) {\n if (!lock) {\n lock = true;\n hasLock = true;\n }\n }\n if (!hasLock) try {\n Thread.sleep(1000);\n } catch (Exception e) {\n }\n }\n tmpFile = new File(cacheDir, \"changeLog.tmp\");\n if (tmpFile.exists()) tmpFile.delete();\n tmpFile.createNewFile();\n BufferedWriter out = new BufferedWriter(new FileWriter(tmpFile));\n if (cacheFile.exists()) {\n BufferedReader in = new BufferedReader(new FileReader(cacheFile));\n String nextLine = in.readLine();\n while (nextLine != null) {\n out.write(nextLine);\n out.newLine();\n nextLine = in.readLine();\n }\n in.close();\n }\n return out;\n }", "@Override\r\n public void setCacheBlocks(boolean b) {\n\r\n }" ]
[ "0.61752737", "0.609268", "0.6063009", "0.580946", "0.57352555", "0.5721076", "0.5697603", "0.5694909", "0.5692134", "0.5662752", "0.5583246", "0.5560226", "0.55288094", "0.5481687", "0.5467759", "0.5461313", "0.5453404", "0.5436373", "0.54259866", "0.5418686", "0.54075503", "0.54008025", "0.53789026", "0.53788805", "0.5373187", "0.5335343", "0.5326219", "0.5324575", "0.5315745", "0.53139937", "0.5303299", "0.5284999", "0.52711356", "0.5257432", "0.52556777", "0.5253211", "0.52431685", "0.5231964", "0.5231895", "0.522855", "0.5224986", "0.52009124", "0.51474774", "0.51452786", "0.513916", "0.51208234", "0.51139855", "0.5110697", "0.51071835", "0.5103191", "0.50972223", "0.5096258", "0.50943327", "0.50824213", "0.50753915", "0.5074097", "0.5047697", "0.50441647", "0.50410986", "0.5025312", "0.50252396", "0.5024257", "0.50014144", "0.4999124", "0.49961984", "0.49942532", "0.4992799", "0.4983473", "0.49810642", "0.4966222", "0.49619177", "0.49584115", "0.4957727", "0.4946123", "0.49447718", "0.49348032", "0.4919684", "0.4919684", "0.49195582", "0.49174392", "0.49167815", "0.49064136", "0.49004164", "0.4899804", "0.48831755", "0.48725143", "0.48721445", "0.4870672", "0.48677477", "0.48589584", "0.48516756", "0.48516756", "0.48495835", "0.48449937", "0.48376322", "0.4828331", "0.48220828", "0.48219004", "0.48200402", "0.48187825" ]
0.6802881
0
Creates a singleton instance of ClassFrequency
public ClassFrequency getInstance(){ return instance; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Frequency() {\n\n }", "public FrequencyAnalysis()\n {\n }", "private FrequencyConverter() {\n }", "public synchronized static ComputeTermFrequencies createComputeAndPrintTermFrequency() \n\t{\n\t\treturn new ComputeTermFrequencies();\n\t}", "float getFrequency();", "FrequencyRegister(String subId) {\n \n reg2 = new FrequencySubRegister(\"FREQ2\" + subId);\n reg1 = new FrequencySubRegister(\"FREQ1\" + subId);\n reg0 = new FrequencySubRegister(\"FREQ0\" + subId);\n \n setFrequency(0x75a0cb); // default frequency is 0b 01111 0101 1010 0000 1100 1011,\n }", "public void setFrequency(int f){\n this.frequency = f;\n }", "public Double getFrequency() {\n return frequency;\n }", "public int getFreq(){ return frequency;}", "public void setFrequency(Double frequency) {\n this.frequency = frequency;\n }", "public void setFrequency(String frequency)\n {\n this.frequency = frequency;\n }", "public int getFrequency(){\n return this.frequency;\n }", "public int getFrequency_(){\r\n\t\treturn frequency_;\r\n\t}", "java.lang.String getFrequency();", "public java.lang.Integer getFrequency() {\n return frequency;\n }", "public int getFrequency()\n {\n return this.frequency;\n }", "public java.lang.Integer getFrequency() {\n return frequency;\n }", "int getFreq();", "public int getFrequency()\n\t{\n\t\treturn frequency;\n\t}", "public Integer getFrequency() {\n return this.frequency;\n }", "public abstract double samplingFrequency();", "public Frequency getFreq() {\n\t\treturn this.freq;\n\t}", "public long getFreq() {\n return freq;\n }", "public void setFrequency(java.lang.Integer value) {\n this.frequency = value;\n }", "public WordCount2(Integer frequency) {\n emitFrequency = frequency;\n }", "public jkt.hms.masters.business.MasFrequency getFrequency () {\n\t\treturn frequency;\n\t}", "public int getFreq() {\n return freq_;\n }", "public com.google.protobuf.ByteString\n getFrequencyBytes() {\n java.lang.Object ref = frequency_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n frequency_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public T caseFrequency(Frequency object) {\r\n\t\treturn null;\r\n\t}", "@Override\n\tpublic Float getFrequency() {\n\t\treturn 3.8f;\n\t}", "private void getFrequency(){\r\n try {\r\n BufferedReader reader = new BufferedReader(new FileReader(IConfig.FREQUENCY_PATH));\r\n String line;\r\n while((line = reader.readLine()) != null){\r\n frequency.put(line.split(\" \")[0], (Double.parseDouble(line.split(\" \")[1])/ IConfig.TOTAL_NEWS));\r\n }\r\n reader.close();\r\n }catch (Exception e){\r\n e.printStackTrace();\r\n }\r\n }", "public int getFreq() {\n return freq_;\n }", "void updateFrequencyCount() {\n //Always increments by 1 so there is no need for a parameter to specify a number\n this.count++;\n }", "public com.google.protobuf.ByteString\n getFrequencyBytes() {\n java.lang.Object ref = frequency_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n frequency_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public Builder setFrequency(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000400;\n frequency_ = value;\n onChanged();\n return this;\n }", "public FrequencyMonitor(ADEGuiCallHelper helper) {\n super(helper, 500);\n initComponents();\n outputLbl.setText(\"0 Hz\");\n lastTime = System.currentTimeMillis();\n stats = new DescriptiveStatistics(1);\n\n this.setTitle(call(\"getDataName\", String.class));\n }", "public edu.pa.Rat.Builder setFrequency(int value) {\n validate(fields()[1], value);\n this.frequency = value;\n fieldSetFlags()[1] = true;\n return this; \n }", "@Override\n public long getFrequencyCount() {\n return count;\n }", "public Builder clearFrequency() {\n bitField0_ = (bitField0_ & ~0x00000400);\n frequency_ = getDefaultInstance().getFrequency();\n onChanged();\n return this;\n }", "public Factory() {\n\t\tclassMap = new TreeMap<String,Class<T> >();\n\t}", "public Builder setFreq(int value) {\n bitField0_ |= 0x00000008;\n freq_ = value;\n onChanged();\n return this;\n }", "public java.lang.String getFrequency() {\n java.lang.Object ref = frequency_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n frequency_ = s;\n }\n return s;\n }\n }", "com.google.protobuf.ByteString\n getFrequencyBytes();", "public static void getClassUsage(){\r\n ClassMeasurement classMeasurement = new ClassMeasurement();\r\n classUsageList.add(classMeasurement);\r\n //ClassMeasurement.printClassMeasurement(classMeasurement);\r\n }", "public java.lang.String getFrequency() {\n java.lang.Object ref = frequency_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n frequency_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public static BUR getInstance()\r\n {\r\n return new BUR(\r\n \"Base Class Usage Ratio\",\r\n \"The number of inheritance-specific members used by the measured class divided by the total number of inheritance-specific members from the base class.\",\r\n \"BUR\");\r\n }", "public int getFrequency() {\n\t\t\treturn mCurFrequency;\n\t\t}", "public Builder(Frequency frequency) {\n\t\t\tthis.frequency = frequency;\n\t\t\tbySecond = new ArrayList<Integer>(0);\n\t\t\tbyMinute = new ArrayList<Integer>(0);\n\t\t\tbyHour = new ArrayList<Integer>(0);\n\t\t\tbyDay = new ArrayList<ByDay>(0);\n\t\t\tbyMonthDay = new ArrayList<Integer>(0);\n\t\t\tbyYearDay = new ArrayList<Integer>(0);\n\t\t\tbyWeekNo = new ArrayList<Integer>(0);\n\t\t\tbyMonth = new ArrayList<Integer>(0);\n\t\t\tbySetPos = new ArrayList<Integer>(0);\n\t\t\txrules = new ListMultimap<String, String>(0);\n\t\t}", "public FrequencyMonitor(ADEGuiCallHelper helper, int smoothingWindow) {\n super(helper, 500);\n initComponents();\n outputLbl.setText(\"0 Hz\");\n lastTime = System.currentTimeMillis();\n stats = new DescriptiveStatistics(smoothingWindow);\n\n this.setTitle(call(\"getDataName\", String.class));\n}", "public Frequency(Date startdate, Date enddate,String frequencyday,\n String frequencymonth, String counter_of_end, \n StartFrequencyType frequencytype, EndFrequencyType endft) {\n \n init();\n frequencyDay = frequencyday;\n frequencyMonth = frequencymonth;\n endcounter = counter_of_end;\n startingType = frequencytype;\n endingType = endft;\n \n SimpleDateFormat ft = new SimpleDateFormat (\"ddMMYYYY\"); \n startDate = ft.format(startdate);\n endDate = ft.format(enddate);\n }", "public Builder clearFreq() {\n bitField0_ = (bitField0_ & ~0x00000008);\n freq_ = 0;\n onChanged();\n return this;\n }", "public static Frequency convertAndReturnNew(\n final Frequency input,\n final FrequencyUnit outputUnit) {\n final Frequency result = new Frequency();\n convert(input, outputUnit, result);\n return result;\n }", "public int freq()\n\t{\n\t\treturn _lsPeriod.get (0).freq();\n\t}", "public Builder setFrequencyBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000400;\n frequency_ = value;\n onChanged();\n return this;\n }", "public void setFrequencies(Set<Frequency> arg0) {\n \n }", "public SummaryFrequencyCodeType getFrequency() {\n\t return this.frequency;\n\t}", "public FrequencyBag() {\n\t\tfirstNode = null;\n\t\tnumEntries = 0;\n\t}", "public WordCount() {\n }", "public static Histogram createFrequencyTable(List<Double> values, double classWidth, double start,\r\n double stop) {\r\n Histogram histogram = new Histogram(start, stop, (int) ((stop - start) / classWidth));\r\n for (Double value : values) {\r\n histogram.add(value);\r\n }\r\n assert histogram.getSumFreq() == values.size() : \"Number of items in bins does not correspond with total number of items\";\r\n \r\n return histogram;\r\n }", "public long getCheckFrequency() {\n return iCheckFrequency;\n }", "public Set<Frequency> getFrequencies() {\n return null;\n }", "@ApiModelProperty(value = \"Frequency of the billing cycle (monthly for instance)\")\n public String getFrequency() {\n return frequency;\n }", "bool setFrequency(double newFrequency);", "@Override\n public long checkFrequencyMillis()\n {\n return TimeUnit.DAYS.toMillis( 1 );\n }", "boolean hasFrequency();", "@ComputerMethod\n private Collection<QIOFrequency> getFrequencies() {\n return FrequencyType.QIO.getManagerWrapper().getPublicManager().getFrequencies();\n }", "public Statistics() {}", "public ComputeTermFrequencies() { super(); }", "public Occurrence(String doc, int freq) {\n\t\tdocument = doc;\n\t\tfrequency = freq;\n\t}", "public static void main(String[] args) {\n int objectCount;\n //Now let create 4 instances of the countable class\n\n Countable obj1 = new Countable();\n Countable obj2 = new Countable();\n Countable obj3 = new Countable();\n Countable obj4 = new Countable();\n\n //Get the number of instances from\n //the class's static field\n\n objectCount = obj1.getInstanceCount(); //Here is the note it does not matter which obj1 or obj2 or obj3 or\n //obj4 assign objectCount. Result will be same\n System.out.println(objectCount + \" instances of the class were created.\");\n\n\n }", "@ComputerMethod\n private Collection<TeleporterFrequency> getFrequencies() {\n return FrequencyType.TELEPORTER.getManagerWrapper().getPublicManager().getFrequencies();\n }", "float getFrequency() throws InterruptedException, ConnectionLostException;", "public static Feudalism getInstance(){\n\t\treturn f;\r\n\t}", "public static StreamProcessorStatisticDataHolder getInstance() {\n return instance;\n }", "public static void createInstance()\n {\n if (instance == null) {\n // Create the instance\n instance = new SalesOrderDataSingleton();\n }\n }", "public static TokenFilterFactory getInstance() {\n\t\tif (instance == null) {\n\t\t\tsynchronized (TokenFilterFactory.class) {\n\t\t\t\tif (instance == null) {\n\t\t\t\t\t//System.out.println(\"getInstance(): First time getInstance was invoked!\");\n\t\t\t\t\tinstance = new TokenFilterFactory();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn instance;\n\t}", "public FrequencyList (String input){\n\tadd(input);\n }", "public Statistics() {\n }", "public void setFrequency (jkt.hms.masters.business.MasFrequency frequency) {\n\t\tthis.frequency = frequency;\n\t}", "public Frequency(ArrayList<LottoDay> list) {\n\n\t\tfill(list);//fill the maps\n\t}", "public static FpsTimer singleton() {\n return singleton == null ? singleton = new FpsTimer() : singleton;\n }", "@Test\r\n\tpublic void setFrequency() {\r\n\t\tWeldJoint<Body> wj = new WeldJoint<Body>(b1, b2, new Vector2());\r\n\t\t\r\n\t\twj.setFrequency(0.0);\r\n\t\tTestCase.assertEquals(0.0, wj.getFrequency());\r\n\t\t\r\n\t\twj.setFrequency(1.0);\r\n\t\tTestCase.assertEquals(1.0, wj.getFrequency());\r\n\t\t\r\n\t\twj.setFrequency(29.0);\r\n\t\tTestCase.assertEquals(29.0, wj.getFrequency());\r\n\t}", "public int getClockFrequency() {\n return clockFrequency;\n }", "TesttrackFactory getTesttrackFactory();", "public ScGridColumn<AcUspsInternationalSkeletonRouteOffer> newFrequencyColumn()\n {\n return newFrequencyColumn(\"Frequency\");\n }", "public MetricCalculator(JavaClass jc){\r\n\t\tjavaclass = jc;\r\n\t\tmccabe = new McCabeCyclomaticComplexity(jc);\r\n\t\tinherit = new Inheritance(jc);\r\n\t\tclassStat = new ClassStatistic(jc);\r\n\t\tresponseFC = new ResponseForClass(jc);\r\n\t}", "private SingletonSample() {}", "private WordCounting() {\r\n }", "public TagFreq(int freq, String tagName) {\r\n\t\tthis.freq = freq;\r\n\t\tthis.tagName = tagName;\r\n\t}", "public ValidFrequencyForm() {\r\n initComponents();\r\n }", "private SingletonSigar(){}", "public AllWordsCounter() {\n counters = new SingleWordCounter[MAX_WORDS];\n // TODO: initialize instance variable to hold MAX_WORDS objects\n\n }", "public Counter() {\r\n this.count = 0;\r\n }", "public static SchedulerThreadCounter getInstance()\n\t{\n\t\tif(istc_intance == null)\n\t\t\tistc_intance = new SchedulerThreadCounter();\n\n\t\treturn istc_intance;\n\t}", "public IntervalSampler(double freq) {\n this(freq, Integer.MAX_VALUE);\n }", "public AppsFlyerTracker() {}", "private float calculateSensorFrequency() {\n if (startTime == 0) {\n startTime = System.nanoTime();\n }\n\n long timestamp = System.nanoTime();\n\n // Find the sample period (between updates) and convert from\n // nanoseconds to seconds. Note that the sensor delivery rates can\n // individually vary by a relatively large time frame, so we use an\n // averaging technique with the number of sensor updates to\n // determine the delivery rate.\n float hz = (count++ / ((timestamp - startTime) / 1000000000.0f));\n\n return hz;\n }", "MetricsFactory getMetricsFactory();", "synchronized public static SampletypeManager getInstance()\n {\n return singleton;\n }", "private Count() {}" ]
[ "0.760131", "0.6961021", "0.69060767", "0.6701489", "0.6390543", "0.6165043", "0.61341304", "0.6110179", "0.6089528", "0.6076825", "0.60602194", "0.60453427", "0.6015217", "0.5999864", "0.59642816", "0.59409636", "0.59365106", "0.587381", "0.5873385", "0.58413774", "0.58114105", "0.5809601", "0.57920134", "0.57795405", "0.5761509", "0.57230604", "0.57078224", "0.5705564", "0.5697069", "0.5689411", "0.5677623", "0.5654146", "0.56425035", "0.5625373", "0.56167275", "0.5600244", "0.55882215", "0.55709654", "0.55639017", "0.55620164", "0.5523811", "0.55150324", "0.5498709", "0.54470366", "0.5443729", "0.5441987", "0.54282504", "0.5418961", "0.5392907", "0.5336122", "0.53276706", "0.5327037", "0.5325438", "0.5303496", "0.5254099", "0.5253702", "0.5253551", "0.5240316", "0.5239923", "0.52252215", "0.5219927", "0.5219871", "0.5217213", "0.52153015", "0.51939285", "0.5183217", "0.51726705", "0.51635706", "0.516147", "0.5153026", "0.51483923", "0.5127535", "0.5126505", "0.51244247", "0.51237607", "0.5122363", "0.5118494", "0.5117922", "0.51134765", "0.5103827", "0.50988364", "0.5084207", "0.5070355", "0.50687927", "0.50679636", "0.5057089", "0.5051662", "0.50157607", "0.50024945", "0.49961326", "0.49859306", "0.49749961", "0.49736232", "0.4967524", "0.4967407", "0.49661914", "0.4956782", "0.49512926", "0.49413586", "0.49405423" ]
0.844455
0
Important method that starts a Spark job to analyze through the file to discover the most common/majority class value.
public static Rule getDefaultRule(JavaRDD<String> data, String filePath){ RuleGenerator generator = RuleGenerator.getInstance(); generator.findClassName(filePath); String className = RuleGenerator.getClassName(); int classPos = RuleGenerator.getClassPos(); ArrayList<ArrayList<String>> classValues = RuleGenerator.getClassValues(); JavaRDD<String> flattenedLines = data.flatMap(new FlatMapFunction<String, String>(){ public Iterable<String> call(String line) throws Exception { // TODO Auto-generated method stub return Arrays.asList(line.split(",")); } }); //Create Key/Value pairs with word as key and count as value and then sum them up using reduceByKey JavaPairRDD<String,Integer> classCounts = flattenedLines.mapToPair( new PairFunction<String, String, Integer>(){ public Tuple2<String, Integer> call(String x) throws Exception { // TODO Auto-generated method stub return new Tuple2(x, 1); } }).reduceByKey(new Function2<Integer, Integer, Integer>(){ public Integer call(Integer x, Integer y){ return x + y; } }); /*Confirm Output */ ArrayList<Tuple2<String, Integer>> holderForClasses = new ArrayList<Tuple2<String, Integer>>(); for(Tuple2<String, Integer> tuple1 : classCounts.take((int) classCounts.count())){ for(int i = 0; i < classValues.size(); i++){ ArrayList<String> values = classValues.get(i); for(String value : values){ if(tuple1._1.equals(value)){ holderForClasses.add(tuple1); } } } } Integer largestCount = 0; for(int i = 0; i < holderForClasses.size(); i++){ Tuple2<String, Integer> tuple1 = holderForClasses.get(i); /* * Important: Does not handle situations where there are more than one majority class yet (Last one to be majority class is selected for now). * Check which class has the largest count and that class will be the majority class. */ if(tuple1._2 >= largestCount){ largestCount = tuple1._2; majorityClassValue = tuple1._1; } } /* Debugging and Troubleshooting */ /* for(String line : data.take(10)){ System.out.println(line); }*/ //System.out.println(data); /* System.out.println(className); System.out.println(majorityClassValue); System.out.println(classPos); */ return new Rule(className ,majorityClassValue, classPos); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void classificationTest(){\n\n\t\tJavaPairRDD<String, Set<String>> javaRDD = javaSparkContext.textFile(\"/Downloads/book2-master/2rd_data/ch02/Gowalla_totalCheckins.txt\")\n\t\t\t\t.map(line -> line.split(\"~\"))\n\t\t\t\t.map(s -> new AppDto(s[0],s[1],s[2],s[3],s[4]))\n\t\t\t\t.mapToPair(app -> {\n\t\t\t\t\tSet<String> setIntro = Arrays.stream(app.getIntroduction().split(\" \"))\n\t\t\t\t\t\t\t.map(s -> s.split(\"/\"))\n\t\t\t\t\t\t\t.filter(ss -> ss[0].length()>1 && (ss[1].equals(\"v\") || ss[1].indexOf(\"n\")>-1))\n\t\t\t\t\t\t\t.map(ss -> ss[0]).collect(Collectors.toSet());\n\n\t\t\t\t\treturn new Tuple2<>(app.getCls(), setIntro);\n\t\t\t\t});\n\n\t\tjavaRDD.map(t -> t._2).zipWithIndex();\n\t}", "public static void main(String[] args) {\n Logger.getLogger(\"org\").setLevel(Level.OFF);\n Logger.getLogger(\"akka\").setLevel(Level.OFF);\n\n\n String watchedMoviesPath;\n String preferencesPath;\n String moviesPath;\n String outputPath;\n double threshold;\n\n watchedMoviesPath = args[0];\n preferencesPath = args[1];\n moviesPath = args[2];\n outputPath = args[3];\n threshold = Double.parseDouble(args[4]);\n\n\n // Create a configuration object and set the name of the application\n SparkConf conf = new SparkConf().setAppName(\"ex44\");\n\n // Create a Spark Context object\n JavaSparkContext sc = new JavaSparkContext(conf);\n\n // Read the content of the input file/folder\n //map to pair (movieID, userID)\n JavaPairRDD<String, String> watchedMovieRDD = sc.textFile(watchedMoviesPath).mapToPair(line -> {\n String[] fields = line.split(\",\");\n String userID = fields[0];\n String movieID = fields[1];\n return new Tuple2<>(movieID, userID);\n });\n\n //map to pair (movieID, genre)\n JavaPairRDD<String, String> moviesRDD = sc.textFile(moviesPath).mapToPair(line -> {\n String[] fields = line.split(\",\");\n String movieID = fields[0];\n String genre = fields[2];\n return new Tuple2<>(movieID, genre);\n });\n\n // join the previous two to obtain (userID, genre)\n JavaPairRDD<String, String> userIdGenre = watchedMovieRDD.join(moviesRDD).mapToPair(joinedPair -> {\n String userID = joinedPair._2._1;\n String genre = joinedPair._2._2;\n return new Tuple2<>(userID, genre);\n });\n\n // create list of preference\n JavaPairRDD<String, Iterable<String>> listPreferencesRDD = sc.textFile(preferencesPath)\n .mapToPair(line -> {\n String[] fields = line.split(\",\");\n String userID = fields[0];\n String genre = fields[1];\n return new Tuple2<>(userID, genre);\n })\n .groupByKey();\n\n // Join userId watched genre with list of preferences\n // detect the misleading views\n // compute misleading percentage\n // filter above threshold\n // retrieve userID\n JavaPairRDD<String, Double> misleadingUsersRDD = userIdGenre\n .join(listPreferencesRDD)\n .mapToPair(view -> {\n String userId = view._1;\n String watchedGenre = view._2._1;\n\n List<String> likeList = new ArrayList<>();\n // store the list\n for (String value : view._2._2) {\n likeList.add(value);\n }\n\n return new Tuple2<>(userId, new Misleading(likeList.contains(watchedGenre) ? 0 : 1, 1));\n })\n .reduceByKey(Misleading::sum)\n .mapValues(Misleading::CriticalPercent)\n .filter(pair -> pair._2 > threshold);\n\n // count for each user the movie genre watched\n JavaPairRDD<String, Tuple2<String, Integer>> countedGenreRDD = userIdGenre.mapToPair(pair -> {\n String userID = pair._1;\n String genre = pair._2;\n\n return new Tuple2<>(new Tuple2<>(userID, genre), 1);\n }).reduceByKey(Integer::sum)\n .mapToPair(pair -> {\n String userID = pair._1._1;\n String genre = pair._1._2;\n int nTimes = pair._2;\n return new Tuple2<>(userID, new Tuple2<>(genre, nTimes));\n });\n\n // Join the misleading userID with their list of preferences\n // Join with the counted Genre\n JavaPairRDD<String, Tuple2<Tuple2<Double, Iterable<String>>, Tuple2<String, Integer>>> misleadingListRDD = misleadingUsersRDD\n .join(listPreferencesRDD)\n .join(countedGenreRDD);\n\n // filter the list\n JavaPairRDD<String,String> filteredListRDD = misleadingListRDD.flatMapValues(value -> {\n String genre = value._2._1;\n int nTimes = value._2._2;\n List<String> likedGenre = new ArrayList<>();\n for (String v : value._1._2) {\n likedGenre.add(v);\n }\n\n List<String> newGenre = new ArrayList<>();\n if(!likedGenre.contains(genre) && nTimes >= 5){\n newGenre.add(genre);\n }\n \n return newGenre;\n });\n\n // store the RDD\n filteredListRDD.saveAsTextFile(outputPath);\n\n\n // Close the Spark context\n sc.close();\n }", "public static void main(String[] args) throws IllegalArgumentException, IOException, ClassNotFoundException, InterruptedException {\n Configuration conf=new Configuration();\n FileSystem hdfs=FileSystem.get(conf);\n System.out.println(conf.get(\"fs.defaultFS\"));\n //conf.set(\"fs.defaultFS\",\"http//:localhost:9000\");\n Job job=new Job(conf,\"word cout\");\n job.setJarByClass(MyWordCount.class);\n job.setMapperClass(MyMapper.class);\n job.setReducerClass(MyReduce.class);\n job.setCombinerClass(MyReduce.class);\n job.setOutputKeyClass(Text.class);\n job.setOutputValueClass(IntWritable.class);\n// job.setInputFormatClass(TextInputFormat.class);\n// job.setOutputFormatClass(TextOutputFormat.class);\n FileInputFormat.addInputPath(job, new Path(\"file:///usr/local/hadoop-2.6.1/input\"));\n FileOutputFormat.setOutputPath(job, new Path(\"hdfs:///user/output\"));\n System.exit(job.waitForCompletion(true) ? 0 : 1);\n }", "public static void main(String[] args) throws Exception {\n \r\n SparkConf conf = new SparkConf().setAppName(\"App\");\r\n JavaSparkContext ctx = new JavaSparkContext(conf);\r\n\r\n JavaRDD<String> lines = (JavaRDD<String>) ctx.textFile(\"/output/1/\", 1).collect();\r\n\r\n\r\n \r\n JavaPairRDD<String,Integer> kv = lines.mapToPair(new PairFunction<String,String,Integer>() {\r\n \r\n public Tuple2<String,Integer> call(String s) {\r\n String[] tokens = s.split(\",\"); // url,789\r\n return new Tuple2<String,Integer>(tokens[2], Integer.parseInt(tokens[1]));\r\n }\r\n });\r\n // kv.saveAsTextFile(\"/spartOutone\");\r\n JavaPairRDD<String, Integer> uniqueKeys = kv.reduceByKey(new Function2<Integer,Integer,Integer>(){\r\n//\r\n\t\t@Override\r\n\t\tpublic Integer call(Integer i1, Integer i2) throws Exception {\r\n\t\t\t// TODO Auto-generated method stub\r\n\t\treturn i1+i2;\r\n\t\t}\r\n\t\t});\r\n//\r\n\r\n List<Tuple2<String, Integer>> topNResult = uniqueKeys.takeOrdered(10, MyTupleComparator.INSTANCE);\r\n//\r\n \r\n for (Tuple2<String, Integer> entry : topNResult) { \t \r\n System.out.println(entry._2 + \"--\" + entry._1);\r\n }\r\n \r\n System.exit(0);\r\n }", "public static void main(String args[])throws Exception{ \n //首先定义两个临时文件夹,这里可以使用随机函数+文件名,这样重名的几率就很小。 \n String dstFile = \"temp_src\"; \n String srcFile = \"temp_dst\"; \n \n Configuration conf = new Configuration(); \n \n System.out.println(\"fs:\" + conf.get(\"fs.default.name\"));\n // must!!! config the fs.default.name be the same to the value in core-site.xml \n \n// conf.set(\"fs.default.name\",\"hdfs://hadoop1-node1:9000\"); \n// \n// conf.set(\"mapred.job.tracker\",\"hadoop1-node1:9001\"); \n \n conf.set(\"mapred.jar\", \"E:/work_space_trade/howbuy-hadoop_20150209/target/test-classes/wordcount.jar\");\n \n// conf.set(\"hadoop.native.lib\", \"false\");\n \n /* //这里生成文件操作对象。 \n HDFS_File file = new HDFS_File(); \n \n \n //从本地上传文件到HDFS,可以是文件也可以是目录 \n file.PutFile(conf, args[0], dstFile); \n \n System.out.println(\"up ok\"); */\n \n \n \n Job job = new Job(conf, \"mywordcount1\"); \n job.setJarByClass(Mywordcount.class); \n \n job.setInputFormatClass(TextInputFormat.class); \n \n job.setOutputKeyClass(Text.class); \n job.setOutputValueClass(IntWritable.class); \n \n job.setMapperClass(WordcountMapper.class); \n job.setReducerClass(WordcountReducer.class); \n job.setCombinerClass(WordcountReducer.class); \n //注意这里的输入输出都应该是在HDFS下的文件或目录 \n FileInputFormat.setInputPaths(job, new Path(\"/wordcount\")); \n FileOutputFormat.setOutputPath(job, new Path(\"/wordoutput\"));\n //开始运行 \n job.waitForCompletion(true); \n \n /*//从HDFS取回文件保存至本地 \n file.GetFile(conf, srcFile, args[1]); \n System.out.println(\"down the result ok!\"); \n //删除临时文件或目录 \n file.DelFile(conf, dstFile, true); \n file.DelFile(conf, srcFile, true); */\n \n System.out.println(\"delete file on hdfs ok!\"); \n }", "public static void main(String[] args) throws Exception {\n Configuration conf = new Configuration();\n Job job = new Job(conf, \"wordcount\");\n job.setJarByClass(NB_train_hadoop.class);\n job.setOutputKeyClass(Text.class);\n job.setOutputValueClass(IntWritable.class);\n job.setMapperClass(NB_train_hadoop.TokenizerMapper.class);\n job.setReducerClass(NB_train_hadoop.IntSumReducer.class);\n job.setNumReduceTasks(Integer.parseInt(args[2]));\n\n FileInputFormat.addInputPath(job, new Path(args[0]));\n FileOutputFormat.setOutputPath(job, new Path(args[1]));\n\n job.waitForCompletion(true);\n }", "public void executeSteps() {\n\t\tLogger.getLogger(\"org\").setLevel(Level.OFF);\r\n\t\tLogger.getLogger(\"akka\").setLevel(Level.OFF);\r\n\t\tSystem.setProperty(\"hadoop.home.dir\", \"C:\\\\spark\\\\bin\");\r\n\t\tSparkSession sparkSession = SparkSession\r\n\t\t\t\t.builder().master(\"local[2]\")\r\n\t\t\t\t.getOrCreate();\r\n\t\t\r\n\t\tString path = \"data/gender-classifier.csv\";\r\n\t\t\r\n\t\t// Read the file as a training dataset\r\n\t\tDataset<Row> csv = sparkSession.read().\r\n\t\t\t\tformat(\"csv\").\r\n\t\t\t\toption(\"header\",\"true\").\r\n\t\t\t\toption(\"ignoreLeadingWhiteSpace\",false). // you need this\r\n\t\t\t\toption(\"ignoreTrailingWhiteSpace\",false).load(path);\r\n\t\t\r\n\r\n\t\tSystem.out.println(\"Dataset<Row> csv: \"+csv.columns().length+\" : \"+csv.count());\r\n\t\tcsv.show(10);\r\n\t\t\r\n\t\t// drop the columns which are mostly empty\r\n\t\tString[] dropCol = {\"id\",\"member_id\",\"url\",\"desc\",\"zip_code\",\"addr_state\",\"earliest_cr_line\",\"issue_d\",\"last_pymnt_d\",\r\n\t\t\t\t\"next_pymnt_d\",\"last_credit_pull_d\",\"application_type\",\r\n\t\t\t\t\"annual_inc_joint\",\"dti_joint\",\"verification_status_joint\",\"open_acc_6m\",\r\n\t\t\t\t\"open_act_il\",\"open_il_12m\",\"open_il_24m\",\"mths_since_rcnt_il\",\"total_bal_il\",\"il_util\",\"open_rv_12m\",\r\n\t\t\t\t\"open_rv_24m\",\"max_bal_bc\",\"all_util\",\"inq_fi\",\"total_cu_tl\",\"inq_last_12m\",\r\n\t\t\t\t\"revol_bal_joint\",\"sec_app_earliest_cr_line\",\"sec_app_inq_last_6mths\",\"sec_app_mort_acc\",\r\n\t\t\t\t\"sec_app_open_acc\",\"sec_app_revol_util\",\"sec_app_open_act_il\",\"sec_app_num_rev_accts\",\r\n\t\t\t\t\"sec_app_chargeoff_within_12_mths\",\"sec_app_collections_12_mths_ex_med\",\r\n\t\t\t\t\"sec_app_mths_since_last_major_derog\",\"hardship_flag\",\"hardship_type\",\"hardship_reason\",\"hardship_status\",\r\n\t\t\t\t\"deferral_term\",\"hardship_amount\",\"hardship_start_date\",\r\n\t\t\t\t\"hardship_end_date\",\"payment_plan_start_date\",\"hardship_length\",\"hardship_dpd\",\"hardship_loan_status\",\r\n\t\t\t\t\"orig_projected_additional_accrued_interest\",\"hardship_payoff_balance_amount\",\"hardship_last_payment_amount\",\r\n\t\t\t\t\"disbursement_method\",\"debt_settlement_flag\",\"debt_settlement_flag_date\",\r\n\t\t\t\t\"settlement_status\",\"settlement_date\",\"settlement_amount\",\"settlement_percentage\",\"settlement_term\",\"pymnt_plan\",\r\n\t\t\t\t\"mths_since_last_record\",\"mths_since_last_major_derog\",\"mths_since_recent_bc_dlq\",\r\n\t\t\t\t\"mths_since_recent_inq\",\"mths_since_recent_revol_delinq\",\"mths_since_last_delinq\"};\r\n\t\tfor(String column: dropCol) {\r\n\t\t\tcsv = csv.drop(column);\r\n\t\t}\r\n\t\tSystem.out.println(\"Droping columns csv: \"+csv.columns().length+\" : \"+csv.count());\r\n\t\tcsv.show(10);\r\n\r\n\t\t// drop the rows containing any null or NaN values\r\n\t\tcsv = csv.na().drop();\r\n\t\tSystem.out.println(\"Droping Rows containing null csv: \"+csv.columns().length+\" : \"+csv.count());\r\n\t\tcsv.show(10);\r\n\t\t\r\n\t\t//TO SELECT ONLY A SAMPLE OF DATA TO WORK WITH\r\n\t\tcsv = csv.sample(true, 0.03).limit(10000);\r\n\t\tSystem.out.println(csv.count());\r\n\t\t\r\n\t\t// transform the String data into categorical variables\r\n\t\tStringIndexer indexer1 = new StringIndexer()\r\n\t\t\t\t.setInputCol(\"grade\")\r\n\t\t\t\t.setOutputCol(\"grade1\");\r\n\t\tStringIndexer indexer2 = new StringIndexer()\r\n\t\t\t\t.setInputCol(\"sub_grade\")\r\n\t\t\t\t.setOutputCol(\"sub_grade1\");\r\n\t\tStringIndexer indexer3 = new StringIndexer()\r\n\t\t\t\t.setInputCol(\"emp_title\")\r\n\t\t\t\t.setOutputCol(\"emp_title1\");\r\n\t\tStringIndexer indexer4 = new StringIndexer()\r\n\t\t\t\t.setInputCol(\"emp_length\")\r\n\t\t\t\t.setOutputCol(\"emp_length1\");\r\n\t\tStringIndexer indexer5 = new StringIndexer()\r\n\t\t\t\t.setInputCol(\"home_ownership\")\r\n\t\t\t\t.setOutputCol(\"home_ownership1\");\r\n\t\tStringIndexer indexer6 = new StringIndexer()\r\n\t\t\t\t.setInputCol(\"verification_status\")\r\n\t\t\t\t.setOutputCol(\"verification_status1\");\r\n\t\tStringIndexer indexer7 = new StringIndexer()\r\n\t\t\t\t.setInputCol(\"loan_status\")\r\n\t\t\t\t.setOutputCol(\"loan_status1\");\r\n\t\tStringIndexer indexer8 = new StringIndexer()\r\n\t\t\t\t.setInputCol(\"purpose\")\r\n\t\t\t\t.setOutputCol(\"purpose1\");\r\n\t\tStringIndexer indexer9 = new StringIndexer()\r\n\t\t\t\t.setInputCol(\"title\")\r\n\t\t\t\t.setOutputCol(\"title1\");\r\n\t\tStringIndexer indexer10 = new StringIndexer()\r\n\t\t\t\t.setInputCol(\"initial_list_status\")\r\n\t\t\t\t.setOutputCol(\"initial_list_status1\");\r\n\t\tStringIndexer indexer11 = new StringIndexer()\r\n\t\t\t\t.setInputCol(\"term\")\r\n\t\t\t\t.setOutputCol(\"term1\");\r\n\t\tList<StringIndexer> stringIndexer = Arrays.asList(indexer1, indexer2, indexer3, \r\n\t\t\t\tindexer4, indexer5, indexer6, indexer7, indexer8, indexer9, indexer10, indexer11);\r\n\t\tfor(StringIndexer indexer:stringIndexer) {\r\n\t\t\tcsv = indexer.fit(csv).transform(csv);\r\n\t\t}\r\n\t\tSystem.out.println(\"Before Transforming csv: \"+csv.columns().length+\" : \"+csv.count());\r\n\t\tcsv.show(10);\r\n\t\t\r\n\t\tString[] dropCol1 = {\"grade\",\"initial_list_status\",\"title\",\"purpose\",\"loan_status\",\"verification_status\",\r\n\t\t\t\t\"home_ownership\",\"emp_length\",\"emp_title\",\"sub_grade\",\"term\"};\r\n\t\tfor(String col: dropCol1) {\r\n\t\t\tcsv = csv.drop(col);\r\n\t\t}\r\n\t\tSystem.out.println(\"After Transforming csv: \"+csv.columns().length+\" : \"+csv.count());\r\n\t\tcsv.show(10);\r\n\r\n\t\t\r\n\t\t//Label - int_rate_final - process to convert it to a double variable\r\n\t\tsparkSession.udf().register(\"toPerSplit\", percentageSplitTest, DataTypes.StringType);\r\n\t\tcsv = csv.withColumn(\"int_rate_split\", callUDF(\"toPerSplit\", csv.col(\"int_rate\"))).drop(\"int_rate\");\r\n\t\tcsv = csv.withColumn(\"revol_util_split\", callUDF(\"toPerSplit\", csv.col(\"revol_util\"))).drop(\"revol_util\");\r\n\t\tSystem.out.println(\"After splitting csv: \"+csv.columns().length+\" : \"+csv.count());\r\n\t\tcsv.show(10);\r\n\r\n\t\t// Converting String to double values\r\n\t\tString[] columns = csv.columns();\r\n\t\tfor(String column:columns) {\r\n\t\t\tcsv = csv.withColumn(column+\"_final\", csv.col(column).cast(DataTypes.DoubleType)).drop(column);\r\n\t\t}\r\n\t\tSystem.out.println(\"After Converting to double csv: \"+csv.columns().length+\" : \"+csv.count());\r\n\t\tcsv.show(10);\r\n\t\t\r\n\t\t// Modeling \r\n\t\t// Create the feature vector using VectorAssembler\r\n\t\tDataset<Row> featureCsv = csv.drop(\"int_rate_split_final\");\r\n\t\tSystem.out.println(\"featureCsv: \");\r\n\t\tfeatureCsv.show(10);\r\n\r\n\t\tString[] inputCols = featureCsv.columns();\r\n\t\tVectorAssembler assembler = new\r\n\t\t\t\tVectorAssembler().setInputCols(inputCols).setOutputCol(\"features\");\r\n\r\n\t\tDataset<Row> featureVector = assembler.transform(csv);\r\n\t\tSystem.out.println(\"featureVector: \");\r\n\t\tfeatureVector.show(10);\r\n\r\n\t\t// Create the final dataset with \"features\" and \"label\"\r\n\t\tDataset<Row> target = featureVector.select(featureVector.col(\"features\"), \r\n\t\t\t\tfeatureVector.col(\"int_rate_split_final\")).withColumnRenamed(\"int_rate_split_final\", \"label\");\r\n\t\tSystem.out.println(\"target: \");\r\n\t\ttarget.show(10);\r\n\r\n\t\t// Summary Statistics and Correlation Analysis \r\n\t\t// Correlation Analysis\r\n\t\tRow r1 = Correlation.corr(target, \"features\").head();\r\n\t\tSystem.out.println(\"Pearson correlation matrix:\\n\" + r1.get(0).toString());\r\n\t\t\r\n\t\t// Split data into Training and testing\r\n\t\tDataset<Row>[] dataSplit = target.randomSplit(new double[] { 0.7, 0.3 });\r\n\t\tDataset<Row> trainingData = dataSplit[0];\r\n\t\tDataset<Row> testData = dataSplit[1];\r\n\r\n\t\tSystem.out.println(\"trainingData: \");\r\n\t\ttrainingData.show(10);\r\n\t\tSystem.out.println(\"testData: \");\r\n\t\ttestData.show(10);\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t// Run the Grid Search to find the best parameters\r\n\t\tdouble[] regParam = new double[] {0.01,0.02,0.03,0.04,0.05,0.06,0.07,0.08,0.09,0.1,0.11,0.12,0.13,0.14,0.15};\r\n\t\tdouble[] elasticParam = new double[] {0.3,0.4,0.5,0.6,0.7,0.8};\r\n\r\n// Commented out this part as it takes lot of computation power and time. Might be difficult to run.\r\n\t\t// for(double reg:regParam) {\r\n\t\t// \tfor(double elastic:elasticParam) {\r\n\t\t// \t\t//Define the model\r\n\t\t// \t\tLinearRegression lr = new LinearRegression()\r\n\t\t// \t\t\t\t.setMaxIter(10)\r\n\t\t// \t\t\t\t.setRegParam(reg)\r\n\t\t// \t\t\t\t.setElasticNetParam(elastic);\r\n\t\t// \t\t// Fit the model\r\n\t\t// \t\tLinearRegressionModel lrModel = lr.fit(trainingData);\r\n\t\t// \t\t// See the summary\r\n\t\t// \t\tLinearRegressionTrainingSummary trainingSummary = lrModel.summary();\r\n\t\t// \t\t//Print the model characteristics\r\n\t\t// \t\tSystem.out.println(\"Linear Model => regParam: \"+reg+\" elasticParam: \"+elastic);\r\n\t\t// \t\tSystem.out.println(\"RMSE: \" + trainingSummary.rootMeanSquaredError());\r\n\t\t// \t\tSystem.out.println(\"r2: \" + trainingSummary.r2());\t\t\t\r\n\t\t// \t}\r\n\t\t// }\r\n\r\n\t\tSystem.out.println(\"==============================================>\");\r\n\t\t\r\n\t\t// Testing models using Best Parameters as per R2 and RMSE\r\n\t\tLinearRegression lr = new LinearRegression()\r\n\t\t\t\t.setMaxIter(10)\r\n\t\t\t\t.setRegParam(0.02)\r\n\t\t\t\t.setElasticNetParam(0.5);\r\n\r\n\t\tLinearRegressionModel lrModel = lr.fit(trainingData);\r\n\r\n\t\tDataset<Row> results = lrModel.transform(testData);\r\n\r\n\t\t// Print the coefficients and intercept for logistic regression\r\n\t\tSystem.out.println(\"Coefficients: \"\r\n\t\t\t\t+ lrModel.coefficients() + \" Intercept: \" + lrModel.intercept());\r\n\r\n\t\tRegressionEvaluator evaluator = new RegressionEvaluator()\r\n\t\t\t\t.setMetricName(\"rmse\")\r\n\t\t\t\t.setLabelCol(\"label\")\r\n\t\t\t\t.setPredictionCol(\"prediction\");\r\n\t\tDouble rmse = evaluator.evaluate(results);\r\n\t\tSystem.out.println(\"Root-mean-square error for the Best Fit Model using RegParam(0.02) and ElasticNetParam(0.5) => \" + rmse);\r\n\r\n\t\tSystem.out.println(\"==============================================>\");\r\n\r\n\t\t// Testing the normal Regression with out any regularisation parameters\r\n\t\tLinearRegression lr2 = new LinearRegression()\r\n\t\t\t\t.setMaxIter(10);\r\n\r\n\t\tLinearRegressionModel lrModel2 = lr2.fit(trainingData);\r\n\r\n\t\tLinearRegressionTrainingSummary trainingSummary2 = lrModel2.summary();\r\n\r\n\t\tSystem.out.println(\"Linear Model => default params ===> \");\r\n\r\n\t\t// Print the coefficients and intercept for linear regression\r\n\t\tSystem.out.println(\"Coefficients: \"\r\n\t\t\t\t+ lrModel2.coefficients() + \" Intercept: \" + lrModel2.intercept());\r\n\r\n\t\tSystem.out.println(\"RMSE: \" + trainingSummary2.rootMeanSquaredError());\r\n\t\tSystem.out.println(\"r2: \" + trainingSummary2.r2());\r\n\r\n\t\tDataset<Row> results2 = lrModel2.transform(testData);\r\n\r\n\t\tRegressionEvaluator evaluator2 = new RegressionEvaluator()\r\n\t\t\t\t.setMetricName(\"rmse\")\r\n\t\t\t\t.setLabelCol(\"label\")\r\n\t\t\t\t.setPredictionCol(\"prediction\");\r\n\t\tDouble rmse2 = evaluator2.evaluate(results2);\r\n\t\tSystem.out.println(\"Root-mean-square error for the Model with default values\" + rmse2);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "private void runBest() {\n }", "static void start() throws IOException\n {\n cms_list = create_cms( num_cms );\n\n\n // 5.do until terminate\n\t\tfor( int iter=0; iter<num_iter; iter++ )\n\t\t{\n\t\t\tstart_t = System.currentTimeMillis();\n\n\t\t\tcms_sol_rdd = spark_selection(); //selction \n\t\t cms_list = new ArrayList( spark_transition_fitness( cms_sol_rdd ));\n\t\t\treduce_t = System.currentTimeMillis();\n\t\t for( int i=0; i<num_cms; i++ )\n if( best_objectvalue > cms_list.get(i)._2() )\n best_objectvalue = cms_list.get(i)._2();\n\n\t\t\tend_t = System.currentTimeMillis();\n\t\t\tprint_best( iter + 1 ); //print\n\t\t}\n }", "public static void main(String[] args) {\n\t\tConfiguration conf = new Configuration();\n\t\t//conf.set(\"mapreduce.input.fileinputformat.split.maxsize\", ONE_MB * 32);\n \ttry {\n\t\t\tJob job = Job.getInstance(conf, \"Word Count Example\");\n\t\t\tjob.setJarByClass(App.class);\n\t\t\t\n\t\t\t//Set Mapper classes\n\t\t\tjob.setMapperClass(KeyValueMapper.class);\n//\t\t\tjob.setMapperClass(SqMapper.class);\n\t\t\tjob.setMapperClass(FixedLenMapper.class);\n\n\t\t\t\n\t\t\t//Set reduce class\n//\t\t\tjob.setReducerClass(0);\n\t\t\t\n\t\t\t/*Set InputFormat */\n\t\t\t\n\t\t\t/*use KeyValueTextInputFormat */\n\t\t\tjob.setInputFormatClass(KeyValueTextInputFormat.class);\n\t\t\t\n\t\t\t/*use NLineInputFormat */\n\t\t\t//job.setInputFormatClass(NLineInputFormat.class);\n//\t\t\tjob.getConfiguration().setInt(\n//\t\t\t\t\t\"mapreduce.input.lineinputformat.linespermap\", 3);\n\t\t\t\n\t\t\t/*use SequenceFileInputFormat */\n//\t\t\tjob.setInputFormatClass(SequenceFileInputFormat.class);\n\t\t\t\n\t\t\t/*use TextInputFormat */\n//\t\t\tjob.setInputFormatClass(TextInputFormat.class);\n\t\t\t\n\t\t\t/*use CombineSequenceFileInputFormat */\n//\t\t\tjob.setInputFormatClass(CombineTextInputFormat.class);\n\t\t\t\n\t\t\t/*use FixedLengthInputFormat */\n//\t\t\tjob.setInputFormatClass(FixedLengthInputFormat.class);\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t//set OutputFormat class \n\t\t\tjob.setOutputFormatClass(TextOutputFormat.class);\n//\t\t\tjob.setOutputFormatClass(SequenceFileOutputFormat.class);\n//\t\t\t//从下面的模式中选择一种,并将其余的注释掉\n//\t\t\t// 组合方式1:不压缩模式\n//\t\t\tSequenceFileOutputFormat.setOutputCompressionType(job,CompressionType.NONE);\n\t\t\t\n\t\t\t//Set the output key and value types\n//\t\t\tjob.setOutputKeyClass(LongWritable.class);\n//\t\t\tjob.setOutputValueClass(Text.class);\n\t\t\t\n\t\t\t\n\t\t\t//Set the input and output paths\n\t\t\tFileInputFormat.addInputPath(job, new Path(args[0]));\n\t\t\tFileOutputFormat.setOutputPath(job, new Path(args[1]));\n\t\t\t\n\t\t\t//Set the number of reducers\n\t\t\tjob.setNumReduceTasks(0);\n\t\t\t\n\t\t\ttry {\n\t\t\t\tSystem.exit(job.waitForCompletion(true) ? 0 : 1);\n\t\t\t} catch (ClassNotFoundException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n \t\n System.out.println( \"Hello World!\" );\n\n\t}", "public static void main(String[] args) {\n\n\tMiningOptions options = new MiningOptions();\n\tCmdLineParser parser = new CmdLineParser(options);\n\n\ttry {\n\t parser.parseArgument(args);\n\t} catch (CmdLineException e) {\n\t Main.printUsage(e.getMessage(), parser);\n\t return;\n\t}\n\n\t/* Print the help page. */\n\tif (options.getHelp()) {\n\t Main.printHelp(parser);\n\t return;\n\t}\n\n\t/* Parse the file into a list of file pairs. */\n\tSet<Candidate> candidates = new HashSet<Candidate>();\n\n\ttry (BufferedReader br = new BufferedReader(new FileReader(options.getCandidatesFile()))) {\n\t for (String line; (line = br.readLine()) != null;) {\n\n\t\tSystem.out.println(line);\n\t\t;\n\n\t\t/* Parse the line into a Candidate object. */\n\t\tString[] values = line.split(\",\");\n\t\tCandidate candidate = new Candidate(values[0], Integer.parseInt(values[1]),\n\t\t\tvalues[2], new File(options.getSourceDir(), values[3]),\n\t\t\tnew File(options.getSourceDir(), values[4]));\n\n\t\t/*\n\t\t * Add the candidate if it is is not already in the candidate set (we will\n\t\t * re-generate labels for each interesting change).\n\t\t */\n\t\tcandidates.add(candidate);\n\n\t }\n\t} catch (FileNotFoundException e) {\n\t System.err.println(\n\t\t \"FileNotFoundException while reading candidate file: \" + e.getMessage());\n\t e.printStackTrace();\n\t} catch (IOException e) {\n\t System.err.println(\"IOException while reading candidate file: \" + e.getMessage());\n\t e.printStackTrace();\n\t}\n\n\t/*\n\t * Create a pool of threads and use a CountDownLatch to check when all threads\n\t * are done.\n\t */\n\tExecutorService executor = Executors.newFixedThreadPool(options.getNThreads());\n\tCountDownLatch latch = new CountDownLatch(candidates.size());\n\n\t/* Analyze all projects. */\n\tfor (Candidate candidate : candidates) {\n\n\t try {\n\t\t/* Perform the analysis (this may take some time) */\n\t\tCandidateAnalysis candidateAnalysis = new CandidateAnalysis(candidate,\n\t\t\toptions.getOutFile());\n\t\texecutor.submit(new CandidateAnalysisTask(candidateAnalysis, latch));\n\t } catch (Exception e) {\n\t\te.printStackTrace(System.err);\n\t\tlogger.error(\"[IMPORTANT] Project \" + candidate.getURI() + \"/\" + candidate.getFile()\n\t\t\t+ \" threw an exception\");\n\t\tlogger.error(e);\n\t\tcontinue;\n\t }\n\n\t}\n\n\t/* Wait for all threads to finish their work */\n\ttry {\n\t latch.await();\n\t executor.shutdown();\n\t System.out.println(\"All threads finished!\");\n\t} catch (InterruptedException e) {\n\t e.printStackTrace();\n\t return;\n\t}\n\n }", "@Override\n protected void run() {\n for (long number : numbers){\n addTask(new FindFactorsTask(new FindFactorsTask.SearchOptions(number)));\n }\n executeTasks();\n\n //Find common factors\n final Set<Long> set = new HashSet<>(((FindFactorsTask) getTasks().get(0)).getFactors());\n for (int i = 1; i < getTasks().size(); ++i){\n set.retainAll(((FindFactorsTask) getTasks().get(i)).getFactors());\n }\n\n //Find largest factor\n gcf = Collections.max(set);\n }", "public static void wordCount(String filename) {\n SparkConf conf = new SparkConf().setMaster(\"local\").setAppName(\"Word count App\");\n\n // create a java version of the spark context from the configuration\n JavaSparkContext sc = new JavaSparkContext(conf);\n\n // load input data, which is a text file read main\n // the repartition breaks up the document into 20 segments for parallelism\n JavaRDD<String> input = sc.textFile( filename ).repartition(20);\n // split input string into words\n JavaRDD<String> words = input.flatMap(s -> Arrays.asList(s.split(\" \")));\n\n // transform the collection of words into pairs (word and 1). We do not use a combiner here\n JavaPairRDD<String, Integer> counts = words\n // lowercase, remove apostrophes, grammar and lowercase\n .map(p -> p.replaceAll(\"(')|(\\\\W)\", \"$1\"))\n .map(r -> r.replaceAll(\"[^a-zA-Z ]\", \"\"))\n .map(q -> q.toLowerCase())\n\n .mapToPair(t -> new Tuple2( t, 1 ) )\n .partitionBy(new HashPartitioner(4))\n // this is reducing that parallelism back to one\n .reduceByKey( (x, y) -> (int)x + (int)y )\n .coalesce(1);\n\n counts.saveAsTextFile(\"src/main/java/resources/output\");\n }", "public static void main(String[] args) {\n String warehouseLocation = new File(\"spark-warehouse\").getAbsolutePath();\n\n SparkSession spark = SparkSession\n .builder()\n .appName(\"Movie Lens User analysis\")\n .config(\"spark.sql.warehouse.dir\", warehouseLocation)\n .enableHiveSupport()\n .getOrCreate();\n\n String ratingsFilePath = args[0];\n\n Dataset<Row> ratingsDataFrame = CsvUtils.getDataFrame(spark, ratingsFilePath);\n\n System.out.println(\"Total number of ratings = \" + ratingsDataFrame.count());\n\n ratingsDataFrame.cache();\n\n Dataset<Row> higherRatings = ratingsDataFrame.filter(\"rating > 3\");\n\n System.out.println(\"Count of ratings above 3 = \" + higherRatings.count());\n higherRatings.cache();\n\n System.out.println(\"Users with most ratings > 3\");\n higherRatings.groupBy(\"userId\", \"rating\")\n .count()\n .orderBy(desc(\"count\"), desc(\"rating\"))\n .show();\n\n System.out.println(\"Most commonly used rating\");\n\n ratingsDataFrame.groupBy(\"rating\")\n .count()\n .orderBy(desc(\"count\"))\n .show();\n\n System.out.println(\"Top 5 users\");\n ratingsDataFrame.groupBy(\"userId\")\n .count()\n .orderBy(desc(\"count\"))\n .show(5);\n\n\n ratingsDataFrame\n .write()\n .mode(SaveMode.Overwrite)\n .saveAsTable(\"topratingusers\");\n\n spark.stop();\n }", "@Override\n public void performRecommendedDataMiningMethodForAnalysis(Analysis analysis) throws IOException {\n }", "public static void main(String[] args) throws Exception {\n\t\tConfiguration conf = new Configuration();\n\t\tString[] otherArgs = new GenericOptionsParser(conf, args)\n\t\t\t\t.getRemainingArgs();\n\t\t\n\t\t//The input and the output path have to sent to the main/driver program\n\t\tif (otherArgs.length != 2) {\n\t\t\tSystem.err.println(\"Usage: wordcount <in> <out>\");\n\t\t\tSystem.exit(2);\n\t\t}\n\t\t\n\t\t//Create a job object and give the job a name\n\t\t//It allows the user to configure the job, submit it,\n\t\t//control its execution, and query the state.\n\t\tJob job = new Job(conf, \"word count\");\n\t\t\n\t\t//Specify the jar which contains the required classes\n\t\t//for the job to run.\n\t\tjob.setJarByClass(MaxMedals.class);\n\t\t\n\t\tjob.setMapperClass(TokenizerMapper.class);\n//\t\tjob.setCombinerClass(IntSumReducer.class);\n\t\tjob.setReducerClass(IntSumReducer.class);\n\t\t//job.setMapSpeculativeExecution(false);\n\t\t//job.setReduceSpeculativeExecution(false);\t\t\n\t\t\n\t\t//Set the output key and the value class for the entire job\n\t\tjob.setOutputKeyClass(Text.class);\n\t\tjob.setOutputValueClass(IntWritable.class);\n\t\t\n\t\t//Set the Input (format and location) and similarly for the output also\n\t\tFileInputFormat.addInputPath(job, new Path(otherArgs[0]));\n\t\tFileOutputFormat.setOutputPath(job, new Path(otherArgs[1]));\n\t\t\n\t\tjob.setNumReduceTasks(1);// setting number of reducer\n \n\t\t\n\t\t//Submit the job and wait for it to complete\n\t\tSystem.exit(job.waitForCompletion(true) ? 0 : 1);\n\t}", "public static void main(String[] args)\n\t{\n\t\t// Input validation\n\t\tif(args.length < 3)\n\t\t{\n\t\t\tSystem.out.println(\"Error - Wrong input parameters\");\n\t\t\tSystem.out.println(\"Usage:\");\n\t\t\tSystem.out.println(\" in - Input file name\");\n\t\t\tSystem.out.println(\" ob - Output file name for best solution\");\n\t\t\tSystem.out.println(\" ow - Output file name for worst solution\");\n\t\t\tSystem.exit(1);\n\t\t}\n\t\t\n\t\t// Argument extraction\n\t\tString inputFile = args[0];\n\t\tString outputFileBest = args[1];\n\t\tString outputFileWorst = args[2];\n\t\t\n\t\tDataSource sourceInput = null;\n\t\t\n\t\ttry \n\t\t{\n\t\t\t// Load the analysis data\n\t\t\tsourceInput = new DataSource(inputFile);\n\t\t\tInstances inputData = sourceInput.getDataSet();\n\t\t\tif (inputData.classIndex() == -1)\n\t\t\t\tinputData.setClassIndex(inputData.numAttributes() - 1);\n\t\t\t\n\t\t\t// Use the best method\n\t\t\tanalyzeData(inputData, BestClassifier, outputFileBest);\n\t\t\t\n\t\t\t// Use the worst method\n\t\t\tanalyzeData(inputData, WorstClassifier, outputFileWorst);\n\t\t} \n\t\tcatch (Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\t\t\tSystem.exit(1);\n\t\t}\n\t}", "public static void main(String[] args) throws IOException {\n JobConf conf = new JobConf(CrimeComputer.class);\n\t conf.setJobName(\"CrimeComputer\");\n\t\n\t conf.setOutputKeyClass(Text.class);\n\t conf.setOutputValueClass(IntWritable.class);\n \n System.out.println(\"\\n Please select a region defintion:\\n 1.Highest one digit of Northing & Easting \\n 2.Highest two digits of Northing & Easting \\n 3.Highest three digits of Northing & Easting \\n Enter: 1,2 or 3 \\n \");\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String option=br.readLine();\n if(option.equals(\"1\"))\n {\n conf.setMapperClass(Map1.class); \n }\n else if(option.equals(\"2\"))\n conf.setMapperClass(Map2.class);\n else if(option.equals(\"3\"))\n {\n conf.setMapperClass(Map3.class); \n }\n else\n {\n System.out.println(\"Invalid Input!\");\n System.exit(0);\n }\n\n\t \n System.out.println(\"\\n Please select the number of Mappers: 1, 2 or 5? \\n\");\n option=br.readLine();\n if(option.equals(\"1\"))\n conf.setNumMapTasks(1);\n if(option.equals(\"2\"))\n conf.setNumMapTasks(2);\n if(option.equals(\"5\"))\n conf.setNumMapTasks(5); \n \n System.out.println(\"\\n Please select the number of Reducers: 1, 2 or 5? \\n\");\n option=br.readLine();\n if(option.equals(\"1\"))\n conf.setNumReduceTasks(1);\n if(option.equals(\"2\"))\n conf.setNumReduceTasks(2);\n if(option.equals(\"5\"))\n conf.setNumReduceTasks(5); \n \n conf.setCombinerClass(Reduce.class);\n\t conf.setReducerClass(Reduce.class);\n\t\n \n\t conf.setInputFormat(TextInputFormat.class);\n\t conf.setOutputFormat(TextOutputFormat.class);\n\t\n\t FileInputFormat.setInputPaths(conf, new Path(args[0]));\n\t FileOutputFormat.setOutputPath(conf, new Path(args[1]));\n JobClient.runJob(conf);\n \n }", "public static void main(String[] args) {\r\n\t\t\r\n\t\tClassifyDocuments docsClassification = new ClassifyDocuments();\r\n\t\t\r\n\t\t// Ask user for input to the root directory where all the folders are located\r\n\t\tScanner scan = new Scanner(System.in);\r\n\t\tSystem.out.println(\"Enter the path of the directory where all the folders are located\\n\");\r\n\t\tdocsClassification.rootFolder = scan.next();\r\n\t\t\r\n\t\t// Initialize all the other path variables\r\n\t\tdocsClassification.allDocs = docsClassification.rootFolder + \"\\\\ALL\";\r\n\t\tdocsClassification.hamiltonDocs = docsClassification.rootFolder + \"\\\\HAMILTON\";\r\n\t\tdocsClassification.jayDocs = docsClassification.rootFolder + \"\\\\JAY\";\r\n\t\tdocsClassification.madisonDocs = docsClassification.rootFolder + \"\\\\MADISON\";\r\n\t\tdocsClassification.hamiltonAndMadison = docsClassification.rootFolder + \"\\\\HAMILTON AND MADISON\";\r\n\t\tdocsClassification.toBeClassified = docsClassification.rootFolder + \"\\\\HAMILTON OR MADISON\";\r\n\r\n\t\t// Create the invertedIndex\r\n\t\tdocsClassification.createIndex();\r\n\t\t\r\n\t\tlong beginTime = System.currentTimeMillis();\r\n\r\n\t\t// Call doRocchioClassification\r\n\t\tSystem.out.println(\"As per Rocchio Classification:\");\r\n\t\tdocsClassification.doRocchioClassification();\r\n\r\n\t\t// Call doBayesianClassification\r\n\t\tSystem.out.println(\"As per Bayesian Classification:\");\r\n\t\tdocsClassification.doBayesianClassification();\r\n\t\t\r\n\t\tSystem.out.println(\"Time taken : \" + (System.currentTimeMillis() - beginTime) + \"ms\");\r\n\r\n\t}", "static void start() throws IOException\n {\n Double[][] center;\n JavaPairRDD<Integer, Tuple2<Double[], Double>> sol;\n\n center = create_center( num_k );\n\n // 5.do until terminate\n for( int iter=0; iter<num_iter; iter++ )\n\t\t{\n start_t = System.currentTimeMillis();\n\n center = spark_kmeans( center );\n\n end_t = System.currentTimeMillis();\n print_best( iter + 1 );\n\t\t}\n }", "public static void main(String[] args) {\n System.setProperty(\"hadoop.home.dir\", \"d:/tools/winutils-extra/hadoop\");\n Logger.getLogger(\"org.apache\").setLevel(Level.WARN);\n\n WarmupExercice_13_38 exercice = new WarmupExercice_13_38();\n List<Tuple2<Integer, Integer>> datasetRaw = exercice.initSampleDataset();\n\n // init Spark framework\n SparkConf conf = new SparkConf().setAppName(\"WarmupExercice\").setMaster(\"local[*]\");\n JavaSparkContext sc = new JavaSparkContext(conf);\n\n // we want to count the number of chapter of EACH course\n JavaPairRDD<Integer, Integer> dataset = sc.parallelizePairs(datasetRaw);\n // the usual count solution: map each occurrence of a chapter in a course to the \"1\" value\n System.out.println(\"Print count of chapter occurrences per course\");\n dataset\n .mapToPair(course -> new Tuple2<>(course._2, 1))\n .reduceByKey((value1, value2) -> value1 + value2)\n .sortByKey()\n .take(10)\n .forEach(value -> System.out.println(value));\n\n }", "public static void main(String[] args) {\n Path inputRatingsPath = new Path(args[0]); //movieid, userid, rating (text files)\n Path job1OutputPath = new Path(\"/user/hduser/partialResults\"); \n Path partialDistancesPath = new Path(\"/user/hduser/partialResults/part-*\"); //member_nonMember \\t partialDistance (sequence files)\n Path candidateMoviesPath = new Path(\"/user/hduser/partialResults/candidateMovies-*\"); //candidateMovieId, nonMemberUserId_rating (text files)\n Path userSimilaritiesPath = new Path(\"/user/hduser/userSimilarities\"); //similarity of each group member to his friends (text files)\n Path finalScoresPath = new Path(args[1]); //movieId \\t outputScore\n \n int numReduceTasks = 56; //defaultValue\n if (args.length == 3) {\n numReduceTasks = Integer.parseInt(args[2]);\n }\n \n final float friendsSimThresh = 0.8f;\n \n String groupFilePath = \"/user/hduser/group.txt\"; //one-line csv file with user ids (text file)\n \n if (args.length < 2 || args.length > 3) {\n System.err.println(\"Incorrect input. Example usage: hadoop jar ~/GroupRecs/MultiUser.jar inputPath outputPath [numReduceTasks]\");\n return;\n }\n \n //JOB 1//\n JobClient client = new JobClient();\n JobConf conf = new JobConf(gr.forth.ics.isl.grouprecsmr.multiuser.MultiUserMain.class);\n \n try {\n FileSystem fs = FileSystem.get(conf);\n if (fs.exists(job1OutputPath)) {\n fs.delete(job1OutputPath, true);\n }\n if (fs.exists(userSimilaritiesPath)) {\n fs.delete(userSimilaritiesPath, true);\n }\n if (fs.exists(finalScoresPath)) {\n fs.delete(finalScoresPath, true);\n }\n } catch (IOException ex) {\n Logger.getLogger(MultiUserMain.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n conf.setJobName(\"Multi-user approach - Job 1\");\n System.out.println(\"Starting Job 1 (Multi-user approach)...\");\n\n conf.setMapOutputKeyClass(VIntWritable.class);\n conf.setMapOutputValueClass(Text.class);\n\n conf.setOutputKeyClass(Text.class);\n conf.setOutputValueClass(ByteWritable.class);\n\n conf.setInputFormat(TextInputFormat.class);\n //conf.setOutputFormat(TextOutputFormat.class);\n conf.setOutputFormat(SequenceFileOutputFormat.class);\n SequenceFileOutputFormat.setOutputCompressionType(conf,\tSequenceFile.CompressionType.BLOCK);\n\n FileInputFormat.setInputPaths(conf, inputRatingsPath); //user ratings\n FileOutputFormat.setOutputPath(conf, job1OutputPath); //partial distances\n \n MultipleOutputs.addNamedOutput(conf, \"candidateMovies\", SequenceFileOutputFormat.class,VIntWritable.class, Text.class); //movieId, userId_rating\n\n conf.setMapperClass(gr.forth.ics.isl.grouprecsmr.job1.Job1Mapper.class);\t\t\n conf.setReducerClass(gr.forth.ics.isl.grouprecsmr.job1.Job1Reducer.class);\n\n conf.setNumReduceTasks(numReduceTasks);\n\n try {\n DistributedCache.addCacheFile(new URI(groupFilePath), conf); // group\t\n } catch (URISyntaxException e1) {\n System.err.println(e1.toString());\n }\n \n conf.setInt(\"mapred.task.timeout\", 6000000);\n \n client.setConf(conf);\n RunningJob job;\n try {\n job = JobClient.runJob(conf);\t\n job.waitForCompletion();\n } catch (Exception e) {\n System.err.println(e);\n }\n \n \n \n //JOB 2//\n System.out.println(\"Starting Job 2 (Multi-user approach)...\");\n JobClient client2 = new JobClient();\n JobConf conf2 = new JobConf(gr.forth.ics.isl.grouprecsmr.multiuser.MultiUserMain.class);\n\n conf2.setJobName(\"Multi-user approach - Job 2\");\n\n conf2.setMapOutputKeyClass(Text.class); //user pair (member_nonMember), where nonMember is in friends\n conf2.setMapOutputValueClass(ByteWritable.class);//similarity part unsquared\n \n conf2.setOutputKeyClass(Text.class); //user pair (member_nonMember), where nonMember is in friends\n conf2.setOutputValueClass(DoubleWritable.class);//similarity\n\n conf2.setInputFormat(SequenceFileInputFormat.class);\n //conf2.setInputFormat(TextInputFormat.class);\n conf2.setOutputFormat(TextOutputFormat.class);\n //conf2.setOutputFormat(SequenceFileOutputFormat.class);\n //SequenceFileOutputFormat.setOutputCompressionType(conf2, SequenceFile.CompressionType.BLOCK);\n\n FileInputFormat.setInputPaths(conf2, partialDistancesPath); //Job 1 output\n FileOutputFormat.setOutputPath(conf2, userSimilaritiesPath); //Job 2 output (similarity of each group member to his friends)\n\n conf2.setMapperClass(IdentityMapper.class);\t\t\n conf2.setReducerClass(gr.forth.ics.isl.grouprecsmr.job2.Job2ReducerMulti.class);\n\n int numSimilaritiesPartitions = numReduceTasks;\n conf2.setNumReduceTasks(numSimilaritiesPartitions);\n\n conf2.setFloat(\"friendsSimThreshold\", friendsSimThresh);\n \n conf2.setInt(\"mapred.task.timeout\", 6000000);\n conf2.set(\"io.sort.mb\", \"500\");\n \n client2.setConf(conf2);\n RunningJob job2;\n try {\n job2 = JobClient.runJob(conf2);\t\n job2.waitForCompletion();\n } catch (Exception e) {\n System.err.println(e);\n }\n \n //JOB 3//\n System.out.println(\"Starting Job 3 (Multi-user approach)...\");\n JobClient client3 = new JobClient();\n JobConf conf3 = new JobConf(gr.forth.ics.isl.grouprecsmr.multiuser.MultiUserMain.class);\n\n conf3.setJobName(\"Multi-user approach - Job 3\");\n\n conf3.setMapOutputKeyClass(VIntWritable.class);\n conf3.setMapOutputValueClass(Text.class);\n \n conf3.setOutputKeyClass(VIntWritable.class);\n conf3.setOutputValueClass(DoubleWritable.class);\n\n conf3.setInputFormat(SequenceFileInputFormat.class);\n //conf3.setInputFormat(TextInputFormat.class);\n conf3.setOutputFormat(TextOutputFormat.class);\n //conf3.setOutputFormat(SequenceFileOutputFormat.class);\n //SequenceFileOutputFormat.setOutputCompressionType(conf3,SequenceFile.CompressionType.BLOCK);\n \n \n try {\n DistributedCache.addCacheFile(new URI(groupFilePath), conf3);\n } catch (URISyntaxException ex) {\n System.err.println(\"Could not add group file to distributed cache. \"+ex);\n }\n for (int i = 0; i < numSimilaritiesPartitions; i++) { \n String reduceId = String.format(\"%05d\", i); //5-digit int with leading\n try {\n DistributedCache.addCacheFile(new URI(userSimilaritiesPath.toString()+\"/part-\"+reduceId), conf3);\n } catch (URISyntaxException ex) {\n System.err.println(\"Could not add similarities files to distributed cache. \"+ex);\n }\n \n }\n \n FileInputFormat.setInputPaths(conf3, candidateMoviesPath); //Job 1 output (candidate movies)\n FileOutputFormat.setOutputPath(conf3, finalScoresPath); //Job 3 output (movie \\t outputScore)\n\n// conf3.setMapperClass(IdentityMapper.class);\t\t\n conf3.setMapperClass(gr.forth.ics.isl.grouprecsmr.job3.Job3MapperMulti.class); //filtering out ratings from non-Friends\n conf3.setReducerClass(gr.forth.ics.isl.grouprecsmr.job3.Job3ReducerMulti.class);\n \n conf3.setInt(\"mapred.task.timeout\", 6000000);\n conf3.set(\"io.sort.mb\", \"500\");\n\n conf3.setNumReduceTasks(numReduceTasks);\n \n client3.setConf(conf3);\n RunningJob job3;\n try {\n job3 = JobClient.runJob(conf3);\t\n job3.waitForCompletion();\n } catch (Exception e) {\n System.err.println(e);\n }\n }", "public static void main(String[] args) {\n String master = \"spark://10.211.55.101:7077\";\n SparkConf conf = new SparkConf()\n .setMaster(master)\n// .set(\"spark.driver.memory\", \"512m\")\n// .set(\"spark.worker.memory\", \"512m\")\n .set(\"spark.executor.memory\", \"1g\")\n// .set(\"spark.task.cpus\", \"2\")\n .set(\"spark.cores.max\", \"3\")\n .setAppName(\"Simple Application\");\n\n JavaSparkContext sc = new JavaSparkContext(conf);\n sc.addJar(\"target/SparkTraining-1.0-SNAPSHOT.jar\");\n\n// JavaRDD<String> rdd = sc.textFile(\"file:///home/pi/raspberry/Notes.txt\");\n// JavaPairRDD<String, Integer> reducedRDD = rdd.flatMap(s -> Arrays.asList(s.split(\"\\\\s+\")))\n// .mapToPair(s -> new Tuple2<>(s, 1))\n// .reduceByKey((a, b) -> a + b);\n// System.out.println(reducedRDD.take(10));\n\n JavaRDD<String> rdd = sc.parallelize(Arrays.asList(\n \"//vagrant/raspberry/Notes.txt\",\n \"/vagrant/raspberry/run-hadoop.sh\",\n \"/vagrant/raspberry/run-hadoop.sh\"));\n// rdd = rdd.repartition(2);\n List<String> collect = rdd.map(new ClusterExecutor()).collect();\n System.out.println(collect);\n }", "@Override\n public Map<String,Object> run(Map<String,Object> args) throws Exception {\n Path tmpFolder = new Path(getConf().get(\"mapred.temp.dir\", \".\")\n + \"stat_tmp\" + System.currentTimeMillis());\n\n numJobs = 1;\n currentJob = new NutchJob(getConf(), \"db_stats\");\n\n currentJob.getConfiguration().setBoolean(\"mapreduce.fileoutputcommitter.marksuccessfuljobs\", false);\n \n Boolean sort = (Boolean)args.get(Nutch.ARG_SORT);\n if (sort == null) sort = Boolean.FALSE;\n currentJob.getConfiguration().setBoolean(\"db.reader.stats.sort\", sort);\n\n DataStore<String, WebPage> store = StorageUtils.createStore(currentJob\n .getConfiguration(), String.class, WebPage.class);\n Query<String, WebPage> query = store.newQuery();\n\n //remove the __g__dirty field since it is not stored\n String[] fields = Arrays.copyOfRange(WebPage._ALL_FIELDS, 1,\n WebPage._ALL_FIELDS.length);\n query.setFields(fields);\n\n GoraMapper.initMapperJob(currentJob, query, store, Text.class, LongWritable.class,\n WebTableStatMapper.class, null, true);\n\n currentJob.setCombinerClass(WebTableStatCombiner.class);\n currentJob.setReducerClass(WebTableStatReducer.class);\n\n FileOutputFormat.setOutputPath(currentJob, tmpFolder);\n\n currentJob.setOutputFormatClass(SequenceFileOutputFormat.class);\n\n currentJob.setOutputKeyClass(Text.class);\n currentJob.setOutputValueClass(LongWritable.class);\n FileSystem fileSystem = FileSystem.get(getConf());\n\n try {\n currentJob.waitForCompletion(true);\n } finally {\n ToolUtil.recordJobStatus(null, currentJob, results);\n if (!currentJob.isSuccessful()) {\n fileSystem.delete(tmpFolder, true);\n return results;\n }\n }\n\n Text key = new Text();\n LongWritable value = new LongWritable();\n\n SequenceFile.Reader[] readers = org.apache.hadoop.mapred.SequenceFileOutputFormat\n .getReaders(getConf(), tmpFolder);\n\n TreeMap<String, LongWritable> stats = new TreeMap<String, LongWritable>();\n for (int i = 0; i < readers.length; i++) {\n SequenceFile.Reader reader = readers[i];\n while (reader.next(key, value)) {\n String k = key.toString();\n LongWritable val = stats.get(k);\n if (val == null) {\n val = new LongWritable();\n if (k.equals(\"scx\"))\n val.set(Long.MIN_VALUE);\n if (k.equals(\"scn\"))\n val.set(Long.MAX_VALUE);\n stats.put(k, val);\n }\n if (k.equals(\"scx\")) {\n if (val.get() < value.get())\n val.set(value.get());\n } else if (k.equals(\"scn\")) {\n if (val.get() > value.get())\n val.set(value.get());\n } else {\n val.set(val.get() + value.get());\n }\n }\n reader.close();\n }\n\n LongWritable totalCnt = stats.get(\"T\");\n if (totalCnt==null)totalCnt=new LongWritable(0);\n stats.remove(\"T\");\n results.put(\"total pages\", totalCnt.get());\n for (Map.Entry<String, LongWritable> entry : stats.entrySet()) {\n String k = entry.getKey();\n LongWritable val = entry.getValue();\n if (k.equals(\"scn\")) {\n results.put(\"min score\", (val.get() / 1000.0f));\n } else if (k.equals(\"scx\")) {\n results.put(\"max score\", (val.get() / 1000.0f));\n } else if (k.equals(\"sct\")) {\n results.put(\"avg score\",\n (float) ((((double) val.get()) / totalCnt.get()) / 1000.0));\n } else if (k.startsWith(\"status\")) {\n String[] st = k.split(\" \");\n int code = Integer.parseInt(st[1]);\n if (st.length > 2)\n results.put(st[2], val.get());\n else\n results.put(st[0] + \" \" + code + \" (\"\n + CrawlStatus.getName((byte) code) + \")\", val.get());\n } else\n results.put(k, val.get());\n }\n // removing the tmp folder\n fileSystem.delete(tmpFolder, true);\n \n return results;\n }", "public static void main(String[] args) {\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-dd HH-mm-ss\");\n System.setProperty(\"current.date\", dateFormat.format(new Date()));\n // set path\n if (args.length > 1) path = args[1];\n // лучше называть каталог с результатами осмысленно :)\n File cfgFile = new File(args[0]);\n PropertyConfigurator.configure(cfgFile.getAbsolutePath());\n \n File[] files = getFilesInDir(path);\n for (File file : files) {\n // среднее считать - за сколько поколений в среднем достигается максимальнй фитнес - проще в расчетах писать и пихать в файл\n try {\n read(file.getAbsolutePath());\n System.out.println(\"Stats: \" + stats.size());\n }catch (IOException ex) { log.info(ex); }\n }\n \n System.out.println(\"bestFitness: \" + bestFitness);\n System.out.println(\"bestFile : \" + bestFile);\n System.out.println(\"bestUrgent : \" + bestUrgent);\n \n for (Integer id : stats.keySet()) {\n Stat stat = stats.get(id);\n //System.out.println(stat);\n //System.out.println(id + \". SumFit: \" + stat.sumFit() + \". SumUrg: \" + stat.sumUrgent());\n //System.out.println(id + \". AvgFit: \" + stat.avgFit() + \". avgUrg: \" + stat.avgUrgent());\n log.info(stat.avgFit() + \" \" + stat.avgUrgent() + \" \" + stat.id());\n }\n }", "private String getMajorityClass(List<Instance> instances) {\r\n\r\n\t\tint[] counters = countClasses(instances);\r\n\r\n\t\tint max = 0;\r\n\t\tint index = 0;\r\n\t\tfor(int i = 0;i<counters.length;++i){\r\n\t\t\tif(max<counters[i]){\r\n\t\t\t\tmax=counters[i];\r\n\t\t\t\tindex = i;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn classes.get(index);\r\n\t}", "public static void main(String[] args) {\n SparkConf sparkConf = new SparkConf().setAppName(\"basic log query\");\n JavaSparkContext sc = new JavaSparkContext(sparkConf);\n\n // create the logs RDD as JavaRDD<String>\n JavaRDD<String> logs = null;\n if (args.length == 1) {\n logs = sc.textFile(args[0]);\n }\n else {\n logs = sc.parallelize(EXAMPLE_LOGS);\n }\n\n // extract all essential log data\n JavaPairRDD<Tuple3<String, String, String>, LogStatistics> extracted = \n logs.mapToPair(new PairFunction<String, Tuple3<String, String, String>, LogStatistics>() {\n @Override\n public Tuple2<Tuple3<String, String, String>, LogStatistics> call(String logRecord) {\n String[] tokens = logRecord.split(\",\");\n Tuple3<String, String, String> key = createKey(tokens);\n LogStatistics value = createLogStatistics(tokens);\n return new Tuple2<Tuple3<String, String, String>, LogStatistics>(key, value);\n }\n });\n \n // filter the ones where userID is undefined\n JavaPairRDD<Tuple3<String, String, String>, LogStatistics> filtered = \n extracted.filter(new Function<\n Tuple2<Tuple3<String, String, String>, LogStatistics>, \n Boolean\n >() {\n public Boolean call(Tuple2<Tuple3<String, String, String>, LogStatistics> s) { \n Tuple3<String, String, String> t3 = s._1;\n return (t3._1() != null); // exclude Tuple3(null,null,null)\n }\n });\n\n // reduce by key\n JavaPairRDD<Tuple3<String, String, String>, LogStatistics> counts = \n filtered.reduceByKey(new Function2<LogStatistics, LogStatistics, LogStatistics>() {\n @Override\n public LogStatistics call(LogStatistics stats, LogStatistics stats2) {\n return stats.merge(stats2);\n }\n });\n\n // emit final output\n List<Tuple2<Tuple3<String, String, String>, LogStatistics>> output = counts.collect();\n for (Tuple2<?,?> t : output) {\n System.out.println(t._1() + \"\\t\" + t._2());\n }\n \n // done\n sc.stop();\n System.exit(0);\n }", "public static void main(String[] args) throws Exception {\n\t\t\n\t\tConfiguration conf = new Configuration();\n\t\tJob job = Job.getInstance(conf, \"ratings\");\n\t\tjob.setJarByClass(MarketRatings.class);\n\t\tjob.setMapperClass(MapClass.class);\t\t\n\t\tjob.setCombinerClass(Reduce.class);\t\t\n\t\tjob.setPartitionerClass(Partition.class);\n\t\tjob.setNumReduceTasks(6);\t\t\n\t\tjob.setReducerClass(Reduce.class);\n\t\tjob.setOutputKeyClass(Text.class);\n\t\tjob.setOutputValueClass(Text.class);\t\t\n\t\tjob.getConfiguration().set(\"mapred.job.queue.name\", \"\"); //configuration name removed\t\t\n\t\tFileInputFormat.addInputPath(job, new Path(args[0]));\n\t\tFileOutputFormat.setOutputPath(job, new Path(args[1]));\t\t\n\t\tSystem.exit(job.waitForCompletion(true) ? 0 : 1);\n\t}", "private void run() throws IOException{\n \tsplitBudget();\n \t\n \t// step 2.\n \t// Get top-k frequent itemsets, and exact support\n \tApriori Apriori = new Apriori(database, k, FIM, exact_support);\n \tApriori.run();\n \tfor(int i = 0; i < FIM.size(); i++) {\n \t\tSystem.out.println(FIM.get(i));\n \t\tSystem.out.println(exact_support.get(i));\n \t}\n\n \t// step3. step4.\n \t// Choose value for l\n \ttruncateTransaction();\n \t\n for(List<Integer> e : db)\n System.out.println(e);\n \t\n // step5.\n getResultLength();\n \t\n // step6.\n getLambda();\n \n // step7.\n // Compute the set F of frequent items\n computeF();\n \t\n \t\n }", "public static void main(String[] args) throws FileNotFoundException, IOException, InterruptedException {\n ArrayList<Metric> metrics = new ArrayList<Metric>();\n metrics.add(new ELOC());\n metrics.add(new NOPA());\n metrics.add(new NMNOPARAM());\n MyClassifier c1 = new MyClassifier(\"Logistic Regression\");\n c1.setClassifier(new Logistic());\n String type = \"CodeSmellDetection\";\n String smell = \"Large Class\";\n Model model = new Model(\"antModel1\", \"ant\", \"https://github.com/apache/ant.git\", metrics, c1, \"\", type, smell);\n Process process = new Process();\n String periodLength = \"All\";\n String version = \"rel/1.8.3\";\n \n String projectName = model.getProjName();\n process.initGitRepositoryFromFile(scatteringFolderPath + \"/\" + projectName\n + \"/gitRepository.data\");\n try {\n DeveloperTreeManager.calculateDeveloperTrees(process.getGitRepository()\n .getCommits(), periodLength);\n DeveloperFITreeManager.calculateDeveloperTrees(process.getGitRepository()\n .getCommits(), periodLength);\n } catch (Exception ex) {\n Logger.getLogger(TestFile.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n List<Commit> commits = process.getGitRepository().getCommits();\n PeriodManager.calculatePeriods(commits, periodLength);\n List<Period> periods = PeriodManager.getList();\n \n String dirPath = Config.baseDir + projectName + \"/models/\" + model.getName();\n Files.createDirectories(Paths.get(dirPath));\n \n for (Period p : periods) {\n File periodData = new File(dirPath + \"/predictors.csv\");\n PrintWriter pw1 = new PrintWriter(periodData);\n \n String message1 = \"nome,\";\n for(Metric m : metrics) {\n message1 += m.getNome() + \",\";\n }\n message1 += \"isSmell\\n\";\n pw1.write(message1);\n \n //String baseSmellPatch = \"C:/ProgettoTirocinio/dataset/apache-ant-data/apache_1.8.3/Validated\";\n CalculateSmellFiles cs = new CalculateSmellFiles(model.getProjName(), \"Large Class\", \"1.8.1\");\n \n List<FileBean> smellClasses = cs.getSmellClasses();\n \n String projectPath = baseFolderPath + projectName;\n \n Git.gitReset(new File(projectPath));\n Git.clean(new File(projectPath));\n \n List<FileBean> repoFiles = Git.gitList(new File(projectPath), version);\n System.out.println(\"Repo size: \"+repoFiles.size());\n \n \n for (FileBean file : repoFiles) {\n \n if (file.getPath().contains(\".java\")) {\n File workTreeFile = new File(projectPath + \"/\" + file.getPath());\n\n ClassBean classBean = null;\n \n if (workTreeFile.exists()) {\n ArrayList<ClassBean> code = new ArrayList<>();\n ArrayList<ClassBean> classes = ReadSourceCode.readSourceCode(workTreeFile, code);\n \n String body = file.getPath() + \",\";\n if (classes.size() > 0) {\n classBean = classes.get(0);\n\n }\n for(Metric m : metrics) {\n try{\n body += m.getValue(classBean, classes, null, null, null, null) + \",\";\n } catch(NullPointerException e) {\n body += \"0.0,\";\n }\n }\n \n //isSmell\n boolean isSmell = false;\n for(FileBean sm : smellClasses) {\n if(file.getPath().contains(sm.getPath())) {\n System.out.println(\"ok\");\n isSmell = true;\n break;\n }\n }\n \n body = body + isSmell + \"\\n\";\n pw1.write(body); \n }\n }\n }\n Git.gitReset(new File(projectPath));\n pw1.flush();\n }\n \n WekaEvaluator we1 = new WekaEvaluator(baseFolderPath, projectName, new Logistic(), \"Logistic Regression\", model.getName());\n \n ArrayList<Model> models = new ArrayList<Model>();\n \n models.add(model);\n System.out.println(models);\n //create a project\n Project p1 = new Project(\"https://github.com/apache/ant.git\");\n p1.setModels(models);\n p1.setName(\"ant\");\n p1.setVersion(version);\n \n ArrayList<Project> projects;\n //projects.add(p1);\n \n //create a file\n// try {\n// File f = new File(Config.baseDir + \"projects.txt\");\n// FileOutputStream fileOut;\n// if(f.exists()){\n// projects = ProjectHandler.getAllProjects(); \n// Files.delete(Paths.get(Config.baseDir + \"projects.txt\"));\n// //fileOut = new FileOutputStream(f, true);\n// } else {\n// projects = new ArrayList<Project>();\n// Files.createFile(Paths.get(Config.baseDir + \"projects.txt\"));\n// }\n// fileOut = new FileOutputStream(f);\n// projects.add(p1);\n// ObjectOutputStream out = new ObjectOutputStream(fileOut);\n// out.writeObject(projects);\n// out.close();\n// fileOut.close();\n//\n// } catch (FileNotFoundException e) {\n// e.printStackTrace();\n// } catch (IOException e) {\n// e.printStackTrace();\n// }\n// ProjectHandler.setCurrentProject(p1);\n// Project curr = ProjectHandler.getCurrentProject();\n// System.out.println(curr.getGitURL()+\" --- \"+curr.getModels());\n// ArrayList<Project> projectest = ProjectHandler.getAllProjects();\n// for(Project testp : projectest){\n// System.out.println(testp.getModels());\n// }\n }", "private void scan() {\n final ClassGraph classGraph = new ClassGraph();\n classGraph.enableAnnotationInfo().ignoreClassVisibility().blacklistLibOrExtJars()\n .removeTemporaryFilesAfterScan();\n if (whitelistedPackagesList.size() > 0) {\n classGraph.whitelistPackages(whitelistedPackagesList.toArray(new String[0]));\n }\n if (blacklistedPackagesList.size() > 0) {\n classGraph.blacklistPackages(blacklistedPackagesList.toArray(new String[0]));\n }\n final ScanResult scanResult = classGraph.scan();\n final ClassInfoList classInfoList = scanResult.getClassesWithAnnotation(MetricClass.class.getName());\n final Set<Class<?>> monitorClasses = new HashSet<>();\n monitorClasses.addAll(classInfoList.loadClasses(true));\n final List<CompositeData> metricClassCompositesList = new ArrayList<>();\n for (Class<?> monitorClass : monitorClasses) {\n try {\n final CompositeData metricClassComposite = new MonitorCompositeDataBuilder(monitorClass).getMetricClassData();\n metricClassCompositesList.add(metricClassComposite);\n } catch (OpenDataException ox) {\n logger.error(\"Build monitor metricaAnnotation failed: \" + monitorClass.getName());\n }\n }\n\n final int monitorCount = metricClassCompositesList.size();\n final String[] monitorKey = new String[monitorCount];\n final String[] monitorKeyDescription = new String[monitorCount];\n @SuppressWarnings(\"rawtypes\")\n final OpenType[] monitorType = new OpenType[monitorCount];\n final CompositeData[] metricClassComposites = metricClassCompositesList.toArray(new CompositeData[0]);\n for (int j = 0; j < metricClassComposites.length; j++) {\n final CompositeData metricClassComposite = metricClassComposites[j];\n monitorKey[j] = metricClassComposite.getCompositeType().getTypeName();\n monitorKeyDescription[j] = metricClassComposite.getCompositeType().getDescription();\n monitorType[j] = metricClassComposite.getCompositeType();\n }\n\n try {\n final CompositeType allMonitorCompositeType = new CompositeType(\"Monitor Metric\", \"Monitor Metric Info\", monitorKey,\n monitorKeyDescription, monitorType);\n allMonitorCompositeData = new CompositeDataSupport(allMonitorCompositeType, monitorKey, metricClassComposites);\n } catch (final OpenDataException ox) {\n logger.error(\"Creating CompositeData failed\", ox);\n }\n }", "public void run() throws Exception {\r\n\r\n\r\n LibSVM svm = new LibSVM();\r\n String svmOptions = \"-S 0 -K 2 -C 8 -G 0\"; //Final result: [1, -7 for saveTrainingDataToFileHybridSampling2 ]\r\n svm.setOptions(weka.core.Utils.splitOptions(svmOptions));\r\n System.out.println(\"SVM Type and Keranl Type= \" + svm.getSVMType() + svm.getKernelType());//1,3 best result 81%\r\n // svm.setNormalize(true);\r\n\r\n\r\n// load training data from .arff file\r\n ConverterUtils.DataSource source = new ConverterUtils.DataSource(\"C:\\\\Users\\\\hp\\\\Desktop\\\\SVM implementation\\\\arffData\\\\balancedTrainingDataUSSMOTE464Random.arff\");\r\n System.out.println(\"\\n\\nLoaded data:\\n\\n\" + source.getDataSet());\r\n Instances dataFiltered = source.getDataSet();\r\n dataFiltered.setClassIndex(0);\r\n\r\n // gridSearch(svm, dataFiltered);\r\n Evaluation evaluation = new Evaluation(dataFiltered);\r\n evaluation.crossValidateModel(svm, dataFiltered, 10, new Random(1));\r\n System.out.println(evaluation.toSummaryString());\r\n System.out.println(evaluation.weightedAreaUnderROC());\r\n double[][] confusionMatrix = evaluation.confusionMatrix();\r\n for (int i = 0; i < 2; i++) {\r\n for (int j = 0; j < 2; j++) {\r\n System.out.print(confusionMatrix[i][j] + \" \");\r\n\r\n }\r\n System.out.println();\r\n }\r\n System.out.println(\"accuracy for crime class= \" + (confusionMatrix[0][0] / (confusionMatrix[0][1] + confusionMatrix[0][0])) * 100 + \"%\");\r\n System.out.println(\"accuracy for other class= \" + (confusionMatrix[1][1] / (confusionMatrix[1][1] + confusionMatrix[1][0])) * 100 + \"%\");\r\n System.out.println(\"accuracy for crime class= \" + evaluation.truePositiveRate(0) + \"%\");\r\n System.out.println(\"accuracy for other class= \" + evaluation.truePositiveRate(1) + \"%\");\r\n\r\n\r\n }", "public int run(String[] args) throws Exception {\n JobConf conf = new JobConf(getConf(), LocalWordCount.class);\n conf.setJobName(\"wordcount\");\n\n // the keys are words (strings)\n conf.setOutputKeyClass(Text.class);\n // the values are counts (ints)\n conf.setOutputValueClass(LongWritable.class);\n\n conf.setMapperClass(Map.class);\n conf.setCombinerClass(GenericTransReduce.class);\n conf.setReducerClass(GenericTransReduce.class);\n\n // these are set so the job is run in the same\n // JVM as the debugger - we are not submitting \n // to MR Node.\n conf.set(\"mapred.job.tracker\", \"local\");\n conf.set(\"fs.default.name\", \"local\");\n \n List<String> other_args = new ArrayList<String>();\n for(int i=0; i < args.length; ++i) {\n try {\n if (\"-m\".equals(args[i])) {\n conf.setNumMapTasks(Integer.parseInt(args[++i]));\n } else if (\"-r\".equals(args[i])) {\n conf.setNumReduceTasks(Integer.parseInt(args[++i]));\n } else {\n other_args.add(args[i]);\n }\n } catch (NumberFormatException except) {\n System.out.println(\"ERROR: Integer expected instead of \" + args[i]);\n return printUsage();\n } catch (ArrayIndexOutOfBoundsException except) {\n System.out.println(\"ERROR: Required parameter missing from \" +\n args[i-1]);\n return printUsage();\n }\n }\n // Make sure there are exactly 2 parameters left.\n if (other_args.size() != 2) {\n System.out.println(\"ERROR: Wrong number of parameters: \" +\n other_args.size() + \" instead of 2.\");\n return printUsage();\n }\n FileInputFormat.setInputPaths(conf, other_args.get(0));\n FileOutputFormat.setOutputPath(conf, new Path(other_args.get(1)));\n\n JobClient.runJob(conf);\n return 0;\n }", "@Override\n public void run() {\n SparkConf conf = new SparkConf().setAppName(\"yb.wordcount\")\n .setMaster(\"local[\" + appConfig.numWriterThreads + \"]\")\n .set(\"spark.cassandra.connection.host\", getRandomContactPoint().getHost());\n\n // Create the Java Spark context object.\n JavaSparkContext sc = new JavaSparkContext(conf);\n\n // Create the Cassandra connector to Spark.\n CassandraConnector connector = CassandraConnector.apply(conf);\n\n // Create a Cassandra session, and initialize the keyspace.\n Session session = connector.openSession();\n\n //------------------------------------------- Input ------------------------------------------\\\\\n JavaRDD<String> rows;\n if (useCassandraInput) {\n // Read rows from table and convert them to an RDD.\n rows = javaFunctions(sc).cassandraTable(getKeyspace(), inputTableName)\n .select(\"line\").map(row -> row.getString(\"line\"));\n } else {\n // Read the input file and convert it to an RDD.\n rows = sc.textFile(inputFile);\n }\n\n // Perform the word count.\n JavaPairRDD<String, Integer> counts =\n rows.flatMap(line -> Arrays.asList(line.split(\" \")).iterator())\n .mapToPair(word -> new Tuple2<String, Integer>(word, 1))\n .reduceByKey((x, y) -> x + y);\n\n //------------------------------------------- Output -----------------------------------------\\\\\n\n String outTable = getKeyspace() + \".\" + outputTableName;\n\n // Drop the output table if it already exists.\n dropCassandraTable(outTable);\n\n // Create the output table.\n session.execute(\"CREATE TABLE IF NOT EXISTS \" + outTable +\n \" (word VARCHAR PRIMARY KEY, count INT);\");\n\n // Save the output to the CQL table.\n javaFunctions(counts).writerBuilder(getKeyspace(),\n outputTableName,\n mapTupleToRow(String.class, Integer.class))\n .withColumnSelector(someColumns(\"word\", \"count\"))\n .saveToCassandra();\n\n session.close();\n sc.close();\n }", "@Override\n\tpublic int run(String[] args) throws Exception {\n\t\tConfiguration conf = getConf();\n\t\t// create job\n\t\tJob job = Job.getInstance(conf, \"Job1\");\n\t\t\n\t\t// configure job\n\t\tjob.setJarByClass(AllJobs.class);\n\t\tjob.setMapperClass(Step1Mapper.class);\n\t\tjob.setReducerClass(Step1Reducer.class);\n\t\tjob.setOutputKeyClass(Text.class);\n\t\tjob.setOutputValueClass(IntWritable.class);\n\n\t\t// set file paths\n\t\tFileInputFormat.addInputPath(job, new Path(JOB_1_IN_PATH));\n\t\tFileOutputFormat.setOutputPath(job, new Path(JOB_1_OUT_PATH));\n\t\tjob.waitForCompletion(true);\n\t\t\n\t\t/*\n\t\t * Job 2\n\t\t * Sort files by page count\n\t\t */\n\n\t\t// create job\n\t\tJob job2 = Job.getInstance(conf);\n\t\t\n\t\t// configure job\n\t\tjob2.setJarByClass(AllJobs.class);\n\t\tjob2.setSortComparatorClass(Step2Comparator.class);\n\t\tjob2.setMapperClass(Step2Mapper.class);\n\t\tjob2.setReducerClass(Step2Reducer.class);\n\t\tjob2.setOutputKeyClass(IntWritable.class);\n\t\tjob2.setOutputValueClass(Text.class);\n\t\t\n\t\t// set up file paths, wait for completion\n\t\tFileInputFormat.addInputPath(job2, new Path(JOB_1_OUT_PATH));\n\t\tFileOutputFormat.setOutputPath(job2, new Path(JOB_2_OUT_PATH));\n\t\tjob2.waitForCompletion(true);\n\t\t\n\t\t/*\n\t\t * Job 3\n\t\t * Extract language, count and page\n\t\t */\n\t\t\n\t\t// configure job\n\t\tJob job3 = Job.getInstance(conf); \n\t\tjob3.setJarByClass(AllJobs.class);\n\t\tjob3.setMapperClass(Step3Mapper.class);\n\t\tjob3.setReducerClass(Step3Reducer.class);\n\t\t\n\t\t// set specific comparators for secondary sort\n\t\tjob3.setSortComparatorClass(KeyComparator.class);\n\t\tjob3.setGroupingComparatorClass(GroupComparator.class);\n\t\t\t\t\n\t\t// set output class to our custom CountLangPair class, for secondary sort\n\t\tjob3.setOutputKeyClass(CountLangPair.class);\n\t\tjob3.setOutputValueClass(Text.class);\n\t\t\n\t\t// set file paths\n\t\tFileInputFormat.addInputPath(job3, new Path(JOB_1_IN_PATH));\n\t FileOutputFormat.setOutputPath(job3, new Path(JOB_3_OUT_PATH));\n\t \n\t // wait for completion\n\t job3.waitForCompletion(true);\n\t \n\t // get counters defined in the mapper class\n\t Counters counters = job3.getCounters(); \n\t Counter records = counters.findCounter(Step3Mapper.MyCounter.Records); \n\t // print counter result \n\t System.out.println(\"Number of records processed: \" + records);\n\t \n\t /*\n\t * Job 4\n\t * strip page out of file and reverse order to put combined key in front\n\t */\n\t \n\t // configure job\n\t Job job4 = Job.getInstance(conf);\n\t\tjob4.setJarByClass(AllJobs.class);\n\t\tjob4.setMapperClass(Step4Mapper.class);\n\t\tjob4.setReducerClass(Step4Reducer.class);\n\t\t\n\t\tjob4.setMapOutputKeyClass(Text.class);\n\t\tjob4.setMapOutputValueClass(IntWritable.class);\n\t\tjob4.setOutputKeyClass(Text.class);\n\t\tjob4.setOutputValueClass(IntWritable.class);\n\t\t\n\t\t// set file paths\n\t\tFileInputFormat.addInputPath(job4, new Path(JOB_3_OUT_PATH));\n\t FileOutputFormat.setOutputPath(job4, new Path(JOB_4_OUT_PATH));\n\t \n\t //wait for completion\n\t job4.waitForCompletion(true);\n\t \n\t /*\n\t * Job 5\n\t * Sort by page count\n\t */\n\t \n\t // configure job\n\t Job job5 = Job.getInstance(conf);\n\t\tjob5.setJarByClass(AllJobs.class);\n\t\tjob5.setMapperClass(Step5Mapper.class);\n\t\tjob5.setReducerClass(Step5Reducer.class);\n\t\tjob5.setOutputKeyClass(Text.class);\n\t\tjob5.setOutputValueClass(FloatWritable.class);\n\t\tjob5.setOutputKeyClass(FloatWritable.class);\n\t\tjob5.setOutputValueClass(Text.class);\n\t\t\n\t\t// set comparator classes\n\t\tjob5.setSortComparatorClass(Step2Comparator.class);\n\t\tjob5.setGroupingComparatorClass(Step2Comparator.class);\n\n\t\t// set file paths\n\t\tFileInputFormat.addInputPath(job5, new Path(JOB_4_OUT_PATH));\n\t\tFileOutputFormat.setOutputPath(job5, new Path(JOB_5_OUT_PATH));\n\t\t\n\t\t// wait for completion and return true if finished\n\t\tjob5.waitForCompletion(true);\n\t return job5.waitForCompletion(true) ? 0 : 1;\n\t \n\t\t\n\t\t\n\n\t}", "@Test\n public void shouldRunJob() {\n new DatasetChallenge(\"file:///tmp/yelp_academic_dataset_business.json.gz\").run(spark);\n }", "public void score(List<String> modelFiles, String testFile, String outputFile) {\n/* 1180 */ List<List<RankList>> trainingData = new ArrayList<>();\n/* 1181 */ List<List<RankList>> testData = new ArrayList<>();\n/* */ \n/* */ \n/* 1184 */ int nFold = modelFiles.size();\n/* */ \n/* 1186 */ List<RankList> samples = readInput(testFile);\n/* 1187 */ System.out.print(\"Preparing \" + nFold + \"-fold test data... \");\n/* 1188 */ FeatureManager.prepareCV(samples, nFold, trainingData, testData);\n/* 1189 */ System.out.println(\"[Done.]\");\n/* */ try {\n/* 1191 */ BufferedWriter out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(outputFile), \"UTF-8\"));\n/* 1192 */ for (int f = 0; f < nFold; f++) {\n/* */ \n/* 1194 */ List<RankList> test = testData.get(f);\n/* 1195 */ Ranker ranker = this.rFact.loadRankerFromFile(modelFiles.get(f));\n/* 1196 */ int[] features = ranker.getFeatures();\n/* 1197 */ if (normalize)\n/* 1198 */ normalize(test, features); \n/* 1199 */ for (RankList l : test) {\n/* 1200 */ for (int j = 0; j < l.size(); j++) {\n/* 1201 */ out.write(l.getID() + \"\\t\" + j + \"\\t\" + ranker.eval(l.get(j)) + \"\");\n/* 1202 */ out.newLine();\n/* */ } \n/* */ } \n/* */ } \n/* 1206 */ out.close();\n/* */ }\n/* 1208 */ catch (IOException ex) {\n/* */ \n/* 1210 */ throw RankLibError.create(\"Error in Evaluator::score(): \", ex);\n/* */ } \n/* */ }", "public void analyze() throws AnalysisException {\n Resource resource = Env.getCurrentEnv().getResourceMgr().getResource(getName());\n if (resource == null) {\n throw new AnalysisException(\"Resource does not exist. name: \" + getName());\n }\n if (resource.getType() == Resource.ResourceType.SPARK) {\n etlJobType = EtlJobType.SPARK;\n }\n }", "@Override\n public void execute(final String[] args) {\n SparkConf sparkConf = new SparkConf().setAppName(\"Channel_Promotion_Count_Hour\");\n JavaSparkContext javaSparkContext = new JavaSparkContext(sparkConf);\n JavaRDD<String> lines = javaSparkContext.textFile(ConfigLoader.getProperties(UserConstants.SPARK_MINUTE_OUTPUT),5);\n // JavaRDD<String> lines = javaSparkContext.textFile(\"F:\\\\data\",1);\n lines.filter(new Function<String, Boolean>() {\n @Override\n public Boolean call(String line) {\n String values [] = line.split(\"\\\\s+\");\n // 以结束时间为准\n if (values.length == 7 && values[5].contains(args[0])){\n return true;\n }\n return false;\n }\n }).mapToPair(new PairFunction<String, String, Integer>() {\n @Override\n public Tuple2<String, Integer> call(String line) {\n String values [] = line.split(\"\\\\s+\");\n StringBuffer stringBuffer = new StringBuffer();\n stringBuffer.append(values[0]).append(\"\\t\").append(values[1]).append(\"\\t\").append(values[2]).append(\"\\t\").append(values[3]).append(\"\\t\").append(args[0]);\n return new Tuple2<>(stringBuffer.toString(),Integer.parseInt(values[6]));\n }\n }).reduceByKey(new Function2<Integer, Integer, Integer>() {\n @Override\n public Integer call(Integer num1, Integer num2){\n return num1 + num2;\n }\n }).repartition(1).saveAsHadoopFile(ConfigLoader.getProperties(UserConstants.SPARK_HOUR_OUTPUT) + args[0].substring(0,8) , Text.class, IntWritable.class, RDDMultipleTextOutputFormat_Hour.class);\n javaSparkContext.close();\n }", "public static void main (String [] args) throws Exception { \n//\t\tconf.setMapperClass(DadaMapper.class);\n//\t\tconf.setReducerClass(DataReducer.class);\n\t\t\n//\t\tConfiguration conf = new Configuration(); \n//\t\tconf.set(\"fs.default.name\", \"hdfs://zli:9000\"); \n//\t\tconf.set(\"hadoop.job.user\", \"hadoop\"); \t\t \n//\t\tconf.set(\"mapred.job.tracker\", \"zli:9001\");\n\t\t\n\t\tJob job = new Job(); \n\t\tjob.setJarByClass(NBModelTestJob.class);\n\t\tjob.getConfiguration().set(\"fs.defaultFS\", \"hdfs://NYSJHL101-142.opi.com:8020\"); \n\t\tjob.getConfiguration().set(\"hadoop.job.user\", \"hdfs\"); \t\t \n\t\tjob.getConfiguration().set(\"mapred.job.tracker\", \"NYSJHL101-144.opi.com:8021\");\n\t\tjob.getConfiguration().set(\"trainpath\", args[0]);\n\t\tFileInputFormat.addInputPath(job, new Path(args[1]));\n\t\tFileOutputFormat.setOutputPath(job, new Path(args[2]));\n\t\tFileSystem hdfs = FileSystem.get(job.getConfiguration());\n\t\t\t\t\n\t\tjob.setMapperClass(DataMapper.class);\n\t\tjob.setReducerClass(DataReducer.class);\n\t\tjob.setCombinerClass(DataCombiner.class);\n\t\tjob.setOutputKeyClass(Text.class);\n\t\tjob.setOutputValueClass(Text.class);\n\t\tjob.setNumReduceTasks(10);\n\t\t\n\t\tSystem.exit(job.waitForCompletion(true) ? 0 : 1);\n\t\t\n\t}", "@Override\r\n\tpublic int run(String[] args) throws Exception {\n\t\t\r\n\t\tJob job = Job.getInstance(getConf());\r\n\t\tjob.setJarByClass(getClass());\r\n\t\t\r\n\t\tFileInputFormat.setInputPaths(job, new Path(args[0]));\r\n\t\tFileOutputFormat.setOutputPath(job, new Path(args[1]));\r\n\t\t\r\n\t\tjob.setMapperClass(CardsMapper.class);\r\n\t\tjob.setMapOutputKeyClass(Text.class);\r\n\t\tjob.setMapOutputValueClass(LongWritable.class);\r\n\t\t\r\n\t\tjob.setPartitionerClass(HashPartitioner.class);\r\n\t\tjob.setNumReduceTasks(2);\r\n\t\t\r\n\t\tjob.setReducerClass(LongSumReducer.class);\r\n\t\tjob.setOutputKeyClass(Text.class);\r\n\t\tjob.setOutputValueClass(LongWritable.class);\r\n\t\t\r\n\t\treturn job.waitForCompletion(true) ? 0 : 1;\r\n\t\t\r\n\t}", "public List<ScoredObject<Tree>> getBestParses();", "public void execute()\n throws BuildException {\n this.validator = new TestClassValidator.DefaultClassValidator();\n this.validator.setListener(new TestClassValidator.ClassValidatorListener() {\n public void info(String message) {\n log(\"INFO> \" + message, verbosity);\n System.out.println(\"INFO> \" + message);\n }\n\n public void warning(String message) {\n log(\"WARNING> \" + message, verbosity);\n System.out.println(\"WARNING> \" + message);\n }\n\n public void error(String message) {\n log(\"ERROR> \" + message, verbosity);\n System.out.println(\"ERROR> \" + message);\n }\n });\n\n\n if (classpath != null) {\n classpath.setProject(project);\n this.loader = new AntClassLoader(project, classpath);\n }\n\n log(TestClassValidator.BANNER, Project.MSG_VERBOSE);\n System.out.println(TestClassValidator.BANNER);\n int count = 0;\n for (int i = 0; i < filesets.size(); i++) {\n FileSet fs = (FileSet) filesets.get(i);\n\n try {\n DirectoryScanner ds = fs.getDirectoryScanner(project);\n ds.scan();\n\n String[] files = ds.getIncludedFiles();\n\n for (int k = 0; k < files.length; k++) {\n String pathname = files[k];\n if (pathname.endsWith(\".class\")) {\n String classname = pathname.substring(0, pathname.length() - \".class\".length()).replace(File.separatorChar, '.');\n processFile(classname);\n }\n }\n count += files.length;\n } catch (BuildException e) {\n if (failonerror) {\n throw e;\n } else {\n log(e.getMessage(), quiet ? Project.MSG_VERBOSE : Project.MSG_WARN);\n }\n } catch (ClassNotFoundException e) {\n if (failonerror) {\n throw new BuildException(e);\n } else {\n log(e.getMessage(), quiet ? Project.MSG_VERBOSE : Project.MSG_WARN);\n }\n }\n log(\"Number of classes: \" + count, Project.MSG_VERBOSE);\n System.out.println(\"Number of classes: \" + count);\n }\n }", "public static void main(String[] args) throws IOException {\n int activeThreshold = 300;\n //Activity.selectActive(\"st\", 6, activeThreshold);\n //Activity.selectActive(\"ri\", 6, activeThreshold);\n //Activity.selectActive(\"dw\", 9, activeThreshold);\n\n //Interaction.analysis(\"st\", 6);\n //Interaction.analysis(\"ri\", 6);\n\n //BehaviourIndicators.analysis(\"st\", 6);\n //BehaviourIndicators.analysis(\"ri\", 6);\n //BehaviourIndicators.analysis(\"dw\", 9);\n\n Engagement.analysis(\"st\",6);\n Engagement.analysis(\"ri\",6);\n //todo the data files for DW have to be adjusted to the ones of the other two to be able to run it\n //Engagement.analysis(\"dw\",9);\n\n //Motivation.analysis(\"ri\", 6);\n //Motivation.analysis(\"st\", 6);\n }", "public static void main(String[] argv) {\n\t\tFile file = new File(\"D:/dataset/\");\n\t\t\n\t\t\n\t\t\n\t\tdouble yuzhi=0.05;\n\t\tString y = String.valueOf(yuzhi);\n\t\t\t\t\t\n\t\tAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", \"\\r\\n\");\n\t\tFile[] lf = file.listFiles();\n\t\tfor (int i = 0; i < lf.length; i++) {\n\t\t\tSystem.out.println(lf[i].getName());\n\t\t\tString[] arg = {\n//\t\t\t\t\t\"-E\", \"weka.attributeSelection.CfsSubsetEval -L\",\n//\t\t\t\t\t\"-E\", \"weka.attributeSelection.SymmetricalUncertAttributeSetEval \",\n//\t\t\t\t\t\"-S\", \"weka.attributeSelection.BestFirst -S 8\",\n\t\t\t\t\t\"-c\", \"last\",\n//\t\t\t\t\t\"-y\", y,\n\n\t\t\t\t\t\"-i\", \"D:/dataset/\" + lf[i].getName(), \n\t\t\t\t\t\"-o\", \"D:/FASTminDrawL/\" + y+lf[i].getName()\n\t\t\t};\n\t\t\tAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", lf[i].getName());\n\t\t\tlong st =System.currentTimeMillis();\n\t\t\trunFilter(new FASTminDrawL(yuzhi), arg);\n\t\t\tlong end =System.currentTimeMillis();\n\t\t\tlong time=end-st;\n\t\t\tAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", time + \"\\r\\n\");\n\t\t}\n\t\n\t\n\t\tyuzhi=0.1;\n\t\ty = String.valueOf(yuzhi);\n\t\t\t\t\n\tAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", \"\\r\\n\");\n\tlf = file.listFiles();\n\tfor (int i = 0; i < lf.length; i++) {\n\t\tSystem.out.println(lf[i].getName());\n\t\tString[] arg = {\n//\t\t\t\t\"-E\", \"weka.attributeSelection.CfsSubsetEval -L\",\n//\t\t\t\t\"-E\", \"weka.attributeSelection.SymmetricalUncertAttributeSetEval \",\n//\t\t\t\t\"-S\", \"weka.attributeSelection.BestFirst -S 8\",\n\t\t\t\t\"-c\", \"last\",\n//\t\t\t\t\"-y\", y,\n\n\t\t\t\t\"-i\", \"D:/dataset/\" + lf[i].getName(), \n\t\t\t\t\"-o\", \"D:/FASTminDrawL/\" + y+lf[i].getName()\n\t\t};\n\t\tAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", lf[i].getName());\n\t\tlong st =System.currentTimeMillis();\n\t\trunFilter(new FASTminDrawL(yuzhi), arg);\n\t\tlong end =System.currentTimeMillis();\n\t\tlong time=end-st;\n\t\tAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", time + \"\\r\\n\");\n\t}\n\t\n\t\n\t\n\tyuzhi=0.2;\n\ty = String.valueOf(yuzhi);\n\t\t\t\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", \"\\r\\n\");\nlf = file.listFiles();\nfor (int i = 0; i < lf.length; i++) {\n\tSystem.out.println(lf[i].getName());\n\tString[] arg = {\n//\t\t\t\"-E\", \"weka.attributeSelection.CfsSubsetEval -L\",\n//\t\t\t\"-E\", \"weka.attributeSelection.SymmetricalUncertAttributeSetEval \",\n//\t\t\t\"-S\", \"weka.attributeSelection.BestFirst -S 8\",\n\t\t\t\"-c\", \"last\",\n//\t\t\t\"-y\", y,\n\n\t\t\t\"-i\", \"D:/dataset/\" + lf[i].getName(), \n\t\t\t\"-o\", \"D:/FASTminDrawL/\" + y+lf[i].getName()\n\t};\n\tAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", lf[i].getName());\n\tlong st =System.currentTimeMillis();\n\trunFilter(new FASTminDrawL(yuzhi), arg);\n\tlong end =System.currentTimeMillis();\n\tlong time=end-st;\n\tAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", time + \"\\r\\n\");\n}\n\t\n\nyuzhi=0.4;\ny = String.valueOf(yuzhi);\n\t\t\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", \"\\r\\n\");\nlf = file.listFiles();\nfor (int i = 0; i < lf.length; i++) {\nSystem.out.println(lf[i].getName());\nString[] arg = {\n//\t\t\"-E\", \"weka.attributeSelection.CfsSubsetEval -L\",\n//\t\t\"-E\", \"weka.attributeSelection.SymmetricalUncertAttributeSetEval \",\n//\t\t\"-S\", \"weka.attributeSelection.BestFirst -S 8\",\n\t\t\"-c\", \"last\",\n//\t\t\"-y\", y,\n\n\t\t\"-i\", \"D:/dataset/\" + lf[i].getName(), \n\t\t\"-o\", \"D:/FASTminDrawL/\" +y+ lf[i].getName()\n};\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", lf[i].getName());\nlong st =System.currentTimeMillis();\nrunFilter(new FASTminDrawL(yuzhi), arg);\nlong end =System.currentTimeMillis();\nlong time=end-st;\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", time + \"\\r\\n\");\n}\n\n\nyuzhi=0.6;\ny = String.valueOf(yuzhi);\n\t\t\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", \"\\r\\n\");\nlf = file.listFiles();\nfor (int i = 0; i < lf.length; i++) {\nSystem.out.println(lf[i].getName());\nString[] arg = {\n//\t\t\"-E\", \"weka.attributeSelection.CfsSubsetEval -L\",\n//\t\t\"-E\", \"weka.attributeSelection.SymmetricalUncertAttributeSetEval \",\n//\t\t\"-S\", \"weka.attributeSelection.BestFirst -S 8\",\n\t\t\"-c\", \"last\",\n//\t\t\"-y\", y,\n\n\t\t\"-i\", \"D:/dataset/\" + lf[i].getName(), \n\t\t\"-o\", \"D:/FASTminDrawL/\" + y+lf[i].getName()\n};\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", lf[i].getName());\nlong st =System.currentTimeMillis();\nrunFilter(new FASTminDrawL(yuzhi), arg);\nlong end =System.currentTimeMillis();\nlong time=end-st;\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", time + \"\\r\\n\");\n}\n\nyuzhi=0.8;\ny = String.valueOf(yuzhi);\n\t\t\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", \"\\r\\n\");\nlf = file.listFiles();\nfor (int i = 0; i < lf.length; i++) {\nSystem.out.println(lf[i].getName());\nString[] arg = {\n//\t\t\"-E\", \"weka.attributeSelection.CfsSubsetEval -L\",\n//\t\t\"-E\", \"weka.attributeSelection.SymmetricalUncertAttributeSetEval \",\n//\t\t\"-S\", \"weka.attributeSelection.BestFirst -S 8\",\n\t\t\"-c\", \"last\",\n//\t\t\"-y\", y,\n\n\t\t\"-i\", \"D:/dataset/\" + lf[i].getName(), \n\t\t\"-o\", \"D:/FASTminDrawL/\" + y+lf[i].getName()\n};\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", lf[i].getName());\nlong st =System.currentTimeMillis();\nrunFilter(new FASTminDrawL(yuzhi), arg);\nlong end =System.currentTimeMillis();\nlong time=end-st;\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", time + \"\\r\\n\");\n}\n\nyuzhi=1;\ny = String.valueOf(yuzhi);\n\t\t\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", \"\\r\\n\");\nlf = file.listFiles();\nfor (int i = 0; i < lf.length; i++) {\nSystem.out.println(lf[i].getName());\nString[] arg = {\n//\t\t\"-E\", \"weka.attributeSelection.CfsSubsetEval -L\",\n//\t\t\"-E\", \"weka.attributeSelection.SymmetricalUncertAttributeSetEval \",\n//\t\t\"-S\", \"weka.attributeSelection.BestFirst -S 8\",\n\t\t\"-c\", \"last\",\n//\t\t\"-y\", y,\n\n\t\t\"-i\", \"D:/dataset/\" + lf[i].getName(), \n\t\t\"-o\", \"D:/FASTminDrawL/\" + y+lf[i].getName()\n};\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", lf[i].getName());\nlong st =System.currentTimeMillis();\nrunFilter(new FASTminDrawL(yuzhi), arg);\nlong end =System.currentTimeMillis();\nlong time=end-st;\nAppendToFile.appendMethodA(\"D:/FASTminDrawL/T.txt\", time + \"\\r\\n\");\n}\n\n\n\t\n}", "public void classify() throws IOException\n {\n TrainingParameters tp = new TrainingParameters();\n tp.put(TrainingParameters.ITERATIONS_PARAM, 100);\n tp.put(TrainingParameters.CUTOFF_PARAM, 0);\n\n DoccatFactory doccatFactory = new DoccatFactory();\n DoccatModel model = DocumentCategorizerME.train(\"en\", new IntentsObjectStream(), tp, doccatFactory);\n\n DocumentCategorizerME categorizerME = new DocumentCategorizerME(model);\n\n try (Scanner scanner = new Scanner(System.in))\n {\n while (true)\n {\n String input = scanner.nextLine();\n if (input.equals(\"exit\"))\n {\n break;\n }\n\n double[] classDistribution = categorizerME.categorize(new String[]{input});\n String predictedCategory =\n Arrays.stream(classDistribution).filter(cd -> cd > 0.5D).count() > 0? categorizerME.getBestCategory(classDistribution): \"I don't understand\";\n System.out.println(String.format(\"Model prediction for '%s' is: '%s'\", input, predictedCategory));\n }\n }\n }", "public void kMeansSPark(String In, String out) throws IOException {\n\t\tfinal SparkSession sparkSession = SparkSession.builder().appName(\"Big Data Process Spark and CSV files\")\n\t\t\t\t.master(\"local[*]\").getOrCreate();\n\n\t\t// Añadido para eliminar mensajes de log en la consola\n\t\tsparkSession.sparkContext().setLogLevel(\"ERROR\");\n\t\t// JavaSparkContext sc = new JavaSparkContext();\n\n\t\tfinal DataFrameReader dataFrameReader = sparkSession.read().option(\"header\", true);\n\t\tfinal Dataset<Row> trainingData = dataFrameReader.csv(In + \"/*.csv\").toDF(\"IDPatient\", \"Institution\",\n\t\t\t\t\"Register\", \"ECG_EKG\", \"Temp\", \"SPO2Min\", \"SPO2Max\", \"BPMmin\", \"BPMmax\", \"BPMavg\", \"SYS\", \"DIA\",\n\t\t\t\t\"EDAmin\", \"EDAmax\", \"EDAavg\", \"ResultDeleted\", \"ResultUploaded\", \"DateUploaded\", \"DateDeleted\");\n\t\t// con \"*.csv\" para que lea todo el directorio\n\n\t\tSystem.out.println(\"##### Rutas de los ficheros de entrada, salida y configuración ##### \\n\");\n\t\tSystem.out.println(\"Archivo de entrada: \" + In + \"\\n\");\n\t\tSystem.out.println(\"Directorio de salida: \" + out + \"\\n\");\n\t\t// System.out.println(\"Fichero de Configuración: \" + conf + \"\\n\");\n\n\t\t// Se crea una vista para obtener columnas y datos\n\t\ttrainingData.createOrReplaceTempView(\"TRAINING_DATA\");\n\t\tfinal Dataset<Row> typedTrainingData = sparkSession.sql(\n\t\t\t\t\"SELECT CAST(IDPatient as String) IDPatient, CAST(Institution as String) Institution, CAST(Register as String) Register, \"\n\t\t\t\t\t\t+ \"CAST(ECG_EKG as String) ECG_EKG, CAST(Temp as float) Temp, CAST(SPO2Min as float) SPO2Min, \"\n\t\t\t\t\t\t+ \"CAST(SPO2Max as float) SPO2Max, CAST(BPMmin as float) BPMmin, CAST(BPMmax as float) BPMmax, CAST(BPMavg as float) BPMavg, \"\n\t\t\t\t\t\t+ \"CAST(SYS as float) SYS, CAST(DIA as float) DIA, CAST(EDAmin as float) EDAmin, CAST(EDAmax as float) EDAmax, CAST(EDAavg as float) EDAavg, \"\n\t\t\t\t\t\t+ \"CAST(ResultDeleted as String) ResultDeleted, CAST(ResultUploaded as String) ResultUploaded, CAST(DateUploaded as String) DateUploaded, CAST(DateDeleted as String) DateDeleted FROM TRAINING_DATA\"); // CAST(vel_Media\n\n\t\t// typedTrainingData.show();\n\t\t// typedTrainingData.printSchema();\n\t\tSystem.out.println(\"Se pasa a ARRAY de Double los ECG/ECK\");\n\n\t\t// Creo un nuevo esquema para los datos que voy a introducir\n\t\tStructType customStructType = new StructType();\n\t\tcustomStructType = customStructType.add(\"IDPatient\", DataTypes.StringType, false);\n\t\tcustomStructType = customStructType.add(\"Institution\", DataTypes.StringType, false);\n\t\tcustomStructType = customStructType.add(\"Register\", DataTypes.StringType, false);\n\t\tcustomStructType = customStructType.add(\"ECG_EKG\", DataTypes.createArrayType(DataTypes.DoubleType), false);\n\t\tcustomStructType = customStructType.add(\"Temp\", DataTypes.FloatType, false);\n\t\tcustomStructType = customStructType.add(\"SPO2Min\", DataTypes.FloatType, false);\n\t\tcustomStructType = customStructType.add(\"SPO2Max\", DataTypes.FloatType, false);\n\t\tcustomStructType = customStructType.add(\"BPMmin\", DataTypes.FloatType, false);\n\t\tcustomStructType = customStructType.add(\"BPMmax\", DataTypes.FloatType, false);\n\t\tcustomStructType = customStructType.add(\"BPMavg\", DataTypes.FloatType, false);\n\t\tcustomStructType = customStructType.add(\"SYS\", DataTypes.FloatType, false);\n\t\tcustomStructType = customStructType.add(\"DIA\", DataTypes.FloatType, false);\n\t\tcustomStructType = customStructType.add(\"EDAmin\", DataTypes.FloatType, false);\n\t\tcustomStructType = customStructType.add(\"EDAmax\", DataTypes.FloatType, false);\n\t\tcustomStructType = customStructType.add(\"EDAavg\", DataTypes.FloatType, false);\n\t\tcustomStructType = customStructType.add(\"ResultDeleted\", DataTypes.StringType, false);\n\t\tcustomStructType = customStructType.add(\"ResultUploaded\", DataTypes.StringType, false);\n\t\tcustomStructType = customStructType.add(\"DateUploaded\", DataTypes.StringType, false);\n\t\tcustomStructType = customStructType.add(\"DateDeleted\", DataTypes.StringType, false);\n\n\t\t// y en este esquema adapto los datos leídos anteriormente\n\n\t\tDataset<Row> newDF = typedTrainingData.map((MapFunction<Row, Row>) row -> {\n\n\t\t\tString strings[] = row.getString(3).split(\", \");\n\t\t\tDouble[] result = new Double[strings.length];\n\t\t\tfor (int i = 0; i < strings.length; i++)\n\t\t\t\tresult[i] = Double.parseDouble(strings[i]);\n\t\t\t// convert this to arry[] of type long\n\n\t\t\treturn RowFactory.create(row.getString(0), row.getString(1), row.getString(2), result, row.getFloat(4),\n\t\t\t\t\trow.getFloat(5), row.getFloat(6), row.getFloat(7), row.getFloat(8), row.getFloat(9),\n\t\t\t\t\trow.getFloat(10), row.getFloat(11), row.getFloat(12), row.getFloat(13), row.getFloat(14),\n\t\t\t\t\trow.getString(15), row.getString(16), row.getString(17), row.getString(18));\n\t\t}, RowEncoder.apply(customStructType));\n\n\t\t// Ahora cargo los datos en el nuevo Dataset\n\n\t\tSystem.out.println(\"Se muestran los datos cargados desde los CSV con array de Double\");\n\t\tnewDF.show();\n\t\tnewDF.printSchema();\n\t\t/*\n\t\t * System.out.println(\"Fin Pruebo\"); //ESTE SIRVE SOLO PARA OBTENER EL ARRAY\n\t\t * Dataset<Row> ds1 =\n\t\t * typedTrainingData.select(split(typedTrainingData.col(\"ECG_EKG\"),\n\t\t * \",\")).toDF(\"ECG_EKG_f\"); System.out.println(\"DS1 tiene esto\");\n\t\t * ds1.show(true); ds1.printSchema();\n\t\t */\n\n\t\tSystem.out.println(\"##### Los diferentes pacientes cargados desde ficheros CSV son #####\");\n\t\tnewDF.select(\"IDPatient\").distinct().show();\n\n\t\t//Añado al método principal un Throw Exception en vez de varios try catch aquí\n\t\t//Se Genera la cabecera de ARFF File\n\t\tCSVLoader loader = new CSVLoader();\n\t\tloader.setSource(new File(\"/home/jromeroaj/Escritorio/Programas/HUPAdatos/PRUEBAS/pruebas.csv\"));\n\t\tInstances data = loader.getDataSet();\n\n\t\t// save ARFF\n\t\tArffSaver saver = new ArffSaver();\n\t\tsaver.setInstances(data);\n\t\t// and save as ARFF\n\t\tsaver.setFile(new File(\"/home/jromeroaj/Escritorio/Programas/HUPAdatos/PRUEBAS/fileprueba.arff\"));\n\t\tsaver.writeBatch();\n\t\t\n\t\t//Ejecución del algoritmo Simple K Means a través de WEKA\n\t\trunWeka(\"/home/jromeroaj/Escritorio/Programas/HUPAdatos/PRUEBAS/\", out); // outWeka.arff\n\t\t\n\t\t/*try {\n\t\t\tpruebasWeka(\"/home/jromeroaj/Escritorio/Programas/HUPAdatos/PRUEBAS/fileprueba.arff\");\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}*/\n\t\t// MACHINE LEARNING\n\t\t\n\t\t\n\t\t//////////////////////////////////////\n\t\t\n\n\t\t// $example on$\n\t\t// Load and parse data\n\t\t/*RDD<Row> data = newDF.rdd();\n\t\tRDD<Vector> parsedData = data.map(s -> {\n\t\t\tString[] sarray = s.split(\",\");\n\t\t\tdouble[] values = new double[sarray.length];\n\t\t\tfor (int i = 6; i < sarray.length; i++) {\n\t\t\t\tvalues[i] = Double.parseDouble(sarray[i]);\n\t\t\t}\n\t\t\treturn Vectors.dense(values);\n\t\t});\n\t\tparsedData.cache();*/\n\n\t\t// Cluster the data into two classes using KMeans\n\t\t\n\t\t//quitar este para utilizar el de Spark MLlib\n\t\t/*newDF.createOrReplaceTempView(\"tdd\");\n\n\t\tfinal VectorAssembler vectorAssembler = new VectorAssembler()\n\t\t\t\t.setInputCols(new String[] { \"IDPatient_index\", \"Temp\", \"SPO2Min\", \"SPO2Max\", \"BPMmin\", \"BPMmax\",\n\t\t\t\t\t\t\"BPMavg\", \"SYS\", \"DIA\", \"EDAmin\", \"EDAmax\", \"EDAavg\" })\n\t\t\t\t.setOutputCol(\"features\");\n\t\t\n\t\tDataset<Row> transformedDS = sparkSession.sql(\n\t\t\t\t\"SELECT CAST(IDPatient as String) IDPatient ,CAST(Temp as float) Temp, CAST(SPO2Min as float) SPO2Min, \"\n\t\t\t\t\t\t+ \"CAST(SPO2Max as float) SPO2Max, CAST(BPMmin as float) BPMmin, CAST(BPMmax as float) BPMmax, CAST(BPMavg as float) BPMavg, \"\n\t\t\t\t\t\t+ \"CAST(SYS as float) SYS, CAST(DIA as float) DIA, CAST(EDAmin as float) EDAmin, CAST(EDAmax as float) EDAmax, CAST(EDAavg as float) EDAavg \"\n\t\t\t\t\t\t+ \"FROM tdd\");\n\t\t\n\t\tStringIndexerModel indexer = new StringIndexer().setInputCol(\"IDPatient\").setOutputCol(\"IDPatient_index\").fit(transformedDS);\n\t\tDataset<Row> indexed = indexer.transform(transformedDS);\n\t\tindexed.createOrReplaceTempView(\"tdd\");\n\t\tDataset<Row> p1 = sparkSession.sql(\n\t\t\t\t\"SELECT IDPatient_index, Temp, SPO2Min, SPO2Max, BPMmin, BPMmax, BPMavg, SYS, DIA, EDAmin, EDAmax, EDAavg FROM tdd\");\n\t\tfinal Dataset<Row> featuresData = vectorAssembler.transform(p1);\n\n\n\t\tKMeans kmeans = new KMeans().setK(2).setSeed(1L);\n\t\tKMeansModel model = kmeans.fit(featuresData);\n\t\t// Make predictions\n\t Dataset<Row> predictions = model.transform(featuresData);\n\n\n\t // Evaluate clustering by computing Silhouette score\n\t ClusteringEvaluator evaluator = new ClusteringEvaluator();\n\n\t double silhouette = evaluator.evaluate(predictions);\n\t System.out.println(\"Silhouette with squared euclidean distance = \" + silhouette);\n\n\t // Shows the result.\n\t \n\t Vector[] centers = model.clusterCenters();\n\t System.out.println(\"Cluster Centers: \");\n\t for (Vector center: centers) {\n\t System.out.println(center);\n\t }*/ //quitar este para utilizar el de Spark MLlib\n\t\t\n\t\t\n\t\t\n\t // $example off$\n\t\t\n\t\t//ESTO ES DEL ANTERIOR NO SE ESTÁ UTILIZANDO\n\t\t/*\n\t\tint numClusters = 2;\n\t\tint numIterations = 20;\n\t\tKMeansModel clusters = KMeans.train(parsedData.rdd(), numClusters, numIterations);\n\n\t\tSystem.out.println(\"Cluster centers:\");\n\t\tfor (Vector center : clusters.clusterCenters()) {\n\t\t\tSystem.out.println(\" \" + center);\n\t\t}\n\t\tdouble cost = clusters.computeCost(parsedData.rdd());\n\t\tSystem.out.println(\"Cost: \" + cost);\n\n\t\t// Evaluate clustering by computing Within Set Sum of Squared Errors\n\t\tdouble WSSSE = clusters.computeCost(parsedData.rdd());\n\t\tSystem.out.println(\"Within Set Sum of Squared Errors = \" + WSSSE);\n\n\t\t// Save and load model\n\t\tclusters.save(jsc.sc(), \"/home/shadoop/Desktop/pruebasCVSJoseM/KMeansModel\");\n\t\tKMeansModel sameModel = KMeansModel.load(jsc.sc(), \"/home/shadoop/Desktop/pruebasCVSJoseM/KMeansModel\");\n\n\t\t// target/org/apache/spark/JavaKMeansExample/KMeansModel\n\t\t// $example off$\n\n\t\tjsc.stop();*/\n\t}", "public void run() throws IOException {\n \n try {\n \n File file = new File(\"jobs.txt\");\n FileReader fileReader = new FileReader(file);\n \n BufferedReader bufferedReader = new BufferedReader(fileReader); \n StringBuffer stringBuffer = new StringBuffer();\n \n String line;\n \n // reading the first line = number of jobs and skipping it since\n // I do not need that information \n line = bufferedReader.readLine();\n \n //this.numOfjobs = Integer.parseInt(line);\n \n // read a line:\n while ((line = bufferedReader.readLine()) != null ) {\n \n int weight,length;\n \n String[] arr = line.split(\"\\\\s+\");\n \n // weight and length are\n weight = Integer.parseInt(arr[0]);\n length = Integer.parseInt(arr[1]);\n \n // putting into the priority queue\n this.putJob(weight, length);\n }\n \n // closing the fileReader:\n fileReader.close();\n \n }catch (IOException e) {\n e.printStackTrace();\n }\n }", "public static void main(String [ ] args){\n\t\tScoreTrakker tracker = new ScoreTrakker();\n\t\ttracker.processFiles();\n\t}", "public static int ReadBestScore()\n {\n int best_score = -1;\n try \n {\n BufferedReader file = new BufferedReader(new FileReader(score_file_name));\n best_score = Integer.parseInt(file.readLine());\n file.close();\n } \n catch (Exception e) { SaveBestScore(0); }\n \n currentBestScore = best_score;\n return best_score;\n }", "public static void main(String[] args) throws Exception {\n if (args.length < 2) {\n System.err.println(\"Usage: SecondarySortUsingCombineByKey <input> <output>\");\n System.exit(1);\n }\n String inputPath = args[0];\n System.out.println(\"inputPath=\" + inputPath);\n String outputPath = args[1];\n System.out.println(\"outputPath=\" + outputPath);\n\n // STEP-2: Connect to the Sark master by creating JavaSparkContext object\n final JavaSparkContext ctx = SparkUtil.createJavaSparkContext();\n\n // STEP-3: Use ctx to create JavaRDD<String>\n // input record format: <name><,><time><,><value>\n JavaRDD<String> lines = ctx.textFile(inputPath, 1);\n\n // STEP-4: create (key, value) pairs from JavaRDD<String> where\n // key is the {name} and value is a pair of (time, value).\n // The resulting RDD will be JavaPairRDD<String, Tuple2<Integer, Integer>>. \n // convert each record into Tuple2(name, time, value)\n // PairFunction<T, K, V>\tT => Tuple2(K, V) where K=String and V=Tuple2<Integer, Integer>\n // input K V\n System.out.println(\"=== DEBUG STEP-4 ===\");\n JavaPairRDD<String, Tuple2<Integer, Integer>> pairs = lines.mapToPair(new PairFunction<String, String, Tuple2<Integer, Integer>>() {\n @Override\n public Tuple2<String, Tuple2<Integer, Integer>> call(String s) {\n String[] tokens = s.split(\",\"); // x,2,5\n System.out.println(tokens[0] + \",\" + tokens[1] + \",\" + tokens[2]);\n Tuple2<Integer, Integer> timevalue = new Tuple2<Integer, Integer>(Integer.parseInt(tokens[1]), Integer.parseInt(tokens[2]));\n return new Tuple2<String, Tuple2<Integer, Integer>>(tokens[0], timevalue);\n }\n });\n\n // STEP-5: validate STEP-4, we collect all values from JavaPairRDD<> and print it. \n List<Tuple2<String, Tuple2<Integer, Integer>>> output = pairs.collect();\n for (Tuple2 t : output) {\n Tuple2<Integer, Integer> timevalue = (Tuple2<Integer, Integer>) t._2;\n System.out.println(t._1 + \",\" + timevalue._1 + \",\" + timevalue._1);\n }\n\n // How to use combineByKey(): to use combineByKey(), you \n // need to define 3 basic functions f1, f2, f3:\n // and then you invoke it as: combineByKey(f1, f2, f3)\n // function 1: create a combiner data structure \n // function 2: merge a value into a combined data structure\n // function 3: merge two combiner data structures\n \n \n // function 1: create a combiner data structure \n // Here, the combiner data structure is a SortedMap<Integer,Integer>,\n // which keeps track of (time, value) for a given key\n // Tuple2<Integer, Integer> = Tuple2<time, value>\n // SortedMap<Integer, Integer> = SortedMap<time, value>\n Function<Tuple2<Integer, Integer>, SortedMap<Integer, Integer>> createCombiner\n = new Function<Tuple2<Integer, Integer>, SortedMap<Integer, Integer>>() {\n @Override\n public SortedMap<Integer, Integer> call(Tuple2<Integer, Integer> x) {\n Integer time = x._1;\n Integer value = x._2;\n SortedMap<Integer, Integer> map = new TreeMap<>();\n map.put(time, value);\n return map;\n }\n };\n\n // function 2: merge a value into a combined data structure\n Function2<SortedMap<Integer, Integer>, Tuple2<Integer, Integer>, SortedMap<Integer, Integer>> mergeValue\n = new Function2<SortedMap<Integer, Integer>, Tuple2<Integer, Integer>, SortedMap<Integer, Integer>>() {\n @Override\n public SortedMap<Integer, Integer> call(SortedMap<Integer, Integer> map, Tuple2<Integer, Integer> x) {\n Integer time = x._1;\n Integer value = x._2;\n map.put(time, value);\n return map;\n }\n };\n\n // function 3: merge two combiner data structures\n Function2<SortedMap<Integer, Integer>, SortedMap<Integer, Integer>, SortedMap<Integer, Integer>> mergeCombiners\n = new Function2<SortedMap<Integer, Integer>, SortedMap<Integer, Integer>, SortedMap<Integer, Integer>>() {\n @Override\n public SortedMap<Integer, Integer> call(SortedMap<Integer, Integer> map1, SortedMap<Integer, Integer> map2) {\n if (map1.size() < map2.size()) {\n return DataStructures.merge(map1, map2);\n } else {\n return DataStructures.merge(map1, map2);\n }\n }\n };\n\n // STEP-5: create sorted (time, value)\n JavaPairRDD<String, SortedMap<Integer, Integer>> combined = pairs.combineByKey(\n createCombiner,\n mergeValue,\n mergeCombiners);\n\n // STEP-7: validate STEP-6, we collect all values from JavaPairRDD<> and print it. \n System.out.println(\"=== DEBUG STEP-6 ===\");\n List<Tuple2<String, SortedMap<Integer, Integer>>> output2 = combined.collect();\n for (Tuple2<String, SortedMap<Integer, Integer>> t : output2) {\n String name = t._1;\n SortedMap<Integer, Integer> map = t._2;\n System.out.println(name);\n System.out.println(map);\n }\n\n // persist output\n combined.saveAsTextFile(outputPath);\n\n // done!\n ctx.close();\n \n // exit\n System.exit(0);\n }", "private static void processClass(File file_name, final Histogram class_use, final Histogram method_use) {\n try {\n final InputStream object_stream=new FileInputStream(file_name);\n MethodCallEnumerator.analyzeClass(object_stream,class_use,method_use);\n object_stream.close();\n } catch (Exception e) {\n throw new IllegalStateException(\"while processing: \" + e);\n }\n }", "public int MajorityVote(double sample[]) {\n\t\t \n\t\tif(leaf_buff == null) {\n\t\t\tleaf_buff = new ArrayList<KDNode>();\n\t\t\tLeafNodes(leaf_buff);\n\t\t}\n\n\t\tint class_count[] = new int[]{0, 0, 0, 0};\n\t\tfor(int i=0; i<leaf_buff.size(); i++) {\n\t\t\tint label = leaf_buff.get(i).classifier.Output(sample);\n\n\t\t\tswitch(label) {\n\t\t\t\tcase -2: class_count[0]++;break;\n\t\t\t\tcase -1: class_count[1]++;break;\n\t\t\t\tcase 1: class_count[2]++;break;\n\t\t\t\tcase 2: class_count[3]++;break;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint max = 0;\n\t\tint label = 0;\n\t\tfor(int i=0; i<4; i++) {\n\t\t\t\n\t\t\tif(class_count[i] > max) {\n\t\t\t\tmax = class_count[i];\n\t\t\t\tlabel = i;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn label;\n\t}", "public static void main(String[] args) throws IOException {\n\n SimpleDateFormat ft = new SimpleDateFormat(\"hh:mm:ss\");\n System.out.println(\"Started at \" + ft.format(new Date()));\n\n // Folder containing android apps to analyze\n final PluginId pluginId = PluginId.getId(\"idaDoctor\");\n final IdeaPluginDescriptor pluginDescriptor = PluginManager.getPlugin(pluginId);\n File experimentDirectory = new File(root_project.getBasePath());\n fileName = new File(pluginDescriptor.getPath().getAbsolutePath()+\"/resources/results.csv\");\n String smellsNeeded = args[0];\n\n FILE_HEADER = new String[StringUtils.countMatches(smellsNeeded, \"1\") + 1];\n\n DataTransmissionWithoutCompressionRule dataTransmissionWithoutCompressionRule = new DataTransmissionWithoutCompressionRule();\n DebuggableReleaseRule debbugableReleaseRule = new DebuggableReleaseRule();\n DurableWakeLockRule durableWakeLockRule = new DurableWakeLockRule();\n InefficientDataFormatAndParserRule inefficientDataFormatAndParserRule = new InefficientDataFormatAndParserRule();\n InefficientDataStructureRule inefficientDataStructureRule = new InefficientDataStructureRule();\n InefficientSQLQueryRule inefficientSQLQueryRule = new InefficientSQLQueryRule();\n InternalGetterSetterRule internaleGetterSetterRule = new InternalGetterSetterRule();\n LeakingInnerClassRule leakingInnerClassRule = new LeakingInnerClassRule();\n LeakingThreadRule leakingThreadRule = new LeakingThreadRule();\n MemberIgnoringMethodRule memberIgnoringMethodRule = new MemberIgnoringMethodRule();\n NoLowMemoryResolverRule noLowMemoryResolverRule = new NoLowMemoryResolverRule();\n PublicDataRule publicDataRule = new PublicDataRule();\n RigidAlarmManagerRule rigidAlarmManagerRule = new RigidAlarmManagerRule();\n SlowLoopRule slowLoopRule = new SlowLoopRule();\n UnclosedCloseableRule unclosedCloseableRule = new UnclosedCloseableRule();\n\n String[] smellsType = {\"DTWC\", \"DR\", \"DW\", \"IDFP\", \"IDS\", \"ISQLQ\", \"IGS\", \"LIC\", \"LT\", \"MIM\", \"NLMR\", \"PD\", \"RAM\", \"SL\", \"UC\"};\n\n FILE_HEADER[0] = \"Class\";\n\n int headerCounter = 1;\n\n for (int i = 0; i < smellsNeeded.length(); i++) {\n if (smellsNeeded.charAt(i) == '1') {\n FILE_HEADER[headerCounter] = smellsType[i];\n headerCounter++;\n }\n }\n\n CSVFormat csvFileFormat = CSVFormat.DEFAULT.withRecordSeparator(NEW_LINE_SEPARATOR);\n FileWriter fileWriter = new FileWriter(fileName);\n try (CSVPrinter csvFilePrinter = new CSVPrinter(fileWriter, csvFileFormat)) {\n csvFilePrinter.printRecord((Object[]) FILE_HEADER);\n\n for (File project : experimentDirectory.listFiles()) {\n\n if (!project.isHidden()) {\n\n // Method to convert a directory into a set of java packages.\n ArrayList<PackageBean> packages = FolderToJavaProjectConverter.convert(project.getAbsolutePath());\n\n for (PackageBean packageBean : packages) {\n\n for (ClassBean classBean : packageBean.getClasses()) {\n\n List record = new ArrayList();\n\n System.out.println(\"-- Analyzing class: \" + classBean.getBelongingPackage() + \".\" + classBean.getName());\n\n record.add(classBean.getBelongingPackage() + \".\" + classBean.getName());\n\n if (smellsNeeded.charAt(0) == '1') {\n if (dataTransmissionWithoutCompressionRule.isDataTransmissionWithoutCompression(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(1) == '1') {\n if (debbugableReleaseRule.isDebuggableRelease(RunAndroidSmellDetection.getAndroidManifest(project))) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(2) == '1') {\n if (durableWakeLockRule.isDurableWakeLock(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(3) == '1') {\n if (inefficientDataFormatAndParserRule.isInefficientDataFormatAndParser(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(4) == '1') {\n if (inefficientDataStructureRule.isInefficientDataStructure(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(5) == '1') {\n if (inefficientSQLQueryRule.isInefficientSQLQuery(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(6) == '1') {\n if (internaleGetterSetterRule.isInternalGetterSetter(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(7) == '1') {\n if (leakingInnerClassRule.isLeakingInnerClass(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(8) == '1') {\n if (leakingThreadRule.isLeakingThread(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(9) == '1') {\n if (memberIgnoringMethodRule.isMemberIgnoringMethod(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(10) == '1') {\n if (noLowMemoryResolverRule.isNoLowMemoryResolver(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(11) == '1') {\n if (publicDataRule.isPublicData(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(12) == '1') {\n if (rigidAlarmManagerRule.isRigidAlarmManager(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(13) == '1') {\n if (slowLoopRule.isSlowLoop(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n\n if (smellsNeeded.charAt(14) == '1') {\n if (unclosedCloseableRule.isUnclosedCloseable(classBean)) {\n record.add(\"1\");\n } else {\n record.add(\"0\");\n }\n }\n csvFilePrinter.printRecord(record);\n }\n }\n }\n }\n }\n System.out.println(\"CSV file was created successfully!\");\n System.out.println(\"Finished at \" + ft.format(new Date()));\n }", "public static void main(String[] args) throws IOException{\n\n\t\tString inputUri = args[0];\n\t\tString basePath = args[1];\n\t\tString outPutFile = args[2];\n\t\t\n\n\t\t// Helper classes for writing files\n\t\tWriteHashMap sparkHadoopHashMapWriter = new WriteHashMap();\n\t\t// The path of the hadoop file\n\t\t// This is the default 2 line structure for Spark applications\n\t\tSparkConf conf = new SparkConf().setMaster(\"local[*]\")\n\t\t\t\t.setAppName(ProcessHadoopFile.class.getSimpleName());\n\t\tconf.set(\"spark.driver.maxResultSize\", \"14g\");\n\t\t// Set the config\n\t\tJavaSparkContext sc = new JavaSparkContext(conf);\n\t\t// Read in with spark\n\t\tJavaPairRDD<String, byte[]> totalDataset = sc\n\t\t\t\t.sequenceFile(inputUri, Text.class, BytesWritable.class, 24 * 3)\n\t\t\t\t.mapToPair(new ByteWriteToByteArr());\n\t\t// GET THE TOTAL MAP\n\t\tJavaPairRDD<String, byte[]> mainMap = totalDataset.filter(t -> t._1.endsWith(\"_total\"))\n\t\t\t\t.mapToPair(new RemoveSuffixAndGzip());\n\n\t\t// NOW GET THE HEADER MAP\n\t\tJavaPairRDD<String, byte[]> headerMap = totalDataset.filter(new Function<Tuple2<String,byte[]>, Boolean>() {\n\n\t\t\t/**\n\t\t\t * \n\t\t\t */\n\t\t\tprivate static final long serialVersionUID = 7574230201179927345L;\n\n\t\t\t@Override\n\t\t\tpublic Boolean call(Tuple2<String, byte[]> v1) throws Exception {\n\t\t\t\tif(v1._1.endsWith(\"_header\")==true){\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}).mapToPair(new RemoveSuffixAndGzip());\n\n\t\t/// NOW GET THE CALPHA MAP\n\t\tJavaPairRDD<String, byte[]> calphaMap = totalDataset.filter(new Function<Tuple2<String,byte[]>, Boolean>() {\n\n\t\t\t/**\n\t\t\t * \n\t\t\t */\n\t\t\tprivate static final long serialVersionUID = -8312184119385524L;\n\n\t\t\t@Override\n\t\t\tpublic Boolean call(Tuple2<String, byte[]> v1) throws Exception {\n\t\t\t\tif(v1._1.endsWith(\"_calpha\")==true){\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}).mapToPair(new RemoveSuffixAndGzip());\n\n\t\t// Now write the hadoop sequence file as the whole pdb\n\t\t// Now collect these as maps\n\n\t\tsparkHadoopHashMapWriter.writeHashMapToFile(headerMap.collectAsMap(), basePath+\"headerMap.map\");\n\t\tsparkHadoopHashMapWriter.writeHashMapToFile(calphaMap.collectAsMap(), basePath+\"calphaMap.map\");\n\t\t// Now do the main map\n\t\t//\t\t Now write this out as a hash map\n\t\tsparkHadoopHashMapWriter.writeHashMapToFile(mainMap.collectAsMap(), basePath+\"mainMap.map\");\n\n\t\t// Don't write the structures out as fat files\n//\t\tList<Partition> parted = mainMap.partitions();\n//\t\tfor(int i=0; i<parted.size();i++){\n//\t\t\tint[] thisArr = new int[1];\n//\t\t\tthisArr[0] = i;\n//\t\t\tList<Tuple2<String, byte[]>> ans = mainMap.collectPartitions(thisArr)[0];\n//\t\t\t// Now write the files to the file system\n//\t\t\twriteToFile(ans, basePath);\n//\t\t}\n\n\t\t// Now get the total dataset - without gzip and write to a hadoop sequence file\n\t\tJavaPairRDD<String, byte[]> mainMapNoGzip = totalDataset.filter(new Function<Tuple2<String,byte[]>, Boolean>() {\n\n\t\t\t/**\n\t\t\t * \n\t\t\t */\n\t\t\tprivate static final long serialVersionUID = -7172364344277495432L;\n\n\t\t\t@Override\n\t\t\tpublic Boolean call(Tuple2<String, byte[]> v1) throws Exception {\n\t\t\t\tif(v1._1.endsWith(\"_total\")==true){\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}).mapToPair(new RemoveSuffix());\n\n\t\tJavaPairRDD<Text, BytesWritable> mainDataset = mainMapNoGzip.mapToPair(new StringByteToTextByteWriter());\n\t\tString outURI = basePath+\"hadoopFullData\";\t\t\n\t\tmainDataset.saveAsHadoopFile(outURI, Text.class, BytesWritable.class, SequenceFileOutputFormat.class, org.apache.hadoop.io.compress.BZip2Codec.class);\n\t\tsc.close();\n\t\tFile f = new File(outPutFile);\n\t\tf.getParentFile().mkdirs(); \n\t\tf.createNewFile();\n\t\t\n\t}", "public int classify(String doc){\n\t\tint label = 0;\n\t\tint vSize = vocabulary.size();\n\t\tdouble[] score = new double[numClasses];\n\t\tfor(int i=0;i<score.length;i++){\n\t\t\tscore[i] = Math.log(classCounts[i]*1.0/trainingDocs.size());\n\t\t}\n\t\tString[] tokens = doc.split(\" \");\n\t\tfor(int i=0;i<numClasses;i++){\n\t\t\tfor(String token: tokens){\n\t\t\t\tif(condProb[i].containsKey(token)){\n\t\t\t\t\tscore[i] += Math.log(condProb[i].get(token));\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tscore[i] += Math.log(1.0/(classTokenCounts[i]+vSize));\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"token: \"+token+\" \"+score[i]);\n\t\t\t}\n\t\t}\n\t\tdouble maxScore = score[0];\n\t\t//System.out.println(\"class 0: \"+score[0]);\n\t\tfor(int i=1;i<score.length;i++){\n\t\t\t//System.out.println(\"class \"+i+\": \"+score[i]);\n\t\t\tif(score[i]>maxScore){\n\t\t\t\tlabel = i;\n\t\t\t}\n\t\t}\n\t\treturn label;\n\t}", "public static void main(String[] args) throws IOException, InterruptedException, ClassNotFoundException {\n\t\tTimeRecord.start();\n\t\tString sourceTable = \"orderdetailr\";\n\t\tPath outputPath = new Path(\"hdfs://192.168.3.201:8020/output/\");\n\t\tConfiguration conf = HadoopUtils.getConfiguration();\n\t\tJob job = Job.getInstance(conf, \"test detail\");\n\t\tjob.setJarByClass(SortOutput.class);\n\n\t\tScan scan = new Scan();\n\t\tscan.setCaching(500); // 1 is the default in Scan, which will be bad\n\t\t// for\n\t\t// MapReduce jobs\n\t\tscan.setCacheBlocks(false); // don't set to true for MR jobs\n\t\t// set other scan attrs\n\t\tTableMapReduceUtil.initTableMapperJob(sourceTable, // input table\n\t\t\t\tscan, // Scan instance to control CF and attribute selection\n\t\t\t\tMap.class, // mapper class\n\t\t\t\tDoubleWritable.class, // mapper output key\n\t\t\t\tText.class, // mapper output value\n\t\t\t\tjob);\n\t\tjob.setOutputFormatClass(TextOutputFormat.class);\n\t\tFileOutputFormat.setOutputPath(job, outputPath);\n\t\tjob.setOutputKeyClass(Text.class);\n\t\tjob.setOutputValueClass(DoubleWritable.class);\n\t\tjob.setNumReduceTasks(1);\n\n\t\tHadoopUtils.deleteOutputDirectory(outputPath);\n\n\t\tboolean b = job.waitForCompletion(true);\n\t\tif (!b) {\n\t\t\tthrow new IOException(\"error with job!\");\n\t\t}\n\t\tTimeRecord.stop();\n\n\t}", "public static void main(String args[]) throws Exception\n\t{\n\t\tLogger.getLogger(\"org.apache\").setLevel(Level.OFF);\t\n\t\t//This part is the initialization of the spark context . I have given the app name as \"CountTemperature\" and set the master to \n\t\t//Local as it os running locally.\n\t\tSparkConf sparkConf = new SparkConf().setAppName(\"TwitterAnalysis\").setMaster(\"local[4]\").set(\"spark.executor.memory\",\n\t\t\t\t\"1g\");\n\n\t\t//To connect to my developer twitter account I have set up the keys in system property to connect\n\t\tSystem.setProperty(\"twitter4j.oauth.consumerKey\", \"*********************\");\n\t\tSystem.setProperty(\"twitter4j.oauth.consumerSecret\", \"**************************\");\n\t\tSystem.setProperty(\"twitter4j.oauth.accessToken\", \"*********\");\n\t\tSystem.setProperty(\"twitter4j.oauth.accessTokenSecret\", \"*********\");\n\t\t\n\t\t//Here I am initiating the Javastreamingcotext saying that the context duration will be of 1 second\n\t\tJavaStreamingContext ssc = new JavaStreamingContext(sparkConf, new Duration(1000));\n\t\t//Here I am initiating the a DStream which is representing a stream of tweet data in that window duration\n\t\tJavaDStream<Status> tweets = TwitterUtils.createStream(ssc);\n\n\t\t//This part is the Dstream of String which will hold the text of every tweet Dstream and mapping it so that I can get the i\n\t\t//individual tweets text.\n\t\tJavaDStream<String> statuses = tweets.map(\n\n\t\t\t\tx ->x .getText()\n\t\t\t\t);\n\n\t\t// print first 10 records in each RDD in a DStream\n\t\t//If you want to print more than 10 tweets please specifiy the number to be printed\n\t\tstatuses.print();\n\n\t\t//This is Dstream of type integers which holds the number of words per tweet. This is based on the space splitting and taking the \n\t\t//size of the number of the data in the array where the words are stored\n\t\tJavaDStream<Integer> words1 = tweets.map(\n\n\t\t\t\tx -> Arrays.asList(x.getText().split(\" \")).size());\n\n\t\twords1.print();\n\t\t\n\t\t//This is Dstream of type integers which holds the number of words per tweet. This is based on the space splitting and taking the \n\t\t//size of the number of the data in the array where the words are stored\n\t\tJavaDStream<Integer> characters1 = tweets.map(\n\n\t\t\t\tx -> Arrays.asList(x.getText().split(\"\")).size());\n\n\t\tcharacters1.print();\n\n\t\t \n\n\t\t//This part is to get the hashtags. To do this we have checked the wors of the text of the tweets and checked the words which\n\t\t//has been started with '#'\n\t\tJavaDStream<String> wordsTotal = statuses.flatMap((String x) -> Arrays.asList(x.split(\" \")).iterator());\n\t\tJavaDStream<String> hashtagsTotal = wordsTotal.filter(x -> x.startsWith(\"#\"));\n\t\thashtagsTotal.print();\n\t\t//This is the part which is getting the average number of words per tweet. We are getting by dividing the total number of words\n\t\t//and total number of tweets\n\t\tstatuses.foreachRDD(f ->\n\t\t{\n\t\t\tif(f.count()>0)\n\t\t\t{\n\t\t\t\tJavaRDD<String> words5 = f.flatMap((String x) -> Arrays.asList(x.split(\" \")).iterator());\n\t\t\t\tLong countstatus = f.count();\n\t\t\t\t//System.out.println(countstatus);\n\t\t\t\tSystem.out.println(\"Average Number of Words per tweet is : \" +words5.count()/countstatus);\n\t\t\t}\n\n\t\t}\n\t\t\t\t);\n\t\t\n\t\t//This is the part which is getting the average number of chracters per tweet. We are getting by dividing the total number of words\n\t\t//and total number of tweets\n\n\t\tstatuses.foreachRDD(f ->\n\t\t{\n\t\t\tif(f.count()>0)\n\t\t\t{\n\t\t\t\tJavaRDD<String> words6 = f.flatMap((String x) -> Arrays.asList(x.split(\"\")).iterator());\n\t\t\t\tlong countstatus = f.count();\n\t\t\t\tSystem.out.println(\"Average Number of characters per tweet is : \" +words6.count()/countstatus);\n\t\t\t}\n\n\t\t}\n\t\t\t\t);\n\n\n\n\t\t//This is the part which gives the top 10 hastags in the tweets stream. We are first reducing the data with the number\n\t\t//counts. Then mapping as pair. Then it is getting sorted taking the number of counts as key.\n\t\tJavaPairDStream<String, Integer> ones = hashtagsTotal.mapToPair((String s) -> new Tuple2<String, Integer>(s, 1));\n\t\tJavaPairDStream<String, Integer> counts = ones.reduceByKey((Integer i1, Integer i2) -> i1 + i2);\n\n\t\tJavaPairDStream<Integer, String> swappedCounts = counts.map(f -> f.swap()).mapToPair(x -> new Tuple2<Integer, String>(x._1(),x._2()));\n\t\tJavaPairDStream<Integer, String> sortedCounts =swappedCounts.transformToPair(\n\t\t\t\tnew Function<JavaPairRDD<Integer, String>, JavaPairRDD<Integer, String>>() {\n\t\t\t\t\tpublic JavaPairRDD<Integer, String> call(JavaPairRDD<Integer, String> in) throws Exception {\n\t\t\t\t\t\treturn in.sortByKey(false);\n\t\t\t\t\t}\n\t\t\t\t});\n\n\n\n\t\tsortedCounts.foreachRDD(f ->\n\t\t{\n\n\t\t\tif(f.count()>0)\n\t\t\t{\n\t\t\t\tJavaPairRDD<Integer, String> topList = f;\n\t\t\t\tString out = \"\\nTop 10 hashtags:\\n\";\n\t\t\t\tfor (Tuple2<Integer, String> t : topList.take(10)) {\n\t\t\t\t\tout = out + t.toString() + \"\\n\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(out);\n\t\t\t}\n\t\t});\n\t\t\n\t\t//This s the tweets Dstream of texts base don the window size .\n\t\tJavaDStream<String> statuseswithWindow = statuses.window(new Duration(60 * 5 * 1000), new Duration(30 * 1000));\n\t\t//This is the part which is getting the average number of words per tweet. We are getting by dividing the total number of words\n\t\t//and total number of tweets. Only thing is we have given the wins=dow size and time spam now according to question.\n\t\tstatuseswithWindow.foreachRDD(f ->\n\t\t{\n\t\t\tif(f.count()>0)\n\t\t\t{\n\t\t\t\tJavaRDD<String> words5 = f.flatMap((String x) -> Arrays.asList(x.split(\" \")).iterator());\n\t\t\t\tLong countstatus = f.count();\n\t\t\t\tSystem.out.println(countstatus);\n\t\t\t\tSystem.out.println(\"Average Number of Words per tweet is : \" +words5.count()/countstatus);\n\t\t\t}\n\n\t\t}\n\t\t\t\t);\n\t\t\n\t\t//This is the part which is getting the average number of characters per tweet. We are getting by dividing the total number of words\n\t\t//and total number of tweets. Only thing is we have given the wins=dow size and time spam now according to question.\n\n\t\tstatuseswithWindow.foreachRDD(f ->\n\t\t{\n\t\t\tif(f.count()>0)\n\t\t\t{\n\t\t\t\tJavaRDD<String> words6 = f.flatMap((String x) -> Arrays.asList(x.split(\"\")).iterator());\n\t\t\t\tlong countstatus = f.count();\n\t\t\t\tSystem.out.println(\"Average Number of characters per tweet is : \" +words6.count()/countstatus);\n\t\t\t}\n\n\t\t}\n\t\t\t\t);\n\t\t\n\t\t\n\n\t\t//This is the part which gives the top 10 hastags in the tweets stream. We are first reducing the data with the number\n\t\t//counts. Then mapping as pair. Then it is getting sorted taking the number of counts as key.Only thing is we are setting the window\n\t\t//Value now as per the question \n\t\tJavaPairDStream<String, Integer> countsWithWindow = ones.reduceByKeyAndWindow((Integer i1, Integer i2) -> i1 + i2\n\t\t\t\t, new Duration(60 * 5 * 1000),\n\t\t\t\tnew Duration(30 * 1000));\n\n\t\tJavaPairDStream<Integer, String> swappedCountsWithWindow = countsWithWindow.map(f -> f.swap()).mapToPair(x -> new Tuple2<Integer, String>(x._1(),x._2()));\n\t\tJavaPairDStream<Integer, String> sortedCountsWithWindow =swappedCountsWithWindow.transformToPair(\n\t\t\t\tnew Function<JavaPairRDD<Integer, String>, JavaPairRDD<Integer, String>>() {\n\t\t\t\t\tpublic JavaPairRDD<Integer, String> call(JavaPairRDD<Integer, String> in) throws Exception {\n\t\t\t\t\t\treturn in.sortByKey(false);\n\t\t\t\t\t}\n\t\t\t\t});\n\n\n\t\tsortedCountsWithWindow.foreachRDD(f ->\n\n\t\t{\n\t\t\tif(f.count()>0)\n\t\t\t{\n\t\t\t\tJavaPairRDD<Integer, String> topList = f;\n\t\t\t\tString out = \"\\nTop 10 hashtags for the window size mentioned:\\n\";\n\t\t\t\tfor (Tuple2<Integer, String> t : topList.take(10)) {\n\t\t\t\t\tout = out + t.toString() + \"\\n\";\n\t\t\t\t}\n\t\t\t\tSystem.out.println(out);\n\t\t\t}\n\n\t\t});\n\n\n\n\n\n\t\tssc.start();\n\t\tssc.awaitTermination();\n\n\t}", "public void testSummaryStatsParallel() {\n File testFile = new File(\"src/test/data/dataset1.txt\");\n GcManager gcManager = new GcManager();\n gcManager.store(testFile, false);\n JvmRun jvmRun = gcManager.getJvmRun(new Jvm(null, null), Constants.DEFAULT_BOTTLENECK_THROUGHPUT_THRESHOLD);\n Assert.assertEquals(\"Max young space not calculated correctly.\", 248192, jvmRun.getMaxYoungSpace());\n Assert.assertEquals(\"Max old space not calculated correctly.\", 786432, jvmRun.getMaxOldSpace());\n Assert.assertEquals(\"NewRatio not calculated correctly.\", 3, jvmRun.getNewRatio());\n Assert.assertEquals(\"Max heap space not calculated correctly.\", 1034624, jvmRun.getMaxHeapSpace());\n Assert.assertEquals(\"Max heap occupancy not calculated correctly.\", 1013058, jvmRun.getMaxHeapOccupancy());\n Assert.assertEquals(\"Max pause not calculated correctly.\", 2782, jvmRun.getMaxGcPause());\n Assert.assertEquals(\"Max perm gen space not calculated correctly.\", 159936, jvmRun.getMaxPermSpace());\n Assert.assertEquals(\"Max perm gen occupancy not calculated correctly.\", 76972, jvmRun.getMaxPermOccupancy());\n Assert.assertEquals(\"Total GC duration not calculated correctly.\", 5614, jvmRun.getTotalGcPause());\n Assert.assertEquals(\"GC Event count not correct.\", 2, jvmRun.getEventTypes().size());\n Assert.assertTrue(JdkUtil.LogEventType.PARALLEL_SCAVENGE.toString() + \" collector not identified.\",\n jvmRun.getEventTypes().contains(LogEventType.PARALLEL_SCAVENGE));\n Assert.assertTrue(JdkUtil.LogEventType.PARALLEL_SERIAL_OLD.toString() + \" collector not identified.\",\n jvmRun.getEventTypes().contains(LogEventType.PARALLEL_SERIAL_OLD));\n Assert.assertTrue(Analysis.WARN_APPLICATION_STOPPED_TIME_MISSING + \" analysis not identified.\",\n jvmRun.getAnalysis().contains(Analysis.WARN_APPLICATION_STOPPED_TIME_MISSING));\n Assert.assertTrue(Analysis.ERROR_SERIAL_GC_PARALLEL + \" analysis not identified.\",\n jvmRun.getAnalysis().contains(Analysis.ERROR_SERIAL_GC_PARALLEL));\n }", "private void calculateScores() throws IOException {\n\n // Create Hashmap to return\n LCOMScores = new HashMap<>();\n LCOMGraph = new HashMap<>();\n\n for (File classFile : CLASS_FILES) {\n\n // Maps for which method uses which fields and which method calls which other methods\n Map<String, List<String>> methodUsesMap = new HashMap<>();\n Map<String, List<String>> methodCallsMap = new HashMap<>();\n\n /*\n Get Class Object of Main Class in ASM\n TODO: What about more than one Class in a classfile?!\n */\n ClassNode myClassNode;\n ClassReader myClassReader;\n try (InputStream classFileIS = new FileInputStream(classFile)) {\n myClassNode = new ClassNode();\n\n myClassReader = new ClassReader(classFileIS);\n }\n myClassReader.accept(myClassNode, 0);\n\n // System.out.println(\"LCOM Calculation for Class \" + myClassNode.name );\n // Initialize jGraphT Graph to Calculate LCOM on\n LCOMGraph.put(cleanInternalName(myClassNode.name), new SimpleGraph<>(DefaultEdge.class));\n\n // Iterate over Methods in Class\n for (MethodNode method : myClassNode.methods) {\n // System.out.println(\"Looking at \" + cleanInternalName(method.name) + \" in \"\n // +\n // myClassNode.name);\n // Add vertex for method\n LCOMGraph.get(cleanInternalName(myClassNode.name))\n .addVertex(cleanInternalName(method.name));\n // List of fields used in method\n List<String> myMethodFields = new ArrayList<>();\n // List of methods called in Method\n List<String> myMethodCalls = new ArrayList<>();\n // Iterate over instructions\n for (AbstractInsnNode ain : method.instructions.toArray()) {\n /*\n If ain is instance variable, write to list of fields used Else If it is a method call,\n write to list of methods called\n */\n if (ain.getType() == AbstractInsnNode.FIELD_INSN) {\n FieldInsnNode fin = (FieldInsnNode) ain;\n // System.out.println(\"Registering field \" + fin.name + \" for\n // method \" + cleanInternalName(method.name));\n myMethodFields.add(fin.name);\n\n } else if (ain.getType() == AbstractInsnNode.METHOD_INSN) {\n MethodInsnNode methCall = (MethodInsnNode) ain;\n if (methCall.owner.equals(cleanInternalName(myClassNode.name))) { // CHECK!\n myMethodCalls.add(methCall.name);\n }\n }\n }\n // Add Lists to HashMap for all methods\n methodUsesMap.put(cleanInternalName(method.name), myMethodFields);\n methodCallsMap.put(cleanInternalName(method.name), myMethodCalls);\n }\n // Iterate over found methods and add edges to LCOM graph using mutual used fields\n for (String method : LCOMGraph.get(cleanInternalName(myClassNode.name)).vertexSet()) {\n for (String usedField : methodUsesMap.get(method)) {\n for (String secondMethod :\n LCOMGraph.get(cleanInternalName(myClassNode.name)).vertexSet()) {\n if (!method.equals(secondMethod)) {\n // System.out.println(\"Looking for Edges from \" + method + \" to \" + secondMethod + \"\n // for field \" + usedField);\n if (!methodUsesMap.get(secondMethod).isEmpty()\n && methodUsesMap.get(secondMethod).contains(usedField)) {\n // System.out.println(\"Adding edge from \" + method + \"\n // to \" + secondMethod);\n LCOMGraph.get(cleanInternalName(myClassNode.name)).addEdge(method, secondMethod);\n }\n }\n }\n }\n }\n // Iterate over found methods and add edges to LCOM graph using calls\n for (String method : LCOMGraph.get(cleanInternalName(myClassNode.name)).vertexSet()) {\n for (String secondMethod : methodCallsMap.get(method)) {\n if (!secondMethod.equals(method)\n && LCOMGraph.get(cleanInternalName(myClassNode.name))\n .vertexSet()\n .contains(secondMethod)) {\n LCOMGraph.get(cleanInternalName(myClassNode.name)).addEdge(method, secondMethod);\n }\n }\n }\n\n // Create ConnectivityInspector to find connected components of graph\n ConnectivityInspector<String, DefaultEdge> connectedComponentIns =\n new ConnectivityInspector<>(LCOMGraph.get(cleanInternalName(myClassNode.name)));\n List<Set<String>> connectedComponents = connectedComponentIns.connectedSets();\n\n LCOMScores.put(cleanInternalName(myClassNode.name), connectedComponents.size());\n }\n\n // TODO: saveResultJSON(myLCOMScores);\n }", "@Test\n\tpublic void testClassifier() {\n\t\t// Ensure there are no intermediate files left in tmp directory\n\t\tFile exampleFile = FileUtils.getTmpFile(FusionClassifier.EXAMPLE_FILE_NAME);\n\t\tFile predictionsFile = FileUtils.getTmpFile(FusionClassifier.PREDICTIONS_FILE_NAME);\n\t\texampleFile.delete();\n\t\tpredictionsFile.delete();\n\t\t\n\t\tList<List<Double>> columnFeatures = new ArrayList<>();\n\t\tSet<String> inputRecognizers = new HashSet();\n\t\tList<Map<String, Double>> supportingCandidates = new ArrayList();\n\t\tList<Map<String, Double>> competingCandidates = new ArrayList();\n\t\t\n\t\t// Supporting candidates\n\t\tMap<String, Double> supportingCandidatesTipo = new HashMap();\n\t\tsupportingCandidatesTipo.put(INPUT_RECOGNIZER_ID, TIPO_SIMILARITY_SCORE);\n\t\tsupportingCandidates.add(supportingCandidatesTipo);\n\n\t\tMap<String, Double> supportingCandidatesInsegna = new HashMap();\n\t\tsupportingCandidatesInsegna.put(INPUT_RECOGNIZER_ID, INSEGNA_SIMILARITY_SCORE);\n\t\tsupportingCandidates.add(supportingCandidatesInsegna);\n\t\t\n\t\t// Competing candidates\n\t\tMap<String, Double> competingCandidatesTipo = new HashMap();\n\t\tcompetingCandidatesTipo.put(INPUT_RECOGNIZER_ID, 0.);\n\t\tcompetingCandidates.add(competingCandidatesTipo);\n\t\tMap<String, Double> competingCandidatesInsegna = new HashMap();\n\t\tcompetingCandidatesInsegna.put(INPUT_RECOGNIZER_ID, 0.);\n\t\tcompetingCandidates.add(competingCandidatesInsegna);\n\n\t\t// Two columns: insegna and tipo from osterie_tipiche\n\t\t// A single column feature: uniqueness\n\t\tList<Double> featuresTipo = new ArrayList();\n\t\tfeaturesTipo.add(0.145833);\n\t\tcolumnFeatures.add(featuresTipo);\n\t\t\n\t\tList<Double> featuresInsegna = new ArrayList();\n\t\tfeaturesInsegna.add(1.0);\n\t\tcolumnFeatures.add(featuresInsegna);\n\t\t\n\t\t// A single input recognizer\n\t\tinputRecognizers.add(INPUT_RECOGNIZER_ID);\n\n\t\t// Create the classifier\n\t\tFusionClassifier classifier \n\t\t\t= new FusionClassifier(FileUtils.getSVMModelFile(MINIMAL_FUSION_CR_NAME), \n\t\t\t\t\tcolumnFeatures, \n\t\t\t\t\tRESTAURANT_CONCEPT_ID, \n\t\t\t\t\tinputRecognizers);\n\t\tList<Double> predictions \n\t\t\t= classifier.classifyColumns(supportingCandidates, competingCandidates);\n\t\t\n\t\tboolean tipoIsNegativeExample = predictions.get(0) < -0.5;\n\t\t\n//\t\tTODO This currently doesn't work -- need to investigate\n//\t\tboolean insegnaIsPositiveExample = predictions.get(1) > 0.5;\n\t\t\n\t\tassertTrue(tipoIsNegativeExample);\n//\t\tassertTrue(insegnaIsPositiveExample);\n\t\t\n\ttry {\n\t\tSystem.out.println(new File(\".\").getCanonicalPath());\n\t\tSystem.out.println(getClass().getProtectionDomain().getCodeSource().getLocation());\n\t} catch (IOException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n\t\t\n\t}", "private MetricsSet getTotalResultPerFile(String[][] contents) {\n String[] csvHeaders = MetricsSet.METRICS_PER_FILE;\n MetricsSet thisFileResult = new MetricsSet();\n int caseSize = csvHeaders.length - 2;\n Double[] RowSum = new Double[caseSize];\n Integer[] RowCount = new Integer[caseSize];\n for (int i = 0; i < caseSize; i ++) {\n RowSum[i] = 0.0;\n RowCount[i] = 0;\n }\n for (String[] row: contents) {\n for(int i = 0; i < caseSize; i++) {\n// if (row[i + 2].equals(\"NaN\")) continue;\n Double tmp = Double.parseDouble(row[i + 2]);\n if (tmp < 0) continue;\n RowSum[i] += tmp;\n RowCount[i] += 1;\n }\n }\n thisFileResult.topk = Integer.parseInt(contents[1][1]);\n thisFileResult.precision = new Metrics(RowCount[0], RowSum[0]);\n //thisFileResult.recall = new Metrics(RowCount[1], RowSum[1]);\n //thisFileResult.fMeasure = new Metrics(RowCount[2], RowSum[2]);\n thisFileResult.MAP = new Metrics(RowCount[1], RowSum[1]);\n thisFileResult.MRR = new Metrics(RowCount[2], RowSum[2]);\n //thisFileResult.NDCG = new Metrics(RowCount[5], RowSum[5]);\n //thisFileResult.firstPos = new Metrics(RowCount[6], RowSum[6]);\n thisFileResult.time = new Metrics(RowCount[3], RowSum[3]);\n thisFileResult.queryNumb = this.ranks.length;\n return thisFileResult;\n }", "public int run( String[] args) throws Exception {\n \tConfiguration conf = new Configuration();\n\tFileSystem fs = FileSystem.get(conf);\n\tPath pt = new Path(args[0]);\n\tContentSummary cs = fs.getContentSummary(pt);\n\tint fileCount = (int)cs.getFileCount();\n \tconf.setInt(\"numDocs\", fileCount);\n\n\tJob tfidfJob = Job .getInstance(conf, \" tfidf \");\n \ttfidfJob.setJarByClass( this .getClass());\n \tFileInputFormat.addInputPaths(tfidfJob, args[1]); // Output of Term frequency is treated as input for TFIDF\n \tFileOutputFormat.setOutputPath(tfidfJob, new Path(args[2]));\n \ttfidfJob.setMapperClass( TFIDFMap.class);\n \ttfidfJob.setReducerClass( TFIDFReduce.class);\n \ttfidfJob.setOutputKeyClass( Text.class);\n \ttfidfJob.setOutputValueClass( Text.class);\n\n \treturn tfidfJob.waitForCompletion( true) ? 0 : 1;\n }", "public static String[] loadBestScorers(int count) {\n\t\treturn bestScorers;\n\t}", "public void score(List<String> modelFiles, List<String> testFiles, String outputFile) {\n/* 1223 */ int nFold = modelFiles.size();\n/* 1224 */ try (BufferedWriter out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(outputFile), \"UTF-8\"))) {\n/* 1225 */ for (int f = 0; f < nFold; f++) {\n/* */ \n/* */ \n/* 1228 */ List<RankList> test = readInput(testFiles.get(f));\n/* 1229 */ Ranker ranker = this.rFact.loadRankerFromFile(modelFiles.get(f));\n/* 1230 */ int[] features = ranker.getFeatures();\n/* */ \n/* 1232 */ if (normalize) {\n/* 1233 */ normalize(test, features);\n/* */ }\n/* 1235 */ for (RankList l : test) {\n/* 1236 */ for (int j = 0; j < l.size(); j++) {\n/* 1237 */ out.write(l.getID() + \"\\t\" + j + \"\\t\" + ranker.eval(l.get(j)) + \"\");\n/* 1238 */ out.newLine();\n/* */ }\n/* */ \n/* */ } \n/* */ } \n/* 1243 */ } catch (IOException ex) {\n/* */ \n/* 1245 */ throw RankLibError.create(\"Error in Evaluator::score(): \", ex);\n/* */ } \n/* */ }", "public static void main(String argv[]) throws InterruptedException {\r\n\t\t// Set default setting first:\r\n\t\tdataFileName = \"movieLens_100K\";\r\n\t\tevaluationMode = DataSplitManager.SIMPLE_SPLIT;\r\n\t\tsplitFileName = dataFileName + \"_split.txt\";\r\n\t\ttestRatio = 0.5;\r\n\t\tfoldCount = 8;\r\n\t\tuserTrainCount = 10;\r\n\t\tminTestCount = 10;\r\n\t\trunAllAlgorithms = true;\r\n\t\t\r\n\t\t// Parsing the argument:\r\n\t\tif (argv.length > 1) {\r\n\t\t\tparseCommandLine(argv);\r\n\t\t}\r\n\t\t\r\n\t\t// Read input file:\r\n\t\treadArff (dataFileName + \".arff\");\r\n\t\t\r\n\t\t// Train/test data split:\r\n\t\tswitch (evaluationMode) {\r\n\t\t\tcase DataSplitManager.SIMPLE_SPLIT:\r\n\t\t\t\tSimpleSplit sSplit = new SimpleSplit(rateMatrix, testRatio, maxValue, minValue);\r\n\t\t\t\tSystem.out.println(\"Evaluation\\tSimple Split (\" + (1 - testRatio) + \" train, \" + testRatio + \" test)\");\r\n\t\t\t\ttestMatrix = sSplit.getTestMatrix();\r\n\t\t\t\tuserRateAverage = sSplit.getUserRateAverage();\r\n\t\t\t\titemRateAverage = sSplit.getItemRateAverage();\r\n\t\t\t\t\r\n\t\t\t\trun();\r\n\t\t\t\tbreak;\r\n\t\t\tcase DataSplitManager.PREDEFINED_SPLIT:\r\n\t\t\t\tPredefinedSplit pSplit = new PredefinedSplit(rateMatrix, splitFileName, maxValue, minValue);\r\n\t\t\t\tSystem.out.println(\"Evaluation\\tPredefined Split (\" + splitFileName + \")\");\r\n\t\t\t\ttestMatrix = pSplit.getTestMatrix();\r\n\t\t\t\tuserRateAverage = pSplit.getUserRateAverage();\r\n\t\t\t\titemRateAverage = pSplit.getItemRateAverage();\r\n\t\t\t\t\r\n\t\t\t\trun();\r\n\t\t\t\tbreak;\r\n\t\t\tcase DataSplitManager.K_FOLD_CROSS_VALIDATION:\r\n\t\t\t\tKfoldCrossValidation kSplit = new KfoldCrossValidation(rateMatrix, foldCount, maxValue, minValue);\r\n\t\t\t\tSystem.out.println(\"Evaluation\\t\" + foldCount + \"-fold Cross-validation\");\r\n\t\t\t\tfor (int k = 1; k <= foldCount; k++) {\r\n\t\t\t\t\ttestMatrix = kSplit.getKthFold(k);\r\n\t\t\t\t\tuserRateAverage = kSplit.getUserRateAverage();\r\n\t\t\t\t\titemRateAverage = kSplit.getItemRateAverage();\r\n\t\t\t\t\t\r\n\t\t\t\t\trun();\r\n\t\t\t\t}\r\n\t\t\t\tbreak;\r\n\t\t\tcase DataSplitManager.RANK_EXP_SPLIT:\r\n\t\t\t\tRankExpSplit rSplit = new RankExpSplit(rateMatrix, userTrainCount, minTestCount, maxValue, minValue);\r\n\t\t\t\tSystem.out.println(\"Evaluation\\t\" + \"Ranking Experiment with N = \" + userTrainCount);\r\n\t\t\t\ttestMatrix = rSplit.getTestMatrix();\r\n\t\t\t\tuserRateAverage = rSplit.getUserRateAverage();\r\n\t\t\t\titemRateAverage = rSplit.getItemRateAverage();\r\n\t\t\t\t\r\n\t\t\t\trun();\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t}", "public static void main(String[] args) {\n\n\t\t\n\t\tJavaSparkContext context = new JavaSparkContext(\"local[*]\", \"hello\");\n\t\tSparkSession session = SparkSession.builder().getOrCreate();\n\t\tjava.util.List<StructField> fields = new ArrayList<StructField>();\n\t\n\t\tStructType schema = DataTypes.createStructType(fields);\n\t\tDataset<Row> customer = session.read().option(\"delimiter\", \"|\").option(\"header\", true).csv(\"/home/student/DBDA_CHEATS/Hadoop/import-northwind-master/customers.csv\");\n\t\t\n\t\tlong cnt = customer.filter(new Column(\"Country\").equalTo(\"Brazil\")).count();\n\t\tSystem.out.println(\"Total\" +cnt);\n\t}", "public static void partC() throws IOException {\n\t\tString filePath = \"C:\\\\eclipse-workspace\\\\Regular Expressions\\\\2021_ClassAvailability.txt\";\n\t\t\n\t\t//Converting the text file into a single string.\n\t\tString contents = Files.readString(Path.of(filePath));\n\t\t\n\t\tString RegEx1 = \"[A-Z]{2,4}-\\\\d{3}[A-Z]?-[\\\\d|A-Z]1\"; //Pattern for finding class ID\n\n\t\t//Creating pattern object r\n\t\tPattern r = Pattern.compile(RegEx1);\n\t\t\n\t\t//Creating matcher object m\n\t\tMatcher m = r.matcher(contents);\n\t\t\t\t\n\t\t//Creating an array list used to store the various pattern matches found by the RegEx\n\t\tArrayList<String> uniqueClasses = new ArrayList<String>();\n\t\t\n\t\t//while the matcher continues to find matches, these matches are printed and a counter is tallied up.\n\t\twhile (m.find())\n\t\t{\n\t\t\tuniqueClasses.add(m.group());\n\t\t\t\n\t\t}\t\n//\t\tSystem.out.println(uniqueClasses); //Used to print out the list of all unique classes\n\t\t\n\t\t\n\t\t//Converting the array list uniqueClasses into a string so that RegEx can be used on it\n\t\tString listString = String.join(\",\", uniqueClasses);\n\t\n\t\tString RegEx3 = \"[A-Z]{2,4}\"; //RegEx for finding the class type\n\t\t\n\t\t//Creating pattern object o\n\t\tPattern o = Pattern.compile(RegEx3);\n\t\t\n\t\t//Creating matcher object p\n\t\tMatcher p = o.matcher(listString);\n\t\t\n\t\t//Creating hashmap for storing the unique classes\n\t\tHashMap<String, Integer> uniqueClassCounter = new HashMap<String, Integer>();\n\t\t\n\t\t//While the matcher continues to find matching patterns in the listString string...\n\t\twhile (p.find())\n\t\t{\n//\t\t\tSystem.out.println(p.group()); //Prints out the type of each unique class found in the array list above\n\t\t\t\n\t\t\t//checking the hashmap to determine if the key (class department code) being checked already exists\n\t\t\tif (uniqueClassCounter.containsKey(p.group())) {\n int uniqueClassCount = (int)uniqueClassCounter.get(p.group());\n uniqueClassCount++;//increases the value stored with the department code key to keep track of the number of times that department key is found \n uniqueClassCounter.put(p.group(), uniqueClassCount );\n } else {\n uniqueClassCounter.put(p.group(), 1);//Stores new department code keys\n }//end if else\n\t\t}//end while\n\t\t\n\t\t\n\t\t//for loop used to print out the hashmap.\n\t\tfor (HashMap.Entry<String, Integer> entry :uniqueClassCounter.entrySet()) {\n String uniqueClassString = entry.getKey();\n int uniqueClassInt = entry.getValue();\n System.out.println(uniqueClassString + \" : \" + uniqueClassInt);\n }//end for loop\n\t\tSystem.out.println();\n\t\t\n\t}", "public static void main(String[] args) {\n try {\n List<Student> students = loadStudentList(new File(INPUT_FILE_NAME));\n List<Student> studentsWithScholarship =\n selectTopNonContractStudents(students, SCHOLARSHIP_PERCENTAGE);\n\n double minScoreForScholarship = getMinScoreForScholarship(studentsWithScholarship);\n\n System.out.printf(\"Min score for scholarship: %f%n\", minScoreForScholarship);\n System.out.printf(\"Students with scholarship (%d total):%n\",\n studentsWithScholarship.size());\n studentsWithScholarship.forEach(System.out::println);\n\n saveStudentsList(studentsWithScholarship, new File(OUTPUT_FILE_NAME));\n } catch (IOException e) {\n System.err.println(\"Failed to read/write file\");\n e.printStackTrace();\n }\n }", "public static void main(String argv[]) throws FileNotFoundException {\n ClassLoader classLoader = MainJava.class.getClassLoader();\n\n InputStream is = new FileInputStream(classLoader.getResource(\"file/input.txt\").getFile());\n\n EngineImplementation myEngineImplementation = new EngineImplementation();\n\n //Create object of SparkDistributor\n SparkDistributor mySparkDistributor = new SparkDistributor();\n\n myDataConsumer DataConsumer = new myDataConsumer();\n\n mySparkDistributor.setDataConsumer(DataConsumer);\n\n myEngineImplementation.setModelByInputFileStream(is);\n\n myEngineImplementation.process(mySparkDistributor);\n\n }", "public static void Top100(Configuration conf) throws Exception { \n\n\t\tJob job = new Job(conf, \"ceate matrix\");\n\t\tjob.setJarByClass(PageRank.class);\n\t\tjob.setSortComparatorClass(KeyComparator.class);\n\t\tjob.setPartitionerClass(PagePartitioner.class);\n\t\tjob.setMapperClass(Top100Mapper.class);\n\t\tjob.setReducerClass(Top100Reducer.class);\n\t\tjob.setMapOutputKeyClass(DoubleWritable.class);\n\t\tjob.setMapOutputValueClass(Text.class);\n\t\tjob.setOutputKeyClass(Text.class);\n\t\tjob.setOutputValueClass(Text.class);\n\t\tFileInputFormat.addInputPath(job, new Path(\"matrixMultiplyOutput10\"));\n\t\tFileOutputFormat.setOutputPath(job,new Path(\"Top100\"));\n\t\tjob.waitForCompletion(true);\n\t}", "void collect() throws SQLException, IOException {\n\t\t// Open connection to the evaluation db with query classifications\n\t\tconn = DriverManager.getConnection(connectionString, user, pwd);\n\t\tconn.setCatalog(database);\n\t\t\n\t\t/*\nSELECT DISTINCT system, processNo\nFROM evaluationAverage\nWHERE algorithm = 'evosql' AND coverage < 1\n\t\t */\n\t\tPreparedStatement stmt = conn.prepareStatement(\"SELECT DISTINCT system, processNo FROM evaluationAverage WHERE algorithm = 'evosql' AND coverage < 1\");\n\t\tResultSet result = stmt.executeQuery();\n\t\t\n\t\tString lastSystem = \"\";\n\t\tPrintStream output = null;\n\t\twhile (result.next()) {\n\t\t\tString system = result.getString(1);\n\t\t\tint processNo = result.getInt(2);\n\t\t\t\n\t\t\tif (!system.equals(lastSystem)) {\n\t\t\t\tif (output != null) output.close();\n\t\t\t\toutput = new PrintStream(outputPrefix + system + \".sql\");\n\t\t\t\tlastSystem = system;\n\t\t\t}\n\t\t\tcollectScenario(system, processNo, output);\n\t\t}\n\t\toutput.close();\n\t\t\n\t\tconn.close();\n\t\t\n\t\tSystem.out.println(queriesExists);\n\t\tSystem.out.println(pathsExists);\n\t}", "public double classifyAll(String testDataFolder)\n\t{\n\t\tFile folder = new File(testDataFolder);\n\t\tFile[] listOfFiles = folder.listFiles();\n\t\tdouble accuracy = 0.0;\n\t\tint correct_classifications = 0;\n\t\tint testdata = 0;\n\t\tfor(int i=0;i<listOfFiles.length;i++){\n\t\t\tString doc = \"\";\n\t\t\ttry {\n\t\t\t\t\tBufferedReader reader = new BufferedReader(new FileReader(listOfFiles[i].getAbsoluteFile()));\n\t\t\t\t\tint count = 0;\n\t\t\t\t\tint actual_count = 0;\n\t\t\t\t\tint class_=0;\n\t\t\t\t\tint[] correct = new int[numClasses];\n\t\t\t\t\tint[] test = new int[numClasses];\n\t\t\t\t\tString line = \"\";\n\t\t\t\t\tint tabIndex=0;\n\t\t\t\t\tallDocs = new ArrayList<String>();\n\t\t\t\t\twhile((line=reader.readLine())!=null && !line.isEmpty()){\n\t\t\t\t\t\ttestdata++;\n\t\t\t\t\t\ttabIndex = line.indexOf('\\t');\n\t\t\t\t\t\tString type = line.substring(0, tabIndex);\n\t\t\t\t\t\tString msg = line.substring(tabIndex + 1);\n\t\t\t\t\t\tmsg = msg.toLowerCase();\n\t\t\t\t\t\tif(type.equals(\"ham\")){class_ = 0;}\n\t\t\t\t\t\telse{class_ = 1;}\n\t\t\t\t\t\ttest[class_]++;\n\t\t\t\t\t\tactual_count = actual_count + class_;\n\t\t\t\t\t\tint label = classify(msg);\n\t\t\t\t\t\tcount = count + label;\n\t\t\t\t\t\t//System.out.println(label+\"/\"+class_+\" \"+count);\n\t\t\t\t\t\tif(label-class_==0){\n\t\t\t\t\t\t\tcorrect_classifications++;\n\t\t\t\t\t\t\tcorrect[class_]++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\tint label = classify(doc);\n\t\t\t\tif(label - class_==0){correct[class_]++;}\n\t\t\t} \n\t\t\tcatch (IOException e){e.printStackTrace();}\n\t\t}\n\t\taccuracy = Math.round(correct_classifications * 1000.0 / testdata)/1000.0;\n\t\tSystem.out.println(\"Accuracy: \"+accuracy);\n\t\treturn accuracy;\n\t}", "public void performAnalysis (Launcher launcher) {\n //Iterates through each class and method the program was supplied with\n for (CtClass<?> classObject : Query.getElements(launcher.getFactory(), new TypeFilter<CtClass<?>>(CtClass.class))) {\n for (CtMethod<?> methodObject : Query.getElements(classObject, new TypeFilter<CtMethod<?>>(CtMethod.class))) {\n //Counts the number of various types of decision points that calculate cyclomatic complexity\n int ifCount = 0, conditionCount = 0, forCount = 0, whileCount = 0, caseCount = 0;\n ifCount = countIfs(methodObject);\n conditionCount = countConditions(methodObject);\n forCount = countFors(methodObject);\n whileCount = countWhiles(methodObject);\n caseCount = countCases(methodObject);\n localresults.put(\"IF\", ifCount);\n localresults.put(\"CONDITIONS\", conditionCount);\n localresults.put(\"FOR\", forCount);\n localresults.put(\"WHILE\", whileCount);\n localresults.put(\"CASE\", caseCount);\n //Totals the values per method and adds them to the hashmap\n int total = ifCount + conditionCount + forCount + whileCount + caseCount;\n total += 1;\n totalCMCValue += total;\n classCMCScores.put(classObject.getQualifiedName()+\".\"+methodObject.getSimpleName(), total);\n }\n }\n }", "private static void analyzeData(Instances inputData, \n\t\t\tClassifierID method, String outputFileName) throws Exception\n\t{\n\t\tPrintWriter pw = null;\n\t\t\n\t\ttry\n\t\t{\n\t\t\tSystem.out.println(\"Method: \" + method.name());\n\t\t\t\n\t\t\tint[] results = new int[inputData.size()];\n\n\t\t\t// Load the local resource\n\t\t\t// This allows the file to be packaged inside the Jar\t\n\t\t\tInputStream is = SimpleSpamAnalysisApp.class.\n\t\t\t\t\tgetResourceAsStream(classifiers[method.ordinal()]);\n\t\t\n\t\t\t// Generate the classifier from model\n\t\t\tClassifier classifier = (Classifier) SerializationHelper.read(is);\n\t\t\t\n\t\t\tint numInstances = inputData.size();\n\t\t\t\n\t\t\t// Compute the expected value of each instance\n\t\t\tfor(int i=0; i<numInstances; i++)\n\t\t\t{\n\t\t\t\tresults[i] = (int)classifier.classifyInstance(inputData.get(i));\n\t\t\t}\n\n\t\t\t// Output the results to the file\n\t\t\tpw = new PrintWriter(outputFileName);\n\t\t\tfor(int r : results)\n\t\t\t\tpw.println(r);\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tthrow e;\n\t\t}\n\t\tfinally\n\t\t{\n\t\t\t// Make sure the file stream is closed\n\t\t\tif(pw != null)\n\t\t\t\tpw.close();\n\t\t}\n\t}", "public static void main(String[] args) throws IOException, ClassNotFoundException, InterruptedException {\n\t\tJob job= Job.getInstance(new Configuration());\n \t\tjob.setJarByClass(BallsPerBoundaryConfig.class);\n \t\tjob.setJobName(\"Hard Hitting Analysis\");\n\t\tjob.setMapperClass(BallsPerBoundaryMapper.class);\n\t\tjob.setReducerClass(BallsPerBoundaryReducer.class);\n\t\tjob.setMapOutputKeyClass(Text.class);\n\t\tjob.setMapOutputValueClass(Text.class);\n \t\tjob.setOutputKeyClass(Text.class);\n\t\tjob.setOutputValueClass(DoubleWritable.class);\n\t\tjob.setInputFormatClass(TextInputFormat.class);\n\t\tjob.setOutputFormatClass(TextOutputFormat.class);\n\t\tFileInputFormat.setInputPaths(job, new Path(args[0]));\n\t\tFileOutputFormat.setOutputPath(job, new Path(args[1]));\n\t\tboolean status = job.waitForCompletion(true);\n\t\tif (status) {\n\t\t\tSystem.exit(0);\n\t\t} \n\t\telse {\n\t\t\tSystem.exit(1);\n\t\t}\n\t}", "@Override \n\tpublic int run(String[] args) throws Exception {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tJob job = Job.getInstance(getConf()); // get conf pour recuperer la conf depuis mla classe parent ... inutile de faire un new conf() ... \n\t\t\n\t\tjob.setJarByClass(SelectAgregationCombinerMRJob2.class);\n\t\t\n\t\tjob.setInputFormatClass(TextInputFormat.class);\n\t\tjob.setOutputFormatClass(TextOutputFormat.class);\n\n\t\tjob.setOutputKeyClass(NullWritable.class);\n\t\tjob.setOutputValueClass(Text.class);\n\t\t\n\t\t// format de sortie du mapper peut le deduire seul mais on le met au cas ou future evol\n\t\tjob.setMapOutputKeyClass(Text.class);\n\t\tjob.setMapOutputValueClass(MapWritable.class);\n\t\t\n\t\t\n\t\tjob.setMapperClass(MyMapper.class);\n\t\tjob.setCombinerClass(MyCombiner.class);\n\t\tjob.setReducerClass(MyReducer.class);\n\t\t\n\t\tjob.setNumReduceTasks(1);\n\t\t\n\t\t// cett classe permet de ùettre ds la configuration les arguments standard connu par haddop\n\t\t// en ou renvoyant ensuite les autres args restant\n\t\tString[] arguments = new GenericOptionsParser(getConf(), args).getRemainingArgs();\n\t\t\n\t\t// chemin de mlecture ds hdfs\n\t\tFileInputFormat.setInputPaths(job, new Path(arguments[0]));\n\t\t// chemin de decirture ds hdfs\n\t\tFileOutputFormat.setOutputPath(job, new Path(arguments[1]));\n\t\t\n\t\t// true verbose ds la console\n\t\tboolean status = job.waitForCompletion(true);\n\t\t\n\t\tif (status) return 0;\n\t\telse return 1;\n\t}", "public static void main ( String[] args ) throws Exception \r\n {\n \tConfiguration conf= new \tConfiguration();\r\n \tJob job = Job.getInstance();\r\n job.setJobName(\"KmeansJob\");\r\n job.addCacheFile(new URI(args[1]));\r\n job.setJarByClass(KMeans.class);\r\n job.setOutputKeyClass(Text.class);//reducer me text daalo\r\n job.setOutputValueClass(Object.class);// null writable daalo //object?\r\n job.setMapOutputKeyClass(Point.class);\r\n job.setMapOutputValueClass(Point.class);\r\n job.setMapperClass(AvgMapper.class);\r\n job.setReducerClass(AvgReducer.class);\r\n job.setInputFormatClass(TextInputFormat.class);\r\n job.setOutputFormatClass(TextOutputFormat.class);\r\n FileInputFormat.setInputPaths(job,new Path(args[0]));\r\n FileOutputFormat.setOutputPath(job,new Path(args[2]));\r\n job.waitForCompletion(true);\r\n\r\n \r\n \r\n }", "public static void main(String args[]){\n\t\tString indexLocation = \"H:\\\\ukbench\\\\training2\\\\\";\r\n\t\tString searchLocation = \"H:\\\\ukbench\\\\query\\\\\";\r\n\t\t\r\n//\t\tint[] testSizes = {2000};\r\n//\t\tint[] numTreesTests = {3,4,5,6,7,8,9,10};\r\n//\t\tint[] examineTopNResultsTests = {5,10,20};\r\n\t\tint[] testSizes = {10200};\r\n\t\tint[] numTreesTests = {1};//3,4,5,10};\r\n\t\tint[] examineTopNResultsTests = {5,20};\r\n\t\tfor ( int testSize : testSizes ){\r\n\t\t\tfor ( int numTrees : numTreesTests ){\r\n\t\t\t\tfor ( int numResults : examineTopNResultsTests ){\r\n\t\t\t\t\tSystem.out.println(testSize + \", \" + numTrees + \", \" + numResults);\r\n\t\t\t\t\tMultiIndexFinder finder = new MultiIndexFinder(indexLocation,numTrees,testSize/4);\r\n\t\t\t\t\t\r\n\t\t\t\t\tList<FileFilter> filters = new ArrayList<FileFilter>();\r\n\t\t\t\t\tfilters.add(new FileFilter(\".*\\\\.jpg\"));\r\n\t\t\t\t\tFileFinder ffinder = new FileFinder(searchLocation,filters);\r\n\t\t\t\t\tList<File> files = ffinder.getFiles();\r\n\t\t\t\t\tint numRight = 0;\r\n\t\t\t\t\tint numWrong = 0;\r\n\t\t\t\t\tint count = 0;\r\n\t\t\t\t\tfor ( File file : files ){\r\n\t\t\t\t\t\tString foundFile = finder.findBestMatch(file.getAbsolutePath(),numResults);\r\n\t\t\t\t\t\t//System.out.println(\"for \" + file.getAbsolutePath() + \", found \" + foundFile);\r\n\t\t\t\t\t\tif ( !\"\".equals(foundFile) && IndexFinder.isCorrectFile(file.getAbsolutePath(),foundFile) ){\r\n\t\t\t\t\t\t\tnumRight++;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tnumWrong++;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t\tif ( count >= (testSize *3)/4 ) break;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tSystem.out.println(numRight/(float)(numRight+numWrong));\r\n\t\t\t\t\tSystem.gc();\r\n\t\t\t\t}\r\n\t\t\t\tSystem.gc();\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public static void main(String[] args) {\n\t\tDataScanner scanner = new DataScanner();\n\t\tlong time = System.currentTimeMillis();\n\t\tscanner.scan(originalDataset, chunkSize);\n\t\t\n\t\t//2) Here the scan process finishes. In this point we want to persist the characterization of this\n\t\t//dataset in a sharable data structure.\n\t\tDatasetCharacterization characterization = scanner.finishScanAndBuildCharacterization();\n\t\tcharacterization.save(datasetPath + \"docs\");\n\t\t\n\t\t//3) In this point, we load the dataset characterization just created to show how characterization can be loaded\n\t\t//and shared among users.\n\t\tDatasetCharacterization newCharacterization = new DatasetCharacterization();\n\t\tnewCharacterization.load(datasetPath + \"docs\");\n\t\tSystem.out.println(\"Scanning time: \" + (System.currentTimeMillis()-time)/1000.0);\t\t\n\t}", "public static void main(String[] args) {\n File file = new File(\"ratings.tsv\");\n ArrayList<MovieRating> rl = new ArrayList<MovieRating>();\n\n try {\n Scanner scanner = new Scanner(file);\n while (scanner.hasNextLine()) {\n String line = scanner.nextLine();\n String[] tkns = line.split(\"\\\\t\"); // tabs separate tokens\n MovieRating nr = new MovieRating(tkns[0], tkns[1], tkns[2]);\n rl.add(nr);\n }\n scanner.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n\n int minVotes = 1;\n int numRecords = 1;\n Scanner input = new Scanner(System.in);\n while (true) {\n\n MaxHeap<MovieRating> myHeap = new MaxHeap<MovieRating>();\n\n for(int i = 0; i < rl.size(); i++) {\n myHeap.insert(rl.get(i));\n }\n\n System.out.println();\n System.out.println(\"Enter minimum vote threshold and number of records:\");\n minVotes = input.nextInt();\n numRecords = input.nextInt();\n if (minVotes * numRecords == 0)\n break;\n long startTime = System.currentTimeMillis();\n\n /* Fill in code to determine the top numRecords movies that have at least\n * minVotes votes. For each record mr, in decreasing order of average rating,\n * execute a System.out.println(mr).\n * Do not sort the movie list!\n */\n int counter = 0;\n for (int i = 0; i < rl.size(); i++) {\n MovieRating temp = myHeap.removemax();\n if(temp.getVotes() > minVotes){\n System.out.println(temp.toString());\n counter++;\n }\n if(counter >= numRecords){\n break;\n }\n }\n\n System.out.println();\n long readTime = System.currentTimeMillis();\n System.out.println(\"Time: \"+(System.currentTimeMillis()-startTime)+\" ms\");\n }\n }", "public void buildPriors() {\n\t\t// grab the list of all class labels for this fold\n\t\tList<List<String>> classListHolder = dc.getClassificationFold();\n\t\tint totalClasses = 0; // track ALL class occurrences for this fold\n\t\tint[] totalClassOccurrence = new int[classes.size()]; // track respective class occurrence\n\t\tfor (int i = 0; i < 10; i++) {\n\t\t\tif (i == testingFold) {\n\t\t\t\tcontinue; // skip testing fold\n\t\t\t} else {\n\t\t\t\tcurrentFold = i;\n\t\t\t} // end if\n\n\t\t\t// grab the list of all classes for this current fold\n\t\t\tList<String> classList = classListHolder.get(currentFold);\n\t\t\t// track the total number of classes in this fold and their occurrences\n\t\t\ttotalClasses += classList.size();\n\t\t\t// for each class occurrence, match it to a class and track its occurrence\n\t\t\tfor (String className : classList) {\n\t\t\t\tfor (int j = 0; j < classes.size(); j++) {\n\t\t\t\t\tif (className.equals(classes.get(j))) {\n\t\t\t\t\t\ttotalClassOccurrence[j]++;\n\t\t\t\t\t} // end if\n\t\t\t\t} // end for\n\t\t\t} // end for\n\t\t} // end for\n\n\t\t// divide a particular class occurrence by total number of classes across training set\n\t\tfor (int i = 0; i < classPriors.length; i++) {\n\t\t\tclassPriors[i] = totalClassOccurrence[i] / totalClasses;\n\t\t} // end for\n\t}", "public static void main(String[] args) throws IOException,\r\n\tInterruptedException, ClassNotFoundException {\nJob job = new Job();\r\njob.setJarByClass(EvideoJoinDMVIDFormatMR.class);\r\njob.setJobName(\"EvideoJoinDMVIDFormatETL\");\r\njob.getConfiguration().set(\"mapred.job.tracker\", \"local\");\r\njob.getConfiguration().set(\"fs.default.name\", \"local\");\r\n\r\nFileInputFormat.addInputPaths(job, \"output_evideo,conf/dm_common_vid\");\r\nFileOutputFormat.setOutputPath(job, new Path(\"output_vid_evideo\"));\r\njob.setMapperClass(EvideoJoinDMVIDFormatMap.class);\r\njob.setReducerClass(EvideoJoinDMVIDFormatReduce.class);\r\njob.setOutputKeyClass(Text.class);\r\njob.setOutputValueClass(Text.class);\r\nSystem.exit(job.waitForCompletion(true) ? 0 : 1);\r\n}", "public static void main(String[] args) throws Exception {\n final String gtid = \"rliang37\";\n\n Configuration conf = new Configuration();\n\n Job job = Job.getInstance(conf, \"Q4a_1\");\n\n /* TODO: Needs to be implemented */\n job.setJarByClass(Q4a.class);\n job.setMapperClass(DifferenceMapper.class);\n job.setReducerClass(DIfferenceReducer.class);\n //job.setCombinerClass(TokenizerReducer.class);\n job.setOutputKeyClass(Text.class);\n job.setOutputValueClass(IntWritable.class);\n\n FileInputFormat.addInputPath(job, new Path(args[0]));\n FileOutputFormat.setOutputPath(job, new Path(\"intermediate\"));\n job.waitForCompletion(true);\n\n\n Job job2 = Job.getInstance(conf, \"Q4a_2\");\n\n job2.setJarByClass(Q4a.class);\n job2.setMapperClass(CountMapper.class);\n job2.setReducerClass(CountReducer.class);\n //job2.setCombinerClass(TokenizerReducer2.class);\n job2.setOutputKeyClass(IntWritable.class);\n job2.setOutputValueClass(IntWritable.class);\n\n FileInputFormat.addInputPath(job2, new Path(\"intermediate\"));\n FileOutputFormat.setOutputPath(job2, new Path(args[1]));\n System.exit(job2.waitForCompletion(true) ? 0 : 1);\n }", "public void start() throws Exception {\n String datasetPath = \"dataset\\\\arcene_train.arff\";\n\n Instances dataset = new Instances(fileSystemUtil.readDataSet(datasetPath));\n dataset.setClassIndex(dataset.numAttributes() - 1);\n\n // Creating instances of feature selection models\n List<FeatureSelectionModel> featureSelectionModels = new ArrayList<>();\n featureSelectionModels.add(new CorellationFeatureSelectionModel());\n featureSelectionModels.add(new InfoGainFeatureSelectionModel());\n featureSelectionModels.add(new WrapperAttributeFeatureSelectionModel());\n\n List<List<Integer>> listOfRankedLists = calculateRankedLists(dataset, featureSelectionModels);\n\n // Creating instances of classifiers\n List<AbstractClassifier> classifiers = createClassifiers();\n Instances datasetBackup = new Instances(dataset);\n\n int modelCounter = 0;\n for (FeatureSelectionModel model : featureSelectionModels) {\n System.out.println(\"============================================================================\");\n System.out.println(String.format(\"Classification, step #%d. %s.\", ++modelCounter, model));\n System.out.println(\"============================================================================\");\n\n // Ranking attributes\n List<Integer> attrRankList = listOfRankedLists.get(modelCounter - 1);\n\n for (int attrIndex = (int)(attrRankList.size() * WORST_ATTRIBUTES_NUMBER_PROPORTION - 1) + 1, removedCounter = 0;\n attrIndex >= attrRankList.size() * BEST_ATTRIBUTES_NUMBER_PROPORTION;\n attrIndex--, removedCounter++) {\n if (datasetBackup.numAttributes() == attrRankList.size()\n && attrIndex == 0) {\n continue;\n }\n// for (int attrIndex = attrRankList.size() * BEST_ATTRIBUTES_NUMBER_PROPORTION, removedCounter = 0;\n// attrIndex <= (attrRankList.size() * WORST_ATTRIBUTES_NUMBER_PROPORTION - 1);\n// attrIndex++, removedCounter++) {\n// if (datasetBackup.numAttributes() == attrRankList.size()\n// && attrIndex == attrRankList.size() - 1) {\n// continue;\n// }\n dataset = new Instances(datasetBackup);\n // Do not remove for first iteration\n if (removedCounter > 0) {\n // Selecting features (removing attributes one-by-one starting from worst)\n List<Integer> attrToRemoveList = attrRankList.subList(attrIndex,\n (int)(attrRankList.size() * WORST_ATTRIBUTES_NUMBER_PROPORTION));\n Collections.sort(attrToRemoveList);\n for (int i = attrToRemoveList.size() - 1; i >= 0; i--) {\n dataset.deleteAttributeAt(attrToRemoveList.get(i));\n }\n// for (Integer attr : attrToRemoveList) {\n// dataset.deleteAttributeAt(attr);\n// }\n System.out.println(\"\\n\\n-------------- \" + (removedCounter) + \" attribute(s) removed (of \" +\n (datasetBackup.numAttributes() - 1) + \") --------------\\n\");\n } else {\n System.out.println(\"\\n\\n-------------- First iteration - without feature selection --------------\\n\");\n }\n\n classify(classifiers, dataset);\n }\n }\n }", "public static void main() {\n // Since we cant use a global counter for all the different files\n // We use a global accumulator that takes the result from each file\n // After they are done with their respective file and save their result\n // This way they dont share a counter, but rather a place to store their counter\n // when they are done. \n AtomicInteger accumulator = new AtomicInteger(); // Default value = 0\n \n // word -> number of times that it appears over all files\n Map< String, Integer> occurrences = new HashMap<>();\n\n List< String> filenames = List.of(\n \"text1.txt\",\n \"text2.txt\",\n \"text3.txt\",\n \"text4.txt\",\n \"text5.txt\",\n \"text6.txt\",\n \"text7.txt\",\n \"text8.txt\",\n \"text9.txt\",\n \"text10.txt\"\n );\n\n CountDownLatch latch = new CountDownLatch(filenames.size());\n\n filenames.stream()\n .map(filename -> new Thread(() -> {\n int count = computeOccurrences(filename, occurrences);\n accumulator.addAndGet(count);\n latch.countDown();\n }))\n .forEach(Thread::start);\n\n try {\n latch.await();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n System.out.println(accumulator);\n }", "public static void main(String[] args) {\n\t\t/*Tuple[] tuples = new Tuple[]{\n\t\t\tnew Tuple(\"0 0 1 0 0\", \"1 3\", ' '),\n\t\t\tnew Tuple(\"1 0 0 1 1\", \"1 2\", ' '),\n\t\t\tnew Tuple(\"0 0 0 1 1\", \"1 1\", ' '),\n\t\t\tnew Tuple(\"1 1 0 0 1\", \"2 1\", ' '),\n\t\t\tnew Tuple(\"1 1 0 0 1\", \"3 1\", ' '),\n\t\t\tnew Tuple(\"1 1 0 0 1\", \"3 2\", ' '),\n\t\t\tnew Tuple(\"0 0 0 1 0\", \"3 3\", ' '),\n\t\t\tnew Tuple(\"0 1 0 1 1\", \"2 3\", ' ')\n\t\t};\n\t\tdata = new DataSet(tuples);*/\n\t\t\n\t\t//data = Parser.parseAttributes(\"Corel5k-train.arff\", 374);\n\t\tdata = Parser.parseShortNotation(\"diabetes.txt\", 1, new NumericalItemSet(new int[]{}));\n\t\ts = data.s();\n\t\tn = data.getTuples().length;\n\t\tm = data.getTuples()[0].getClassValues().length;\n\t\t\n\t\t/*double u = 0;\n\t\tlong l = 0;\n\t\tfor(int j = 0; j < 10; j++) {\n\t\t\tdouble t = System.currentTimeMillis();\n\t\t\tfor(int i = 0; i < 10000; i++)\n\t\t\t\tu = data.getBluePrint().getOneItemSet(2, 48).ub();\n\t\t\tl += (System.currentTimeMillis() - t);\n\t\t}\n\t\tSystem.out.println(((double)l/10));*/\n\t\n\t\t\n\t\tSystem.out.println(\"Data loaded, \"+data.getTuples().length+\" tuples, \"+\n\t\t\t\tdata.getTuples()[0].getItemSet().getLength()+\" items, \"+\n\t\t\t\tdata.getTuples()[0].getClassValues().length+\" class values\");\n\t\t\t\t\n\t\tStopWatch.tic(\"Full time\");\n\t\tSystem.out.println(icc());\n\t\tStopWatch.printToc(\"Full time\");\n\t}", "void process(boolean process, Integer frequency) {\r\n\r\n\t\t// Folder iterator\r\n\t\tfor (File file : folder.listFiles()) {\r\n\t\t\tString fileName = file.getName();\r\n\r\n\t\t\tif (DEBUG) {\r\n\t\t\t\tSystem.out.println(\"\\t\" + fileName);\r\n\t\t\t}\r\n\r\n\t\t\tMap<String, Integer> wordCount = new HashMap<String, Integer>();\r\n\t\t\tMap<Map<String, Integer>, Integer> classification = new HashMap<Map<String, Integer>, Integer>();\r\n\t\t\ttry {\r\n\t\t\t\tFileReader fr = new FileReader(file);\r\n\t\t\t\tBufferedReader br = new BufferedReader(fr);\r\n\t\t\t\tString line = br.readLine();\r\n\t\t\t\twhile (line != null) {\r\n\t\t\t\t\tStringTokenizer tokenizer;\r\n\t\t\t\t\tif (process) {\r\n\t\t\t\t\t\ttokenizer = new StringTokenizer(line,\r\n\t\t\t\t\t\t\t\t\" \\t\\n\\r\\f,.:;?![]'->@()/+-\\\"#\\\\<*_=&~`{}$%|^0123456789\");\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\ttokenizer = new StringTokenizer(line);\r\n\t\t\t\t\t}\r\n\t\t\t\t\twhile (tokenizer.hasMoreTokens()) {\r\n\t\t\t\t\t\tString word = tokenizer.nextToken();\r\n\t\t\t\t\t\tif (vocabulary.containsKey(word)) {\r\n\t\t\t\t\t\t\tvocabulary.put(word, vocabulary.get(word) + 1);\r\n\t\t\t\t\t\t\t// System.out.println(fileName + \"\\tUpdated word: \"\r\n\t\t\t\t\t\t\t// + word);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tvocabulary.put(word, 1);\r\n\t\t\t\t\t\t\t// System.out.println(fileName + \"\\tAdded new word:\r\n\t\t\t\t\t\t\t// \" + word);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t// for (int i = 0; i < word.length(); i++) {\r\n\t\t\t\t\t\t// if (!characters.contains(word.charAt(i))) {\r\n\t\t\t\t\t\t// characters.add(word.charAt(i));\r\n\t\t\t\t\t\t// }\r\n\t\t\t\t\t\t// }\r\n\r\n\t\t\t\t\t\t// Add to the spam or not spam vocab;\r\n\t\t\t\t\t\tif (fileName.substring(0, 2).equals(\"sp\")) {\r\n\t\t\t\t\t\t\tif (spamVocab.containsKey(word)) {\r\n\t\t\t\t\t\t\t\tspamVocab.put(word, spamVocab.get(word) + 1);\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tspamVocab.put(word, 1);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tclassWordCount.put(SPAM,\r\n\t\t\t\t\t\t\t\t\tclassWordCount.get(SPAM) + 1);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif (notSpamVocab.containsKey(word)) {\r\n\t\t\t\t\t\t\t\tnotSpamVocab.put(word,\r\n\t\t\t\t\t\t\t\t\t\tnotSpamVocab.get(word) + 1);\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tnotSpamVocab.put(word, 1);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tclassWordCount.put(NOT_SPAM,\r\n\t\t\t\t\t\t\t\t\tclassWordCount.get(NOT_SPAM) + 1);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t// Document index\r\n\t\t\t\t\t\tif (wordCount.containsKey(word)) {\r\n\t\t\t\t\t\t\twordCount.put(word, wordCount.get(word) + 1);\r\n\t\t\t\t\t\t\tif (DEBUG) {\r\n\t\t\t\t\t\t\t\tSystem.out.println(fileName\r\n\t\t\t\t\t\t\t\t\t\t+ \"\\tUpdated word: \" + word + \" - \"\r\n\t\t\t\t\t\t\t\t\t\t+ wordCount.get(word));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\twordCount.put(word, 1);\r\n\t\t\t\t\t\t\tif (DEBUG) {\r\n\t\t\t\t\t\t\t\tSystem.out.println(fileName\r\n\t\t\t\t\t\t\t\t\t\t+ \"\\tAdded new word: \" + word + \" - \"\r\n\t\t\t\t\t\t\t\t\t\t+ wordCount.get(word));\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\ttotalWordCount++;\r\n\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t// load next line\r\n\t\t\t\t\tline = br.readLine();\r\n\t\t\t\t}\r\n\t\t\t} catch (FileNotFoundException fNFE) {\r\n\t\t\t\tfNFE.printStackTrace();\r\n\t\t\t} catch (IOException iOE) {\r\n\t\t\t\tiOE.printStackTrace();\r\n\t\t\t}\r\n\r\n\t\t\t// classify\r\n\t\t\tif (fileName.substring(0, 2).equals(\"sp\")) {\r\n\t\t\t\tclassification.put(wordCount, SPAM);\r\n\t\t\t} else {\r\n\t\t\t\tclassification.put(wordCount, NOT_SPAM);\r\n\t\t\t}\r\n\r\n\t\t\tdocuments.put(fileName, classification);\r\n\t\t}\r\n\r\n\t\tif (DEBUG) {\r\n\t\t\t// for (char c : characters) {\r\n\t\t\t// System.out.print(c);\r\n\t\t\t// }\r\n\t\t}\r\n\r\n\t\tInteger numWords;\r\n\t\tif (process) {\r\n\t\t\tnumWords = eliminateWordByFreq(frequency);\r\n\t\t} else {\r\n\t\t\tnumWords = eliminateWordByFreq(0);\r\n\t\t}\r\n\r\n\t\tif (DEBUG) {\r\n\t\t\tSystem.out.println(\"Eliminated \" + numWords + \" words\");\r\n\t\t\tSystem.out.println(\"VOCABULARY:\\t\\t\" + vocabulary);\r\n\t\t\tSystem.out.println(\"SPAM VOCABULARY:\\t\" + spamVocab);\r\n\t\t\tSystem.out.println(\"REGULAR VOCABULARY:\\t\" + notSpamVocab);\r\n\t\t}\r\n\t}", "public static void main(String[] args) {\n int[] nums = initializeNums();\n\n THRESHOLD = nums.length / Runtime.getRuntime().availableProcessors();\n\n SequentialMaxFinding sequentialMaxFinding = new SequentialMaxFinding();\n\n long start = System.currentTimeMillis();\n System.out.println(\"Max: \"+sequentialMaxFinding.SequentialMaxFind(nums, nums.length));\n long end = System.currentTimeMillis();\n System.out.println(\"Time taken for Sequential maxFinding: \"+ (end - start) + \" ms\");\n\n System.out.println();\n\n ForkJoinPool pool = new ForkJoinPool(Runtime.getRuntime().availableProcessors());\n ParallelMaxFinding parallelMaxFinding = new ParallelMaxFinding(nums, 0, nums.length);\n\n start = System.currentTimeMillis();\n System.out.println(\"Max: \"+pool.invoke(parallelMaxFinding));\n end = System.currentTimeMillis();\n System.out.println(\"Time taken for Parallel maxFinding: \"+ (end - start) + \" ms\");\n\n }", "private void performSearchUsingFileContents(File file) {\n try {\n FileUtility.CustomFileReader customFileReader =\n new FileUtility.CustomFileReader(file.getAbsolutePath()\n .replace(\".txt\", \"\"));\n\n String queryString = null; int i = 1;\n while ((queryString = customFileReader.readLineFromFile()) != null) {\n \t\n Query q = new QueryParser(Version.LUCENE_47, \"contents\",\n analyzer).parse(QueryParser.escape(queryString));\n\n collector = TopScoreDocCollector\n .create(100, true);\n searcher.search(q, collector);\n ScoreDoc[] hits = collector.topDocs().scoreDocs;\n\n Map<String, Float> documentScoreMapper =\n new HashMap<>();\n Arrays.stream(hits).forEach(hit ->\n {\n int docId = hit.doc;\n Document d = null;\n try {\n d = searcher.doc(docId);\n documentScoreMapper.put(d.get(\"path\"), hit.score);\n } catch (IOException e) {\n e.printStackTrace();\n }\n });\n\n SearchResult searchResult =\n new SearchResult(String.valueOf(i), documentScoreMapper);\n\n FileUtility.writeToFile(searchResult, SEARCH_RESULT_DIR + File.separator + i);\n i++;\n\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "public void start() {\n try {\n long start = System.currentTimeMillis();\n readFile();\n result = wordStorage.getTopNWords(3);\n long end = System.currentTimeMillis();\n long timeTaken = ((end - start) / 1000);\n logger.info(\"time taken to run program: \" + timeTaken);\n display.displayTimeTaken(timeTaken);\n display.displayTopNWords(result);\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public static void main(String[] args) {\n String filename = args[0];\n In in = new In(filename);\n int n = in.readInt();\n Term[] terms = new Term[n];\n for (int i = 0; i < n; i++) {\n long weight = in.readLong(); // read the next weight\n in.readChar(); // scan past the tab\n String query = in.readLine(); // read the next query\n terms[i] = new Term(query, weight); // construct the term\n }\n\n // read in queries from standard input and print out the top k matching terms\n int k = Integer.parseInt(args[1]);\n Autocomplete autocomplete = new Autocomplete(terms);\n while (StdIn.hasNextLine()) {\n String prefix = StdIn.readLine();\n Term[] results = autocomplete.allMatches(prefix);\n StdOut.printf(\"%d matches\\n\", autocomplete.numberOfMatches(prefix));\n for (int i = 0; i < Math.min(k, results.length); i++)\n StdOut.println(results[i]);\n }\n }", "public static void main(String[] args) {\n\t\tSparkConf conf = new SparkConf().setAppName(\"NB\").setMaster(\"local[*]\").set(\"spark.ui.port\",\"4040\");;\n\t JavaSparkContext jsc = new JavaSparkContext(conf);\n\t\tString path = \"localpath\";\n\t\tJavaRDD<LabeledPoint> inputData = MLUtils.loadLabeledPoints(jsc.sc(), path).toJavaRDD();\n\t\tJavaRDD<LabeledPoint>[] tmp = inputData.randomSplit(new double[]{0.6, 0.4});\n\t\tJavaRDD<LabeledPoint> training = tmp[0]; // training set\n\t\tJavaRDD<LabeledPoint> test = tmp[1]; // test set\n\t\tNaiveBayesModel model = NaiveBayes.train(training.rdd(), 1.0);\n\t\tJavaPairRDD<Double, Double> predictionAndLabel =\n\t\t test.mapToPair(p -> new Tuple2<>(model.predict(p.features()), p.label()));\n\t\t// Save and load model\n\t\tmodel.save(jsc.sc(), \"localotuput_path\");\n\t\tNaiveBayesModel sameModel = NaiveBayesModel.load(jsc.sc(), \"localotuput_path\");\n\t\t\n\t\tdouble accuracy =\n\t\t\t\t predictionAndLabel.filter(pl -> pl._1().equals(pl._2())).count() / (double) test.count();\n\t\t\t\t\n\t\tSystem.out.println(\"The final accuracy is\"+accuracy);\n//\t\tpredictionAndLabel.foreach(data -> {\n//\t\t System.out.println(\"final model=\"+data._1() + \"final label=\" + data._2());\n//\t\t}); \n\t}", "@SuppressWarnings(\"boxing\")\n @Override\n public void apply(SetUniqueList<SoftwareVersion> trainversionSet, SoftwareVersion testversion) {\n // reset these for each run\n this.mm = null;\n this.classifier = null;\n\n double score = 0; // matching score to select the best matching training data from the set\n int num = 0;\n int biggest_num = 0;\n MetricMatch tmp;\n for (SoftwareVersion trainversion : trainversionSet) {\n num++;\n\n tmp = new MetricMatch(trainversion.getInstances(), testversion.getInstances());\n\n // metric selection may create error, continue to next training set\n try {\n tmp.attributeSelection();\n tmp.matchAttributes(this.method, this.threshold);\n }\n catch (Exception e) {\n e.printStackTrace();\n throw new RuntimeException(e);\n }\n\n // we only select the training data from our set with the most matching attributes\n if (tmp.getScore() > score && tmp.attributes.size() > 0) {\n score = tmp.getScore();\n this.mm = tmp;\n biggest_num = num;\n }\n }\n\n // if we have found a matching instance we use it, log information about the match for\n // additional eval later\n Instances ilist = null;\n if (this.mm != null) {\n ilist = this.mm.getMatchedTrain();\n LOGGER.debug(\"[MATCH FOUND] match: [\" + biggest_num + \"], score: [\" +\n score + \"], instances: [\" + ilist.size() + \"], attributes: [\" +\n this.mm.attributes.size() + \"], ilist attrs: [\" + ilist.numAttributes() + \"]\");\n for (Map.Entry<Integer, Integer> attmatch : this.mm.attributes.entrySet()) {\n LOGGER.debug(\"[MATCHED ATTRIBUTE] source attribute: [\" +\n this.mm.train.attribute(attmatch.getKey()).name() + \"], target attribute: [\" +\n this.mm.test.attribute(attmatch.getValue()).name() + \"]\");\n }\n }\n else {\n LOGGER.debug(\"[NO MATCH FOUND]\");\n }\n\n // if we have a match we build the MetricMatchingClassifier, if not we fall back to FixClass\n // Classifier\n try {\n if (this.mm != null) {\n this.classifier = new MetricMatchingClassifier();\n this.classifier.buildClassifier(ilist);\n ((MetricMatchingClassifier) this.classifier).setMetricMatching(this.mm);\n }\n else {\n this.classifier = new FixClass();\n this.classifier.buildClassifier(ilist); // this is null, but the FixClass Classifier\n // does not use it anyway\n }\n }\n catch (Exception e) {\n e.printStackTrace();\n throw new RuntimeException(e);\n }\n }", "public static void main(String... args)\n {\n String path = Configuration.instance.dataDirectory + Configuration.instance.fileSeparator;\n String suffix = \"_default.xml\";\n String algorithm = \"\";\n boolean paramSeach = false;\n int maxGens = 10000;\n\n readItems();\n\n // Parsing CLI\n for (int i = 0; i < args.length; i++)\n {\n if (args[i].equals(\"-algorithm\"))\n {\n i++;\n algorithm = args[i];\n }\n\n if (args[i].equals(\"-configuration\"))\n {\n i++;\n if (args[i].equals(\"best\"))\n suffix = \"_best.xml\";\n }\n\n if (args[i].equals(\"-search_best_configuration\"))\n paramSeach = true;\n }\n\n if (paramSeach) suffix = \"_best.xml\";\n double[] hyperparameters = loadConfig(path + algorithm + suffix);\n System.out.println(\"Chosen algorithm: \" + algorithm);\n\n double time = System.currentTimeMillis();\n // Running correct algorithm according to CLI\n switch (algorithm)\n {\n case \"ga\":\n if (paramSeach)\n new GARecommender().recommend();\n else\n new Population(maxGens, hyperparameters).run();\n break;\n case \"sa\":\n case \"best-algorithm\":\n if (paramSeach)\n new SARecommender().recommend();\n else\n new Annealing(hyperparameters).run();\n break;\n case \"aco\":\n if (paramSeach)\n new ACORecommender().recommend();\n else\n new AntColony(maxGens, hyperparameters).run();\n break;\n case \"pso\":\n if (paramSeach)\n new PSORecommender().recommend();\n else\n new Swarm(maxGens * 10, hyperparameters).run(); // 10x max gens because PSO is does less per gen and is much faster\n break;\n default:\n System.out.println(\"Could not find algorithm with name \" + algorithm + \". Options are: ga, sa, aco, pso\");\n break;\n }\n System.out.println(\"Finished in: \" + ((System.currentTimeMillis() - time) / 1000) + \"s\");\n }", "@Override\n public int run(String[] arg0) throws Exception {\n Configuration conf = getConf();\n conf.set(\"parser.class\", \"com.briup.mr.advance.conf.LineParser\");\n Path input = new Path(conf.get(\"input\"));\n Path output = new Path(conf.get(\"output\"));\n\n Job job = Job.getInstance(conf);\n job.setJarByClass(Cooccurence.class);//设置job驱动类\n job.setJobName(\"Friend Cooccurence Counter\");//设置job名字\n\n //给job设置mapper类及map方法产生的键值类型\n job.setMapperClass(CoMapper.class);\n job.setMapOutputKeyClass(Text.class);\n job.setMapOutputValueClass(IntWritable.class);\n\n //给job设置reducer类及reduce方法产生的键值类型\n job.setReducerClass(CoReducer.class);\n job.setOutputKeyClass(Text.class);\n job.setOutputValueClass(IntWritable.class);\n\n //设置文件的读取方式(文本文件),输出方式(文本文件)\n job.setInputFormatClass(TextInputFormat.class);\n job.setOutputFormatClass(TextOutputFormat.class);\n\n //给job指定输入文件的路径和输出结果的路径\n TextInputFormat.addInputPath(job, input);\n TextOutputFormat.setOutputPath(job, output);\n\n //向集群提交作业\n return job.waitForCompletion(true) ? 0 : 1;\n }", "public void read () throws IOException, ClassNotFoundException {\n BufferedReader reader = FileManager.getReader\n (JerboaProperties.getString(\"KeyFeatureContainer.filename\"));\n double kThreshold = JerboaProperties.getDouble(\"KeyFeatureContainer.keyThreshold\",0.0);\n double fThreshold = JerboaProperties.getDouble(\"KeyFeatureContainer.featureThreshold\",0.0);\n\n String line;\n String[] tokens;\n double x;\n line = reader.readLine();\n tokens = line.split(\"\\\\t\");\n \n sf = Double.parseDouble(tokens[2]);\n\n while ((line = reader.readLine()) != null) {\n tokens = line.split(\"\\\\t\");\n if (tokens.length == 2) {\n if ((! filterKeys) || kTable.containsKey(tokens[0])) {\n x = Double.parseDouble(tokens[1]);\n if (x >= kThreshold)\n kTable.put(tokens[0],x);\n else if (filterKeys)\n kTable.remove(tokens[0]);\n }\n } else {\n x = Double.parseDouble(tokens[1]);\n if (x >= fThreshold) {\n kfTable.put(tokens[0],x);\n fTable.put(tokens[0],Double.parseDouble(tokens[2]));\n }\n }\n }\n }", "@Override\n public void open() {\n if (getProperty(\"master\").equals(\"yarn-client\")) {\n System.setProperty(\"SPARK_YARN_MODE\", \"true\");\n }\n Properties interpreterProperties = getProperties();\n if (interpreterProperties.containsKey(\"spark.yarn.keytab\") &&\n interpreterProperties.containsKey(\"spark.yarn.principal\")) {\n try {\n String keytab = interpreterProperties.getProperty(\"spark.yarn.keytab\");\n String principal = interpreterProperties.getProperty(\"spark.yarn.principal\");\n UserGroupInformation.loginUserFromKeytab(principal, keytab);\n } catch (IOException e) {\n throw new RuntimeException(\"Can not pass kerberos authentication\", e);\n }\n }\n\n conf = new SparkConf();\n URL[] urls = getClassloaderUrls();\n\n // Very nice discussion about how scala compiler handle classpath\n // https://groups.google.com/forum/#!topic/scala-user/MlVwo2xCCI0\n\n /*\n * > val env = new nsc.Settings(errLogger) > env.usejavacp.value = true > val p = new\n * Interpreter(env) > p.setContextClassLoader > Alternatively you can set the class path through\n * nsc.Settings.classpath.\n *\n * >> val settings = new Settings() >> settings.usejavacp.value = true >>\n * settings.classpath.value += File.pathSeparator + >> System.getProperty(\"java.class.path\") >>\n * val in = new Interpreter(settings) { >> override protected def parentClassLoader =\n * getClass.getClassLoader >> } >> in.setContextClassLoader()\n */\n Settings settings = new Settings();\n\n // process args\n String args = getProperty(\"args\");\n if (args == null) {\n args = \"\";\n }\n\n String[] argsArray = args.split(\" \");\n LinkedList<String> argList = new LinkedList<String>();\n for (String arg : argsArray) {\n argList.add(arg);\n }\n\n String sparkReplClassDir = getProperty(\"spark.repl.classdir\");\n if (sparkReplClassDir == null) {\n sparkReplClassDir = System.getProperty(\"spark.repl.classdir\");\n }\n if (sparkReplClassDir == null) {\n sparkReplClassDir = System.getProperty(\"java.io.tmpdir\");\n }\n\n outputDir = createTempDir(sparkReplClassDir);\n\n argList.add(\"-Yrepl-class-based\");\n argList.add(\"-Yrepl-outdir\");\n argList.add(outputDir.getAbsolutePath());\n\n\n scala.collection.immutable.List<String> list =\n JavaConversions.asScalaBuffer(argList).toList();\n\n settings.processArguments(list, true);\n\n\n // set classpath for scala compiler\n PathSetting pathSettings = settings.classpath();\n String classpath = \"\";\n List<File> paths = currentClassPath();\n for (File f : paths) {\n if (classpath.length() > 0) {\n classpath += File.pathSeparator;\n }\n classpath += f.getAbsolutePath();\n }\n\n if (urls != null) {\n for (URL u : urls) {\n if (classpath.length() > 0) {\n classpath += File.pathSeparator;\n }\n classpath += u.getFile();\n }\n }\n\n // add dependency from local repo\n String localRepo = getProperty(\"zeppelin.interpreter.localRepo\");\n if (localRepo != null) {\n File localRepoDir = new File(localRepo);\n if (localRepoDir.exists()) {\n File[] files = localRepoDir.listFiles();\n if (files != null) {\n for (File f : files) {\n if (classpath.length() > 0) {\n classpath += File.pathSeparator;\n }\n classpath += f.getAbsolutePath();\n }\n }\n }\n }\n\n pathSettings.v_$eq(classpath);\n settings.scala$tools$nsc$settings$ScalaSettings$_setter_$classpath_$eq(pathSettings);\n\n\n // set classloader for scala compiler\n settings.explicitParentLoader_$eq(new Some<ClassLoader>(Thread.currentThread()\n .getContextClassLoader()));\n BooleanSetting b = (BooleanSetting) settings.usejavacp();\n b.v_$eq(true);\n settings.scala$tools$nsc$settings$StandardScalaSettings$_setter_$usejavacp_$eq(b);\n\n /* Required for scoped mode.\n * In scoped mode multiple scala compiler (repl) generates class in the same directory.\n * Class names is not randomly generated and look like '$line12.$read$$iw$$iw'\n * Therefore it's possible to generated class conflict(overwrite) with other repl generated\n * class.\n *\n * To prevent generated class name conflict,\n * change prefix of generated class name from each scala compiler (repl) instance.\n *\n * In Spark 2.x, REPL generated wrapper class name should compatible with the pattern\n * ^(\\$line(?:\\d+)\\.\\$read)(?:\\$\\$iw)+$\n */\n System.setProperty(\"scala.repl.name.line\", \"$line\" + this.hashCode());\n\n // To prevent 'File name too long' error on some file system.\n MutableSettings.IntSetting numClassFileSetting = settings.maxClassfileName();\n numClassFileSetting.v_$eq(128);\n settings.scala$tools$nsc$settings$ScalaSettings$_setter_$maxClassfileName_$eq(\n numClassFileSetting);\n\n synchronized (sharedInterpreterLock) {\n /* create scala repl */\n\n this.interpreter = new SparkILoop((java.io.BufferedReader) null, new PrintWriter(out));\n\n interpreter.settings_$eq(settings);\n\n interpreter.createInterpreter();\n\n intp = ZeppelinIntpUtil.invokeMethod(interpreter, \"intp\");\n ZeppelinIntpUtil.invokeMethod(intp, \"setContextClassLoader\");\n ZeppelinIntpUtil.invokeMethod(intp, \"initializeSynchronous\");\n\n\n if (ZeppelinIntpUtil.findClass(\"org.apache.spark.repl.SparkJLineCompletion\", true) != null) {\n completer = ZeppelinIntpUtil.instantiateClass(\n \"org.apache.spark.repl.SparkJLineCompletion\",\n new Class[]{ZeppelinIntpUtil.findClass(\"org.apache.spark.repl.SparkIMain\")},\n new Object[]{intp});\n } else if (ZeppelinIntpUtil.findClass(\n \"scala.tools.nsc.interpreter.PresentationCompilerCompleter\", true) != null) {\n completer = ZeppelinIntpUtil.instantiateClass(\n \"scala.tools.nsc.interpreter.PresentationCompilerCompleter\",\n new Class[]{IMain.class},\n new Object[]{intp});\n } else if (ZeppelinIntpUtil.findClass(\n \"scala.tools.nsc.interpreter.JLineCompletion\", true) != null) {\n completer = ZeppelinIntpUtil.instantiateClass(\n \"scala.tools.nsc.interpreter.JLineCompletion\",\n new Class[]{IMain.class},\n new Object[]{intp});\n }\n sparkSession = getSparkSession();\n sc = getSparkContext();\n if (sc.getPoolForName(\"fair\").isEmpty()) {\n Value schedulingMode = org.apache.spark.scheduler.SchedulingMode.FAIR();\n int minimumShare = 0;\n int weight = 1;\n Pool pool = new Pool(\"fair\", schedulingMode, minimumShare, weight);\n sc.taskScheduler().rootPool().addSchedulable(pool);\n }\n\n if (null != getProperty(Constants.FS_S3A_ACCESS_KEY) && null != getProperty(Constants.FS_S3A_SECRET_KEY)) {\n sc.hadoopConfiguration().set(Constants.FS_S3A_IMPL, \"org.apache.hadoop.fs.s3a.S3AFileSystem\");\n sc.hadoopConfiguration().set(Constants.FS_S3A_ACCESS_KEY, getProperty(Constants.FS_S3A_ACCESS_KEY));\n sc.hadoopConfiguration().set(Constants.FS_S3A_SECRET_KEY, getProperty(Constants.FS_S3A_SECRET_KEY));\n }\n sparkVersion = SparkVersion.fromVersionString(sc.version());\n\n snc = getSnappyContext();\n\n dep = getDependencyResolver();\n addDeployedJars();\n\n hooks = getInterpreterGroup().getInterpreterHookRegistry();\n z = new SparkZeppelinContext(sc, hooks,\n Integer.parseInt(getProperty(\"zeppelin.spark.maxResult\")));\n\n interpret(\"@transient val _binder = new java.util.HashMap[String, Object]()\");\n Map<String, Object> binder;\n\n binder = (Map<String, Object>) getLastObject();\n binder.put(\"sc\", sc);\n binder.put(\"snc\", snc);\n binder.put(\"z\", z);\n\n binder.put(\"spark\", sparkSession);\n\n\n interpret(\"@transient val z = \"\n + \"_binder.get(\\\"z\\\").asInstanceOf[org.apache.zeppelin.spark.ZeppelinContext]\");\n interpret(\"@transient val sc = \"\n + \"_binder.get(\\\"sc\\\").asInstanceOf[org.apache.spark.SparkContext]\");\n // Injecting SnappyContext in repl\n interpret(\"@transient val snc = \"\n + \"_binder.get(\\\"snc\\\").asInstanceOf[org.apache.spark.sql.SnappyContext]\");\n interpret(\"@transient val snappyContext = \"\n + \"_binder.get(\\\"snc\\\").asInstanceOf[org.apache.spark.sql.SnappyContext]\");\n\n interpret(\"@transient val spark = \"\n + \"_binder.get(\\\"spark\\\").asInstanceOf[org.apache.spark.sql.SparkSession]\");\n\n interpret(\"import org.apache.spark.SparkContext._\");\n interpret(\"import org.apache.spark.sql.SnappyContext._\");\n interpret(\"import org.apache.spark.sql.{Row, SaveMode, SnappyContext}\");\n if (importImplicit()) {\n interpret(\"import spark.implicits._\");\n interpret(\"import spark.sql\");\n interpret(\"import org.apache.spark.sql.functions._\");\n\n }\n }\n\n /* Temporary disabling DisplayUtils. see https://issues.apache.org/jira/browse/ZEPPELIN-127\n *\n // Utility functions for display\n intp.interpret(\"import org.apache.zeppelin.spark.utils.DisplayUtils._\");\n\n // Scala implicit value for spark.maxResult\n intp.interpret(\"import org.apache.zeppelin.spark.utils.SparkMaxResult\");\n intp.interpret(\"implicit val sparkMaxResult = new SparkMaxResult(\" +\n Integer.parseInt(getProperty(\"zeppelin.spark.maxResult\")) + \")\");\n */\n\n\n // add jar from local repo\n if (localRepo != null) {\n File localRepoDir = new File(localRepo);\n if (localRepoDir.exists()) {\n File[] files = localRepoDir.listFiles();\n if (files != null) {\n for (File f : files) {\n if (f.getName().toLowerCase().endsWith(\".jar\")) {\n sc.addJar(f.getAbsolutePath());\n logger.info(\"sc.addJar(\" + f.getAbsolutePath() + \")\");\n } else {\n sc.addFile(f.getAbsolutePath());\n logger.info(\"sc.addFile(\" + f.getAbsolutePath() + \")\");\n }\n }\n }\n }\n }\n\n }", "private static void analyze(String path) throws IOException {\n\n\t\ttry(DataInputStream reader = new DataInputStream(new BufferedInputStream(new FileInputStream(path)))) {\n\t\t\tHeader header = new Header(ByteBuffer.wrap(reader.readNBytes(512)));\n\t\t\tSystem.out.println(header);\n\n\t\t\tint sensorModelCount = 0;\n\t\t\tint timeModelCount = 0;\n\t\t\tint dataBlockCount = 0;\n\n\t\t\tshort lastMark = 0;\n\t\t\tint count = 0;\n\n\t\t\twhile(reader.available() > 0) {\n\t\t\t\tshort mark = reader.readShort();\n\t\t\t\tswitch (mark) {\n\t\t\t\t\tcase 0x5555 -> {\n\t\t\t\t\t\tdataBlockCount++;\n\t\t\t\t\t\tint size = reader.readInt();\n\t\t\t\t\t\treader.skipBytes(size);\n\t\t\t\t\t\tif(lastMark != mark) {\n\t\t\t\t\t\t\tSystem.out.println(\"DataBlock (\" + size + \" bytes) x\" + count);\n\t\t\t\t\t\t\tcount = 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse count++;\n\t\t\t\t\t\tlastMark = mark;\n\t\t\t\t\t}\n\t\t\t\t\tcase 0x6660 -> {\n\t\t\t\t\t\ttimeModelCount++;\n\t\t\t\t\t\tInstant instant = Instant.ofEpochMilli(reader.readLong());\n\t\t\t\t\t\tPeriod period = Period.of(reader.readShort(), reader.readShort());\n\t\t\t\t\t\tif(lastMark != mark) {\n\t\t\t\t\t\t\tSystem.out.println(\"\\nTimeModel (\" + instant + \", \" + period + \")\");\n\t\t\t\t\t\t\tcount = 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse count++;\n\t\t\t\t\t\tlastMark = mark;\n\t\t\t\t\t}\n\t\t\t\t\tcase 0x6661 -> {\n\t\t\t\t\t\tsensorModelCount++;\n\t\t\t\t\t\tString measurements = new String(reader.readNBytes(reader.readInt())).replace(\"\\n\", \", \");\n\t\t\t\t\t\tif(lastMark != mark) {\n\t\t\t\t\t\t\tSystem.out.println(\"SensorModel: \" + measurements);\n\t\t\t\t\t\t\tcount = 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse count++;\n\t\t\t\t\t\tlastMark = mark;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\"TimeModel count = \" + timeModelCount);\n\t\t\tSystem.out.println(\"SensorModel count = \" + sensorModelCount);\n\t\t\tSystem.out.println(\"Data blocks count = \" + dataBlockCount);\n\t\t}\n\t}", "static void runJobFlow() throws InterruptedException{\n JobFlowInstancesConfig instances = new JobFlowInstancesConfig();\n //********************************************************************//\n instances.setHadoopVersion(HADOOP_VERSION);\n instances.withEc2KeyName(\"ayuda-vp1\");\n instances.setInstanceCount(MASTER_INSTANCE_COUNT);\n //instances.setInstanceGroups(instanceGroups)\n instances.setMasterInstanceType(InstanceType.M24xlarge.toString());\n instances.setSlaveInstanceType(InstanceType.M24xlarge.toString());\n //********************************************************************//\n HadoopJarStepConfig hadoopJarStep1 = new HadoopJarStepConfig()\n .withJar(S3N_WORD_COUNT_JAR_) // This should be a full map reduce application.\n .withArgs(BUCKET_NAME+\"inWC\", BUCKET_NAME+\"outWC\");\n \n StepConfig stepConfig1 = new StepConfig()\n .withName(\"wordcount\")\n .withHadoopJarStep(hadoopJarStep1)\n .withActionOnFailure(\"TERMINATE_JOB_FLOW\");\n\n //********************************************************************//\n \n //********************************************************************//\n HadoopJarStepConfig hadoopJarStep2 = new HadoopJarStepConfig()\n .withJar(S3N_MAX_WORD_COUNT_JAR) // This should be a full map reduce application.\n .withArgs(BUCKET_NAME+\"outWC\", BUCKET_NAME+\"outXWC\",\"hate\",\"10\");\n \n \n StepConfig stepConfig2 = new StepConfig()\n .withName(\"maxwordcount\")\n .withHadoopJarStep(hadoopJarStep2)\n .withActionOnFailure(\"TERMINATE_JOB_FLOW\");\n //********************************************************************//\n \n Collection<StepConfig> csc = new ArrayList<StepConfig>();\n csc.add(stepConfig1);\n csc.add(stepConfig2);\n \n // BootstrapActions bootstrapActions = new BootstrapActions();\n RunJobFlowRequest runFlowRequest = new RunJobFlowRequest()\n .withName(FLOW_NAME)\n .withInstances(instances)\n .withSteps(csc)\n .withLogUri(BUCKET_NAME+\"debug\")\n /*.withBootstrapActions(\n bootstrapActions.newRunIf(\n \"instance.isMaster=true\",\n bootstrapActions.newConfigureDaemons()\n .withHeapSize(Daemon.JobTracker, 4096)\n .build()),\n bootstrapActions.newRunIf(\n \"instance.isRunningNameNode=true\",\n bootstrapActions.newConfigureDaemons()\n .withHeapSize(Daemon.NameNode, 4096).build()),\n bootstrapActions.newRunIf(\n \"instance.isRunningDataNode=true\",\n bootstrapActions.newConfigureDaemons()\n .withHeapSize(Daemon.DataNode, 4096).build()),\n bootstrapActions.newRunIf(\n \"instance.isRunningJobTracker=true\",\n bootstrapActions.newConfigureDaemons()\n .withHeapSize(Daemon.JobTracker, 4096).build()),\n bootstrapActions.newRunIf(\n \"instance.isRunningTaskTracker=true\",\n bootstrapActions.newConfigureDaemons()\n .withHeapSize(Daemon.TaskTracker, 4096).build()) \n \n /*,\n \n bootstrapActions.newRunIf(\n \"instance.isSlave=true\",\n bootstrapActions.newConfigureHadoop()\n .withKeyValue(ConfigFile.Site,\"mapred.tasktracker.map.tasks.maximum\", \"4\")) \n )*/;\n \n \n RunJobFlowResult runJobFlowResult = emr.runJobFlow(runFlowRequest);\n\t \n\t String jobFlowId = runJobFlowResult.getJobFlowId();\n\t System.out.println(\"Ran job flow with id: \" + jobFlowId);\n\t \n\t //wasFinished(runJobFlowResult);\n\t \n }" ]
[ "0.58578324", "0.5699685", "0.5463112", "0.5409173", "0.5391989", "0.52661395", "0.5262219", "0.5248838", "0.5223086", "0.5195753", "0.51883477", "0.51474077", "0.51350904", "0.51323515", "0.5112392", "0.5109156", "0.5108959", "0.5100002", "0.5091303", "0.5084401", "0.50790155", "0.50452995", "0.5040116", "0.5033134", "0.50159305", "0.50140244", "0.501229", "0.49908116", "0.49884576", "0.49847132", "0.49838954", "0.49794632", "0.49788928", "0.4957493", "0.49494997", "0.49393138", "0.49372607", "0.4925042", "0.4924349", "0.49143928", "0.49044442", "0.49003518", "0.48907113", "0.48862928", "0.48848897", "0.4884672", "0.48806524", "0.48716423", "0.48571363", "0.48500696", "0.4844849", "0.48427173", "0.4840699", "0.48270208", "0.48217005", "0.48086402", "0.48002872", "0.47910315", "0.47829318", "0.47746173", "0.47688425", "0.4768815", "0.47684398", "0.4757418", "0.47565493", "0.47521538", "0.47464225", "0.47423857", "0.4741405", "0.47386318", "0.47169548", "0.47150293", "0.47103417", "0.46963054", "0.46951976", "0.46945548", "0.46863183", "0.46748114", "0.46672258", "0.46647242", "0.46637478", "0.4657546", "0.4652423", "0.46518624", "0.46485174", "0.46349612", "0.46348277", "0.46344477", "0.46313983", "0.46304056", "0.4628748", "0.46280015", "0.46225247", "0.46209553", "0.46170932", "0.46166283", "0.46158716", "0.46150973", "0.46128863", "0.4612022" ]
0.6391128
0
TODO Autogenerated method stub
public Iterable<String> call(String line) throws Exception { return Arrays.asList(line.split(",")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
public Tuple2<String, Integer> call(String x) throws Exception { return new Tuple2(x, 1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
public boolean delete(String id) { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
Creates instance of the game
@SuppressWarnings("unused") public static void main(String[] args) { Game game = new Game(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Game createGame();", "public Game() {}", "public Game() {\n\n GameBoard gameBoard = new GameBoard();\n Renderer renderer = new Renderer(gameBoard);\n }", "public void createGame();", "public Game() {\n\n\t}", "public Game()\n {\n createRooms();\n parser= new Parser();\n }", "public Game() \n {\n parser = new Parser();\n name = new String();\n player = new Player();\n ai = new AI();\n createRooms();\n rand = -1;\n enemyPresent = false;\n wantToQuit = false;\n alive = true;\n createItems();\n createWeapons();\n createEnemy();\n setEnemy();\n setItems();\n setWeapons();\n setExits();\n }", "public Game() {\n }", "public Game() \n {\n Logger.setLogger(null);\n createInstances();\n parser = new Parser();\n player = new Player();\n userInputs = new ArrayList<String>();\n }", "public Game(){\n\n }", "public Game() \n {\n createRooms();\n parser = new Parser();\n }", "public Game() \n {\n createRooms();\n parser = new Parser();\n }", "public Game() {\n parser = new Parser();\n }", "public Game(){\n player = new Player(createRooms());\n parser = new Parser(); \n }", "public PlayableGame() {\r\n\r\n }", "@Override\n public LocalGame createLocalGame() {\n return new LocalGameActual();\n }", "public static GameState createInstance() {\n\t\treturn new GameState();\n\t}", "private Game() {}", "public void initGame() {\n this.game = new Game();\n }", "void newGame() {\n\t\tstate = new model.State () ; \n\t\tif(host != null ) host.show(state) ; \n\t}", "public void createGame()\n {\n //call Client Controller's setState method with\n //a parameter of new ClientLobbyState()\n clientController.startMultiPlayerGame(\"GameLobby\");\n }", "public Game() {\n\t\tbPlayer = new Player(false);\n\t\twPlayer = new Player(true);\n\t\t// TODO Auto-generated constructor stub\n\t}", "public Game getNewInstance() {\n try {\n return classObj.newInstance();\n } catch (Exception e) {\n e.printStackTrace();\n throw new RuntimeException(\"Error generating \" + this + \" game\");\n }\n }", "public Game() { \n // Create the new environment. Must be done in the same\n // method as the game loop\n env = new Env();\n \n // Sets up the camera\n env.setCameraXYZ(25, 50, 55);\n env.setCameraPitch(pitch);\n\n // Turn off the default controls\n env.setDefaultControl(false);\n\n // Make the room 50 x 50.\n env.setRoom(new Room());\n creatures = new ArrayList<Creature>();\n }", "@Override\n\tpublic void create() {\n\t\tthis.playScreen = new PlayScreen<EntityUnknownGame>(this);\n\t\tsetScreen(this.playScreen);\n\t\t\n\t\t//this.shadowMapTest = new ShadowMappingTest<EntityUnknownGame>(this);\n\t\t//setScreen(this.shadowMapTest);\n\t\t\n\t\t//this.StillModelTest = new StillModelTest<EntityUnknownGame>(this);\n\t\t//setScreen(this.StillModelTest);\n\t\t\n//\t\tthis.keyframedModelTest = new KeyframedModelTest<EntityUnknownGame>(this);\n//\t\tsetScreen(this.keyframedModelTest);\n\t}", "public GameScreen newGame() {\n gameScreen = new GameScreen(this);\n return gameScreen;\n }", "public void newGame()\n\t{\n\t\tmap = new World(3, viewSize, playerFactions);\n\t\tview = new WorldView(map, viewSize, this);\n\t\tbar = new Sidebar(map, barSize);\n\t}", "public MiniGame() {\n\n\t}", "public OrchardGame() {\n\t\t\n\t}", "void createNewGame(Player player);", "void create(GameLogic gameLogic);", "public Game() {\n generatePort();\n status = Status.ATTENTE;\n generateGameID();\n name = \"GameG4B\";\n players = new ArrayList<>();\n maxRealPlayer = 0;\n maxVirtualPlayer = 0;\n realPlayerNb = 0;\n virtualPlayerNb = 0;\n rounds = new ArrayList<>();\n currentRound = 0;\n }", "public Game() \n {\n parser = new Parser();\n }", "void startGame(int gameId) {\n game = new Game(gameId);\n }", "public BeanGame () {\n\t}", "public Game(){\n\t\tDimension size = new Dimension(width * scale, height * scale);\n\t\tsetPreferredSize(size);\n\t\t\n\t\tscreen = new Screen(width, height);//instantiated the new screen\n\t\t\n\t\tframe = new JFrame();\n\t\t\n\t}", "static Game newGame(Player player1, Player player2) {\n return new GameImpl(player1, player2);\n }", "public void create () \n\t{ \n\t\t// Set Libgdx log level to DEBUG\n\t\tGdx.app.setLogLevel(Application.LOG_DEBUG);\n\t\t// Load assets\n\t\tAssets.instance.init(new AssetManager());\n\t\tpaused = false;\n\t\t// Load preferences for audio settings and start playing music\n\t\tGamePreferences.instance.load();\n\t\tAudioManager.instance.play(Assets.instance.music.song01);\n\t\t// Start game at menu screen\n\t\tsetScreen(new MenuScreen(this));\n\t\t\n\t}", "public GameLuncher(GameGUI gameGUI) {\n this.gameGUI = gameGUI;\n createGame();\n }", "public void newGame();", "public void newGame();", "public void newGame();", "void createNewGame() {\n _gameList.add(new GameObject());\n Log.i(\"createGame\", \"Created New Game\");\n }", "public static Game getInstance() {\n\t\tif (game == null)\n\t\t\tgame = new Game();\n\t\treturn game;\n\t}", "public Game()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(600, 400, 1, false); \n Greenfoot.start(); //Autostart the game\n Greenfoot.setSpeed(50); // Set the speed to 30%\n setBackground(bgImage);// Set the background image\n \n //Create instance\n \n Airplane gameplayer = new Airplane ();\n addObject (gameplayer, 100, getHeight()/2);\n \n }", "public Game() {\n\t\tusers = new ArrayList<>();\n\t\ttmpTeam = new UserTeam();\n\t\tcore = new Core();\n\t\tmarket = new Market(core);\n\t}", "void newGame() {\n logger.log(\"New game starting.\");\n logger.log(divider);\n\n\n // Create the deck.\n createDeck();\n logger.log(\"Deck loaded: \" + deck.toString());\n\t logger.log(divider);\n\n\n // Shuffle the deck.\n shuffleDeck();\n logger.log(\"Deck shuffled: \" + deck.toString());\n logger.log(divider);\n\n // Create the players.\n createPlayers();\n setGameState(GameState.PLAYERS_SPAWNED);\n\n // Deal cards to players' decks.\n deal();\n for (Player player : players) {\n logger.log(\"Hand: \" + player);\n }\n \n\n // Randomly select the active player for the first round.\n selectRandomPlayer();\n\n setGameState(GameState.NEW_GAME_INITIALISED);\n }", "public Game() {\n\t\tsuper();\n\t\tgameModel = new GameModel();\n\t\tview = new GamePane(gameModel);\n\t\t\n\t\tadd(view);\n\t\tpack();\n\t\tsetLocationRelativeTo(null);\n\t}", "public Game() {\n this.date = LocalDateTime.now();\n }", "public Game(){\n\t\tDimension dimension = new Dimension(Game.WIDTH, Game.HEIGHT); //Create dimensions for window size\n\t\tsetPreferredSize(dimension); //Set the start size\n\t\tsetMinimumSize(dimension); //Set the min size\n\t\tsetMaximumSize(dimension); //Set the max size, this locks the window size.\n\t\taddKeyListener(this); //Add the key listener to the game object\n\t\tlevel1(); //Load level 1\n\t\twinScreen = new WinScreen(); //Create win object\n\t\tdeadScreen = new DeadScreen(); //Create dead object\n\t\tstartScreen = new StartScreen(); //Create startScreen object\n\t\tpauseScreen = new PauseScreen(); //Create pauseScreen object\n\t\tspriteSheet = new SpriteSheet(\"img/sprites.png\"); //Create SpriteSheet object\n\t\tnew Texture(); //Initialize texture object\n\t}", "@Override\n\tpublic void create() {\n\t\tGdx.app.setLogLevel(Application.LOG_DEBUG);\n\t\t\n\t\t//Load assets\n\t\tAssets.instance.init(new AssetManager());\n\t\t\n\t\t//initialize controller and renderer\n\t\tworldController = new WorldController();\n\t\tworldRenderer= new WorldRenderer(worldController);\n\t\t\n\t\t//The world is not paused on start\n\t\tpaused = false;\n\t}", "public Game createGame(int numberOfPlayers) {\n return new Game(numberOfPlayers);\n }", "public GameManager(){\r\n init = new Initialisation();\r\n tower=init.getTower();\r\n courtyard=init.getCourtyard();\r\n kitchen=init.getKitchen();\r\n banquetHall=init.getBanquetHall();\r\n stock=init.getStock();\r\n throneHall=init.getThroneHall();\r\n vestibule=init.getVestibule();\r\n stables=init.getStables();\r\n\r\n this.player = new Player(tower);\r\n\r\n push(new IntroductionState());\r\n\t}", "public void create() {\n connect();\n batch = new SpriteBatch();\n font = new BitmapFont();\n\n audioManager.preloadTracks(\"midlevelmusic.wav\", \"firstlevelmusic.wav\", \"finallevelmusic.wav\", \"mainmenumusic.wav\");\n\n mainMenuScreen = new MainMenuScreen(this);\n pauseMenuScreen = new PauseMenuScreen(this);\n settingsScreen = new SettingsScreen(this);\n completeLevelScreen = new CompleteLevelScreen(this);\n completeGameScreen = new CompleteGameScreen(this);\n\n setScreen(mainMenuScreen);\n }", "public GamePlayer() {}", "public static void main(String[] args) {\n Game game = new Game();\n }", "public GameOfLifeTest()\n {\n }", "public GameState() {}", "Player createPlayer();", "public Game() {\n whitePlayer = new AwfulAIPlayer(Colour.WHITE, board);\n blackPlayer = new HumanPlayer(Colour.BLACK, board);\n\n sharedBoard = new CompositeBitBoard(whitePlayer.getOccupied(), blackPlayer.getOccupied());\n }", "public Game() {\r\n\t\tcards = new ArrayList<Card>();\r\n\t\tfor (int i = 0; i < NBCARDS; i++) {\r\n\t\t\tcards.add(new Card());\r\n\t\t}\r\n\t\tplayers = new ArrayList<Player>();\r\n\t\tfor (int i = 0; i < NBPLAYER; i++) {\r\n\t\t\tplayers.add(new Player(i + 1));\r\n\t\t}\r\n\t}", "private GameManager() \n\t{\n\t\t\n\t}", "public Game() {\n initializeBoard();\n }", "public Game()//Method was given\n {\n parser = new Parser();\n player = new Player();\n }", "@Override\n public void create()\n {\n Gdx.app.setLogLevel(Application.LOG_DEBUG);\n \n // Load assets\n Assets.instance.init(new AssetManager());\n \n // Load preferences for audio settings, and start playing music\n GamePreferences.instance.load();\n AudioManager.instance.play(Assets.instance.music.song01);\n \n // Start game at menu screen\n setScreen(new MenuScreen(this));\n }", "public Game() {\t\t\t\t\t\n\t\t\n\t\tmDeck = new Deck();\t\t\t\t\t\t\t\t\t\t\t\n\t\tmDealer = new Dealer(mDeck.getCard(), mDeck.getCard());\t//dealer gets a random value card twice to initialise the dealers hand with 2 cards\n\t\tmUser = new User();\t\t\t\t\t\t\t\t\t\t\t\n\t\tgiveCard();\t\t\t\t\t\n\t}", "public Game(){\n new Window(800, 800, \"Survival Game\", this);\n handler = new Handler();\n camera = new Camera(0,0);\n this.addKeyListener(new KeyInput(handler));\n\n //create the map\n map = new Map(handler);\n map.generateMap();\n map.drawWorld();\n\n player = new Player(100, 100, ID.Player, handler);\n handler.addObject(player);\n handler.addObject(new Bear(600, 600, ID.Bear, player));\n handler.addObject(new Deer(400, 400, ID.Deer, player));\n\n start();\n }", "public void newGame(){\n\t\tsoundMan.BackgroundMusic1();\n\n\t\tstatus.setGameStarting(true);\n\n\t\t// init game variables\n\t\tbullets = new ArrayList<Bullet>();\n\n\t\tstatus.setShipsLeft(8);\n\t\tstatus.setGameOver(false);\n\n\t\tif (!status.getNewLevel()) {\n\t\t\tstatus.setAsteroidsDestroyed(0);\n\t\t}\n\n\t\tstatus.setNewAsteroid(false);\n\n\t\t// init the ship and the asteroid\n\t\tnewShip(gameScreen);\n\t\tnewAsteroid(gameScreen);\n\n\t\t// prepare game screen\n\t\tgameScreen.doNewGame();\n\t\tsoundMan.StopMusic2();\n\t\tsoundMan.StopMusic3();\n\t\tsoundMan.StopMusic4();\n\t\tsoundMan.StopMusic5();\n\t\tsoundMan.StopMusic6();\n\t\t// delay to display \"Get Ready\" message for 1.5 seconds\n\t\tTimer timer = new Timer(1500, new ActionListener(){\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tstatus.setGameStarting(false);\n\t\t\t\tstatus.setGameStarted(true);\t\n\n\t\t\t\tstatus.setLevel(1);\n\t\t\t\tstatus.setNumLevel(1);\n\t\t\t\tstatus.setScore(0);\n\t\t\t\tstatus.setYouWin(false);\n\t\t\t\tstatus.setBossLife(0);\n\t\t\t}\n\t\t});\n\t\ttimer.setRepeats(false);\n\t\ttimer.start();\n\t}", "public GdGame()\n\t{\n\t\tthis(100);\t\t\n\t}", "public Game() {\n String configPath= String.valueOf(getClass().getResource(\"/config/conf.xml\"));\n\n listeners= new ArrayList<>();\n assembler= new Assembler(configPath);\n levelApple= (ILevel) assembler.newInstance(\"levelApple\");\n levelRarity= (ILevel) assembler.newInstance(\"levelRarity\");\n levelRainbow= (ILevel) assembler.newInstance(\"levelRainbow\");\n levelRunning= levelApple;\n levelApple.selected();\n levelFlutter= null;\n levelPinky= null;\n jukebox = (Jukebox) assembler.newInstance(\"jukebox\");\n jukebox.switchTo(\"apple\");\n event = new LevelChangeEvent();\n event.setNumberOfLevel(6);\n setEventSelected(true, false, false);\n setEventRunning(true, true, true);\n }", "private void createGame(String name){\n\n }", "@Override\n\tpublic void create () {\n\t\tgempiresAssetHandler = new GempiresAssetHandler(this);\n\t\tbatch = new SpriteBatch();\n\t\tcastle = new CastleScreen(this);\n\t\tsetScreen(new MainMenuScreen(this));\n\t}", "public Game() {\n super(\"Project 6 Game\");\n setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n gamePanel = new GamePanel();\n setContentPane(gamePanel);\n pack();\n setLocationRelativeTo(null);\n setVisible(true);\n }", "public GameWorld(){\r\n\t\t\r\n\t}", "public void newGameJBJ() {\n newGame();\n min = 0; max = 1000;\n myctr.setMinMaxLabel();\n myctr.setLabels();\n }", "public playGame()\n {\n // initialise instance variables\n //no constructor\n }", "public WarGame() {\r\n\t\tsetGame();\r\n\t}", "public void newGame()\n\t{\n\t\tplanet.setLevel(0);\n\t\tship.resetScore();\n\t\tstopThreads();\n\t\tplanet = new Planet(750,600);\n\t\tship = new Ship(20.0,750,600,planet);\n\t\tbuttonPanel.update(ship,planet);\n\t\tgamePanel.update(ship,planet);\n\n\t\trestartThreads();\n\t}", "public Game() {\r\n\r\n\t\tmakeFrame();\r\n\t\tisClicked = false;\r\n\t\tisPlaying = false;\r\n\t\tlevelEasy = true;\r\n\t\tlevelIntermediate = false;\r\n\t\tlevelHard = false;\r\n\t\tplayerScore = 0;\r\n\r\n\t}", "@Override\n\tpublic void create() {\n\t\t f=new crazyfail(this);\n\t cfg=new crazyFirstGame(this);\n\t \n\t \t setScreen(cfg);\n\t \n\t\t\n\t}", "private void startGame() {\n\t\tmain.next_module = new Game(main, inputs, gameSelectionData);\n\t}", "public Game() {\n board = new FourBoard();\n }", "public void InitGame(){\n System.out.format(\"New game initiated ...\");\n Game game = new Game(client_List);\n SetGame(game);\n }", "public void newGame() {\n // this.dungeonGenerator = new TowerDungeonGenerator();\n this.dungeonGenerator = cfg.getGenerator();\n\n Dungeon d = dungeonGenerator.generateDungeon(cfg.getDepth());\n Room[] rooms = d.getRooms();\n\n String playername = JOptionPane.showInputDialog(null, \"What's your name ?\");\n if (playername == null) playername = \"anon\";\n System.out.println(playername);\n\n this.player = new Player(playername, rooms[0], 0, 0);\n player.getCurrentCell().setVisible(true);\n rooms[0].getCell(0, 0).setEntity(player);\n\n frame.showGame();\n frame.refresh(player.getCurrentRoom().toString());\n frame.setHUD(player.getGold(), player.getStrength(), player.getCurrentRoom().getLevel());\n }", "@Override\n public void create() {\n Gdx.app.setLogLevel(Application.LOG_DEBUG);\n // Load assets\n Assets.instance.init(new AssetManager());\n // Load preferences for audio settings and start playing music\n GamePreferences.instance.load();\n AudioManager.instance.play(Assets.instance.music.song01);\n // Start game at menu screen\n setScreen(new MenuScreen(this, adsController));\n //If we are connected via wifi the game will display ads\n if (adsController.isConnected()) {\n adsController.showBannerAd();\n }\n }", "public GameController() {\n GameLoop.getInstance();\n }", "public static void create(){\n\t\tstage = new Stage(new StretchViewport(1680, 1050)); \n\t\tCamera camera = stage.getCamera();\n\t\tcamera.update();\n\n\t\t//Instantiate the Managers\n\t\tGdx.input.setInputProcessor(getStage());\t\n\t\tstage.getActors().clear();\n\t\t\n\t\tmapManager = new Game_Map_Manager();\n\t\tmapManager.create(getStage());\n\t\t\n\t\tGame_CardHand cardHand = new Game_CardHand();\n\t\tcardHand.create(getStage());\n\n\t\tGameScreenUI actorManager = new GameScreenUI();\n\t\tactorManager.create(getStage());\n\n\t\tTrainDepotUI trainDepot = new TrainDepotUI();\n\t\ttrainDepot.create(getStage());\n\n\t\tGoalMenu goalScreenManager = new GoalMenu();\n\t\tgoalScreenManager.create(getStage());\n\t\t\n\t\tPlayerGoals ticketManager = new PlayerGoals();\n\t\tticketManager.create(getStage());\t\n\t\t\n\t\tGame_StartingSequence startgameManager = new Game_StartingSequence(replayMode);\n\t\tstartgameManager.create(getStage());\n\t\t\n\t\tGame_Shop shop = new Game_Shop();\n\t\tshop.create(getStage());\n\t\t\n\t\tGame_PauseMenu pauseMenu= new Game_PauseMenu();\n\t\tpauseMenu.create(getStage());\n\t\t\n\t\tWarningMessage warningMessage = new WarningMessage();\n\t\twarningMessage.create(getStage());\n\t\t\n\t\tif (replayMode){\n\t\t\tReplayModeUI replayUI = new ReplayModeUI();\n\t\t\treplayUI.create(getStage());\n\t\t\t\n\t\t\tif (Game_StartingSequence.inProgress){\n\t\t\t\tWorldMap replayMap = WorldMap.getInstance();\n\t\t\t\tGame_StartingSequence.player1 = false;\n\t\t\t\t\n\t\t\t\tStation p1station = replayMap.stationsList.get(0);\n\t\t\t\tfor (Station station : replayMap.stationsList){\n\t\t\t\t\tif (station.getName().equals(LocomotionCommotion.getReplayTurn().getJSONObject(\"player1\").getJSONArray(\"stations\").getJSONObject(0).getString(\"stationName\"))){\n\t\t\t\t\t\tp1station = station;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tStation p2station = replayMap.stationsList.get(1);\n\t\t\t\tfor (Station station : replayMap.stationsList){\n\t\t\t\t\tif (station.getName().equals(LocomotionCommotion.getReplayTurn().getJSONObject(\"player2\").getJSONArray(\"stations\").getJSONObject(0).getString(\"stationName\"))){\n\t\t\t\t\t\tp2station = station;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tcreateCoreGame(p1station, p2station);\n\t\t\t\tGame_StartingSequence.startGame();\n\t\t\t\tGameScreenUI.refreshResources();\n\t\t\t\tGame_StartingSequence.inProgress = false;\n\t\t\t}\n\t\t}\n\t}", "static Game newGame(Player player1, Player player2, String fen) {\n return new GameImpl(player1, player2, fen);\n }", "@Override\n\tpublic void create() {\n\t\tassetManager = new AssetManager();\n\t\tassetManager.load(ROLIT_BOARD_MODEL, Model.class);\n\t\tassetManager.load(ROLIT_BALL_MODEL, Model.class);\n\t\t\n\t\t//construct the lighting\n\t\tenvironment = new Environment();\n\t\tenvironment.set(new ColorAttribute(ColorAttribute.AmbientLight, 0.4f, 0.4f, 0.4f, 1f));\n\t\tenvironment.add(new DirectionalLight().set(0.8f, 0.8f, 0.8f, -1f, -0.8f, -0.2f));\n\t\t\n\t\tmodelBatch = new ModelBatch();\n\t\t\n\t\tcam = new PerspectiveCamera(67f, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());\n\t\t\n\t\tGdx.input.setInputProcessor(new InputHandler());\n\t}", "GameModel createGameModel(GameModel gameModel);", "public Game() { \n super(1000, 640, 1);\n updateScore(0);\n }", "@Override\n\tpublic void create() {\n\t\tthis.batch = new SpriteBatch();\n\t\t\n//\t\tgame.batch.begin();\n// player.draw(game.batch);\n// \n// game.batch.end();\n\t\t\n\t\tmanager = new AssetManager();\n\t\tmanager.setLoader(TiledMap.class, new TmxMapLoader(new InternalFileHandleResolver()));\n\t\tmanager.load(\"data/level1.tmx\", TiledMap.class);\n\t\tmanager.load(\"data/background.png\", Texture.class);\n//\t\tmanager.load(\"level1.tsx\", TiledMapTileSet.class);\n\t\tmanager.finishLoading();\n\t\tscreen = new GameScreen(this);\n\t\tsetScreen(screen);\n\t\t\n\t}", "private Game() {\n\t\tlabyrinth = Labyrinth.getInstance();\n\t\tplayer = Player.getInstance();\n\n\t\tcandies = new HashMap<>();\n\t\tenemies = new HashMap<>();\n\t\tbuttons = new HashMap<>();\n\n\t\tgenerateCandies();\n\t\tgenerateEnemies();\n\t\t//generateButtons();\n\n\t\tscore = Score.getInstance();\n\n\t\t//Put the door randomly.\n int coordX = ThreadLocalRandom.current().nextInt(0, 16);\n int coordY = ThreadLocalRandom.current().nextInt(0, 16);\n\t\tthis.door = Door.getInstance(coordX, coordY);\n\t}", "Game() {\n _randomSource = new Random();\n\n _players = new Player[2];\n _input = new BufferedReader(new InputStreamReader(System.in));\n _players[0] = new HumanPlayer(BP, this);\n _players[1] = new MachinePlayer(WP, this);\n _playing = false;\n }", "public void newGame() {\r\n\r\n gameObjects.newGame();\r\n\r\n // Reset the mScore\r\n playState.mScore = 0;\r\n\r\n // Setup mNextFrameTime so an update can triggered\r\n mNextFrameTime = System.currentTimeMillis();\r\n }", "public Game(int choose) {\n\t\tthis.board = new Grid();\n\t\tthis.sp = 200;\n\t\tthis.spawnZombie(choose);\n\t}", "public static void main(String[] args) {\r\n\r\n\t\tGame game = new Game();\r\n\r\n\t}", "public Game()\r\n { \r\n // Create a new world with 800x600 cells with a cell size of 1x1 pixels.\r\n super(800, 600, 1);\r\n \r\n // add grill obj on left\r\n grill = new Grill();\r\n addObject(grill, 200, 400);\r\n \r\n // add table on right\r\n prepTable = new PrepTable();\r\n addObject(prepTable, 600, 400);\r\n \r\n // add all the table buttons\r\n addTableButtons();\r\n \r\n // add timer text\r\n timerText = new Text(\"2:00\");\r\n addObject(timerText, 60, 30);\r\n \r\n // setup the timer\r\n frameRate = 60;\r\n timeLeft = frameRate * 2;\r\n \r\n // setup the points\r\n score = 0;\r\n scoreText = new Text(\"$0\");\r\n addObject(scoreText, 50, 80);\r\n \r\n // setup orders\r\n orders = new ArrayList<Order>();\r\n orderTimer = frameRate * 4; // start with a 4 sec delay before the first order\r\n \r\n // the game is still updating\r\n stillRunning = true;\r\n \r\n // fix layering order\r\n setPaintOrder(Text.class, Topping.class, Button.class, Patty.class, Order.class);\r\n \r\n // set order variance\r\n orderVariance = 2 * frameRate;\r\n \r\n // init seconds counter\r\n totalSecondsElapsed = 0;\r\n }", "public SinglePlayerGameController() {\n player1 = new Player(\"Player 1\");\n computer = new Player(\"Computer\");\n game = new Game(new Dice(), player1, computer);\n player1.setColor(\"blue\");\n computer.setColor(\"red\");\n diceImage = new DiceImage();\n }", "public Game() {\n\t\tthis.setMode(this.gameModes[0]);\n\t\tthis.SIZE = this.mode.getSize();\n\t\tint x = Random.nextInt(0, 5);\n\t\tSystem.out.println(x);\n\t\tthis.newCandy();\n\t}", "Games game();" ]
[ "0.81031877", "0.768823", "0.76772803", "0.7665324", "0.7574297", "0.7567945", "0.74945927", "0.7480051", "0.74554706", "0.74241686", "0.73872846", "0.73872846", "0.7345816", "0.7322826", "0.7313879", "0.7270751", "0.7259018", "0.7254261", "0.7244818", "0.7186097", "0.7175594", "0.71540636", "0.71228504", "0.7099823", "0.7055165", "0.7033091", "0.70222133", "0.7019396", "0.6983897", "0.69333464", "0.69269484", "0.69238746", "0.69107693", "0.6909039", "0.6897963", "0.689395", "0.6873029", "0.68700415", "0.68685675", "0.6863713", "0.6863713", "0.6863713", "0.68495435", "0.68377453", "0.68276304", "0.6811841", "0.68029255", "0.6798087", "0.6792502", "0.67919606", "0.67829967", "0.6781274", "0.6776849", "0.6776767", "0.67480385", "0.6732145", "0.6730675", "0.67219067", "0.67037165", "0.6696517", "0.669528", "0.6684555", "0.6681321", "0.66769785", "0.6676668", "0.6669614", "0.6644223", "0.6637596", "0.66316986", "0.6629765", "0.6629578", "0.6623653", "0.66223687", "0.6621883", "0.66165483", "0.6612605", "0.66044897", "0.65931714", "0.65786755", "0.6568093", "0.65678847", "0.6567757", "0.6560982", "0.65552336", "0.6548073", "0.6517653", "0.6516505", "0.6510699", "0.6501055", "0.64990383", "0.6492178", "0.64896303", "0.6487977", "0.6485868", "0.64852244", "0.6474886", "0.6473825", "0.64648634", "0.64585567", "0.64545256", "0.6442606" ]
0.0
-1
constructor takes a digraph (not necessarily a DAG)
public SAP(Digraph G) { if (G == null) throw new IllegalArgumentException("Null argument"); digraph = new Digraph(G); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SAP(Digraph G){\n if(G == null)\n throw new NullPointerException(\"null arguments\");\n this.G=G;\n }", "public SAP(Digraph G){\n\t D = G;\n }", "public Graph() {\n }", "public SAP(Digraph G) {\n dg = G;\n }", "public DirectedAcyclicGraphImpl() {\r\n super();\r\n topologicalsorting = new TopologicalSorting( this );\r\n }", "public DSAGraph()\n\t{\n\t\tvertices = new DSALinkedList();\n\t\tedgeCount = 0;\n\t}", "public DFSGraph() {\n this(new HashMap<>(), HashMap::new, HashSet::new, HashSet::new);\n }", "public SAP(Digraph G) {this.G = new Digraph(G);}", "public Digraph(Digraph S) {\r\n this.V = S.V();\r\n this.E = 0;\r\n adj = (Bag<Integer>[]) new Bag[V];\r\n \r\n for (int i = 0; i < adj.length; i++) {\r\n adj[i] = new Bag<Integer>();\r\n for (int j : S.adj(i))\r\n addEdge(i, j);\r\n }\r\n }", "public CycleDetector(Graph<V, E> graph)\n {\n this.graph = GraphTests.requireDirected(graph);\n }", "public SAP(Digraph graph) {\n this.graph = graph;\n ancestor = -1;\n distance = Integer.MAX_VALUE;\n }", "public SAP(Digraph G) {\n\n if (G == null) throw new IllegalArgumentException(\"Null graph\");\n\n dg = new Digraph(G);\n\n }", "public Graph() {\r\n\t\tinit();\r\n\t}", "public SAP(Digraph G) {\n\t\tif (G == null)\n\t\t\tthrow new IllegalArgumentException();\n\t\t//create a new deep copy of the input graph, immutable\n\t\tthis.G = new Digraph(G);\n\t}", "public DAGraph(NodeT rootNode) {\n this.parentDAGs = new ArrayList<>();\n this.rootNode = rootNode;\n this.queue = new ConcurrentLinkedQueue<>();\n this.rootNode.setPreparer(true);\n this.addNode(rootNode);\n }", "public static void main(String[] args) {\n\t\tDirectedAcyclicGraph<String, DefaultEdge> dag = new DirectedAcyclicGraph<>(DefaultEdge.class);\r\n\t\t\r\n\t\t//Add some vertices to the DAG and display the contents\r\n\t\tdag.addVertex(\"1\");\r\n\t\tdag.addVertex(\"2\");\r\n\t\tdag.addVertex(\"3\");\r\n\t\tdag.addVertex(\"4\");\r\n\t\tSystem.out.println(dag.toString());\r\n\t\t\r\n\t\t//Properly use the addDagEdge() method and display the contents\r\n\t\ttry {\r\n\t\t\tdag.addDagEdge(\"1\", \"2\");\r\n\t\t\tdag.addDagEdge(\"2\", \"3\");\r\n\t\t\tdag.addDagEdge(\"3\", \"4\");\r\n\t\t} catch (CycleFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tSystem.out.println(dag.toString());\r\n\t\t\r\n\t\t//Purposefully have addDagEdge() throw an exception\r\n\t\ttry {\r\n\t\t\tdag.addDagEdge(\"4\", \"1\");\r\n\t\t} catch (CycleFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\t//Display the contents of the DAG\r\n\t\tSystem.out.println(dag.toString());\r\n\t\t\r\n\t\t//Acknowledge that the addEdge() method can work without a try-catch block\r\n\t\tdag.addEdge(\"2\", \"4\");\r\n\t\t\r\n\t\t//Display the contents of the DAG\r\n\t\tSystem.out.println(dag.toString());\r\n\t\t\r\n\t\t//Show that addEdge() throws an IllegalArgumentException when used improperly\r\n\t\ttry {\r\n\t\t\tdag.addEdge(\"4\", \"1\");\r\n\t\t} catch (IllegalArgumentException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\t//Remove \"4\" from the DAG and display the contents\r\n\t\tdag.removeVertex(\"4\");\r\n\t\tSystem.out.println(dag.toString());\r\n\t\t\r\n\t\t//Add \"4\" and \"5\" and associated edges (3, 4) and (3, 5)\r\n\t\tdag.addVertex(\"4\");\r\n\t\tdag.addVertex(\"5\");\r\n\t\ttry {\r\n\t\t\tdag.addDagEdge(\"3\", \"4\");\r\n\t\t\tdag.addDagEdge(\"3\", \"5\");\r\n\t\t} catch (CycleFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\t//Display the ancestors of \"4\"\r\n\t\tSystem.out.println(dag.getAncestors(dag, \"4\").toString());\r\n\t\t\r\n\t\t//Display the descendants of \"2\"\r\n\t\tSystem.out.println(dag.getDescendants(dag, \"2\").toString());\r\n\t}", "public SubGraph(){\r\n\t\tsuper();\r\n\t}", "public Graph()\r\n {\r\n this( \"x\", \"y\" );\r\n }", "private GraphParser(){ \n\t}", "public GraphInfo(){}", "public SAP(Digraph G) {\n if (G == null) {\n throw new NullPointerException();\n }\n int gV = G.V();\n g = new Digraph(gV);\n for (int v = 0; v < gV; v++) {\n for (int w : G.adj(v)) {\n g.addEdge(v, w);\n }\n }\n }", "public DotGraph(String graphname) {\n this.graphname = graphname;\n this.isSubGraph = false;\n this.nodes = new HashMap<String, DotGraphNode>(100);\n this.drawElements = new LinkedList<Renderable>();\n this.attributes = new LinkedList<DotGraphAttribute>();\n }", "public SAP(final Digraph g) {\n this.digraphObj = g;\n }", "public SegmentTree() {}", "public SAP(Digraph G) throws java.lang.NullPointerException, java.lang.IndexOutOfBoundsException \n\t {\n\t\t if(null==G) throw new java.lang.NullPointerException(\"Digraph argument to SAP is null\");\n\t\t mGraph = G;\n\t\t \n\t }", "public SAP(Digraph G) {\n mG = new Digraph(G); //this.mG = mG;\n }", "public SAP(Digraph G) {\n this.G = new Digraph(G);\n }", "protected GraphNode() {\n }", "protected GraphNode() {\n }", "public Graph(int V) {\r\n \t \t\r\n if (V < 0) throw new IllegalArgumentException(\"Number of vertices in a Digraph must be nonnegative\");\r\n this.V = V;\r\n this.E = 0;\r\n this.indegree = new int[V];\r\n adj = (Bag<Edge>[]) new Bag[V];\r\n for (int v = 0; v < V; v++)\r\n adj[v] = new Bag<Edge>();\r\n }", "public Population(Graph graph)\r\n/* 13: */ {\r\n/* 14:36 */ g = graph.cloneGraph();\r\n/* 15: */ }", "public Graph(boolean p_isDirectedGraph) {\n\t\tisDirectedGraph = p_isDirectedGraph;\n\t}", "public UnmodifiableDirectedGraph(DirectedGraph<V, E> g)\n {\n super(g);\n }", "public SAP(Digraph G) {\n this.G = new Digraph(G);\n test = G.size();\n }", "public SAP(Digraph G) {\n if (G == null) throw new IllegalArgumentException();\n wordGraph = new Digraph(G);\n }", "protected AbstractTreeAdjacencyGraph()\n\t{\n\t\tsuper();\n\t}", "public GraphNode(D data) {\n successors = new ArrayList<>();\n this.data = data;\n }", "public SAP(Digraph G) {\n digraph = G.reverse().reverse();\n }", "public Paths(Graph G, int s)\n {\n ...\n }", "public void buildGraph(){\n\t}", "Graph(int v) {\n V = v;\n adj = new LinkedList[v];\n for (int i = 0; i < v; ++i)\n adj [i] = new LinkedList();\n }", "public DepthFirstSearch(Graph graph, int[] order) {\n // Same as constructor above except for the if statement.\n }", "FractalTree() {\r\n }", "public Builder() {\n this(Graphs.<N, E>createUndirected());\n }", "public Graph(int V)\n {\n this.V = V;\n adj = (Bag<Integer>[]) new Bag[V];\n for (int v = 0; v < V; v++)\n adj[v] = new Bag<Integer>();\n }", "private Moneygraph() {\n super(\"moneygraph\", null);\n }", "public interface IDirectedAcyclicGraph<T> extends Serializable {\n\n /**\n * Adds an edge to the graph.\n *\n * @param from the starting point.\n * @param to the ending point.\n * @return true if the edge was actually added (i.e. not present and didn't\n * create a cycle)\n * @throws NullPointerException if from or to is null\n */\n boolean add(T from, T to) throws NullPointerException;\n\n /**\n * Returns all the nodes that can be reached following the directed edges\n * starting from the selected node. It is guaranteed that the elements are\n * partially ordered by increasing distance from the selected node. If the\n * starting point is not a node in the graph, an empty iterable is returned.\n *\n * @param start the starting point.\n * @return an iterable with all the nodes that can be reached from the\n * starting node.\n * @throws NullPointerException if start is null.\n */\n Iterable<T> followNode(T start) throws NullPointerException;\n\n /**\n * Returns the selected node, followed by all the nodes that can be reached\n * following the directed edges starting from the selected node. It is\n * guaranteed that the elements are partially ordered by increasing distance\n * from the selected node. If the starting point is not a node in the graph,\n * an iterable containing only the starting node is returned.\n *\n * @param start the starting point.\n * @return an iterable which starts with the selected node and is followed\n * by all the connected nodes.\n * @throws NullPointerException if start is null.\n */\n Iterable<T> followNodeAndSelef(T start) throws NullPointerException;\n\n}", "public MultiGraph(boolean directed) {\r\n\t\tsuper(directed ? Type.DIRECTED : Type.UNDIRECTED);\r\n\t}", "Digraph(int v) {\n this.V = v;\n adj = (List<Integer>[]) new ArrayList[V];\n for (int i = 0; i < V; i++) {\n adj[i] = new ArrayList<>();\n }\n }", "public static void main(String[] args) throws InvalidExpressionException,\r\n\t\t\tSDF4JException {\r\n\t\tint nbVertex = 30, minInDegree = 1, maxInDegree = 5, minOutDegree = 1, maxOutDegree = 5;\r\n\t\tSDFtoDAGDemo applet = new SDFtoDAGDemo();\r\n\t\tSDFAdapterDemo applet2 = new SDFAdapterDemo();\r\n\r\n\t\t// Creates a random SDF graph\r\n\t\tint minrate = 1, maxrate = 100;\r\n\t\tSDFRandomGraph test = new SDFRandomGraph();\r\n\r\n\t\tSDFGraph demoGraph = test.createRandomGraph(nbVertex, minInDegree,\r\n\t\t\t\tmaxInDegree, minOutDegree, maxOutDegree, minrate, maxrate);\r\n\t\tGMLSDFImporter importer = new GMLSDFImporter();\r\n\t\ttry {\r\n\t\t\t/*\r\n\t\t\t * demoGraph = importer .parse(new File(\r\n\t\t\t * \"D:\\\\Preesm\\\\trunk\\\\tests\\\\IDCT2D\\\\idct2dCadOptim.graphml\"));\r\n\t\t\t */\r\n\t\t\tdemoGraph = importer\r\n\t\t\t\t\t.parse(new File(\r\n\t\t\t\t\t\t\t\"D:\\\\Preesm\\\\trunk\\\\tests\\\\RACH_Hierarchy\\\\RACH_Hierarchy\\\\flatten.graphml\"));\r\n\t\t} catch (InvalidModelException | FileNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tDAGTransformation<DirectedAcyclicGraph> dageur = new DAGTransformation<DirectedAcyclicGraph>(\r\n\t\t\t\tnew DirectedAcyclicGraph(), DAGVertexFactory.getInstance());\r\n\t\ttry {\r\n\t\t\tdemoGraph.accept(dageur);\r\n\t\t} catch (SDF4JException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tDirectedAcyclicGraph dag = dageur.getOutput();\r\n\t\tCycleDetector<DAGVertex, DAGEdge> detectCycles = new CycleDetector<DAGVertex, DAGEdge>(\r\n\t\t\t\tdag);\r\n\t\tSystem.out.println(\"DAG contains cycles = \"\r\n\t\t\t\t+ detectCycles.detectCycles());\r\n\t\tapplet.init(dag);\r\n\r\n\t\tapplet2.init(demoGraph);\r\n\t}", "public interface DirectedGraph {\n\n /**\n * Set a graph label\n * @param label a graph label\n */\n void setGraphLabel(String label);\n\n /**\n * @return the graph label\n */\n String getGraphLabel();\n\n /**\n * Add a node in graph\n * @param node\n * @throws IllegalArgumentException if node is negative\n */\n void addNode(int node);\n\n /**\n * Associating metadata to node\n * @param node the node id\n * @param key the metadata key\n * @param value the metadata value\n */\n void addNodeMetadata(int node, String key, String value);\n\n /**\n * Get the value of the metadata associated with the given node\n * @param node the node to get metadata for\n * @param key the metadata key\n * @return the value or null if not found\n */\n String getNodeMetadataValue(int node, String key);\n\n /**\n * @return the node given the label or -1 if not found\n */\n int getNodeFromMetadata(String metadata);\n\n /**\n * Add an edge in graph from tail to head and return its index\n * @param tail predecessor node\n * @param head successor node\n * @return the edge id or -1 if already exists\n */\n int addEdge(int tail, int head);\n\n /**\n * Set an edge label\n * @param edge a edge id\n * @param label a node label\n */\n void setEdgeLabel(int edge, String label);\n\n /**\n * @return the edge label\n */\n String getEdgeLabel(int edge);\n\n /**\n * @return an array of graph nodes\n */\n int[] getNodes();\n\n /**\n * @return an array of graph edges\n */\n int[] getEdges();\n\n /**\n * @return the edge id from end points or -1 if not found\n */\n int getEdge(int tail, int head);\n\n /**\n * Get the incoming and outcoming edges for the given nodes\n * @param nodes the nodes\n * @return edge indices\n */\n int[] getEdgesIncidentTo(int... nodes);\n\n /**\n * Get the incoming edges to the given nodes\n * @param nodes the nodes\n * @return edge indices\n */\n int[] getInEdges(int... nodes);\n\n /**\n * Get the outcoming edges from the given nodes\n * @param nodes the nodes\n * @return edge indices\n */\n int[] getOutEdges(int... nodes);\n\n /**\n * @return the tail node of the given edge or -1 if not found\n */\n int getTailNode(int edge);\n\n /**\n * @return the head node of the given edge or -1 if not found\n */\n int getHeadNode(int edge);\n\n /**\n * @return true if node belongs to graph else false\n */\n boolean containsNode(int node);\n\n /**\n * @return true if edge belongs to graph else false\n */\n boolean containsEdge(int edge);\n\n /**\n * @return true if tail -> head edge belongs to graph else false\n */\n boolean containsEdge(int tail, int head);\n\n /**\n * @return ancestors of the given node\n */\n int[] getAncestors(int node);\n\n /**\n * @return descendants of the given node\n */\n int[] getDescendants(int node);\n\n /**\n * @return descendants of the given node\n */\n int[] getDescendants(int node, int maxDepth);\n\n /**\n * @return true if queryDescendant is a descendant of queryAncestor\n */\n boolean isAncestorOf(int queryAncestor, int queryDescendant);\n\n /**\n * @return the predecessors of the given node\n */\n int[] getPredecessors(int node);\n\n /**\n * @return the successors of the given node\n */\n int[] getSuccessors(int node);\n\n /**\n * @return the number of head ends adjacent to the given node\n */\n int getInDegree(int node);\n\n /**\n * @return the number of tail ends adjacent to the given node\n */\n int getOutDegree(int node);\n\n /**\n * @return the sources (indegree = 0) of the graph\n */\n int[] getSources();\n\n /**\n * @return the sinks (outdegree = 0) of the graph\n */\n int[] getSinks();\n\n /**\n * @return the subgraph of this graph composed of given nodes\n */\n DirectedGraph calcSubgraph(int... nodes);\n\n /**\n * @return the total number of graph nodes\n */\n default int countNodes() {\n\n return getNodes().length;\n }\n\n /**\n * @return the total number of graph edges\n */\n default int countEdges() {\n\n return getEdges().length;\n }\n\n /**\n * @return true if queryDescendant is a descendant of queryAncestor\n */\n default boolean isDescendantOf(int queryDescendant, int queryAncestor) {\n\n return isAncestorOf(queryAncestor, queryDescendant);\n }\n\n default boolean isSource(int node) {\n return getInDegree(node) == 0 && getOutDegree(node) > 0;\n }\n\n default boolean isSink(int node) {\n return getInDegree(node) > 0 && getOutDegree(node) == 0;\n }\n\n /**\n * The height of a rooted tree is the length of the longest downward path to a leaf from the root.\n *\n * @return the longest path from the root or -1 if it is not a tree\n */\n default int calcHeight() throws NotATreeException {\n\n int[] roots = getSources();\n\n if (roots.length == 0) {\n throw new NotATreeException();\n }\n\n class WrappedCalcLongestPath {\n private int calcLongestPath(int node, TIntList path) throws CycleDetectedException {\n\n if (!containsNode(node)) {\n throw new IllegalArgumentException(\"node \"+ node + \" was not found\");\n }\n\n if (isSink(node)) {\n return path.size()-1;\n }\n\n TIntList lengths = new TIntArrayList();\n for (int edge : getOutEdges(node)) {\n\n int nextNode = getHeadNode(edge);\n\n TIntList newPath = new TIntArrayList(path);\n newPath.add(nextNode);\n\n if (path.contains(nextNode)) {\n throw new CycleDetectedException(newPath);\n }\n\n lengths.add(calcLongestPath(nextNode, newPath));\n }\n\n return lengths.max();\n }\n }\n\n // it is ok if there are multiple roots (see example of enzyme-classification-cv where it misses the root that\n // connect children EC 1.-.-.-, EC 2.-.-.-, ..., EC 6.-.-.-)\n /*if (roots.length > 1) {\n throw new NotATreeMultipleRootsException(roots);\n }*/\n\n return new WrappedCalcLongestPath().calcLongestPath(roots[0], new TIntArrayList(new int[] {roots[0]}));\n }\n\n class NotATreeException extends Exception {\n\n public NotATreeException() {\n\n super(\"not a tree\");\n }\n }\n\n class NotATreeMultipleRootsException extends NotATreeException {\n\n private final int[] roots;\n\n public NotATreeMultipleRootsException(int[] roots) {\n\n super();\n this.roots = roots;\n }\n\n @Override\n public String getMessage() {\n\n return super.getMessage() + \", roots=\" + Arrays.toString(this.roots);\n }\n }\n\n class CycleDetectedException extends NotATreeException {\n\n private final TIntList path;\n\n public CycleDetectedException(TIntList path) {\n\n super();\n\n this.path = path;\n }\n\n @Override\n public String getMessage() {\n\n return super.getMessage() + \", path=\" + this.path;\n }\n }\n}", "public SAP(Digraph G) {\n if (G == null) throw new NullPointerException();\n this.digraph = new Digraph(G);\n this.lengths = new int[G.V()];\n this.colored = new int[G.V()];\n this.color = 1;\n }", "public static Graph makeMeAGraph(Set<Operation> operations, State init){\n Graph graph = new implementGraph(operations , init) ;\n return graph;\n\n\t //\t throw new NotImplementedException();\n }", "public BreadthFirstTraversal(Graph<V> graph) {\n super(graph);\n }", "Vertex(){}", "public WeightedGraph() {\n super();\n }", "@SuppressWarnings({\"WeakerAccess\", \"unused\"})\npublic interface DiGraph_Interface {\n /*\n Interface: A DIGRAPH will provide this collection of operations:\n\n addNode\n in: unique id number of the node (0 or greater)\n string for name\n you might want to generate the unique number automatically\n but this operation allows you to specify any integer\n both id number and label must be unique\n return: boolean\n returns false if node number is not unique, or less than 0\n returns false if label is not unique (or is null)\n returns true if node is successfully added\n addEdge\n in: unique id number for the new edge,\n label of source node,\n label of destination node,\n weight for new edge (use 1 by default)\n label for the new edge (allow null)\n return: boolean\n returns false if edge number is not unique or less than 0\n returns false if source node is not in graph\n returns false if destination node is not in graph\n returns false is there already is an edge between these 2 nodes\n returns true if edge is successfully added\n\n delNode\n in: string\n label for the node to remove\n out: boolean\n return false if the node does not exist\n return true if the node is found and successfully removed\n delEdge\n in: string label for source node\n string label for destination node\n out: boolean\n return false if the edge does not exist\n return true if the edge is found and successfully removed\n numNodes\n in: nothing\n return: integer 0 or greater\n reports how many nodes are in the graph\n numEdges\n in: nothing\n return: integer 0 or greater\n reports how many edges are in the graph\n topoSort:\n in: nothing\n return: array of node labels (strings)\n if there is no topo sort (a cycle) return null for the array\n if there is a topo sort, return an array containing the node\n labels in order\n */\n\n // ADT operations\n\n boolean addNode(long idNum, String label);\n boolean addEdge(long idNum, String sLabel, String dLabel, long weight, String eLabel);\n boolean delNode(String label);\n boolean delEdge(String sLabel, String dLabel);\n long numNodes();\n long numEdges();\n String[] topoSort();\n}", "private TbusRoadGraph() {}", "public Graph() {\n\t\tthis(new PApplet());\n\t}", "public KdTree() {\n }", "public KdTree() \r\n\t{\r\n\t}", "public BegsBuilder(Graph graph) {\n this.graph = graph;\n }", "void graph2() {\n\t\tconnect(\"1\", \"7\");\n\t\tconnect(\"1\", \"8\");\n\t\tconnect(\"1\", \"9\");\n\t\tconnect(\"9\", \"1\");\n\t\tconnect(\"9\", \"0\");\n\t\tconnect(\"9\", \"4\");\n\t\tconnect(\"4\", \"8\");\n\t\tconnect(\"4\", \"3\");\n\t\tconnect(\"3\", \"4\");\n\t}", "public Builder(GraphConfig config) {\n this(Graphs.<N, E>createUndirected(config));\n }", "public Graph(int numberOfVertices){\r\n this.numberOfVertices = numberOfVertices;\r\n this.adjacencyList = new TreeMap<>();\r\n }", "private CGraphInliner() {\n }", "public DancingNode()\n {\n L=R=U=D=this;\n }", "public Graph()\r\n\t{\r\n\t\tthis.adjacencyMap = new HashMap<String, HashMap<String,Integer>>();\r\n\t\tthis.dataMap = new HashMap<String,E>();\r\n\t}", "public Graph1 (Constraints C, Interface source, Interface target, int controlIn, int controlOut) {\n this.C = C;\n this.source = source;\n this.target = target;\n this.controlIn = controlIn;\n this.controlOut = controlOut;\n left = C.newHVar ();\n right = C.newHVar ();\n bot = C.newVVar ();\n top = C.newVVar ();\n C.gap2 (left,right);\n C.gap1 (controlIn,top);\n C.gap2 (source.topOr(bot),controlIn);\n C.gap1 (bot,source.botOr(controlIn));\n C.gap1 (controlOut,top);\n C.gap2 (target.topOr(bot),controlOut);\n C.gap1 (bot,target.botOr(controlOut));\n }", "public Graph()\n\t{\n\t\tthis.map = new HashMap<Object, SinglyLinkedList>();\n\t}", "public DNode(String s) {\n\t\tString[] parts = s.split(\" @ \");\n\t\tString[] params = parts[0].split(\", \");\n\t\tthis.key = Integer.parseInt(params[0]);\n\t\tthis.location = new Point3D(params[1]);\n\t\tthis.weight = Double.parseDouble(params[2]);\n\t\tthis.info = params[3];\n\t\tthis.tag = Integer.parseInt(params[4]);\n\n\t\tif (parts.length > 1) {\n\t\t\tString[] edges = parts[1].split(\" # \");\n\t\t\tfor (String string : edges) {\n\t\t\t\tDEdge e = new DEdge(string);\n\t\t\t\tif (e.getSrc() == getKey())\n\t\t\t\t\tput(e.getDest(), e);\n\t\t\t\telse\n\t\t\t\t\tthrow new RuntimeException(\"Edge src is \" + e.getSrc() + \" but source node key is \" + getKey());\n\t\t\t}\n\t\t}\n\t}", "private DGraph initFactory(DGraph g) {\n\t\tg= new DGraph();\n\t\tNodeData d0 = new NodeData(0);\n\t\tNodeData d1 = new NodeData(1);\n\t\tNodeData d2 = new NodeData(2);\n\t\tNodeData d3 = new NodeData(3);\n\t\tNodeData d4 = new NodeData(4);\n\t\tg.addNode(d0);\n\t\tg.addNode(d1);\n\t\tg.addNode(d2);\n\t\tg.addNode(d3);\n\t\tg.addNode(d4);\n\t\tg.connect(1, 2, 3);\n\t\tg.connect(2, 1, 4);\n\t\tg.connect(3, 4, 5);\n\t\tg.connect(4,3, 7);\n\t\tg.connect(3,2, 4);\n\t\tg.connect(3,1, 5);\n\t\tg.connect(1,3, 2);\n\t\treturn g;\n\t}", "public OverlayGraph( int protocolID ) {\n\n\tthis.protocolID = protocolID;\n\twireDirected = true;\n}", "public Graph(PApplet p) {\n\t\tvertices = new HashMap<Integer, Vertex>();\n\t\tedges = new HashSet<Edge>();\n\t\tparent = p;\n\t}", "public DefaultDirectedWeightedFlowGraph(DefaultDirectedWeightedGraph<V, E> dWG) {\r\n this.graph = dWG;\r\n\r\n }", "public Node(D d){\n\t\tdata = d;\n\t\tnext = null;\n\t}", "public Graph(Collection<LabeledEdge> edges, Collection<Vertex> vertices) {\n\t\tthis.edges = new HashSet<>(edges);\n\t\tthis.vertices = new HashSet<>(vertices);\n\t\tthis.edgesByStart = new HashMap<>();\n\t\tthis.edgesByEnd = new HashMap<>();\n\t\tthis.edgesByAction = new HashMap<>();\n\t\tthis.searcher = null;\n\t\tfor(Vertex vertex : vertices){\n\t\t\tthis.edgesByStart.put(vertex, new HashSet<LabeledEdge>());\n\t\t\tthis.edgesByEnd.put(vertex, new HashSet<LabeledEdge>());\n\t\t}\n\t\tfor(LabeledEdge trans : edges){\n\t\t\tassert(edgesByStart.keySet().contains(trans.getStart()));\n\t\t\tassert(edgesByEnd.keySet().contains(trans.getEnd()));\n\t\t\tthis.edgesByStart.get(trans.getStart()).add(trans);\n\t\t\tthis.edgesByEnd.get(trans.getEnd()).add(trans);\n\t\t\tif(edgesByAction.get(trans.getLabel()) == null)\n\t\t\t\tedgesByAction.put(trans.getLabel(), new HashSet<LabeledEdge>());\n\t\t\tthis.edgesByAction.get(trans.getLabel()).add(trans);\n\t\t}\n\t}", "public Graphs() {\n graph = new HashMap<>();\n }", "public Graph(){\r\n this.listEdges = new ArrayList<>();\r\n this.listNodes = new ArrayList<>();\r\n this.shown = true;\r\n }", "public Node(){}", "public AcyclicSP(EdgeWeightedDigraph G, int s){\n\t\tif(G==null) throw new IllegalArgumentException(\"Initializes AcyclicSP with null arguments\");\n\t\tedgeTo=new DirectedEdge[G.V()];\n\t\tdistTo=new double[G.V()];\n\t\tfor (int i = 0; i < G.V(); i++) {\n\t\t\tdistTo[i]=Double.POSITIVE_INFINITY;\n\t\t}\n\n\t\tvalidateVertex(s);\n\t\tdistTo[s]=0;\n\t\tTopological topo=new Topological(G);\n\t\tif(!topo.hasOrder()) throw new IllegalArgumentException(\"The digraph is not a DAG\");\n\t\tint rank=topo.rank(s);\n\t\tint count=0;\n\t\tfor(int v:topo.order()){\n\t\t\tif(count++<rank) continue;\n\t\t\tfor(DirectedEdge e:G.adj(v)){\n\t\t\t\trelax(e);\n\t\t\t}\n\t\t}\n\t}", "public Graph(){\n\t\tthis.sizeE = 0;\n\t\tthis.sizeV = 0;\n\t}", "AdjacencyGraph(){\r\n vertices = new HashMap<>();\r\n }", "TripleGraph createTripleGraph();", "public NTree(DirectedGraphVar graph, IntVar nTree) {\n super(new Variable[]{graph, nTree}, graph.getSolver());\n setPropagators(\n new PropNodeDegree_AtLeast(graph, Orientation.SUCCESSORS, 1),\n new PropNodeDegree_AtMost(graph, Orientation.SUCCESSORS, 1),\n new PropKLoops(graph, nTree),\n new PropNTree(graph, nTree));\n this.g = graph;\n this.nTree = nTree;\n }", "public DijkstraAlg(){\n \n }", "Graph(){\n\t\taddNode();\n\t\tcurrNode=myNodes.get(0);\n\t}", "public KdTree() \n\t {\n\t\t \n\t }", "public OpTree(Double d)\n\t{\n\t\tme = ++total;\n\t\tif (DEBUG) System.out.println(\"Terminal Double \" + me);\n\t\top = null;\n\t\tdval = d;\n\t\tleft = null;\n\t\tright = null;\n\t}", "public GraphWrapper() {\n\t\tthis.graph = new Graph<T,E>();\n\t}", "@Test\n\tpublic void testDAG() {\n\t\tDirectedGraph<Integer, DirectedEdge<Integer>> directedGraph = new DirectedGraph<Integer, DirectedEdge<Integer>>();\n\t\tdirectedGraph.addNode(1);\n\t\tdirectedGraph.addNode(2);\n\t\tdirectedGraph.addNode(3);\n\t\tdirectedGraph.addNode(4);\n\t\tdirectedGraph.addNode(5);\n\t\tdirectedGraph.addDirectedEdge(new DirectedEdge<Integer>(1, 2));\n\t\tdirectedGraph.addDirectedEdge(new DirectedEdge<Integer>(1, 3));\n\t\tdirectedGraph.addDirectedEdge(new DirectedEdge<Integer>(2, 3));\n\t\tdirectedGraph.addDirectedEdge(new DirectedEdge<Integer>(4, 5));\n\t\t\n\t\t// tested method calls\n\t\tSet<Integer> reachableNodesFrom1 = service.getReachableNodes(directedGraph, 1);\n\t\tSet<Integer> reachableNodesFrom2 = service.getReachableNodes(directedGraph, 2);\n\t\tSet<Integer> reachableNodesFrom3 = service.getReachableNodes(directedGraph, 3);\n\t\tSet<Integer> reachableNodesFrom4 = service.getReachableNodes(directedGraph, 4);\n\t\tSet<Integer> reachableNodesFrom5 = service.getReachableNodes(directedGraph, 5);\n\t\t\n\t\t// assertions\n\t\tassertEquals(ImmutableSet.of(2, 3), reachableNodesFrom1);\n\t\tassertEquals(ImmutableSet.of(3), reachableNodesFrom2);\n\t\tassertEquals(ImmutableSet.of(), reachableNodesFrom3);\n\t\tassertEquals(ImmutableSet.of(5), reachableNodesFrom4);\n\t\tassertEquals(ImmutableSet.of(), reachableNodesFrom5);\n\t}", "public CycleGraph(int n) {\n for (int i = 1; i < n; i++) {\n super.addEdge(i-1, i);\n }\n if (n > 1) {\n super.addEdge(n - 1, 0);\n } else {\n super.addVertex(0);\n }\n }", "Graph testGraph();", "public DigraphDFS(Digraph G, int s) {\n\t\t// TODO Auto-generated constructor stub\n\t\tthis.s = s;\n\t\tdfs(G, s);\n\t}", "public DepthFirst(Graph g,JTextArea output) {\n\t\tsuper();\n\t\tthis.g=g;\n\t\tthis.output=output;\n\t\tthis.output.setText(\"\");\n\n\t}", "public Graph(Scanner scanner) {\n this(scanner.nextInt());\n int m = scanner.nextInt();\n for (int i = 0; i < m; i++) {\n int v = scanner.nextInt();\n int w = scanner.nextInt();\n int d = scanner.nextInt();\n addEdge(v, w, d);\n addEdge(w, v, d);\n }\n }", "public Edge() {}", "DListNode2(Object vertex1) {\r\n vertex = vertex1;\r\n list = null;\r\n prev = null;\r\n next = null;\r\n }", "public void setGraph(Graph<V,E> graph);", "public Graph(String start, String end) {\n findCoordinates(findTime(start, end));\n constructGraph();\n }" ]
[ "0.6640421", "0.6630493", "0.65514934", "0.65160316", "0.6463584", "0.6440975", "0.6422284", "0.6411625", "0.6388404", "0.63650614", "0.6343446", "0.63179904", "0.62340343", "0.6220592", "0.6170666", "0.61674494", "0.60760045", "0.60664535", "0.605459", "0.60461426", "0.60302883", "0.5958419", "0.5952498", "0.5936183", "0.5913368", "0.59042746", "0.59030706", "0.58934367", "0.58934367", "0.5893191", "0.5891945", "0.5845723", "0.5824462", "0.58207726", "0.58173364", "0.58029014", "0.5796708", "0.5763507", "0.5752868", "0.5749308", "0.5741441", "0.57270646", "0.5690923", "0.5689616", "0.56682634", "0.5663818", "0.56422806", "0.5620637", "0.56106263", "0.56096053", "0.56015664", "0.5597144", "0.5585639", "0.5550047", "0.554571", "0.55106986", "0.55046964", "0.54989636", "0.5495625", "0.5494617", "0.54861695", "0.54845065", "0.5482269", "0.5477874", "0.5461656", "0.54489696", "0.54430765", "0.54334337", "0.54212534", "0.54157203", "0.54117966", "0.5406728", "0.5399933", "0.5392795", "0.5388681", "0.5386454", "0.53852046", "0.5383414", "0.53659135", "0.5364253", "0.5357651", "0.5354792", "0.5351591", "0.5347608", "0.53423816", "0.53397405", "0.5338951", "0.5337124", "0.53344405", "0.53273267", "0.5317447", "0.5313296", "0.5308899", "0.5306684", "0.5296829", "0.5296478", "0.5295591", "0.5290131", "0.5285954", "0.52848893" ]
0.59743154
21
length of shortest ancestral path between v and w; 1 if no such path
public int length(int v, int w) { if (v < 0 || v >= digraph.V() || w < 0 || w >= digraph.V()) throw new IllegalArgumentException("Null argument"); int candidate = Integer.MAX_VALUE; ancestor = Integer.MAX_VALUE; bfsV = new BreadthFirstDirectedPathsFast(digraph, v); bfsW = new BreadthFirstDirectedPathsFast(digraph, w); for (int i = 0; i < digraph.V(); ++i) { if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) { int distV = bfsV.distTo(i); int distW = bfsW.distTo(i); if (distV + distW < candidate) { candidate = distV + distW; ancestor = i; } } } return candidate == Integer.MAX_VALUE ? -1 : candidate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int length(int v, int w){\n shortestPath(v,w);\n return minPath;\n }", "public int length(int v, int w) {\r\n if (v < 0 || w < 0 || v >= G.V() || w >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n shortestDist = (shortestDist <= bfdp1.distTo(i) + bfdp2.distTo(i)) ? shortestDist : bfdp1.distTo(i) + bfdp2.distTo(i);\r\n }\r\n }\r\n return (shortestDist == Integer.MAX_VALUE) ? -1: shortestDist;\r\n }", "public int length(int v, int w) {\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n if (anc == -1) minLen = -1;\n return minLen;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\r\n for (Integer vTmp : v) {\r\n if (vTmp < 0 || vTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n for (Integer wTmp : w) {\r\n if (wTmp < 0 || wTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n shortestDist = (shortestDist <= bfdp1.distTo(i) + bfdp2.distTo(i)) ? shortestDist: bfdp1.distTo(i) + bfdp2.distTo(i);\r\n }\r\n }\r\n return (shortestDist == Integer.MAX_VALUE) ? -1 : shortestDist;\r\n }", "public int length(int v, int w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n }\n }\n return min == Integer.MAX_VALUE ? -1 : min;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w){\n if(v == null || w == null)\n throw new NullPointerException(\"null arguments\");\n shortestPath(v,w);\n return minPath;\n }", "public int length(int v, int w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n int shortestPath = -1;\n Deque<Integer> ancestors = new ArrayDeque<>();\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer integer : ancestors) {\n int path = bfsV.distTo(integer) + bfsW.distTo(integer);\n if (shortestPath == -1 || path < shortestPath) {\n shortestPath = path;\n }\n }\n return shortestPath;\n }", "public int length(int v, int w) {\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n }\n }\n }\n return len;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n int shortestPath = -1;\n Deque<Integer> ancestors = new ArrayDeque<>();\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer integer : ancestors) {\n int path = bfsV.distTo(integer) + bfsW.distTo(integer);\n if (shortestPath == -1 || path < shortestPath) {\n shortestPath = path;\n }\n }\n return shortestPath;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) {\n throw new NullPointerException();\n }\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n if (anc == -1) minLen = -1;\n return minLen;\n }", "public int length(int v, int w){\n\t BreadthFirstDirectedPaths BFSv =new BreadthFirstDirectedPaths(D,v);\n\t BreadthFirstDirectedPaths BFSw =new BreadthFirstDirectedPaths(D,w);\n\t \n\t int distance = Integer.MAX_VALUE;\n\t \n\t for (int vertex = 0 ; vertex < D.V();vertex++)\n\t\t if ((BFSv.hasPathTo(vertex))\n\t\t\t\t &&(BFSw.hasPathTo(vertex))\n\t\t\t\t &&(BFSv.distTo(vertex)+BFSw.distTo(vertex))<distance)\n\t\t {\n\t\t\t distance = BFSv.distTo(vertex)+BFSw.distTo(vertex);\n\t\t }\n\t if (distance != Integer.MAX_VALUE)\n\t\t return distance;\n\t else\n\t\t return -1;\n }", "public int length(int v, int w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n if (commonAncestor == -1) return commonAncestor;\n else return bfdV.distTo(commonAncestor) + bfdW.distTo(commonAncestor);\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n }\n }\n return min == Integer.MAX_VALUE ? -1 : min;\n }", "public int length(int v, int w) {\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\t\n\t\treturn (dsap == INFINITY) ? -1 : dsap;\n\t}", "public int length(final int v, final int w) {\n\n validateVertex(v);\n validateVertex(w);\n\n final BreadthFirstDirectedPaths bfdvObj = new BreadthFirstDirectedPaths(digraphObj, v);\n final BreadthFirstDirectedPaths bfdwObj = new BreadthFirstDirectedPaths(digraphObj, w);\n\n int infinity = Integer.MAX_VALUE;\n \n for (int vertex = 0; vertex < digraphObj.V(); vertex++) {\n if (bfdvObj.hasPathTo(vertex) && bfdwObj.hasPathTo(vertex)) {\n final int dist = bfdvObj.distTo(vertex) + bfdwObj.distTo(vertex);\n if (dist <= infinity) {\n infinity = dist;\n }\n }\n }\n\n return (infinity == Integer.MAX_VALUE) ? -1 : infinity;\n }", "public int length(int v, int w) {\n\n if (v < 0 || v >= dg.V() || w < 0 || w >= dg.V())\n throw new IllegalArgumentException(\"vertex is not between 0 and \" + (dg.V() - 1));\n\n// ancestor(v,w);\n\n // use bfs to find the path and the shortest distance from v to every vertices in the graph\n // use two arrays, one record the last vertex, edgeTo[]. Another record the distance, distTo[].\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n int ancestor = ancestor(v, w);\n\n if (ancestor == -1) {\n return -1;\n } else {\n return bfs1.distTo(ancestor) + bfs2.distTo(ancestor);\n }\n\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n if (commonAncestor == -1) return commonAncestor;\n else return bfdV.distTo(commonAncestor) + bfdW.distTo(commonAncestor);\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) throw new IllegalArgumentException();\n for (Integer x : v) {\n if (x == null) throw new IllegalArgumentException();\n }\n for (Integer x : w) {\n if (x == null) throw new IllegalArgumentException();\n }\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n }\n }\n }\n return len;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n\t\tif (v == null || w == null)\n\t\t\tthrow new IllegalArgumentException();\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\t\n\t\treturn (dsap == INFINITY) ? -1 : dsap;\n\t}", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n\n validateIterableVertices(v);\n validateIterableVertices(w);\n // use bfs to find the path and the shortest distance from v to every vertices in the graph\n // use two arrays, one record the last vertex, edgeTo[]. Another record the distance, distTo[].\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n int ancestor = ancestor(v, w);\n\n if (ancestor == -1) {\n return -1;\n } else {\n return bfs1.distTo(ancestor) + bfs2.distTo(ancestor);\n }\n\n }", "public int length(int v, int w) {\n Paths sapComponents = sap(v, w);\n return sapComponents == null ? NO_ANCESTOR : sapComponents.length();\n }", "public int length(int v, int w) throws java.lang.NullPointerException, java.lang.IndexOutOfBoundsException \n\t {\n\t\t if(null==mGraph) throw new java.lang.NullPointerException(\"Null graph in SAP\");\n\t\t if ( (v<0 || v >= mGraph.V()) || (w<0 || w >= mGraph.V()) ) throw new java.lang.IndexOutOfBoundsException(\"index out of band\");\n\t\t \n\t\t Bag<Integer> vBag = new Bag<Integer>();\n\t\t Bag<Integer> wBag = new Bag<Integer>();\n\t\t vBag.add(v);\n\t\t wBag.add(w);\n\t\t return getAncestors(vBag,wBag).mDistance;\n\t }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) throw new IllegalArgumentException(\"Null argument\");\n for (Integer each : v) {\n if (each == null) throw new IllegalArgumentException(\"Null argument\");\n }\n for (Integer each : w) {\n if (each == null) throw new IllegalArgumentException(\"Null argument\");\n }\n int candidate = Integer.MAX_VALUE;\n ancestorMultiple = Integer.MAX_VALUE;\n bfsV = new BreadthFirstDirectedPathsFast(digraph, v);\n bfsW = new BreadthFirstDirectedPathsFast(digraph, w);\n for (int i = 0; i < digraph.V(); ++i) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n int distV = bfsV.distTo(i);\n int distW = bfsW.distTo(i);\n if (distV + distW < candidate) {\n candidate = distV + distW;\n ancestorMultiple = i;\n }\n }\n }\n return candidate == Integer.MAX_VALUE ? -1 : candidate;\n }", "public int length(int v, int w) {\n return (distance == Integer.MAX_VALUE) ? -1 : distance;\n }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n return anc;\n }", "public int length(int v, int w) {\n int[] res = shortest(v, w);\n return res[0] + text;\n }", "int getShortestDistance(V vertex);", "public int length(int v, int w) {\n inBound(v);\n inBound(w);\n\n Queue<ColoredNode> Q = new LinkedList<>();\n lengths[v] = lengths[w] = 0;\n colored[v] = color++;\n Q.add(new ColoredNode(colored[v], v));\n\n if (color - 1 == colored[w]) {\n ancestor = v;\n return 0;\n }\n\n colored[w] = color++;\n Q.add(new ColoredNode(colored[w], w));\n\n return BFS(Q);\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n Paths sapComponents = sap(v, w);\n return sapComponents == null ? NO_ANCESTOR : sapComponents.length();\n }", "public int ancestor(int v, int w) {\n\n if (v < 0 || v >= dg.V() || w < 0 || w >= dg.V())\n throw new IllegalArgumentException(\"vertex is not between 0 and \" + (dg.V() - 1));\n\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n Stack<Integer> candidates = new Stack<>();\n\n for (int p = 0; p < dg.V(); p++) {\n if (bfs1.hasPathTo(p) && bfs2.hasPathTo(p)) {\n candidates.push(p);\n }\n }\n\n int shortesAncestor = -1;\n int shortesPath = Integer.MAX_VALUE;\n\n while (!candidates.isEmpty()) {\n int c = candidates.pop();\n if (shortesPath > bfs1.distTo(c) + bfs2.distTo(c)) {\n shortesPath = bfs1.distTo(c) + bfs2.distTo(c);\n shortesAncestor = c;\n }\n }\n\n return shortesAncestor;\n\n }", "private Paths sap(int v, int w) {\n validate(v);\n validate(w);\n BreadthFirstDirectedPaths fromV = new BreadthFirstDirectedPaths(this.G, v);\n BreadthFirstDirectedPaths fromW = new BreadthFirstDirectedPaths(this.G, w);\n return processPaths(fromV, fromW);\n }", "public int ancestor(int v, int w) {\r\n if (v < 0 || w < 0 || v >= G.V() || w >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n int shortestDistIndex = -1;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n if (shortestDist > bfdp1.distTo(i) + bfdp2.distTo(i)) {\r\n shortestDist = bfdp1.distTo(i) + bfdp2.distTo(i);\r\n shortestDistIndex = i;\r\n }\r\n }\r\n }\r\n return shortestDistIndex;\r\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null)\n throw new NullPointerException();\n for (int i : v) inBound(i);\n for (int i : w) inBound(i);\n\n Queue<ColoredNode> Q = new LinkedList<>();\n for (int i : v) {\n lengths[i] = 0;\n colored[i] = color;\n Q.add(new ColoredNode(color, i));\n }\n color ++;\n for (int i : w) {\n lengths[i] = 0;\n if (colored[i] == color - 1) {\n ancestor = i;\n return 0;\n }\n colored[i] = color;\n Q.add(new ColoredNode(color, i));\n }\n color++;\n\n return BFS(Q);\n }", "public int length(int v, int w) {\n return calcLengthAndAncestor(v, w)._1;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) {\n throw new NullPointerException();\n }\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n return anc;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n int [] res = shortest(v, w);\n return res[0];\n }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n int a = -1;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n a = i;\n }\n }\n return a;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n return (distance == Integer.MAX_VALUE)? -1 : distance;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\r\n for (Integer vTmp : v) {\r\n if (vTmp < 0 || vTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n for (Integer wTmp : w) {\r\n if (wTmp < 0 || wTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n int shortestDistIndex = -1;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n if (shortestDist > bfdp1.distTo(i) + bfdp2.distTo(i)) {\r\n shortestDist = bfdp1.distTo(i) + bfdp2.distTo(i);\r\n shortestDistIndex = i;\r\n }\r\n }\r\n }\r\n return shortestDistIndex;\r\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n\n\n validateIterableVertices(v);\n validateIterableVertices(w);\n\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n Stack<Integer> candidates = new Stack<>();\n\n for (int p = 0; p < dg.V(); p++) {\n if (bfs1.hasPathTo(p) && bfs2.hasPathTo(p)) {\n candidates.push(p);\n }\n }\n\n int shortesAncestor = -1;\n int shortesPath = Integer.MAX_VALUE;\n\n while (!candidates.isEmpty()) {\n int c = candidates.pop();\n if (shortesPath > bfs1.distTo(c) + bfs2.distTo(c)) {\n shortesPath = bfs1.distTo(c) + bfs2.distTo(c);\n shortesAncestor = c;\n }\n }\n\n return shortesAncestor;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) throws java.lang.NullPointerException, java.lang.IndexOutOfBoundsException \n\t {\n\t\t if(null==v || null==w) throw new java.lang.NullPointerException(\"null argument to lenght, v=\"+v+\" w=\"+w);\n\t\t \n\t\t return getAncestors(v,w).mDistance;\n\t }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int ancestor = -1;\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n }\n }\n return ancestor;\n }", "public int ancestor(int v, int w){\n\t BreadthFirstDirectedPaths BFSv =new BreadthFirstDirectedPaths(D,v);\n\t BreadthFirstDirectedPaths BFSw =new BreadthFirstDirectedPaths(D,w);\n\t \n\t int distance = Integer.MAX_VALUE;\n\t int ancestor = -1;\n\t for (int vertex = 0 ; vertex < D.V();vertex++)\n\t\t if ((BFSv.hasPathTo(vertex))\n\t\t\t\t &&(BFSw.hasPathTo(vertex))\n\t\t\t\t &&(BFSv.distTo(vertex)+BFSw.distTo(vertex))<distance)\n\t\t {\n\t\t\t ancestor = vertex;\n\t\t\t distance = BFSv.distTo(vertex)+BFSw.distTo(vertex);\n\t\t }\n\n\t\t return ancestor;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n int a = -1;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n a = i;\n }\n }\n return a;\n }", "public abstract int shortestPathDistance(String vertLabel1, String vertLabel2);", "private int[] shortest(int w, int v) {\n int[] res = new int[2];\n DeluxeBFS wBFS = new DeluxeBFS(G, w);\n DeluxeBFS vBFS = new DeluxeBFS(G, v);\n boolean[] wMarked = wBFS.getMarked();\n boolean[] vMarked = vBFS.getMarked();\n int minDis = Integer.MAX_VALUE;\n int anc = Integer.MAX_VALUE;\n \n for (int i = 0; i < wMarked.length; i++) {\n if (wMarked[i] && vMarked[i]) {\n int dis = wBFS.distTo(i) + vBFS.distTo(i);\n if (dis < minDis) {\n minDis = dis;\n anc = i;\n }\n }\n }\n if (minDis == Integer.MAX_VALUE) {\n res[0] = -1;\n res[1] = -1;\n return res;\n } else {\n res[0] = minDis;\n res[1] = anc;\n return res;\n }\n }", "private Paths sap(Iterable<Integer> v, Iterable<Integer> w) {\n for (int vertex : v) validate(vertex);\n for (int vertex : w) validate(vertex);\n BreadthFirstDirectedPaths fromV = new BreadthFirstDirectedPaths(this.G, v);\n BreadthFirstDirectedPaths fromW = new BreadthFirstDirectedPaths(this.G, w);\n return processPaths(fromV, fromW);\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w){\n\t int[] distanceV,distanceW;\n\t boolean[] markV,markW;\n\t \n\t return 0;\n }", "public void shortestPathsNodes() {\n for (int sourceNode = 0; sourceNode < wordGraph.V(); sourceNode++) {\n BreadthFirstDirectedPaths bfs = new BreadthFirstDirectedPaths(wordGraph, sourceNode);\n\n for (int goalNode = 0; goalNode < wordGraph.V(); goalNode++) {\n Iterable<Integer> shortestPath = bfs.pathTo(goalNode);\n int pathLength = -1;\n if (shortestPath != null) {\n for (int edge : shortestPath) {\n pathLength++;\n }\n }\n if (pathLength != -1) {\n }\n System.out.println(pathLength);\n }\n }\n }", "List<V> getShortestPath(V vertex);", "public int ancestor(final int v, final int w) {\n\n validateVertex(v);\n validateVertex(w);\n\n if (v == w) {\n return v;\n }\n\n final BreadthFirstDirectedPaths bfdvObj = new BreadthFirstDirectedPaths(digraphObj, v);\n final BreadthFirstDirectedPaths bfdwObj = new BreadthFirstDirectedPaths(digraphObj, w);\n \n int infinity = Integer.MAX_VALUE;\n int ances = -1;\n\n for (int vertex = 0; vertex < digraphObj.V(); vertex++) {\n if (bfdvObj.hasPathTo(vertex) && bfdwObj.hasPathTo(vertex)) {\n final int dist = bfdvObj.distTo(vertex) + bfdwObj.distTo(vertex);\n if (dist <= infinity) {\n infinity = dist;\n ances = vertex;\n }\n }\n }\n\n return ances;\n }", "public int ancestor(int v, int w){\n shortestPath(v,w);\n return ca;\n }", "boolean hasPathTo(int v)\n\t{\n\t\treturn edgeTo[v].weight()!=Double.POSITIVE_INFINITY;\n\t}", "double distance(long v, long w) {\n double vlon = adj.get(v).get(0).Lon;\n double vlat = adj.get(v).get(0).Lat;\n double wlon = adj.get(w).get(0).Lon;\n double wlat = adj.get(w).get(0).Lat;\n double lonDist = vlon - wlon;\n double latDist = vlat - wlat;\n return Math.sqrt(lonDist * lonDist + latDist * latDist);\n }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n return commonAncestor;\n }", "double estimatedDistanceToGoal(Vertex s, Vertex goal);", "public int ancestor(int v, int w) {\n if (v < 0 || v >= digraph.V() || w < 0 || w >= digraph.V())\n throw new IllegalArgumentException(\"Null argument\");\n int candidate = Integer.MAX_VALUE;\n ancestor = Integer.MAX_VALUE;\n bfsV = new BreadthFirstDirectedPathsFast(digraph, v);\n bfsW = new BreadthFirstDirectedPathsFast(digraph, w);\n for (int i = 0; i < digraph.V(); ++i) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n int distV = bfsV.distTo(i);\n int distW = bfsW.distTo(i);\n if (distV + distW < candidate) {\n candidate = distV + distW;\n ancestor = i;\n }\n }\n }\n return ancestor == Integer.MAX_VALUE ? -1 : ancestor;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n int nopath = -1;\n int length = Integer.MAX_VALUE;\n for (int i1 : v) {\n for (int i2 : w) {\n int ancestor = ancestor(i1, i2);\n if (length >= length(i1, i2)) {\n length = distance;\n nopath = ancestor;\n }\n }\n }\n distance = length;\n return nopath;\n }", "public boolean hasPathTo(int v){\n\t\tvalidateVertex(v);\n\t\treturn distTo[v]<Double.POSITIVE_INFINITY;\n\t}", "public int length(int v, int w) {\n int[] ret = new int[2];\n ArrayList<Integer> vl = new ArrayList<Integer>(1);\n vl.add(v);\n ArrayList<Integer> wl = new ArrayList<Integer>(1);\n wl.add(w);\n sap(vl, wl, ret);\n return ret[1];\n }", "static void FindPath(vertex s, vertex[] array){\r\n\t\tvertex v; \r\n\t\tint min = Integer.MAX_VALUE;\r\n\t\t//node wN; vertex wV; //wN= adjacent node in LinkedList; wV= find the values in the vertices for wL\r\n\t\tint j =0;\r\n\t\ts.known = true;\r\n\t\ts.dist = 0;\r\n\t\tShortestPath(s, array);\r\n\t\r\n\t\twhile(j<array.length-1 ){ //&& array[j].known== false){\r\n\t\t\tint count = 0; \r\n\t\t\tmin = Integer.MAX_VALUE;\r\n\t\t\tfor(int i = 0; i<array.length; i++){\r\n\t\t\t\tif(array[i].known== false && array[i].dist < min){\r\n\t\t\t\t\tmin = array[i].dist;\r\n\t\t\t\t\tcount = i;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tv = array[count];\r\n //System.out.println(\"count: \" + count + \"Next v: \" + v.name);\r\n\t\t\tShortestPath(v, array);\r\n\t\t\tj++; \t\t\r\n }\r\n\t}", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) throw new IllegalArgumentException();\n for (Integer x : v) {\n if (x == null) throw new IllegalArgumentException();\n }\n for (Integer x : w) {\n if (x == null) throw new IllegalArgumentException();\n }\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int ancestor = -1;\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n }\n }\n return ancestor;\n }", "public int shortestPath(Village startVillage, Village targetVillage) {\n// setting the initial point 's minimum distance to zera\n startVillage.setMinDistance(0);\n// accourting to bellman ford if there are n number of dots then n-1 iterations to be done to find the minimum distances of every dot from one initial dot\n int length = this.villageList.size();\n// looping n-1 times\n for (int i = 0; i < length - 1; i++) {\n// looping through all the roads and mark the minimum distances of all the possible points\n for (Road road : roadList) {\n\n\n// if the road is a main road then skip the path\n if (road.getWeight() == 900)\n continue; //why 900 ? : just a random hightest number as a minimum distance and same 900 is used as a mix number\n Village v = road.getStartVertex();\n Village u = road.getTargetVertex();\n// if the newly went path is less than the path it used to be the update the min distance of the reached vertex\n int newLengtha = v.getMinDistance() + road.getWeight();\n if (newLengtha < u.getMinDistance()) {\n u.setMinDistance(newLengtha);\n u.setPreviousVertex(v);\n }\n int newLengthb = u.getMinDistance() + road.getWeight();\n if (newLengthb < v.getMinDistance()) {\n v.setMinDistance(newLengthb);\n v.setPreviousVertex(v);\n }\n }\n }\n// finally return the minimum distance\n return targetVillage.getMinDistance();\n }", "public int ancestor(int v, int w) {\n bfsV = new BreadthFirstDirectedPaths(graph, v);\n bfsW = new BreadthFirstDirectedPaths(graph, w);\n distance = Integer.MAX_VALUE;\n for (int i = 0; i < graph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n if (distance >= (bfsV.distTo(i) + bfsW.distTo(i))) {\n distance = bfsV.distTo(i) + bfsW.distTo(i);\n ancestor = i;\n }\n }\n }\n return ancestor;\n }", "private void calculate() {\n\t\tList<Edge> path = new ArrayList<>();\n\t\tPriorityQueue<Vert> qv = new PriorityQueue<>();\n\t\tverts[s].dist = 0;\n\t\tqv.add(verts[s]);\n\t\twhile (!qv.isEmpty()) {\n\t\t\tVert v = qv.poll();\n\t\t\tint vidx = v.idx;\n\t\t\tfor (Edge e : v.edges) {\n\t\t\t\tif (e.w==0) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tVert vo = verts[e.other(vidx)];\n\t\t\t\tif (vo.dist > v.dist + e.w) {\n\t\t\t\t\tvo.dist = v.dist + e.w;\n\t\t\t\t\tqv.add(vo);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (verts[t].dist < L) {\n\t\t\tok = false;\n\t\t\treturn;\n\t\t} else if (verts[t].dist == L) {\n\t\t\tok = true;\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tif (edges[i].w == 0) {\n\t\t\t\t\tedges[i].w = MAX_DIST;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\t// replace 0 with 1, adding to za list\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tif (edges[i].w == 0) {\n\t\t\t\tza[i] = true;\n\t\t\t\tedges[i].w = 1;\n\t\t\t} else {\n\t\t\t\tza[i] = false;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// looking for shortest path from s to t with 0\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tif (i != s) {\n\t\t\t\tverts[i].dist = MAX_DIST;\n\t\t\t}\n\t\t}\n\t\tqv.clear();\n\t\tqv.add(verts[s]);\n\t\twhile (!qv.isEmpty()) {\n\t\t\tVert v = qv.poll();\n\t\t\tint vidx = v.idx;\n\t\t\tfor (Edge e : v.edges) {\n\t\t\t\tVert vo = verts[e.other(vidx)];\n\t\t\t\tif (vo.dist > v.dist + e.w) {\n\t\t\t\t\tvo.dist = v.dist + e.w;\n\t\t\t\t\tqv.add(vo);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (verts[t].dist > L) {\n\t\t\tok = false;\n\t\t\treturn;\n\t\t}\n\t\tVert v = verts[t];\n\t\twhile (v.dist > 0) {\n\t\t\tlong minDist = MAX_DIST;\n\t\t\tVert vMin = null;\n\t\t\tEdge eMin = null;\n\t\t\tfor (Edge e : v.edges) {\n\t\t\t\tVert vo = verts[e.other(v.idx)];\n\t\t\t\tif (vo.dist+e.w < minDist) {\n\t\t\t\t\tvMin = vo;\n\t\t\t\t\teMin = e;\n\t\t\t\t\tminDist = vMin.dist+e.w;\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t\tv = vMin;\t\n\t\t\tpath.add(eMin);\n\t\t}\n\t\tCollections.reverse(path);\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tif (za[i]) {\n\t\t\t\tedges[i].w = MAX_DIST;\n\t\t\t}\n\t\t}\n\t\tlong totLen=0;\n\t\tboolean wFixed = false;\n\t\tfor (Edge e : path) {\n\t\t\ttotLen += (za[e.idx] ? 1 : e.w);\n\t\t}\n\t\tfor (Edge e : path) {\n\t\t\tif (za[e.idx]) {\n\t\t\t\tif (!wFixed) {\n\t\t\t\t\te.w = L - totLen + 1;\n\t\t\t\t\twFixed = true;\n\t\t\t\t} else {\n\t\t\t\t\te.w = 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tok = true;\n\t}", "public int shortestPathLength(int[][] graph) {\n Queue<MyPath> q = new LinkedList<>();\n Set<String> visited = new HashSet<>();\n\n for (int i = 0; i < graph.length; i++) {\n MyPath path = new MyPath(i, (1 << i));\n visited.add(path.convertToString());\n q.offer(path);\n }\n\n int length = 0;\n while (!q.isEmpty()) {\n int size = q.size();\n while (size-- > 0) {\n MyPath next = q.poll();\n int curr = next.curr;\n int currPath = next.nodes;\n // Assume we have two nodes -> n = 2\n // 1 << 2 -> 100\n // 100 - 1 -> 011 which means both nodes are visited\n if (currPath == (1 << graph.length) - 1) {\n return length;\n }\n for (int neighbors : graph[curr]) {\n MyPath newPath = new MyPath(neighbors, currPath | (1 << neighbors));\n String pathString = newPath.convertToString();\n if (visited.add(pathString)) {\n q.offer(newPath);\n }\n }\n }\n length++;\n }\n\n return -1;\n }", "public int ancestor(int v, int w) {\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, ancestor = -1, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tancestor = vertex;\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\t\n\t\treturn (dsap == INFINITY) ? -1 : ancestor;\n\t}", "public int ancestor(int v, int w) {\n int[] res = shortest(v, w);\n return res[1];\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n return commonAncestor;\n }", "@Test\n public void testShortestDistance() {\n Vertex v1 = new Vertex(1, \"A\");\n Vertex v2 = new Vertex(2, \"B\");\n Vertex v3 = new Vertex(3, \"C\");\n\n Edge<Vertex> e1 = new Edge<>(v1, v2, 1);\n Edge<Vertex> e2 = new Edge<>(v2, v3, 3);\n Edge<Vertex> e3 = new Edge<>(v1, v3, 2);\n\n Graph<Vertex, Edge<Vertex>> g = new Graph<>();\n g.addVertex(v1);\n g.addVertex(v2);\n g.addVertex(v3);\n g.addEdge(e1);\n g.addEdge(e2);\n g.addEdge(e3);\n\n List<Vertex> expectedPath = new ArrayList<>();\n expectedPath.add(v1);\n expectedPath.add(v3);\n assertEquals(expectedPath, g.shortestPath(v1, v3));\n\n assertEquals(6, g.edgeLengthSum());\n }", "public String findDistanceOfPath(String[] vertices) {\r\n String source = vertices[0];\r\n int distance = 0;\r\n for (int i = 1; i < vertices.length; i++) {\r\n String target = vertices[i];\r\n Map<String, Integer> edgeMap = adj.get(source);\r\n if (edgeMap != null && edgeMap.containsKey(target)) {\r\n distance += edgeMap.get(target);\r\n } else {\r\n return \"NO SUCH ROUTE\";\r\n }\r\n source = target;\r\n }\r\n return String.valueOf(distance);\r\n }", "void query(int u, int v) {\n int lca = lca2(u, v, spar, dep);\n// out.println(query_up(u, lca) + \" dv\");\n// out.println(query_up(v, lca) + \" ds\");\n int ans = query_up(u, lca) + query_up(v, lca); // One part of path\n out.println(ans);\n// if (temp > ans) ans = temp; // take the maximum of both paths\n// printf(\"%d\\n\", ans);\n }", "public static void computePaths(Vertex source){\n\t\tsource.minDistance=0;\n\t\t//visit each vertex u, always visiting vertex with smallest minDistance first\n\t\tPriorityQueue<Vertex> vertexQueue=new PriorityQueue<Vertex>();\n\t\tvertexQueue.add(source);\n\t\twhile(!vertexQueue.isEmpty()){\n\t\t\tVertex u = vertexQueue.poll();\n\t\t\tSystem.out.println(\"For: \"+u);\n\t\t\tfor (Edge e: u.adjacencies){\n\t\t\t\tVertex v = e.target;\n\t\t\t\tSystem.out.println(\"Checking: \"+u+\" -> \"+v);\n\t\t\t\tdouble weight=e.weight;\n\t\t\t\t//relax the edge (u,v)\n\t\t\t\tdouble distanceThroughU=u.minDistance+weight;\n\t\t\t\tif(distanceThroughU<v.minDistance){\n\t\t\t\t\tSystem.out.println(\"Updating minDistance to \"+distanceThroughU);\n\t\t\t\t\tv.minDistance=distanceThroughU;\n\t\t\t\t\tv.previous=u;\n\t\t\t\t\t//move the vertex v to the top of the queue\n\t\t\t\t\tvertexQueue.remove(v);\n\t\t\t\t\tvertexQueue.add(v);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public int ancestor(int v, int w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n int closestAncestor = -1;\n int shortestPath = Integer.MAX_VALUE;\n Deque<Integer> ancestors = new ArrayDeque<>();\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer integer : ancestors) {\n if ((bfsV.distTo(integer) + bfsW.distTo(integer)) < shortestPath) {\n shortestPath = (bfsV.distTo(integer) + bfsW.distTo(integer));\n closestAncestor = integer;\n }\n }\n return closestAncestor;\n }", "public double shortestPathDist(int src, int dest);", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n return calcLengthAndAncestor(v, w)._1;\n }", "public int pathLength(V from, V to) {\n\n if (from.equals(null) || to.equals(null)){\n throw new IllegalArgumentException();\n }\n\n HashMap <V, Integer> distances = new HashMap<>();\n if (!hasPath(from, to)){\n return Integer.MAX_VALUE;\n }\n\n if (from.equals(to)){\n return 0;\n }\n\n distances.put(from, 0);\n\n Queue<V> queue = new LinkedList<>();\n queue.add(from);\n\n while (!queue.isEmpty()){\n\n V curr_ver = queue.poll();\n ArrayList<V> neighbors = graph.get(curr_ver);\n int i = 0;\n V neighbor;\n int current_dist = distances.get(curr_ver);\n\n while (i < neighbors.size()){\n\n neighbor = neighbors.get(i);\n\n if (distances.containsKey(neighbor)){\n i++;\n continue;\n }\n\n if(neighbor.equals(to)){\n return distances.get(curr_ver) + 1;\n }\n\n i++;\n distances.put(neighbor, current_dist+ 1);\n queue.add(neighbor);\n\n }\n\n }\n\n return Integer.MAX_VALUE;\n\n }", "public boolean hasPathTo(int v) {\n return distTo[v] < Double.POSITIVE_INFINITY;\n }", "private static void computePaths(Vertex source) {\n source.minDistance = 0;\n // retrieves with log(n) time\n PriorityQueue<Vertex> vertexPriorityQueue = new PriorityQueue<>();\n\n //BFS traversal\n vertexPriorityQueue.add(source);\n\n // O((v + e) * log(v))\n while (!vertexPriorityQueue.isEmpty()) {\n // this poll always returns the shortest distance vertex at log(v) time\n Vertex vertex = vertexPriorityQueue.poll();\n\n //visit each edge exiting vertex (adjacencies)\n for (Edge edgeInVertex : vertex.adjacencies) {\n // calculate new distance between edgeInVertex and target\n Vertex targetVertex = edgeInVertex.target;\n double edgeWeightForThisVertex = edgeInVertex.weight;\n double distanceThruVertex = vertex.minDistance + edgeWeightForThisVertex;\n if (distanceThruVertex < targetVertex.minDistance) {\n // modify the targetVertex with new calculated minDistance and previous vertex\n // by removing the old vertex and add new vertex with updates\n vertexPriorityQueue.remove(targetVertex);\n targetVertex.minDistance = distanceThruVertex;\n // update previous with the shortest distance vertex\n targetVertex.previous = vertex;\n vertexPriorityQueue.add(targetVertex);// adding takes log(v) time because needs to heapify\n }\n }\n }\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n\n int shortestPath = Integer.MAX_VALUE;\n Deque<Integer> ancestors = new ArrayDeque<>();\n int ancestor = -1;\n\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer a : ancestors) {\n if ((bfsV.distTo(a) + bfsW.distTo(a)) < shortestPath) {\n shortestPath = (bfsV.distTo(a) + bfsW.distTo(a));\n ancestor = a;\n }\n }\n return ancestor;\n }", "private void computePaths(Vertex source, Vertex target, ArrayList<Vertex> vs)\n {\n \tfor (Vertex v : vs)\n \t{\n \t\tv.minDistance = Double.POSITIVE_INFINITY;\n \t\tv.previous = null;\n \t}\n source.minDistance = 0.;\t\t// distance to self is zero\n IndexMinPQ<Vertex> vertexQueue = new IndexMinPQ<Vertex>(vs.size());\n \n for (Vertex v : vs) vertexQueue.insert(Integer.parseInt(v.id), v);\n\n\t\twhile (!vertexQueue.isEmpty()) \n\t\t{\n\t \t// retrieve vertex with shortest distance to source\n\t \tVertex u = vertexQueue.minKey();\n\t \tvertexQueue.delMin();\n\t\t\tif (u == target)\n\t\t\t{\n\t\t\t\t// trace back\n\t\t\t\twhile (u.previous != null)\n\t\t\t\t{;\n\t\t\t\t\tu = u.previous;\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n \t// Visit each edge exiting u\n \tfor (Edge e : u.adjacencies)\n \t\t{\n \t\tVertex v = e.target;\n\t\t\t\tdouble weight = e.weight;\n \tdouble distanceThroughU = u.minDistance + weight;\n\t\t\t\tif (distanceThroughU < v.minDistance) \n\t\t\t\t{\n\t\t\t\t\tint vid = Integer.parseInt(v.id);\n\t\t \t\tvertexQueue.delete(vid);\n\t\t \t\tv.minDistance = distanceThroughU;\n\t\t \t\tv.previous = u;\n\t\t \t\tvertexQueue.insert(vid,v);\n\t\t\t\t}\n\t\t\t}\n }\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w){\n if(v == null || w == null)\n throw new NullPointerException(\"null arguments\");\n shortestPath(v,w);\n return ca;\n }", "public double getAverageShortestPathLengthJUNG()\r\n\t{\n\t\tTransformer<Entity, Double> distanceTransformer = DistanceStatistics\r\n\t\t\t\t.averageDistances(undirectedGraph);\r\n\t\t// logger.info(\"Average distances: \" + distances);\r\n\t\tdouble distanceSum = 0.0;\r\n\t\tfor (Entity e : undirectedGraph.getVertices()) {\r\n\t\t\tdistanceSum += distanceTransformer.transform(e);\r\n\t\t}\r\n\t\treturn distanceSum / getNumberOfNodes();\r\n\t}", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n\t\tif (v == null || w == null)\n\t\t\tthrow new IllegalArgumentException();\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, ancestor = -1, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tancestor = vertex;\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\treturn (dsap == INFINITY) ? -1 : ancestor;\n\t}", "private Paths processPaths(BreadthFirstDirectedPaths fromV, BreadthFirstDirectedPaths fromW) {\n List<Integer> common = new LinkedList<Integer>();\n for (int i = 0; i < G.V(); i++) {\n if (fromV.hasPathTo(i) && fromW.hasPathTo(i)) common.add(i);\n }\n\n if (common.size() == 0) return null;\n\n int minDist = Integer.MAX_VALUE;\n int closestAncestor = NO_ANCESTOR;\n int dist;\n for (int ancestor : common) {\n dist = fromV.distTo(ancestor) + fromW.distTo(ancestor);\n if (dist < minDist) {\n minDist = dist;\n closestAncestor = ancestor;\n }\n }\n\n return new Paths(fromV.pathTo(closestAncestor), fromW.pathTo(closestAncestor));\n }", "public static int p413ComputeShortestPathNumber(Vertex start, Vertex end){\n\t Queue<Vertex> queue=new LinkedList<Vertex>();\n\t Map<Vertex, Status> statusMap=new HashMap<Vertex, Status>();\n\t Map<Vertex, Integer> levelMap=new HashMap<Vertex, Integer>();\n\t List<List<Vertex>> allLevelList=new LinkedList<List<Vertex>>();\n\t \n\t queue.offer(start);\n\t statusMap.put(start, Status.Queued);\n\t levelMap.put(start, 0);\n\t \n\t Vertex vertex;\n\t int lastLevel=-1;\n\t List<Vertex> levelList = null;\n\t\twhile ((vertex = queue.poll()) != null) {\n\t\t\tint currentLevel = levelMap.get(vertex);\n\n\t\t\tif (currentLevel != lastLevel) {\n\t\t\t\tlastLevel = currentLevel;\n\t\t\t\tlevelList = new LinkedList<Vertex>();\n\n\t\t\t\tallLevelList.add(levelList);\n\t\t\t}\n\n\t\t\tlevelList.add(vertex);\n\n\t\t\tif (vertex.equals(end)) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tSet<Vertex> adjacentVertexes = vertex.getAdjacentVertexes();\n\t\t\tfor (Iterator iterator = adjacentVertexes.iterator(); iterator.hasNext();) {\n\t\t\t\tVertex adjacent = (Vertex) iterator.next();\n\n\t\t\t\tif (statusMap.get(adjacent) == null) {\n\t\t\t\t\tqueue.offer(adjacent);\n\t\t\t\t\tstatusMap.put(adjacent, Status.Queued);\n\t\t\t\t\tlevelMap.put(adjacent, currentLevel + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t \n\t int max=Integer.MIN_VALUE;\n\t List<Vertex> targetList=new LinkedList<Vertex>();\n\t targetList.add(end);\n\t for(int index=lastLevel-1;index>0;index--){\n\t\t List<Vertex> lastLevelList = allLevelList.get(index);\n\t\t List<Vertex> tmpList=new LinkedList<Vertex>();\n\n\t\t int count=0;\n\t\t for (Iterator iterator = lastLevelList.iterator(); iterator.hasNext();) {\n\t\t\t\tVertex lastLevelVertex = (Vertex) iterator.next();\n\t\t\t\tfor (Iterator iterator2 = targetList.iterator(); iterator2.hasNext();) {\n\t\t\t\t\tVertex vertex2 = (Vertex) iterator2.next();\n\t\t\t\t\tif(lastLevelVertex.getAdjacentVertexes().contains(vertex2)){\n\t\t\t\t\t count++;\n\t\t\t\t\t tmpList.add(lastLevelVertex);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t }\n\t\t \n\t\t targetList=tmpList;\n\t\t \n\t\t if(count>max){\n\t\t \tmax=count;\n\t\t }\n\t }\n\t \n\t return max;\n\t}", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) throw new IllegalArgumentException(\"Null argument\");\n for (Integer each : v) {\n if (each == null) throw new IllegalArgumentException(\"Null argument\");\n }\n for (Integer each : w) {\n if (each == null) throw new IllegalArgumentException(\"Null argument\");\n }\n int candidate = Integer.MAX_VALUE;\n ancestorMultiple = Integer.MAX_VALUE;\n bfsV = new BreadthFirstDirectedPathsFast(digraph, v);\n bfsW = new BreadthFirstDirectedPathsFast(digraph, w);\n for (int i = 0; i < digraph.V(); ++i) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n int distV = bfsV.distTo(i);\n int distW = bfsW.distTo(i);\n if (distV + distW < candidate) {\n candidate = distV + distW;\n ancestorMultiple = i;\n }\n }\n }\n return ancestorMultiple == Integer.MAX_VALUE ? -1 : ancestorMultiple;\n }", "double distance(long v, long w) {\n return distance(lon(v), lat(v), lon(w), lat(w));\n }", "double distance(long v, long w) {\n return distance(lon(v), lat(v), lon(w), lat(w));\n }", "public int ancestor(int v, int w) {\n return calcLengthAndAncestor(v, w)._2;\n }", "public Iterable<Vertex> findShortestPath(Vertex v1, Vertex v2){\n\t\treturn null;\n\t}", "public static String shortestPath(Vertice v1, Vertice v2) {\r\n\t\tArrayList<Float> menorCaminho = new ArrayList<Float>();\r\n\t\tmenorCaminho = menorCaminho(v1, v2, menorCaminho);\r\n\r\n\t\tif (!menorCaminho.isEmpty()) {\r\n\t\t\tString retorno = \"\";\r\n\t\t\tfor (int i = 1; i < menorCaminho.size(); i++) {\r\n\t\t\t\tretorno += menorCaminho.get(i) + \" \";\r\n\t\t\t}\r\n\t\t\treturn retorno;\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t}", "public static double laplW(Vecteur v, double h) {\n\n\n double x = v.getX();\n double y = v.getY();\n double r = v.norme();\n\n /* Le laplacien est défini comme la somme des dérivées secondes de W par rapport à chacune des deux variables x et y. */\n double d2Wdx2 = (1 / (h * h)) * (h + 2 * x - 1 / r);\n double d2Wdy2 = (1 / (h * h)) * (h + 2 * y - 1 / r);\n\n return d2Wdx2 + d2Wdy2;\n }", "private void computeShortestPath(){\n T current = start;\n boolean atEnd = false;\n while (!unvisited.isEmpty()&& !atEnd){\n int currentIndex = vertexIndex(current);\n LinkedList<T> neighbors = getUnvisitedNeighbors(current); // getting unvisited neighbors\n \n //what is this doing here???\n if (neighbors.isEmpty()){\n \n }\n \n // looping through to find distances from start to neighbors\n for (T neighbor : neighbors){ \n int neighborIndex = vertexIndex(neighbor); \n int d = distances[currentIndex] + getEdgeWeight(current, neighbor);\n \n if (d < distances[neighborIndex]){ // if this distance is less than previous distance\n distances[neighborIndex] = d;\n closestPredecessor[neighborIndex] = current; // now closest predecessor is current\n }\n }\n \n if (current.equals(end)){\n atEnd = true;\n }\n else{\n // finding unvisited node that is closest to start node\n T min = getMinUnvisited();\n if (min != null){\n unvisited.remove(min); // remove minimum neighbor from unvisited\n visited.add(min); // add minimum neighbor to visited\n current = min;\n }\n }\n }\n computePath();\n totalDistance = distances[vertexIndex(end)];\n }", "public void dijksra (Node v, Node w){\n v.distance = 0;\n v.parent = v;\n dijkstasQueue.add(v);\n\n int i = 0;\n while (dijkstasQueue.size() != 0){ //O(V), but because it runs by weight, the average runtime can be dropped down to O(log(V))\n if(w.known){\n return;\n }\n i++;\n\n Node t = dijkstasQueue.poll();\n if (t == null){\n System.out.println(\"Whoop went null\"); //should never happen\n return;\n }\n\n t.known = true;\n long s = System.currentTimeMillis();\n GraphNode l = adjNodeMap.get(t.name);\n GraphNode[] cons = l.getConnections();\n for(GraphNode c : cons){ //O(E), runs for every connection.\n Node j = nodeMap.get(c.id);\n if (j != null){\n if (!(j.known)){\n double cvw = getNodeWeight(t,j);\n if(t.distance + cvw < j.distance){\n j.distance = t.distance + cvw;\n j.parent = t;\n dijkstasQueue.add(j);\n }\n }\n }\n }\n long e = System.currentTimeMillis();\n }\n }", "public int length(final Iterable<Integer> v, final Iterable<Integer> w) {\n\n validateIterable(v);\n validateIterable(w);\n\n int infinity = Integer.MAX_VALUE;\n\n for (final Integer eleV : v) {\n for (final Integer eleW : w) {\n final int sap = length(eleV, eleW);\n if (sap <= infinity) {\n infinity = sap;\n }\n }\n }\n\n return (infinity == Integer.MAX_VALUE) ? -1 : infinity;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n int[] ret = new int[2];\n sap(v, w, ret);\n return ret[1];\n }", "private int shortestDistance(Vertex dest) {\n Integer d = distance.get(dest);\n if (d==null)\n return Integer.MAX_VALUE;\n return d;\n }", "private double dijkstrasAlgo(String source, String dest) {\r\n\r\n\t\tclearAll(); // running time: |V|\r\n\t\tint count = 0; // running time: Constant\r\n\t\tfor (Vertex v : vertexMap.values()) // running time: |V|\r\n\t\t\tif (v.isStatus())\r\n\t\t\t\tcount++;\r\n\r\n\t\tVertex[] queue = new Vertex[count]; // running time: Constant\r\n\t\tVertex start = vertexMap.get(source); // running time: Constant\r\n\t\tstart.dist = 0; // running time: Constant\r\n\t\tstart.prev = null; // running time: Constant\r\n\r\n\t\tint index = 0; // running time: Constant\r\n\t\tfor (Vertex v : vertexMap.values()) { // running time: |V|\r\n\t\t\tif (v.isStatus()) {\r\n\t\t\t\tqueue[index] = v;\r\n\t\t\t\tv.setHandle(index);\r\n\t\t\t\tindex++;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tbuildMinHeap(queue, count); // running time: |V|\r\n\r\n\t\twhile (count != 0) { // running time: |V|\r\n\t\t\tVertex min = extractMin(queue, count); // running time: log |V|\r\n\t\t\tcount--; // running time: Constant\r\n\r\n\t\t\tfor (Iterator i = min.adjacent.iterator(); i.hasNext();) { // running time: |E|\r\n\t\t\t\tEdge edge = (Edge) i.next();\r\n\t\t\t\tif (edge.isStatus()) {\r\n\t\t\t\t\tVertex adjVertex = vertexMap.get(edge.getDestination());\r\n\t\t\t\t\tif (adjVertex.dist > (min.dist + edge.getCost()) && adjVertex.isStatus()) {\r\n\t\t\t\t\t\tadjVertex.dist = (min.dist + edge.getCost());\r\n\t\t\t\t\t\tadjVertex.prev = min;\r\n\t\t\t\t\t\tint pos = adjVertex.getHandle();\r\n\t\t\t\t\t\tHeapdecreaseKey(queue, pos, adjVertex); // running time: log |V|\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn vertexMap.get(dest).dist; // running time: Constant\r\n\t}", "public Double getPathLenght (List<Long> path){\n \n Double res = 0.0;\n \n // thread save reading \n synchronized (vertexes){ \n for(int i=0; i<path.size()-1; i++){\n\n Map<Long,Edge> edges =vertexes.get(path.get(i)).allEdges();\n\n Edge edge = edges.get(path.get(i+1));\n\n if(edge != null){\n res += edge.getWeight();\n }else{\n return null;\n }\n\n }\n }\n \n return res;\n }" ]
[ "0.87355906", "0.8434466", "0.83597416", "0.8258496", "0.82393736", "0.8181856", "0.81571174", "0.80989486", "0.8084261", "0.8073896", "0.8056834", "0.8021729", "0.8009008", "0.79717934", "0.7822838", "0.77856493", "0.776639", "0.77402806", "0.76350504", "0.75385284", "0.7510197", "0.7259024", "0.7203318", "0.7059441", "0.7039589", "0.7034718", "0.7006568", "0.6851034", "0.6814321", "0.6797701", "0.6766169", "0.67654246", "0.6737592", "0.67201823", "0.67109907", "0.66929317", "0.6620549", "0.6575451", "0.655537", "0.6554379", "0.6523702", "0.64782387", "0.64132154", "0.6405942", "0.637978", "0.6360698", "0.63593644", "0.63325995", "0.62816", "0.6249639", "0.6242937", "0.6229863", "0.62102956", "0.61827916", "0.61634874", "0.6142154", "0.61376584", "0.61367285", "0.6134701", "0.6128755", "0.61149514", "0.6109243", "0.6105736", "0.6103287", "0.60908496", "0.6064391", "0.6007028", "0.59530973", "0.59458154", "0.5937179", "0.59224486", "0.5913712", "0.5896507", "0.5869093", "0.58668625", "0.58535874", "0.5848406", "0.58183306", "0.58151174", "0.58042514", "0.5787635", "0.5766231", "0.5727793", "0.57075554", "0.57022834", "0.56990445", "0.5692562", "0.568251", "0.568251", "0.56778055", "0.5648507", "0.56252843", "0.56021816", "0.55760044", "0.55645823", "0.5559941", "0.55581295", "0.55580544", "0.55400157", "0.5535886" ]
0.7926387
14
a common ancestor of v and w that participates in a shortest ancestral path; 1 if no such path
public int ancestor(int v, int w) { if (v < 0 || v >= digraph.V() || w < 0 || w >= digraph.V()) throw new IllegalArgumentException("Null argument"); int candidate = Integer.MAX_VALUE; ancestor = Integer.MAX_VALUE; bfsV = new BreadthFirstDirectedPathsFast(digraph, v); bfsW = new BreadthFirstDirectedPathsFast(digraph, w); for (int i = 0; i < digraph.V(); ++i) { if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) { int distV = bfsV.distTo(i); int distW = bfsW.distTo(i); if (distV + distW < candidate) { candidate = distV + distW; ancestor = i; } } } return ancestor == Integer.MAX_VALUE ? -1 : ancestor; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) {\n throw new NullPointerException();\n }\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n return anc;\n }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n return anc;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n\n\n validateIterableVertices(v);\n validateIterableVertices(w);\n\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n Stack<Integer> candidates = new Stack<>();\n\n for (int p = 0; p < dg.V(); p++) {\n if (bfs1.hasPathTo(p) && bfs2.hasPathTo(p)) {\n candidates.push(p);\n }\n }\n\n int shortesAncestor = -1;\n int shortesPath = Integer.MAX_VALUE;\n\n while (!candidates.isEmpty()) {\n int c = candidates.pop();\n if (shortesPath > bfs1.distTo(c) + bfs2.distTo(c)) {\n shortesPath = bfs1.distTo(c) + bfs2.distTo(c);\n shortesAncestor = c;\n }\n }\n\n return shortesAncestor;\n }", "public int ancestor(int v, int w) {\n\n if (v < 0 || v >= dg.V() || w < 0 || w >= dg.V())\n throw new IllegalArgumentException(\"vertex is not between 0 and \" + (dg.V() - 1));\n\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n Stack<Integer> candidates = new Stack<>();\n\n for (int p = 0; p < dg.V(); p++) {\n if (bfs1.hasPathTo(p) && bfs2.hasPathTo(p)) {\n candidates.push(p);\n }\n }\n\n int shortesAncestor = -1;\n int shortesPath = Integer.MAX_VALUE;\n\n while (!candidates.isEmpty()) {\n int c = candidates.pop();\n if (shortesPath > bfs1.distTo(c) + bfs2.distTo(c)) {\n shortesPath = bfs1.distTo(c) + bfs2.distTo(c);\n shortesAncestor = c;\n }\n }\n\n return shortesAncestor;\n\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\r\n for (Integer vTmp : v) {\r\n if (vTmp < 0 || vTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n for (Integer wTmp : w) {\r\n if (wTmp < 0 || wTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n int shortestDistIndex = -1;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n if (shortestDist > bfdp1.distTo(i) + bfdp2.distTo(i)) {\r\n shortestDist = bfdp1.distTo(i) + bfdp2.distTo(i);\r\n shortestDistIndex = i;\r\n }\r\n }\r\n }\r\n return shortestDistIndex;\r\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n return commonAncestor;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) throw new IllegalArgumentException();\n for (Integer x : v) {\n if (x == null) throw new IllegalArgumentException();\n }\n for (Integer x : w) {\n if (x == null) throw new IllegalArgumentException();\n }\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int ancestor = -1;\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n }\n }\n return ancestor;\n }", "public int ancestor(int v, int w){\n shortestPath(v,w);\n return ca;\n }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n return commonAncestor;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n int a = -1;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n a = i;\n }\n }\n return a;\n }", "public int ancestor(int v, int w){\n\t BreadthFirstDirectedPaths BFSv =new BreadthFirstDirectedPaths(D,v);\n\t BreadthFirstDirectedPaths BFSw =new BreadthFirstDirectedPaths(D,w);\n\t \n\t int distance = Integer.MAX_VALUE;\n\t int ancestor = -1;\n\t for (int vertex = 0 ; vertex < D.V();vertex++)\n\t\t if ((BFSv.hasPathTo(vertex))\n\t\t\t\t &&(BFSw.hasPathTo(vertex))\n\t\t\t\t &&(BFSv.distTo(vertex)+BFSw.distTo(vertex))<distance)\n\t\t {\n\t\t\t ancestor = vertex;\n\t\t\t distance = BFSv.distTo(vertex)+BFSw.distTo(vertex);\n\t\t }\n\n\t\t return ancestor;\n }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int ancestor = -1;\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n }\n }\n return ancestor;\n }", "public int ancestor(int v, int w) {\r\n if (v < 0 || w < 0 || v >= G.V() || w >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n int shortestDistIndex = -1;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n if (shortestDist > bfdp1.distTo(i) + bfdp2.distTo(i)) {\r\n shortestDist = bfdp1.distTo(i) + bfdp2.distTo(i);\r\n shortestDistIndex = i;\r\n }\r\n }\r\n }\r\n return shortestDistIndex;\r\n }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n int a = -1;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n a = i;\n }\n }\n return a;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w){\n if(v == null || w == null)\n throw new NullPointerException(\"null arguments\");\n shortestPath(v,w);\n return ca;\n }", "public int ancestor(int v, int w) {\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, ancestor = -1, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tancestor = vertex;\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\t\n\t\treturn (dsap == INFINITY) ? -1 : ancestor;\n\t}", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n\t\tif (v == null || w == null)\n\t\t\tthrow new IllegalArgumentException();\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, ancestor = -1, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tancestor = vertex;\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\treturn (dsap == INFINITY) ? -1 : ancestor;\n\t}", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) throw new IllegalArgumentException(\"Null argument\");\n for (Integer each : v) {\n if (each == null) throw new IllegalArgumentException(\"Null argument\");\n }\n for (Integer each : w) {\n if (each == null) throw new IllegalArgumentException(\"Null argument\");\n }\n int candidate = Integer.MAX_VALUE;\n ancestorMultiple = Integer.MAX_VALUE;\n bfsV = new BreadthFirstDirectedPathsFast(digraph, v);\n bfsW = new BreadthFirstDirectedPathsFast(digraph, w);\n for (int i = 0; i < digraph.V(); ++i) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n int distV = bfsV.distTo(i);\n int distW = bfsW.distTo(i);\n if (distV + distW < candidate) {\n candidate = distV + distW;\n ancestorMultiple = i;\n }\n }\n }\n return ancestorMultiple == Integer.MAX_VALUE ? -1 : ancestorMultiple;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n int nopath = -1;\n int length = Integer.MAX_VALUE;\n for (int i1 : v) {\n for (int i2 : w) {\n int ancestor = ancestor(i1, i2);\n if (length >= length(i1, i2)) {\n length = distance;\n nopath = ancestor;\n }\n }\n }\n distance = length;\n return nopath;\n }", "public int ancestor(int v, int w) {\n int[] res = shortest(v, w);\n return res[1];\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n\n int shortestPath = Integer.MAX_VALUE;\n Deque<Integer> ancestors = new ArrayDeque<>();\n int ancestor = -1;\n\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer a : ancestors) {\n if ((bfsV.distTo(a) + bfsW.distTo(a)) < shortestPath) {\n shortestPath = (bfsV.distTo(a) + bfsW.distTo(a));\n ancestor = a;\n }\n }\n return ancestor;\n }", "public int ancestor(int v, int w) {\n bfsV = new BreadthFirstDirectedPaths(graph, v);\n bfsW = new BreadthFirstDirectedPaths(graph, w);\n distance = Integer.MAX_VALUE;\n for (int i = 0; i < graph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n if (distance >= (bfsV.distTo(i) + bfsW.distTo(i))) {\n distance = bfsV.distTo(i) + bfsW.distTo(i);\n ancestor = i;\n }\n }\n }\n return ancestor;\n }", "public int ancestor(final int v, final int w) {\n\n validateVertex(v);\n validateVertex(w);\n\n if (v == w) {\n return v;\n }\n\n final BreadthFirstDirectedPaths bfdvObj = new BreadthFirstDirectedPaths(digraphObj, v);\n final BreadthFirstDirectedPaths bfdwObj = new BreadthFirstDirectedPaths(digraphObj, w);\n \n int infinity = Integer.MAX_VALUE;\n int ances = -1;\n\n for (int vertex = 0; vertex < digraphObj.V(); vertex++) {\n if (bfdvObj.hasPathTo(vertex) && bfdwObj.hasPathTo(vertex)) {\n final int dist = bfdvObj.distTo(vertex) + bfdwObj.distTo(vertex);\n if (dist <= infinity) {\n infinity = dist;\n ances = vertex;\n }\n }\n }\n\n return ances;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n int[] res = shortest(v, w);\n return res[1];\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n Paths sapComponents = sap(v, w);\n return sapComponents == null ? NO_ANCESTOR : sapComponents.ancestor();\n }", "public int ancestor(int v, int w) {\n Paths sapComponents = sap(v, w);\n return sapComponents == null ? NO_ANCESTOR : sapComponents.ancestor();\n }", "public int ancestor(int v, int w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n int closestAncestor = -1;\n int shortestPath = Integer.MAX_VALUE;\n Deque<Integer> ancestors = new ArrayDeque<>();\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer integer : ancestors) {\n if ((bfsV.distTo(integer) + bfsW.distTo(integer)) < shortestPath) {\n shortestPath = (bfsV.distTo(integer) + bfsW.distTo(integer));\n closestAncestor = integer;\n }\n }\n return closestAncestor;\n }", "public int ancestor(int v, int w) {\n int[] ret = new int[2];\n ArrayList<Integer> vl = new ArrayList<Integer>(1);\n vl.add(v);\n ArrayList<Integer> wl = new ArrayList<Integer>(1);\n wl.add(w);\n sap(vl, wl, ret);\n return ret[0];\n }", "public int ancestor(final Iterable<Integer> v, final Iterable<Integer> w) {\n\n validateIterable(v);\n validateIterable(w);\n\n int infinity = Integer.MAX_VALUE;\n int ances = -1;\n\n for (final Integer eleV : v) {\n for (final Integer eleW : w) {\n final int anc = ancestor(eleV, eleW);\n final int dist = length(eleV, eleW);\n if (dist <= infinity) {\n infinity = dist;\n ances = anc;\n }\n }\n }\n\n return ances;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n if (commonAncestor == -1) return commonAncestor;\n else return bfdV.distTo(commonAncestor) + bfdW.distTo(commonAncestor);\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null)\n throw new NullPointerException();\n for (int i : v) inBound(i);\n for (int i : w) inBound(i);\n length(v,w);\n return ancestor;\n }", "public int ancestor(int v, int w) throws java.lang.NullPointerException, java.lang.IndexOutOfBoundsException \n\t {\n\n\t\t if(null==mGraph) throw new java.lang.NullPointerException(\"Null graph in SAP\");\n\t\t if ( (v<0 || v >= mGraph.V()) || (w<0 || w >= mGraph.V()) ) throw new java.lang.IndexOutOfBoundsException(\"index out of band\");\n\n\t\t \n\t\t Bag<Integer> vBag = new Bag<Integer>();\n\t\t Bag<Integer> wBag = new Bag<Integer>();\n\t\t vBag.add(v);\n\t\t wBag.add(w);\n\t\t return getAncestors(vBag,wBag).mAncestor;\n\t\t \n\t }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w){\n\t return 0;\n }", "public int ancestor(int v, int w) {\n inBound(v);\n inBound(w);\n length(v,w);\n return ancestor;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n int[] ret = new int[2];\n sap(v, w, ret);\n return ret[0];\n }", "public int ancestor(int v, int w) {\n return calcLengthAndAncestor(v, w)._2;\n }", "public int length(int v, int w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n if (commonAncestor == -1) return commonAncestor;\n else return bfdV.distTo(commonAncestor) + bfdW.distTo(commonAncestor);\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n return calcLengthAndAncestor(v, w)._2;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) throws java.lang.NullPointerException, java.lang.IndexOutOfBoundsException \n\t {\n\t\t if(null==v || null==w) throw new java.lang.NullPointerException(\"null argument to ancestor, v=\"+v+\" w=\"+w);\n\t\t \n\t\t return getAncestors(v,w).mAncestor;\n\t\t \n\t }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n int shortestPath = -1;\n Deque<Integer> ancestors = new ArrayDeque<>();\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer integer : ancestors) {\n int path = bfsV.distTo(integer) + bfsW.distTo(integer);\n if (shortestPath == -1 || path < shortestPath) {\n shortestPath = path;\n }\n }\n return shortestPath;\n }", "public int length(int v, int w) {\n if (v < 0 || v >= digraph.V() || w < 0 || w >= digraph.V())\n throw new IllegalArgumentException(\"Null argument\");\n int candidate = Integer.MAX_VALUE;\n ancestor = Integer.MAX_VALUE;\n bfsV = new BreadthFirstDirectedPathsFast(digraph, v);\n bfsW = new BreadthFirstDirectedPathsFast(digraph, w);\n for (int i = 0; i < digraph.V(); ++i) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n int distV = bfsV.distTo(i);\n int distW = bfsW.distTo(i);\n if (distV + distW < candidate) {\n candidate = distV + distW;\n ancestor = i;\n }\n }\n }\n return candidate == Integer.MAX_VALUE ? -1 : candidate;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) throw new IllegalArgumentException(\"Null argument\");\n for (Integer each : v) {\n if (each == null) throw new IllegalArgumentException(\"Null argument\");\n }\n for (Integer each : w) {\n if (each == null) throw new IllegalArgumentException(\"Null argument\");\n }\n int candidate = Integer.MAX_VALUE;\n ancestorMultiple = Integer.MAX_VALUE;\n bfsV = new BreadthFirstDirectedPathsFast(digraph, v);\n bfsW = new BreadthFirstDirectedPathsFast(digraph, w);\n for (int i = 0; i < digraph.V(); ++i) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n int distV = bfsV.distTo(i);\n int distW = bfsW.distTo(i);\n if (distV + distW < candidate) {\n candidate = distV + distW;\n ancestorMultiple = i;\n }\n }\n }\n return candidate == Integer.MAX_VALUE ? -1 : candidate;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n }\n }\n return min == Integer.MAX_VALUE ? -1 : min;\n }", "public int length(int v, int w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n int shortestPath = -1;\n Deque<Integer> ancestors = new ArrayDeque<>();\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer integer : ancestors) {\n int path = bfsV.distTo(integer) + bfsW.distTo(integer);\n if (shortestPath == -1 || path < shortestPath) {\n shortestPath = path;\n }\n }\n return shortestPath;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\r\n for (Integer vTmp : v) {\r\n if (vTmp < 0 || vTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n for (Integer wTmp : w) {\r\n if (wTmp < 0 || wTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n shortestDist = (shortestDist <= bfdp1.distTo(i) + bfdp2.distTo(i)) ? shortestDist: bfdp1.distTo(i) + bfdp2.distTo(i);\r\n }\r\n }\r\n return (shortestDist == Integer.MAX_VALUE) ? -1 : shortestDist;\r\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) {\n throw new NullPointerException();\n }\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n if (anc == -1) minLen = -1;\n return minLen;\n }", "public int length(int v, int w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n }\n }\n return min == Integer.MAX_VALUE ? -1 : min;\n }", "public int length(int v, int w) {\r\n if (v < 0 || w < 0 || v >= G.V() || w >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n shortestDist = (shortestDist <= bfdp1.distTo(i) + bfdp2.distTo(i)) ? shortestDist : bfdp1.distTo(i) + bfdp2.distTo(i);\r\n }\r\n }\r\n return (shortestDist == Integer.MAX_VALUE) ? -1: shortestDist;\r\n }", "private Paths processPaths(BreadthFirstDirectedPaths fromV, BreadthFirstDirectedPaths fromW) {\n List<Integer> common = new LinkedList<Integer>();\n for (int i = 0; i < G.V(); i++) {\n if (fromV.hasPathTo(i) && fromW.hasPathTo(i)) common.add(i);\n }\n\n if (common.size() == 0) return null;\n\n int minDist = Integer.MAX_VALUE;\n int closestAncestor = NO_ANCESTOR;\n int dist;\n for (int ancestor : common) {\n dist = fromV.distTo(ancestor) + fromW.distTo(ancestor);\n if (dist < minDist) {\n minDist = dist;\n closestAncestor = ancestor;\n }\n }\n\n return new Paths(fromV.pathTo(closestAncestor), fromW.pathTo(closestAncestor));\n }", "public int length(int v, int w) {\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n if (anc == -1) minLen = -1;\n return minLen;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n\n validateIterableVertices(v);\n validateIterableVertices(w);\n // use bfs to find the path and the shortest distance from v to every vertices in the graph\n // use two arrays, one record the last vertex, edgeTo[]. Another record the distance, distTo[].\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n int ancestor = ancestor(v, w);\n\n if (ancestor == -1) {\n return -1;\n } else {\n return bfs1.distTo(ancestor) + bfs2.distTo(ancestor);\n }\n\n }", "public int length(int v, int w) {\n\n if (v < 0 || v >= dg.V() || w < 0 || w >= dg.V())\n throw new IllegalArgumentException(\"vertex is not between 0 and \" + (dg.V() - 1));\n\n// ancestor(v,w);\n\n // use bfs to find the path and the shortest distance from v to every vertices in the graph\n // use two arrays, one record the last vertex, edgeTo[]. Another record the distance, distTo[].\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n int ancestor = ancestor(v, w);\n\n if (ancestor == -1) {\n return -1;\n } else {\n return bfs1.distTo(ancestor) + bfs2.distTo(ancestor);\n }\n\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w){\n if(v == null || w == null)\n throw new NullPointerException(\"null arguments\");\n shortestPath(v,w);\n return minPath;\n }", "public int length(int v, int w){\n shortestPath(v,w);\n return minPath;\n }", "private int[] shortest(int w, int v) {\n int[] res = new int[2];\n DeluxeBFS wBFS = new DeluxeBFS(G, w);\n DeluxeBFS vBFS = new DeluxeBFS(G, v);\n boolean[] wMarked = wBFS.getMarked();\n boolean[] vMarked = vBFS.getMarked();\n int minDis = Integer.MAX_VALUE;\n int anc = Integer.MAX_VALUE;\n \n for (int i = 0; i < wMarked.length; i++) {\n if (wMarked[i] && vMarked[i]) {\n int dis = wBFS.distTo(i) + vBFS.distTo(i);\n if (dis < minDis) {\n minDis = dis;\n anc = i;\n }\n }\n }\n if (minDis == Integer.MAX_VALUE) {\n res[0] = -1;\n res[1] = -1;\n return res;\n } else {\n res[0] = minDis;\n res[1] = anc;\n return res;\n }\n }", "void query(int u, int v) {\n int lca = lca2(u, v, spar, dep);\n// out.println(query_up(u, lca) + \" dv\");\n// out.println(query_up(v, lca) + \" ds\");\n int ans = query_up(u, lca) + query_up(v, lca); // One part of path\n out.println(ans);\n// if (temp > ans) ans = temp; // take the maximum of both paths\n// printf(\"%d\\n\", ans);\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) throw new IllegalArgumentException();\n for (Integer x : v) {\n if (x == null) throw new IllegalArgumentException();\n }\n for (Integer x : w) {\n if (x == null) throw new IllegalArgumentException();\n }\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n }\n }\n }\n return len;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null)\n throw new NullPointerException();\n for (int i : v) inBound(i);\n for (int i : w) inBound(i);\n\n Queue<ColoredNode> Q = new LinkedList<>();\n for (int i : v) {\n lengths[i] = 0;\n colored[i] = color;\n Q.add(new ColoredNode(color, i));\n }\n color ++;\n for (int i : w) {\n lengths[i] = 0;\n if (colored[i] == color - 1) {\n ancestor = i;\n return 0;\n }\n colored[i] = color;\n Q.add(new ColoredNode(color, i));\n }\n color++;\n\n return BFS(Q);\n }", "boolean hasPathTo(int v)\n\t{\n\t\treturn edgeTo[v].weight()!=Double.POSITIVE_INFINITY;\n\t}", "public int length(int v, int w) {\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n }\n }\n }\n return len;\n }", "private Paths sap(int v, int w) {\n validate(v);\n validate(w);\n BreadthFirstDirectedPaths fromV = new BreadthFirstDirectedPaths(this.G, v);\n BreadthFirstDirectedPaths fromW = new BreadthFirstDirectedPaths(this.G, w);\n return processPaths(fromV, fromW);\n }", "private Paths sap(Iterable<Integer> v, Iterable<Integer> w) {\n for (int vertex : v) validate(vertex);\n for (int vertex : w) validate(vertex);\n BreadthFirstDirectedPaths fromV = new BreadthFirstDirectedPaths(this.G, v);\n BreadthFirstDirectedPaths fromW = new BreadthFirstDirectedPaths(this.G, w);\n return processPaths(fromV, fromW);\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n\t\tif (v == null || w == null)\n\t\t\tthrow new IllegalArgumentException();\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\t\n\t\treturn (dsap == INFINITY) ? -1 : dsap;\n\t}", "public int length(int v, int w){\n\t BreadthFirstDirectedPaths BFSv =new BreadthFirstDirectedPaths(D,v);\n\t BreadthFirstDirectedPaths BFSw =new BreadthFirstDirectedPaths(D,w);\n\t \n\t int distance = Integer.MAX_VALUE;\n\t \n\t for (int vertex = 0 ; vertex < D.V();vertex++)\n\t\t if ((BFSv.hasPathTo(vertex))\n\t\t\t\t &&(BFSw.hasPathTo(vertex))\n\t\t\t\t &&(BFSv.distTo(vertex)+BFSw.distTo(vertex))<distance)\n\t\t {\n\t\t\t distance = BFSv.distTo(vertex)+BFSw.distTo(vertex);\n\t\t }\n\t if (distance != Integer.MAX_VALUE)\n\t\t return distance;\n\t else\n\t\t return -1;\n }", "public int length(int v, int w) {\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\t\n\t\treturn (dsap == INFINITY) ? -1 : dsap;\n\t}", "int getShortestDistance(V vertex);", "@Test\n\tpublic void lowestCommonAncestorTest1()\n\t{\n\t\tNodeList n1=xmlDocument.getElementsByTagName(\"b\");\n\t\tNodeList n2=xmlDocument.getElementsByTagName(\"i\");\n\t\tassertEquals(\"p\",Manipulator.lowestCommonAncesstor(n1.item(0),n2.item(0)).getNodeName());\n\t}", "TreeNode commonAncestor(TreeNode p, TreeNode q) {\n\t// find depths of the two nodes \n\tint depthP = depth(p);\n\tint depthQ = depth(q);\n\t// find difference in depths \n\tint diffDepths = depthP - depthQ;\n\t// q is more shallow\n\tTreeNode first = diffDepths > 0 ? q : p; \n\t// p is more deep\n\tTreeNode second = diffDepths > 0 ? p : q; \n\t// Bring the second one up \n\tsecond = goUpBy(second, Math.abs(delta));\n\n\t// FIND INTERSECTING PATH BY GOING UP ONE AT A TIME\n\t// WHILE THEY ARE NOT THE SAME AND BOTH NOT NULL \n\twhile (first != second && first != null && second != null) {\n\t\tfirst = first.parent;\n\t\tsecond = second.parent; \n\t}\n\t// if either is null, no common, therefore return null\n\t// else we can return one of the two bc they are the same\n\treturn first == null || second == null ? null : first; \n\n}", "public V getParent(V vertex);", "public int length(final int v, final int w) {\n\n validateVertex(v);\n validateVertex(w);\n\n final BreadthFirstDirectedPaths bfdvObj = new BreadthFirstDirectedPaths(digraphObj, v);\n final BreadthFirstDirectedPaths bfdwObj = new BreadthFirstDirectedPaths(digraphObj, w);\n\n int infinity = Integer.MAX_VALUE;\n \n for (int vertex = 0; vertex < digraphObj.V(); vertex++) {\n if (bfdvObj.hasPathTo(vertex) && bfdwObj.hasPathTo(vertex)) {\n final int dist = bfdvObj.distTo(vertex) + bfdwObj.distTo(vertex);\n if (dist <= infinity) {\n infinity = dist;\n }\n }\n }\n\n return (infinity == Integer.MAX_VALUE) ? -1 : infinity;\n }", "public int length(int v, int w) {\n inBound(v);\n inBound(w);\n\n Queue<ColoredNode> Q = new LinkedList<>();\n lengths[v] = lengths[w] = 0;\n colored[v] = color++;\n Q.add(new ColoredNode(colored[v], v));\n\n if (color - 1 == colored[w]) {\n ancestor = v;\n return 0;\n }\n\n colored[w] = color++;\n Q.add(new ColoredNode(colored[w], w));\n\n return BFS(Q);\n }", "public Iterable<Vertex> findShortestPath(Vertex v1, Vertex v2){\n\t\treturn null;\n\t}", "@Test(expected=NullPointerException.class)\n\tpublic void lowestCommonAncestorTest2()\n\t{\n\t\tNodeList n1=xmlDocument.getElementsByTagName(\"c\");\n\t\tNodeList n2=xmlDocument.getElementsByTagName(\"i\");\n\t\tManipulator.lowestCommonAncesstor(n1.item(0),n2.item(0));\n\t}", "public int union(int u, int v) {\n int p1 = find(u), p2 = find(v);\n if (p1 == p2) {\n return p1;\n }\n int s1 = _sizes[p1], s2 = _sizes[p2];\n if (s1 > s2) {\n _sizes[p1] += s2;\n// int i = 1;\n// while (s2 > 0) {\n// if (_parents[i] == p2) {\n// _parents[i] = p1;\n// s2 -= 1;\n// }\n// i += 1;\n// }\n _parents[p2] = p1;\n return s1;\n } else {\n _sizes[p2] += s1;\n// int j = 1;\n// while (s1 > 0) {\n// if (_parents[j] == p1) {\n// _parents[j] = p2;\n// s1 -= 1;\n// }\n// j += 1;\n// }\n _parents[p1] = p2;\n return s2;\n }\n }", "int query_up(int u, int v) {\n int uchain, vchain = chainInInd[v], ans = 0;\n // uchain and vchain are chain numbers of u and v\n int last = -1;\n while (true) {\n uchain = chainInInd[u];\n if (uchain == vchain) {\n // Both u and v are in the same chain, so we need to query from u to v, update answer and break.\n // We break because we came from u up till v, we are done\n if (u == v) break;\n out.println(\"query = \" + (posInBase[v]) + \" \" + (posInBase[u]));\n out.println(query_tree(1, posInBase[v], posInBase[u], 1, pointer));\n ans += query_tree(1, posInBase[v], posInBase[u], 1, pointer);\n // Above is call to segment tree query function\n break;\n }\n out.println(\"query = \" + posInBase[chainInHead[uchain]] + \" \" + (posInBase[u]));\n out.println(query_tree(1, posInBase[chainInHead[uchain]], posInBase[u], 1, pointer));\n ans += query_tree(1, posInBase[chainInHead[uchain]], posInBase[u], 1, pointer);\n // Above is call to segment tree query function. We do from chainHead of u till u. That is the whole chain from\n // start till head. We then update the answer\n u = chainInHead[uchain]; // move u to u's chainHead\n u = par[u]; //Then move to its parent, that means we changed chains\n }\n out.println(ans+\" =ans\");\n return ans;\n }", "public static void findClosestSharedParentBST() {\n \n // initialize graph (adjacency list) as a BST\n int[][] bst = {\n {1,2}, // vertex 0 ....\n {3,4},\n {5,6},\n {7,8},\n {},\n {},\n {},\n {9},\n {},\n {} // vertex 9\n }; \n // Given 2 Nodes in a BST, find their closest shared parent\n Graph g = new Graph(bst);\n g.dijsktra(g.getVertices().get(0));\n List<Vertex> path1 = g.getShortestPath(g.getVertices().get(1));\n List<Vertex> path2 = g.getShortestPath(g.getVertices().get(9));\n\n // parent will be the last item in each path before the diverge\n // EX: [1,2,3], [1,2,4,5]. - searched for 3 and 5. parent is 2.\n // EX: [1,2], [1,2,4,5]. - searched for 2 and 5. parent is 2.\n int min = Math.min(path1.size(), path2.size()) -1;\n int parentidx = 0;\n for (int i = 0; i <= min; i++) {\n if (path1.get(i) == path2.get(i)) {\n parentidx = i;\n } else {\n break;\n }\n }\n System.out.println(\"shared parent: \" + path1.get(parentidx));\n }", "@Test\n\tpublic void lowestCommonAncestorTest3()\n\t{\n\t\tNodeList n1=xmlDocument.getElementsByTagName(\"b\");\n\t\tNodeList n2=xmlDocument.getElementsByTagName(\"p\");\n\t\tassertEquals(\"#document\",Manipulator.lowestCommonAncesstor(n1.item(0),n2.item(0)).getNodeName());\n\t}", "public Pair<Integer, Boolean> findPath(BabelSynset bs1, BabelSynset bs2) throws Exception {\n\t\tif(bs1.equals(bs2) && !bs1.equals(\"bn:00031027n\")) return new Pair<Integer, Boolean>(0, false);\n\t\tif(bs1.equals(bs2) && bs1.equals(\"bn:00031027n\")) return new Pair<Integer, Boolean>(0, true);\n\t\t\n\t\tA_parentsHigh = new ArrayList<String>();\n\t\t\n\t\tPair<Integer, Boolean> default_result = new Pair<Integer, Boolean>(0, true);\n\t\t\n\t\tint A_path = 0;\n\t\tString A_parent = bs1.getId().toString();\n\t\tB_recoverAncestors(bs2, 25);\n\t\t\n\t\tSystem.out.println(B_Ancestors+\"\\n\\n\");\n\t\t\n\t\tif(A_parent == null) return new Pair<Integer, Boolean>(B_Ancestors.size(), true);\n\t\tif(A_parent.equals(\"bn:00031027n\")) return new Pair<Integer, Boolean>(B_Ancestors.size()+1, true);\n\t\tfor(int i=0; i<50; i++) {\n\t\t\tSystem.out.println(A_parent);\n\t\t\tint B_path = 0;\n\t\t\tfor(String id : B_Ancestors) {\n\t\t\t\tif(A_parent.equals(id)) {\n\t\t\t\t\tSystem.out.println(\"Path di A: \" + A_path + \"\\nPath di B: \" + B_path);\n\t\t\t\t\tif(id.equals(\"bn:00031027n\")) return new Pair<Integer, Boolean>(A_path+B_path, true);\n\t\t\t\t\telse return new Pair<Integer, Boolean>(A_path+B_path, false);\n\t\t\t\t}\n\t\t\t\tB_path++;\n\t\t\t}\n\t\t\tif(A_parent.equals(\"bn:00031027n\")) break;\n\t\t\tA_parent = recoverParent(bn.getSynset(new BabelSynsetID(A_parent)));\n\t\t\tA_path++;\n\t\t}\n\t\treturn default_result;\n\t}", "public boolean hasPathTo(int v){\n\t\tvalidateVertex(v);\n\t\treturn distTo[v]<Double.POSITIVE_INFINITY;\n\t}", "public Vertex find(Vertex v) {\n\n // if the given vertex is its own root, return the vertex\n if(v.getRoot().equals(v)){\n return v;\n }\n\n // loop on the path of given root, find the sentinel node\n Vertex curr = v.getRoot();\n while(!curr.getRoot().equals(curr)){\n curr = curr.getRoot();\n }\n\n return curr;\n }", "boolean containsEdge(V v, V w);", "static int APUtil(ArrayList<Arista>[] adj, int u, boolean visited[], int disc[], int low[], int parent[], int ap[]){\n\n // Count of children in DFS Tree\n int children = 0;\n\n // Mark the current node as visited\n visited[u] = true;\n\n // Initialize discovery time and low value\n disc[u] = low[u] = ++time;\n\n // Go through all vertices aadjacent to this\n for (Arista arista : adj[u]) {\n int v = arista.to; // v is current adjacent of u\n\n // If v is not visited yet, then make it a child of u\n // in DFS tree and recur for it\n if (!visited[v]) {\n children++;\n parent[v] = u;\n sol = APUtil(adj, v, visited, disc, low, parent, ap);\n\n // Check if the subtree rooted with v has a connection to\n // one of the ancestors of u\n low[u] = Math.min(low[u], low[v]);\n\n // u is an articulation point in following cases\n\n // (1) u is root of DFS tree and has two or more chilren.\n if (parent[u] == -1 && children > 1){\n ap[u]++;\n if((ap[u] > ap[sol]) || (ap[u] == ap[sol] && u < sol))\n sol = u;\n }\n\n\n // (2) If u is not root and low value of one of its child\n // is more than discovery value of u.\n if (parent[u] != -1 && low[v] >= disc[u]){\n ap[u]++;\n if((ap[u] > ap[sol]) || (ap[u] == ap[sol] && u < sol))\n sol = u;\n }\n\n }\n\n // Update low value of u for parent function calls.\n else if (v != parent[u])\n low[u] = Math.min(low[u], disc[v]);\n }\n\n return sol;\n }", "private void calculate() {\n\t\tList<Edge> path = new ArrayList<>();\n\t\tPriorityQueue<Vert> qv = new PriorityQueue<>();\n\t\tverts[s].dist = 0;\n\t\tqv.add(verts[s]);\n\t\twhile (!qv.isEmpty()) {\n\t\t\tVert v = qv.poll();\n\t\t\tint vidx = v.idx;\n\t\t\tfor (Edge e : v.edges) {\n\t\t\t\tif (e.w==0) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tVert vo = verts[e.other(vidx)];\n\t\t\t\tif (vo.dist > v.dist + e.w) {\n\t\t\t\t\tvo.dist = v.dist + e.w;\n\t\t\t\t\tqv.add(vo);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (verts[t].dist < L) {\n\t\t\tok = false;\n\t\t\treturn;\n\t\t} else if (verts[t].dist == L) {\n\t\t\tok = true;\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tif (edges[i].w == 0) {\n\t\t\t\t\tedges[i].w = MAX_DIST;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\t// replace 0 with 1, adding to za list\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tif (edges[i].w == 0) {\n\t\t\t\tza[i] = true;\n\t\t\t\tedges[i].w = 1;\n\t\t\t} else {\n\t\t\t\tza[i] = false;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// looking for shortest path from s to t with 0\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tif (i != s) {\n\t\t\t\tverts[i].dist = MAX_DIST;\n\t\t\t}\n\t\t}\n\t\tqv.clear();\n\t\tqv.add(verts[s]);\n\t\twhile (!qv.isEmpty()) {\n\t\t\tVert v = qv.poll();\n\t\t\tint vidx = v.idx;\n\t\t\tfor (Edge e : v.edges) {\n\t\t\t\tVert vo = verts[e.other(vidx)];\n\t\t\t\tif (vo.dist > v.dist + e.w) {\n\t\t\t\t\tvo.dist = v.dist + e.w;\n\t\t\t\t\tqv.add(vo);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (verts[t].dist > L) {\n\t\t\tok = false;\n\t\t\treturn;\n\t\t}\n\t\tVert v = verts[t];\n\t\twhile (v.dist > 0) {\n\t\t\tlong minDist = MAX_DIST;\n\t\t\tVert vMin = null;\n\t\t\tEdge eMin = null;\n\t\t\tfor (Edge e : v.edges) {\n\t\t\t\tVert vo = verts[e.other(v.idx)];\n\t\t\t\tif (vo.dist+e.w < minDist) {\n\t\t\t\t\tvMin = vo;\n\t\t\t\t\teMin = e;\n\t\t\t\t\tminDist = vMin.dist+e.w;\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t\tv = vMin;\t\n\t\t\tpath.add(eMin);\n\t\t}\n\t\tCollections.reverse(path);\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tif (za[i]) {\n\t\t\t\tedges[i].w = MAX_DIST;\n\t\t\t}\n\t\t}\n\t\tlong totLen=0;\n\t\tboolean wFixed = false;\n\t\tfor (Edge e : path) {\n\t\t\ttotLen += (za[e.idx] ? 1 : e.w);\n\t\t}\n\t\tfor (Edge e : path) {\n\t\t\tif (za[e.idx]) {\n\t\t\t\tif (!wFixed) {\n\t\t\t\t\te.w = L - totLen + 1;\n\t\t\t\t\twFixed = true;\n\t\t\t\t} else {\n\t\t\t\t\te.w = 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tok = true;\n\t}", "static void FindPath(vertex s, vertex[] array){\r\n\t\tvertex v; \r\n\t\tint min = Integer.MAX_VALUE;\r\n\t\t//node wN; vertex wV; //wN= adjacent node in LinkedList; wV= find the values in the vertices for wL\r\n\t\tint j =0;\r\n\t\ts.known = true;\r\n\t\ts.dist = 0;\r\n\t\tShortestPath(s, array);\r\n\t\r\n\t\twhile(j<array.length-1 ){ //&& array[j].known== false){\r\n\t\t\tint count = 0; \r\n\t\t\tmin = Integer.MAX_VALUE;\r\n\t\t\tfor(int i = 0; i<array.length; i++){\r\n\t\t\t\tif(array[i].known== false && array[i].dist < min){\r\n\t\t\t\t\tmin = array[i].dist;\r\n\t\t\t\t\tcount = i;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tv = array[count];\r\n //System.out.println(\"count: \" + count + \"Next v: \" + v.name);\r\n\t\t\tShortestPath(v, array);\r\n\t\t\tj++; \t\t\r\n }\r\n\t}", "Node commonAncestor(Node one, Node two);", "public boolean hasPathTo(int v) {\n return visited[v];\n }", "public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {\n TreeNode cur = root;\n while (true) {\n if (cur.val > p.val && cur.val > q.val) cur = cur.left;\n else if (cur.val < p.val && cur.val < q.val) cur = cur.right;\n else return cur;\n }\n}", "public static void main(String[] args) {\n addNode(3);\n Node ans = lowestCommonAncestorFast(root.left, root.left.right.right);\n System.out.print(ans.val);\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) throws java.lang.NullPointerException, java.lang.IndexOutOfBoundsException \n\t {\n\t\t if(null==v || null==w) throw new java.lang.NullPointerException(\"null argument to lenght, v=\"+v+\" w=\"+w);\n\t\t \n\t\t return getAncestors(v,w).mDistance;\n\t }", "public TreeNode lowestCommonAncestor1(TreeNode root, TreeNode p, TreeNode q) {\n\t\tif(root == null || root == p || root == q) return root;\n\t\tboolean pOnLeft = exists(root.left, p);\n\t\tboolean pOnRight = exists(root.right, p);\n\n\t\tboolean qOnLeft = exists(root.left, q);\n\t\tboolean qOnRight = exists(root.right, q);\n\n\n\t\tif((pOnLeft & qOnRight) || (qOnLeft & pOnRight)) {System.out.println(\"LCA found...\"); return root;}\n\t\telse if(pOnLeft & qOnLeft) {System.out.println(\"Inside left...\"); return lowestCommonAncestor(root.left, p, q);}\n\t\telse if(pOnRight & qOnRight) {System.out.println(\"Inside right...\"); return lowestCommonAncestor(root.right, p, q);}\n\t\treturn null;\n\t}", "private void computePaths(Vertex source, Vertex target, ArrayList<Vertex> vs)\n {\n \tfor (Vertex v : vs)\n \t{\n \t\tv.minDistance = Double.POSITIVE_INFINITY;\n \t\tv.previous = null;\n \t}\n source.minDistance = 0.;\t\t// distance to self is zero\n IndexMinPQ<Vertex> vertexQueue = new IndexMinPQ<Vertex>(vs.size());\n \n for (Vertex v : vs) vertexQueue.insert(Integer.parseInt(v.id), v);\n\n\t\twhile (!vertexQueue.isEmpty()) \n\t\t{\n\t \t// retrieve vertex with shortest distance to source\n\t \tVertex u = vertexQueue.minKey();\n\t \tvertexQueue.delMin();\n\t\t\tif (u == target)\n\t\t\t{\n\t\t\t\t// trace back\n\t\t\t\twhile (u.previous != null)\n\t\t\t\t{;\n\t\t\t\t\tu = u.previous;\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n \t// Visit each edge exiting u\n \tfor (Edge e : u.adjacencies)\n \t\t{\n \t\tVertex v = e.target;\n\t\t\t\tdouble weight = e.weight;\n \tdouble distanceThroughU = u.minDistance + weight;\n\t\t\t\tif (distanceThroughU < v.minDistance) \n\t\t\t\t{\n\t\t\t\t\tint vid = Integer.parseInt(v.id);\n\t\t \t\tvertexQueue.delete(vid);\n\t\t \t\tv.minDistance = distanceThroughU;\n\t\t \t\tv.previous = u;\n\t\t \t\tvertexQueue.insert(vid,v);\n\t\t\t\t}\n\t\t\t}\n }\n }", "@NativeType(\"hwloc_obj_t\")\n public static hwloc_obj hwloc_get_common_ancestor_obj(@NativeType(\"hwloc_topology_t\") long topology, @NativeType(\"hwloc_obj_t\") hwloc_obj obj1, @NativeType(\"hwloc_obj_t\") hwloc_obj obj2) {\n while (obj1.address() != obj2.address()) {\n while (obj1.depth() > obj2.depth()) {\n obj1 = Objects.requireNonNull(obj1.parent());\n }\n while (obj2.depth() > obj1.depth()) {\n obj2 = Objects.requireNonNull(obj2.parent());\n }\n if (obj1.address() != obj2.address() && obj1.depth() == obj2.depth()) {\n obj1 = Objects.requireNonNull(obj1.parent());\n obj2 = Objects.requireNonNull(obj2.parent());\n }\n }\n return obj1;\n }", "public int shortestPath(Village startVillage, Village targetVillage) {\n// setting the initial point 's minimum distance to zera\n startVillage.setMinDistance(0);\n// accourting to bellman ford if there are n number of dots then n-1 iterations to be done to find the minimum distances of every dot from one initial dot\n int length = this.villageList.size();\n// looping n-1 times\n for (int i = 0; i < length - 1; i++) {\n// looping through all the roads and mark the minimum distances of all the possible points\n for (Road road : roadList) {\n\n\n// if the road is a main road then skip the path\n if (road.getWeight() == 900)\n continue; //why 900 ? : just a random hightest number as a minimum distance and same 900 is used as a mix number\n Village v = road.getStartVertex();\n Village u = road.getTargetVertex();\n// if the newly went path is less than the path it used to be the update the min distance of the reached vertex\n int newLengtha = v.getMinDistance() + road.getWeight();\n if (newLengtha < u.getMinDistance()) {\n u.setMinDistance(newLengtha);\n u.setPreviousVertex(v);\n }\n int newLengthb = u.getMinDistance() + road.getWeight();\n if (newLengthb < v.getMinDistance()) {\n v.setMinDistance(newLengthb);\n v.setPreviousVertex(v);\n }\n }\n }\n// finally return the minimum distance\n return targetVillage.getMinDistance();\n }", "public static <G extends BaseWeightedGraph<V,E,W>,V,E extends WeightedEdge<V,W>, W extends Number & Comparable<W>> List<E> findShortestPathInt(G graph, V source, V sink){\r\n\t\t// check graph contains source and sink\r\n\t\tSet<V> vertecies = graph.getVertices();\r\n\t\tif( !(vertecies.contains(source) && vertecies.contains(sink)) ){\r\n\t\t\tthrow new IllegalArgumentException(\"BaseGraph must contain both source and sink\");\r\n\t\t}\r\n\t\t\r\n\t\tPriorityQueue<WeightedPathChain<V,E,W,Integer>> pq = new PriorityQueue<WeightedPathChain<V,E,W,Integer>>(); \r\n\t\tHashSet<V> checked = new HashSet<V>();\r\n\t\tHashMap<V,WeightedPathChain<V,E,W,Integer>> map = new HashMap<V,WeightedPathChain<V,E,W,Integer>>();\r\n\t\taddOrUpdate(map,pq,source,Integer.valueOf(0));\r\n\t\twhile(!pq.isEmpty()&&!sink.equals(pq.peek().vertex)){\r\n\t\t\tWeightedPathChain<V,E,W,Integer> current = pq.poll(); // poll lowest level vertex\r\n\t\t\tchecked.add(current.vertex); // add vertex to checked set\r\n\t\t\tfor (E edge :graph.getOutgoingEdges(current.vertex)){\t// for each outgoing edge \r\n\t\t\t\tif(!checked.contains(edge.getOpposingVertex(current.vertex))){\t\t// if opposing vertex has not been checked \r\n\t\t\t\t\taddOrUpdate(map,\r\n\t\t\t\t\t\t\t\tpq,\r\n\t\t\t\t\t\t\t\tedge.getOpposingVertex(current.vertex),\r\n\t\t\t\t\t\t\t\tInteger.valueOf(map.get(current.vertex).val+edge.getWeight().intValue() ) ,\r\n\t\t\t\t\t\t\t\tedge);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tArrayList<V> path = new ArrayList<V>(); // vertex path \r\n\t\tArrayList<E> edgePath = new ArrayList<E>(); // edge path\r\n\t\tboolean run = true; \r\n\t\tif(!pq.isEmpty()&&pq.peek().vertex.equals(sink)) { // \r\n\t\t\tWeightedPathChain<V,E,W,Integer> vv = pq.poll();\r\n\t\t\tpath.add(vv.vertex);\r\n\t\t\tedgePath.add(vv.edge);\r\n\t\t\twhile(run) {\r\n\t\t\t\tvv = map.get(vv.edge.getOpposingVertex(vv.vertex));\r\n\t\t\t\tif(vv.vertex.equals(source)) {\r\n\t\t\t\t\trun=false;\r\n\t\t\t\t\tpath.add(vv.vertex);\r\n\t\t\t\t}\r\n\t\t\t\telse {\t\r\n\t\t\t\t\tedgePath.add(vv.edge);\r\n\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t//return path;\r\n\t\t\r\n\t\tCollections.reverse(edgePath);\r\n\t\treturn edgePath;\r\n\t}", "public E getParentEdge(V vertex);", "List<V> getShortestPath(V vertex);", "public TreeNode lowestCommonAncestor2(TreeNode root, TreeNode p, TreeNode q) {\r\n\t\t if(root == null || p == root || q == root)\r\n\t return root;\r\n\t \r\n\t TreeNode left = lowestCommonAncestor(root.left, p, q);\r\n\t TreeNode right = lowestCommonAncestor(root.right, p, q);\r\n\t \r\n\t if(left == null && right != null) { // both on right\r\n\t return right;\r\n\t }\r\n\t if(right == null && left != null) { // both on left\r\n\t return left;\r\n\t }\r\n\t if(right == null && left == null) { // not in left and right\r\n\t return null;\r\n\t }\r\n\t return root; // right != null && left != null, one in left, one in right\r\n\t }", "public int length(int v, int w) throws java.lang.NullPointerException, java.lang.IndexOutOfBoundsException \n\t {\n\t\t if(null==mGraph) throw new java.lang.NullPointerException(\"Null graph in SAP\");\n\t\t if ( (v<0 || v >= mGraph.V()) || (w<0 || w >= mGraph.V()) ) throw new java.lang.IndexOutOfBoundsException(\"index out of band\");\n\t\t \n\t\t Bag<Integer> vBag = new Bag<Integer>();\n\t\t Bag<Integer> wBag = new Bag<Integer>();\n\t\t vBag.add(v);\n\t\t wBag.add(w);\n\t\t return getAncestors(vBag,wBag).mDistance;\n\t }", "public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {\n if (root.val < p.val && root.val < q.val) return lowestCommonAncestor(root.right, p, q);\n else if (root.val > p.val && root.val > q.val) return lowestCommonAncestor(root.left, p, q);\n return root;\n}", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n Paths sapComponents = sap(v, w);\n return sapComponents == null ? NO_ANCESTOR : sapComponents.length();\n }" ]
[ "0.83451504", "0.8293594", "0.8270279", "0.8185771", "0.8163099", "0.81377125", "0.81194025", "0.8113034", "0.8046188", "0.8045889", "0.8035982", "0.80313706", "0.80066174", "0.79889417", "0.79345536", "0.79102755", "0.7873872", "0.7826666", "0.7824682", "0.7788008", "0.7779209", "0.77506804", "0.7654731", "0.75988835", "0.7546789", "0.75308746", "0.7458497", "0.73551226", "0.7320333", "0.7301276", "0.7283186", "0.7216302", "0.71730554", "0.7159415", "0.7155526", "0.71084136", "0.70766985", "0.69099903", "0.69017935", "0.6827114", "0.67529935", "0.6676517", "0.6633635", "0.6602084", "0.65537274", "0.6520267", "0.6492939", "0.64253086", "0.6410148", "0.6393641", "0.6301697", "0.626214", "0.6243483", "0.6242673", "0.6136766", "0.608249", "0.60236126", "0.60166657", "0.6009087", "0.5994053", "0.5984699", "0.5978396", "0.5927018", "0.58761847", "0.5872551", "0.5844853", "0.5839197", "0.5831978", "0.579052", "0.5767076", "0.5752888", "0.5745403", "0.5744483", "0.572983", "0.56926924", "0.5622011", "0.5609289", "0.56082785", "0.5602101", "0.55954826", "0.5595257", "0.5586271", "0.5583378", "0.55641365", "0.55502224", "0.55417264", "0.5520299", "0.5482899", "0.5480288", "0.54655874", "0.5453923", "0.5445173", "0.54369885", "0.54294556", "0.5428806", "0.5425337", "0.5405781", "0.5403116", "0.53979903", "0.5392107" ]
0.7757498
21
length of shortest ancestral path between any vertex in v and any vertex in w; 1 if no such path
public int length(Iterable<Integer> v, Iterable<Integer> w) { if (v == null || w == null) throw new IllegalArgumentException("Null argument"); for (Integer each : v) { if (each == null) throw new IllegalArgumentException("Null argument"); } for (Integer each : w) { if (each == null) throw new IllegalArgumentException("Null argument"); } int candidate = Integer.MAX_VALUE; ancestorMultiple = Integer.MAX_VALUE; bfsV = new BreadthFirstDirectedPathsFast(digraph, v); bfsW = new BreadthFirstDirectedPathsFast(digraph, w); for (int i = 0; i < digraph.V(); ++i) { if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) { int distV = bfsV.distTo(i); int distW = bfsW.distTo(i); if (distV + distW < candidate) { candidate = distV + distW; ancestorMultiple = i; } } } return candidate == Integer.MAX_VALUE ? -1 : candidate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int length(int v, int w){\n shortestPath(v,w);\n return minPath;\n }", "public int length(int v, int w) {\r\n if (v < 0 || w < 0 || v >= G.V() || w >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n shortestDist = (shortestDist <= bfdp1.distTo(i) + bfdp2.distTo(i)) ? shortestDist : bfdp1.distTo(i) + bfdp2.distTo(i);\r\n }\r\n }\r\n return (shortestDist == Integer.MAX_VALUE) ? -1: shortestDist;\r\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\r\n for (Integer vTmp : v) {\r\n if (vTmp < 0 || vTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n for (Integer wTmp : w) {\r\n if (wTmp < 0 || wTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n shortestDist = (shortestDist <= bfdp1.distTo(i) + bfdp2.distTo(i)) ? shortestDist: bfdp1.distTo(i) + bfdp2.distTo(i);\r\n }\r\n }\r\n return (shortestDist == Integer.MAX_VALUE) ? -1 : shortestDist;\r\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w){\n if(v == null || w == null)\n throw new NullPointerException(\"null arguments\");\n shortestPath(v,w);\n return minPath;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n int shortestPath = -1;\n Deque<Integer> ancestors = new ArrayDeque<>();\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer integer : ancestors) {\n int path = bfsV.distTo(integer) + bfsW.distTo(integer);\n if (shortestPath == -1 || path < shortestPath) {\n shortestPath = path;\n }\n }\n return shortestPath;\n }", "public int length(int v, int w) {\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n if (anc == -1) minLen = -1;\n return minLen;\n }", "public int length(int v, int w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n }\n }\n return min == Integer.MAX_VALUE ? -1 : min;\n }", "public int length(int v, int w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n int shortestPath = -1;\n Deque<Integer> ancestors = new ArrayDeque<>();\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer integer : ancestors) {\n int path = bfsV.distTo(integer) + bfsW.distTo(integer);\n if (shortestPath == -1 || path < shortestPath) {\n shortestPath = path;\n }\n }\n return shortestPath;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n }\n }\n return min == Integer.MAX_VALUE ? -1 : min;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) {\n throw new NullPointerException();\n }\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n if (anc == -1) minLen = -1;\n return minLen;\n }", "public int length(int v, int w) {\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n }\n }\n }\n return len;\n }", "public int length(int v, int w){\n\t BreadthFirstDirectedPaths BFSv =new BreadthFirstDirectedPaths(D,v);\n\t BreadthFirstDirectedPaths BFSw =new BreadthFirstDirectedPaths(D,w);\n\t \n\t int distance = Integer.MAX_VALUE;\n\t \n\t for (int vertex = 0 ; vertex < D.V();vertex++)\n\t\t if ((BFSv.hasPathTo(vertex))\n\t\t\t\t &&(BFSw.hasPathTo(vertex))\n\t\t\t\t &&(BFSv.distTo(vertex)+BFSw.distTo(vertex))<distance)\n\t\t {\n\t\t\t distance = BFSv.distTo(vertex)+BFSw.distTo(vertex);\n\t\t }\n\t if (distance != Integer.MAX_VALUE)\n\t\t return distance;\n\t else\n\t\t return -1;\n }", "public int length(int v, int w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n if (commonAncestor == -1) return commonAncestor;\n else return bfdV.distTo(commonAncestor) + bfdW.distTo(commonAncestor);\n }", "public int length(int v, int w) {\n\n if (v < 0 || v >= dg.V() || w < 0 || w >= dg.V())\n throw new IllegalArgumentException(\"vertex is not between 0 and \" + (dg.V() - 1));\n\n// ancestor(v,w);\n\n // use bfs to find the path and the shortest distance from v to every vertices in the graph\n // use two arrays, one record the last vertex, edgeTo[]. Another record the distance, distTo[].\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n int ancestor = ancestor(v, w);\n\n if (ancestor == -1) {\n return -1;\n } else {\n return bfs1.distTo(ancestor) + bfs2.distTo(ancestor);\n }\n\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n if (commonAncestor == -1) return commonAncestor;\n else return bfdV.distTo(commonAncestor) + bfdW.distTo(commonAncestor);\n }", "public int length(int v, int w) {\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\t\n\t\treturn (dsap == INFINITY) ? -1 : dsap;\n\t}", "public int length(int v, int w) {\n if (v < 0 || v >= digraph.V() || w < 0 || w >= digraph.V())\n throw new IllegalArgumentException(\"Null argument\");\n int candidate = Integer.MAX_VALUE;\n ancestor = Integer.MAX_VALUE;\n bfsV = new BreadthFirstDirectedPathsFast(digraph, v);\n bfsW = new BreadthFirstDirectedPathsFast(digraph, w);\n for (int i = 0; i < digraph.V(); ++i) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n int distV = bfsV.distTo(i);\n int distW = bfsW.distTo(i);\n if (distV + distW < candidate) {\n candidate = distV + distW;\n ancestor = i;\n }\n }\n }\n return candidate == Integer.MAX_VALUE ? -1 : candidate;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) throw new IllegalArgumentException();\n for (Integer x : v) {\n if (x == null) throw new IllegalArgumentException();\n }\n for (Integer x : w) {\n if (x == null) throw new IllegalArgumentException();\n }\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n }\n }\n }\n return len;\n }", "public int length(final int v, final int w) {\n\n validateVertex(v);\n validateVertex(w);\n\n final BreadthFirstDirectedPaths bfdvObj = new BreadthFirstDirectedPaths(digraphObj, v);\n final BreadthFirstDirectedPaths bfdwObj = new BreadthFirstDirectedPaths(digraphObj, w);\n\n int infinity = Integer.MAX_VALUE;\n \n for (int vertex = 0; vertex < digraphObj.V(); vertex++) {\n if (bfdvObj.hasPathTo(vertex) && bfdwObj.hasPathTo(vertex)) {\n final int dist = bfdvObj.distTo(vertex) + bfdwObj.distTo(vertex);\n if (dist <= infinity) {\n infinity = dist;\n }\n }\n }\n\n return (infinity == Integer.MAX_VALUE) ? -1 : infinity;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n\n validateIterableVertices(v);\n validateIterableVertices(w);\n // use bfs to find the path and the shortest distance from v to every vertices in the graph\n // use two arrays, one record the last vertex, edgeTo[]. Another record the distance, distTo[].\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n int ancestor = ancestor(v, w);\n\n if (ancestor == -1) {\n return -1;\n } else {\n return bfs1.distTo(ancestor) + bfs2.distTo(ancestor);\n }\n\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n\t\tif (v == null || w == null)\n\t\t\tthrow new IllegalArgumentException();\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\t\n\t\treturn (dsap == INFINITY) ? -1 : dsap;\n\t}", "public int length(int v, int w) {\n Paths sapComponents = sap(v, w);\n return sapComponents == null ? NO_ANCESTOR : sapComponents.length();\n }", "int getShortestDistance(V vertex);", "public int length(int v, int w) throws java.lang.NullPointerException, java.lang.IndexOutOfBoundsException \n\t {\n\t\t if(null==mGraph) throw new java.lang.NullPointerException(\"Null graph in SAP\");\n\t\t if ( (v<0 || v >= mGraph.V()) || (w<0 || w >= mGraph.V()) ) throw new java.lang.IndexOutOfBoundsException(\"index out of band\");\n\t\t \n\t\t Bag<Integer> vBag = new Bag<Integer>();\n\t\t Bag<Integer> wBag = new Bag<Integer>();\n\t\t vBag.add(v);\n\t\t wBag.add(w);\n\t\t return getAncestors(vBag,wBag).mDistance;\n\t }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n return anc;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null)\n throw new NullPointerException();\n for (int i : v) inBound(i);\n for (int i : w) inBound(i);\n\n Queue<ColoredNode> Q = new LinkedList<>();\n for (int i : v) {\n lengths[i] = 0;\n colored[i] = color;\n Q.add(new ColoredNode(color, i));\n }\n color ++;\n for (int i : w) {\n lengths[i] = 0;\n if (colored[i] == color - 1) {\n ancestor = i;\n return 0;\n }\n colored[i] = color;\n Q.add(new ColoredNode(color, i));\n }\n color++;\n\n return BFS(Q);\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n Paths sapComponents = sap(v, w);\n return sapComponents == null ? NO_ANCESTOR : sapComponents.length();\n }", "public int ancestor(int v, int w) {\n\n if (v < 0 || v >= dg.V() || w < 0 || w >= dg.V())\n throw new IllegalArgumentException(\"vertex is not between 0 and \" + (dg.V() - 1));\n\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n Stack<Integer> candidates = new Stack<>();\n\n for (int p = 0; p < dg.V(); p++) {\n if (bfs1.hasPathTo(p) && bfs2.hasPathTo(p)) {\n candidates.push(p);\n }\n }\n\n int shortesAncestor = -1;\n int shortesPath = Integer.MAX_VALUE;\n\n while (!candidates.isEmpty()) {\n int c = candidates.pop();\n if (shortesPath > bfs1.distTo(c) + bfs2.distTo(c)) {\n shortesPath = bfs1.distTo(c) + bfs2.distTo(c);\n shortesAncestor = c;\n }\n }\n\n return shortesAncestor;\n\n }", "public int ancestor(int v, int w) {\r\n if (v < 0 || w < 0 || v >= G.V() || w >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n int shortestDistIndex = -1;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n if (shortestDist > bfdp1.distTo(i) + bfdp2.distTo(i)) {\r\n shortestDist = bfdp1.distTo(i) + bfdp2.distTo(i);\r\n shortestDistIndex = i;\r\n }\r\n }\r\n }\r\n return shortestDistIndex;\r\n }", "public int length(int v, int w) {\n int[] res = shortest(v, w);\n return res[0] + text;\n }", "private Paths sap(Iterable<Integer> v, Iterable<Integer> w) {\n for (int vertex : v) validate(vertex);\n for (int vertex : w) validate(vertex);\n BreadthFirstDirectedPaths fromV = new BreadthFirstDirectedPaths(this.G, v);\n BreadthFirstDirectedPaths fromW = new BreadthFirstDirectedPaths(this.G, w);\n return processPaths(fromV, fromW);\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) {\n throw new NullPointerException();\n }\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n return anc;\n }", "public int length(int v, int w) {\n inBound(v);\n inBound(w);\n\n Queue<ColoredNode> Q = new LinkedList<>();\n lengths[v] = lengths[w] = 0;\n colored[v] = color++;\n Q.add(new ColoredNode(colored[v], v));\n\n if (color - 1 == colored[w]) {\n ancestor = v;\n return 0;\n }\n\n colored[w] = color++;\n Q.add(new ColoredNode(colored[w], w));\n\n return BFS(Q);\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\r\n for (Integer vTmp : v) {\r\n if (vTmp < 0 || vTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n for (Integer wTmp : w) {\r\n if (wTmp < 0 || wTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n int shortestDistIndex = -1;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n if (shortestDist > bfdp1.distTo(i) + bfdp2.distTo(i)) {\r\n shortestDist = bfdp1.distTo(i) + bfdp2.distTo(i);\r\n shortestDistIndex = i;\r\n }\r\n }\r\n }\r\n return shortestDistIndex;\r\n }", "private Paths sap(int v, int w) {\n validate(v);\n validate(w);\n BreadthFirstDirectedPaths fromV = new BreadthFirstDirectedPaths(this.G, v);\n BreadthFirstDirectedPaths fromW = new BreadthFirstDirectedPaths(this.G, w);\n return processPaths(fromV, fromW);\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n int [] res = shortest(v, w);\n return res[0];\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n\n\n validateIterableVertices(v);\n validateIterableVertices(w);\n\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n Stack<Integer> candidates = new Stack<>();\n\n for (int p = 0; p < dg.V(); p++) {\n if (bfs1.hasPathTo(p) && bfs2.hasPathTo(p)) {\n candidates.push(p);\n }\n }\n\n int shortesAncestor = -1;\n int shortesPath = Integer.MAX_VALUE;\n\n while (!candidates.isEmpty()) {\n int c = candidates.pop();\n if (shortesPath > bfs1.distTo(c) + bfs2.distTo(c)) {\n shortesPath = bfs1.distTo(c) + bfs2.distTo(c);\n shortesAncestor = c;\n }\n }\n\n return shortesAncestor;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) throws java.lang.NullPointerException, java.lang.IndexOutOfBoundsException \n\t {\n\t\t if(null==v || null==w) throw new java.lang.NullPointerException(\"null argument to lenght, v=\"+v+\" w=\"+w);\n\t\t \n\t\t return getAncestors(v,w).mDistance;\n\t }", "public int length(int v, int w) {\n return (distance == Integer.MAX_VALUE) ? -1 : distance;\n }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n int a = -1;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n a = i;\n }\n }\n return a;\n }", "List<V> getShortestPath(V vertex);", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n int a = -1;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n a = i;\n }\n }\n return a;\n }", "public abstract int shortestPathDistance(String vertLabel1, String vertLabel2);", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int ancestor = -1;\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n }\n }\n return ancestor;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n return (distance == Integer.MAX_VALUE)? -1 : distance;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w){\n\t int[] distanceV,distanceW;\n\t boolean[] markV,markW;\n\t \n\t return 0;\n }", "public int ancestor(int v, int w){\n\t BreadthFirstDirectedPaths BFSv =new BreadthFirstDirectedPaths(D,v);\n\t BreadthFirstDirectedPaths BFSw =new BreadthFirstDirectedPaths(D,w);\n\t \n\t int distance = Integer.MAX_VALUE;\n\t int ancestor = -1;\n\t for (int vertex = 0 ; vertex < D.V();vertex++)\n\t\t if ((BFSv.hasPathTo(vertex))\n\t\t\t\t &&(BFSw.hasPathTo(vertex))\n\t\t\t\t &&(BFSv.distTo(vertex)+BFSw.distTo(vertex))<distance)\n\t\t {\n\t\t\t ancestor = vertex;\n\t\t\t distance = BFSv.distTo(vertex)+BFSw.distTo(vertex);\n\t\t }\n\n\t\t return ancestor;\n }", "public int length(int v, int w) {\n return calcLengthAndAncestor(v, w)._1;\n }", "public void shortestPathsNodes() {\n for (int sourceNode = 0; sourceNode < wordGraph.V(); sourceNode++) {\n BreadthFirstDirectedPaths bfs = new BreadthFirstDirectedPaths(wordGraph, sourceNode);\n\n for (int goalNode = 0; goalNode < wordGraph.V(); goalNode++) {\n Iterable<Integer> shortestPath = bfs.pathTo(goalNode);\n int pathLength = -1;\n if (shortestPath != null) {\n for (int edge : shortestPath) {\n pathLength++;\n }\n }\n if (pathLength != -1) {\n }\n System.out.println(pathLength);\n }\n }\n }", "public int ancestor(final int v, final int w) {\n\n validateVertex(v);\n validateVertex(w);\n\n if (v == w) {\n return v;\n }\n\n final BreadthFirstDirectedPaths bfdvObj = new BreadthFirstDirectedPaths(digraphObj, v);\n final BreadthFirstDirectedPaths bfdwObj = new BreadthFirstDirectedPaths(digraphObj, w);\n \n int infinity = Integer.MAX_VALUE;\n int ances = -1;\n\n for (int vertex = 0; vertex < digraphObj.V(); vertex++) {\n if (bfdvObj.hasPathTo(vertex) && bfdwObj.hasPathTo(vertex)) {\n final int dist = bfdvObj.distTo(vertex) + bfdwObj.distTo(vertex);\n if (dist <= infinity) {\n infinity = dist;\n ances = vertex;\n }\n }\n }\n\n return ances;\n }", "public String findDistanceOfPath(String[] vertices) {\r\n String source = vertices[0];\r\n int distance = 0;\r\n for (int i = 1; i < vertices.length; i++) {\r\n String target = vertices[i];\r\n Map<String, Integer> edgeMap = adj.get(source);\r\n if (edgeMap != null && edgeMap.containsKey(target)) {\r\n distance += edgeMap.get(target);\r\n } else {\r\n return \"NO SUCH ROUTE\";\r\n }\r\n source = target;\r\n }\r\n return String.valueOf(distance);\r\n }", "double distance(long v, long w) {\n double vlon = adj.get(v).get(0).Lon;\n double vlat = adj.get(v).get(0).Lat;\n double wlon = adj.get(w).get(0).Lon;\n double wlat = adj.get(w).get(0).Lat;\n double lonDist = vlon - wlon;\n double latDist = vlat - wlat;\n return Math.sqrt(lonDist * lonDist + latDist * latDist);\n }", "private int[] shortest(int w, int v) {\n int[] res = new int[2];\n DeluxeBFS wBFS = new DeluxeBFS(G, w);\n DeluxeBFS vBFS = new DeluxeBFS(G, v);\n boolean[] wMarked = wBFS.getMarked();\n boolean[] vMarked = vBFS.getMarked();\n int minDis = Integer.MAX_VALUE;\n int anc = Integer.MAX_VALUE;\n \n for (int i = 0; i < wMarked.length; i++) {\n if (wMarked[i] && vMarked[i]) {\n int dis = wBFS.distTo(i) + vBFS.distTo(i);\n if (dis < minDis) {\n minDis = dis;\n anc = i;\n }\n }\n }\n if (minDis == Integer.MAX_VALUE) {\n res[0] = -1;\n res[1] = -1;\n return res;\n } else {\n res[0] = minDis;\n res[1] = anc;\n return res;\n }\n }", "double estimatedDistanceToGoal(Vertex s, Vertex goal);", "public static void computePaths(Vertex source){\n\t\tsource.minDistance=0;\n\t\t//visit each vertex u, always visiting vertex with smallest minDistance first\n\t\tPriorityQueue<Vertex> vertexQueue=new PriorityQueue<Vertex>();\n\t\tvertexQueue.add(source);\n\t\twhile(!vertexQueue.isEmpty()){\n\t\t\tVertex u = vertexQueue.poll();\n\t\t\tSystem.out.println(\"For: \"+u);\n\t\t\tfor (Edge e: u.adjacencies){\n\t\t\t\tVertex v = e.target;\n\t\t\t\tSystem.out.println(\"Checking: \"+u+\" -> \"+v);\n\t\t\t\tdouble weight=e.weight;\n\t\t\t\t//relax the edge (u,v)\n\t\t\t\tdouble distanceThroughU=u.minDistance+weight;\n\t\t\t\tif(distanceThroughU<v.minDistance){\n\t\t\t\t\tSystem.out.println(\"Updating minDistance to \"+distanceThroughU);\n\t\t\t\t\tv.minDistance=distanceThroughU;\n\t\t\t\t\tv.previous=u;\n\t\t\t\t\t//move the vertex v to the top of the queue\n\t\t\t\t\tvertexQueue.remove(v);\n\t\t\t\t\tvertexQueue.add(v);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) throw new IllegalArgumentException();\n for (Integer x : v) {\n if (x == null) throw new IllegalArgumentException();\n }\n for (Integer x : w) {\n if (x == null) throw new IllegalArgumentException();\n }\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int ancestor = -1;\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n }\n }\n return ancestor;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n int nopath = -1;\n int length = Integer.MAX_VALUE;\n for (int i1 : v) {\n for (int i2 : w) {\n int ancestor = ancestor(i1, i2);\n if (length >= length(i1, i2)) {\n length = distance;\n nopath = ancestor;\n }\n }\n }\n distance = length;\n return nopath;\n }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n return commonAncestor;\n }", "static void FindPath(vertex s, vertex[] array){\r\n\t\tvertex v; \r\n\t\tint min = Integer.MAX_VALUE;\r\n\t\t//node wN; vertex wV; //wN= adjacent node in LinkedList; wV= find the values in the vertices for wL\r\n\t\tint j =0;\r\n\t\ts.known = true;\r\n\t\ts.dist = 0;\r\n\t\tShortestPath(s, array);\r\n\t\r\n\t\twhile(j<array.length-1 ){ //&& array[j].known== false){\r\n\t\t\tint count = 0; \r\n\t\t\tmin = Integer.MAX_VALUE;\r\n\t\t\tfor(int i = 0; i<array.length; i++){\r\n\t\t\t\tif(array[i].known== false && array[i].dist < min){\r\n\t\t\t\t\tmin = array[i].dist;\r\n\t\t\t\t\tcount = i;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tv = array[count];\r\n //System.out.println(\"count: \" + count + \"Next v: \" + v.name);\r\n\t\t\tShortestPath(v, array);\r\n\t\t\tj++; \t\t\r\n }\r\n\t}", "private void computePaths(Vertex source, Vertex target, ArrayList<Vertex> vs)\n {\n \tfor (Vertex v : vs)\n \t{\n \t\tv.minDistance = Double.POSITIVE_INFINITY;\n \t\tv.previous = null;\n \t}\n source.minDistance = 0.;\t\t// distance to self is zero\n IndexMinPQ<Vertex> vertexQueue = new IndexMinPQ<Vertex>(vs.size());\n \n for (Vertex v : vs) vertexQueue.insert(Integer.parseInt(v.id), v);\n\n\t\twhile (!vertexQueue.isEmpty()) \n\t\t{\n\t \t// retrieve vertex with shortest distance to source\n\t \tVertex u = vertexQueue.minKey();\n\t \tvertexQueue.delMin();\n\t\t\tif (u == target)\n\t\t\t{\n\t\t\t\t// trace back\n\t\t\t\twhile (u.previous != null)\n\t\t\t\t{;\n\t\t\t\t\tu = u.previous;\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n \t// Visit each edge exiting u\n \tfor (Edge e : u.adjacencies)\n \t\t{\n \t\tVertex v = e.target;\n\t\t\t\tdouble weight = e.weight;\n \tdouble distanceThroughU = u.minDistance + weight;\n\t\t\t\tif (distanceThroughU < v.minDistance) \n\t\t\t\t{\n\t\t\t\t\tint vid = Integer.parseInt(v.id);\n\t\t \t\tvertexQueue.delete(vid);\n\t\t \t\tv.minDistance = distanceThroughU;\n\t\t \t\tv.previous = u;\n\t\t \t\tvertexQueue.insert(vid,v);\n\t\t\t\t}\n\t\t\t}\n }\n }", "public int ancestor(int v, int w) {\n if (v < 0 || v >= digraph.V() || w < 0 || w >= digraph.V())\n throw new IllegalArgumentException(\"Null argument\");\n int candidate = Integer.MAX_VALUE;\n ancestor = Integer.MAX_VALUE;\n bfsV = new BreadthFirstDirectedPathsFast(digraph, v);\n bfsW = new BreadthFirstDirectedPathsFast(digraph, w);\n for (int i = 0; i < digraph.V(); ++i) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n int distV = bfsV.distTo(i);\n int distW = bfsW.distTo(i);\n if (distV + distW < candidate) {\n candidate = distV + distW;\n ancestor = i;\n }\n }\n }\n return ancestor == Integer.MAX_VALUE ? -1 : ancestor;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n return commonAncestor;\n }", "@Test\n public void testShortestDistance() {\n Vertex v1 = new Vertex(1, \"A\");\n Vertex v2 = new Vertex(2, \"B\");\n Vertex v3 = new Vertex(3, \"C\");\n\n Edge<Vertex> e1 = new Edge<>(v1, v2, 1);\n Edge<Vertex> e2 = new Edge<>(v2, v3, 3);\n Edge<Vertex> e3 = new Edge<>(v1, v3, 2);\n\n Graph<Vertex, Edge<Vertex>> g = new Graph<>();\n g.addVertex(v1);\n g.addVertex(v2);\n g.addVertex(v3);\n g.addEdge(e1);\n g.addEdge(e2);\n g.addEdge(e3);\n\n List<Vertex> expectedPath = new ArrayList<>();\n expectedPath.add(v1);\n expectedPath.add(v3);\n assertEquals(expectedPath, g.shortestPath(v1, v3));\n\n assertEquals(6, g.edgeLengthSum());\n }", "public int ancestor(int v, int w) {\n bfsV = new BreadthFirstDirectedPaths(graph, v);\n bfsW = new BreadthFirstDirectedPaths(graph, w);\n distance = Integer.MAX_VALUE;\n for (int i = 0; i < graph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n if (distance >= (bfsV.distTo(i) + bfsW.distTo(i))) {\n distance = bfsV.distTo(i) + bfsW.distTo(i);\n ancestor = i;\n }\n }\n }\n return ancestor;\n }", "public int ancestor(int v, int w){\n shortestPath(v,w);\n return ca;\n }", "public int ancestor(int v, int w) {\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, ancestor = -1, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tancestor = vertex;\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\t\n\t\treturn (dsap == INFINITY) ? -1 : ancestor;\n\t}", "private static void computePaths(Vertex source) {\n source.minDistance = 0;\n // retrieves with log(n) time\n PriorityQueue<Vertex> vertexPriorityQueue = new PriorityQueue<>();\n\n //BFS traversal\n vertexPriorityQueue.add(source);\n\n // O((v + e) * log(v))\n while (!vertexPriorityQueue.isEmpty()) {\n // this poll always returns the shortest distance vertex at log(v) time\n Vertex vertex = vertexPriorityQueue.poll();\n\n //visit each edge exiting vertex (adjacencies)\n for (Edge edgeInVertex : vertex.adjacencies) {\n // calculate new distance between edgeInVertex and target\n Vertex targetVertex = edgeInVertex.target;\n double edgeWeightForThisVertex = edgeInVertex.weight;\n double distanceThruVertex = vertex.minDistance + edgeWeightForThisVertex;\n if (distanceThruVertex < targetVertex.minDistance) {\n // modify the targetVertex with new calculated minDistance and previous vertex\n // by removing the old vertex and add new vertex with updates\n vertexPriorityQueue.remove(targetVertex);\n targetVertex.minDistance = distanceThruVertex;\n // update previous with the shortest distance vertex\n targetVertex.previous = vertex;\n vertexPriorityQueue.add(targetVertex);// adding takes log(v) time because needs to heapify\n }\n }\n }\n }", "public int shortestPathLength(int[][] graph) {\n Queue<MyPath> q = new LinkedList<>();\n Set<String> visited = new HashSet<>();\n\n for (int i = 0; i < graph.length; i++) {\n MyPath path = new MyPath(i, (1 << i));\n visited.add(path.convertToString());\n q.offer(path);\n }\n\n int length = 0;\n while (!q.isEmpty()) {\n int size = q.size();\n while (size-- > 0) {\n MyPath next = q.poll();\n int curr = next.curr;\n int currPath = next.nodes;\n // Assume we have two nodes -> n = 2\n // 1 << 2 -> 100\n // 100 - 1 -> 011 which means both nodes are visited\n if (currPath == (1 << graph.length) - 1) {\n return length;\n }\n for (int neighbors : graph[curr]) {\n MyPath newPath = new MyPath(neighbors, currPath | (1 << neighbors));\n String pathString = newPath.convertToString();\n if (visited.add(pathString)) {\n q.offer(newPath);\n }\n }\n }\n length++;\n }\n\n return -1;\n }", "public int length(int v, int w) {\n int[] ret = new int[2];\n ArrayList<Integer> vl = new ArrayList<Integer>(1);\n vl.add(v);\n ArrayList<Integer> wl = new ArrayList<Integer>(1);\n wl.add(w);\n sap(vl, wl, ret);\n return ret[1];\n }", "boolean hasPathTo(int v)\n\t{\n\t\treturn edgeTo[v].weight()!=Double.POSITIVE_INFINITY;\n\t}", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n\n int shortestPath = Integer.MAX_VALUE;\n Deque<Integer> ancestors = new ArrayDeque<>();\n int ancestor = -1;\n\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer a : ancestors) {\n if ((bfsV.distTo(a) + bfsW.distTo(a)) < shortestPath) {\n shortestPath = (bfsV.distTo(a) + bfsW.distTo(a));\n ancestor = a;\n }\n }\n return ancestor;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n\t\tif (v == null || w == null)\n\t\t\tthrow new IllegalArgumentException();\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, ancestor = -1, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tancestor = vertex;\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\treturn (dsap == INFINITY) ? -1 : ancestor;\n\t}", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n return calcLengthAndAncestor(v, w)._1;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) throw new IllegalArgumentException(\"Null argument\");\n for (Integer each : v) {\n if (each == null) throw new IllegalArgumentException(\"Null argument\");\n }\n for (Integer each : w) {\n if (each == null) throw new IllegalArgumentException(\"Null argument\");\n }\n int candidate = Integer.MAX_VALUE;\n ancestorMultiple = Integer.MAX_VALUE;\n bfsV = new BreadthFirstDirectedPathsFast(digraph, v);\n bfsW = new BreadthFirstDirectedPathsFast(digraph, w);\n for (int i = 0; i < digraph.V(); ++i) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n int distV = bfsV.distTo(i);\n int distW = bfsW.distTo(i);\n if (distV + distW < candidate) {\n candidate = distV + distW;\n ancestorMultiple = i;\n }\n }\n }\n return ancestorMultiple == Integer.MAX_VALUE ? -1 : ancestorMultiple;\n }", "private void calculate() {\n\t\tList<Edge> path = new ArrayList<>();\n\t\tPriorityQueue<Vert> qv = new PriorityQueue<>();\n\t\tverts[s].dist = 0;\n\t\tqv.add(verts[s]);\n\t\twhile (!qv.isEmpty()) {\n\t\t\tVert v = qv.poll();\n\t\t\tint vidx = v.idx;\n\t\t\tfor (Edge e : v.edges) {\n\t\t\t\tif (e.w==0) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tVert vo = verts[e.other(vidx)];\n\t\t\t\tif (vo.dist > v.dist + e.w) {\n\t\t\t\t\tvo.dist = v.dist + e.w;\n\t\t\t\t\tqv.add(vo);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (verts[t].dist < L) {\n\t\t\tok = false;\n\t\t\treturn;\n\t\t} else if (verts[t].dist == L) {\n\t\t\tok = true;\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tif (edges[i].w == 0) {\n\t\t\t\t\tedges[i].w = MAX_DIST;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\t// replace 0 with 1, adding to za list\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tif (edges[i].w == 0) {\n\t\t\t\tza[i] = true;\n\t\t\t\tedges[i].w = 1;\n\t\t\t} else {\n\t\t\t\tza[i] = false;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// looking for shortest path from s to t with 0\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tif (i != s) {\n\t\t\t\tverts[i].dist = MAX_DIST;\n\t\t\t}\n\t\t}\n\t\tqv.clear();\n\t\tqv.add(verts[s]);\n\t\twhile (!qv.isEmpty()) {\n\t\t\tVert v = qv.poll();\n\t\t\tint vidx = v.idx;\n\t\t\tfor (Edge e : v.edges) {\n\t\t\t\tVert vo = verts[e.other(vidx)];\n\t\t\t\tif (vo.dist > v.dist + e.w) {\n\t\t\t\t\tvo.dist = v.dist + e.w;\n\t\t\t\t\tqv.add(vo);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (verts[t].dist > L) {\n\t\t\tok = false;\n\t\t\treturn;\n\t\t}\n\t\tVert v = verts[t];\n\t\twhile (v.dist > 0) {\n\t\t\tlong minDist = MAX_DIST;\n\t\t\tVert vMin = null;\n\t\t\tEdge eMin = null;\n\t\t\tfor (Edge e : v.edges) {\n\t\t\t\tVert vo = verts[e.other(v.idx)];\n\t\t\t\tif (vo.dist+e.w < minDist) {\n\t\t\t\t\tvMin = vo;\n\t\t\t\t\teMin = e;\n\t\t\t\t\tminDist = vMin.dist+e.w;\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t\tv = vMin;\t\n\t\t\tpath.add(eMin);\n\t\t}\n\t\tCollections.reverse(path);\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tif (za[i]) {\n\t\t\t\tedges[i].w = MAX_DIST;\n\t\t\t}\n\t\t}\n\t\tlong totLen=0;\n\t\tboolean wFixed = false;\n\t\tfor (Edge e : path) {\n\t\t\ttotLen += (za[e.idx] ? 1 : e.w);\n\t\t}\n\t\tfor (Edge e : path) {\n\t\t\tif (za[e.idx]) {\n\t\t\t\tif (!wFixed) {\n\t\t\t\t\te.w = L - totLen + 1;\n\t\t\t\t\twFixed = true;\n\t\t\t\t} else {\n\t\t\t\t\te.w = 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tok = true;\n\t}", "public int shortestPath(Village startVillage, Village targetVillage) {\n// setting the initial point 's minimum distance to zera\n startVillage.setMinDistance(0);\n// accourting to bellman ford if there are n number of dots then n-1 iterations to be done to find the minimum distances of every dot from one initial dot\n int length = this.villageList.size();\n// looping n-1 times\n for (int i = 0; i < length - 1; i++) {\n// looping through all the roads and mark the minimum distances of all the possible points\n for (Road road : roadList) {\n\n\n// if the road is a main road then skip the path\n if (road.getWeight() == 900)\n continue; //why 900 ? : just a random hightest number as a minimum distance and same 900 is used as a mix number\n Village v = road.getStartVertex();\n Village u = road.getTargetVertex();\n// if the newly went path is less than the path it used to be the update the min distance of the reached vertex\n int newLengtha = v.getMinDistance() + road.getWeight();\n if (newLengtha < u.getMinDistance()) {\n u.setMinDistance(newLengtha);\n u.setPreviousVertex(v);\n }\n int newLengthb = u.getMinDistance() + road.getWeight();\n if (newLengthb < v.getMinDistance()) {\n v.setMinDistance(newLengthb);\n v.setPreviousVertex(v);\n }\n }\n }\n// finally return the minimum distance\n return targetVillage.getMinDistance();\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w){\n if(v == null || w == null)\n throw new NullPointerException(\"null arguments\");\n shortestPath(v,w);\n return ca;\n }", "public static <G extends BaseWeightedGraph<V,E,W>,V,E extends WeightedEdge<V,W>, W extends Number & Comparable<W>> List<E> findShortestPathInt(G graph, V source, V sink){\r\n\t\t// check graph contains source and sink\r\n\t\tSet<V> vertecies = graph.getVertices();\r\n\t\tif( !(vertecies.contains(source) && vertecies.contains(sink)) ){\r\n\t\t\tthrow new IllegalArgumentException(\"BaseGraph must contain both source and sink\");\r\n\t\t}\r\n\t\t\r\n\t\tPriorityQueue<WeightedPathChain<V,E,W,Integer>> pq = new PriorityQueue<WeightedPathChain<V,E,W,Integer>>(); \r\n\t\tHashSet<V> checked = new HashSet<V>();\r\n\t\tHashMap<V,WeightedPathChain<V,E,W,Integer>> map = new HashMap<V,WeightedPathChain<V,E,W,Integer>>();\r\n\t\taddOrUpdate(map,pq,source,Integer.valueOf(0));\r\n\t\twhile(!pq.isEmpty()&&!sink.equals(pq.peek().vertex)){\r\n\t\t\tWeightedPathChain<V,E,W,Integer> current = pq.poll(); // poll lowest level vertex\r\n\t\t\tchecked.add(current.vertex); // add vertex to checked set\r\n\t\t\tfor (E edge :graph.getOutgoingEdges(current.vertex)){\t// for each outgoing edge \r\n\t\t\t\tif(!checked.contains(edge.getOpposingVertex(current.vertex))){\t\t// if opposing vertex has not been checked \r\n\t\t\t\t\taddOrUpdate(map,\r\n\t\t\t\t\t\t\t\tpq,\r\n\t\t\t\t\t\t\t\tedge.getOpposingVertex(current.vertex),\r\n\t\t\t\t\t\t\t\tInteger.valueOf(map.get(current.vertex).val+edge.getWeight().intValue() ) ,\r\n\t\t\t\t\t\t\t\tedge);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tArrayList<V> path = new ArrayList<V>(); // vertex path \r\n\t\tArrayList<E> edgePath = new ArrayList<E>(); // edge path\r\n\t\tboolean run = true; \r\n\t\tif(!pq.isEmpty()&&pq.peek().vertex.equals(sink)) { // \r\n\t\t\tWeightedPathChain<V,E,W,Integer> vv = pq.poll();\r\n\t\t\tpath.add(vv.vertex);\r\n\t\t\tedgePath.add(vv.edge);\r\n\t\t\twhile(run) {\r\n\t\t\t\tvv = map.get(vv.edge.getOpposingVertex(vv.vertex));\r\n\t\t\t\tif(vv.vertex.equals(source)) {\r\n\t\t\t\t\trun=false;\r\n\t\t\t\t\tpath.add(vv.vertex);\r\n\t\t\t\t}\r\n\t\t\t\telse {\t\r\n\t\t\t\t\tedgePath.add(vv.edge);\r\n\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t//return path;\r\n\t\t\r\n\t\tCollections.reverse(edgePath);\r\n\t\treturn edgePath;\r\n\t}", "public Iterable<Vertex> findShortestPath(Vertex v1, Vertex v2){\n\t\treturn null;\n\t}", "public int ancestor(int v, int w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n int closestAncestor = -1;\n int shortestPath = Integer.MAX_VALUE;\n Deque<Integer> ancestors = new ArrayDeque<>();\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer integer : ancestors) {\n if ((bfsV.distTo(integer) + bfsW.distTo(integer)) < shortestPath) {\n shortestPath = (bfsV.distTo(integer) + bfsW.distTo(integer));\n closestAncestor = integer;\n }\n }\n return closestAncestor;\n }", "public boolean hasPathTo(int v){\n\t\tvalidateVertex(v);\n\t\treturn distTo[v]<Double.POSITIVE_INFINITY;\n\t}", "public int ancestor(int v, int w) {\n int[] res = shortest(v, w);\n return res[1];\n }", "void query(int u, int v) {\n int lca = lca2(u, v, spar, dep);\n// out.println(query_up(u, lca) + \" dv\");\n// out.println(query_up(v, lca) + \" ds\");\n int ans = query_up(u, lca) + query_up(v, lca); // One part of path\n out.println(ans);\n// if (temp > ans) ans = temp; // take the maximum of both paths\n// printf(\"%d\\n\", ans);\n }", "public void findPath(Vertex v, Graph g)\n {\n \tQueue<Vertex> q = new LinkedList<Vertex>();\n \tSet<String> visited= new HashSet<String>();\n \tSet<String> edges= new TreeSet<String>();\n \t\n \t \tq.add(v);\n \t \tvisited.add(v.name);\n \t \t\n \t \twhile(!q.isEmpty()){\n \t \t\tVertex vertex = q.poll();\n \t \t\t \n \t for(Edge adjEdge: vertex.adjEdge.values()){\n \t\t if(!visited.contains(adjEdge.adjVertex.name) && !adjEdge.adjVertex.isDown && !adjEdge.isDown){\n \t\t\t q.offer(adjEdge.adjVertex);\n \t\t\t visited.add(adjEdge.adjVertex.name);\n \t\t\t \n \t\t\t edges.add(adjEdge.adjVertex.name);\n \t\t\t \n \t\t }\n \t }\n \t \n \t }\n \t \tfor(String str: edges){\n \t\t System.out.print('\\t');\n \t\t System.out.println(str);\n \t }\n \t \t\n }", "public static int p413ComputeShortestPathNumber(Vertex start, Vertex end){\n\t Queue<Vertex> queue=new LinkedList<Vertex>();\n\t Map<Vertex, Status> statusMap=new HashMap<Vertex, Status>();\n\t Map<Vertex, Integer> levelMap=new HashMap<Vertex, Integer>();\n\t List<List<Vertex>> allLevelList=new LinkedList<List<Vertex>>();\n\t \n\t queue.offer(start);\n\t statusMap.put(start, Status.Queued);\n\t levelMap.put(start, 0);\n\t \n\t Vertex vertex;\n\t int lastLevel=-1;\n\t List<Vertex> levelList = null;\n\t\twhile ((vertex = queue.poll()) != null) {\n\t\t\tint currentLevel = levelMap.get(vertex);\n\n\t\t\tif (currentLevel != lastLevel) {\n\t\t\t\tlastLevel = currentLevel;\n\t\t\t\tlevelList = new LinkedList<Vertex>();\n\n\t\t\t\tallLevelList.add(levelList);\n\t\t\t}\n\n\t\t\tlevelList.add(vertex);\n\n\t\t\tif (vertex.equals(end)) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tSet<Vertex> adjacentVertexes = vertex.getAdjacentVertexes();\n\t\t\tfor (Iterator iterator = adjacentVertexes.iterator(); iterator.hasNext();) {\n\t\t\t\tVertex adjacent = (Vertex) iterator.next();\n\n\t\t\t\tif (statusMap.get(adjacent) == null) {\n\t\t\t\t\tqueue.offer(adjacent);\n\t\t\t\t\tstatusMap.put(adjacent, Status.Queued);\n\t\t\t\t\tlevelMap.put(adjacent, currentLevel + 1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t \n\t int max=Integer.MIN_VALUE;\n\t List<Vertex> targetList=new LinkedList<Vertex>();\n\t targetList.add(end);\n\t for(int index=lastLevel-1;index>0;index--){\n\t\t List<Vertex> lastLevelList = allLevelList.get(index);\n\t\t List<Vertex> tmpList=new LinkedList<Vertex>();\n\n\t\t int count=0;\n\t\t for (Iterator iterator = lastLevelList.iterator(); iterator.hasNext();) {\n\t\t\t\tVertex lastLevelVertex = (Vertex) iterator.next();\n\t\t\t\tfor (Iterator iterator2 = targetList.iterator(); iterator2.hasNext();) {\n\t\t\t\t\tVertex vertex2 = (Vertex) iterator2.next();\n\t\t\t\t\tif(lastLevelVertex.getAdjacentVertexes().contains(vertex2)){\n\t\t\t\t\t count++;\n\t\t\t\t\t tmpList.add(lastLevelVertex);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t }\n\t\t \n\t\t targetList=tmpList;\n\t\t \n\t\t if(count>max){\n\t\t \tmax=count;\n\t\t }\n\t }\n\t \n\t return max;\n\t}", "private Paths processPaths(BreadthFirstDirectedPaths fromV, BreadthFirstDirectedPaths fromW) {\n List<Integer> common = new LinkedList<Integer>();\n for (int i = 0; i < G.V(); i++) {\n if (fromV.hasPathTo(i) && fromW.hasPathTo(i)) common.add(i);\n }\n\n if (common.size() == 0) return null;\n\n int minDist = Integer.MAX_VALUE;\n int closestAncestor = NO_ANCESTOR;\n int dist;\n for (int ancestor : common) {\n dist = fromV.distTo(ancestor) + fromW.distTo(ancestor);\n if (dist < minDist) {\n minDist = dist;\n closestAncestor = ancestor;\n }\n }\n\n return new Paths(fromV.pathTo(closestAncestor), fromW.pathTo(closestAncestor));\n }", "public double shortestPathDist(int src, int dest);", "public int length(final Iterable<Integer> v, final Iterable<Integer> w) {\n\n validateIterable(v);\n validateIterable(w);\n\n int infinity = Integer.MAX_VALUE;\n\n for (final Integer eleV : v) {\n for (final Integer eleW : w) {\n final int sap = length(eleV, eleW);\n if (sap <= infinity) {\n infinity = sap;\n }\n }\n }\n\n return (infinity == Integer.MAX_VALUE) ? -1 : infinity;\n }", "public int length(Iterable<Integer> v, Iterable<Integer> w) {\n int[] ret = new int[2];\n sap(v, w, ret);\n return ret[1];\n }", "public static double laplW(Vecteur v, double h) {\n\n\n double x = v.getX();\n double y = v.getY();\n double r = v.norme();\n\n /* Le laplacien est défini comme la somme des dérivées secondes de W par rapport à chacune des deux variables x et y. */\n double d2Wdx2 = (1 / (h * h)) * (h + 2 * x - 1 / r);\n double d2Wdy2 = (1 / (h * h)) * (h + 2 * y - 1 / r);\n\n return d2Wdx2 + d2Wdy2;\n }", "public ArrayList<String> shortestPath(String u, String v)\n {\n ArrayList<String> path = new ArrayList<>();\n HashMap<String, Boolean> flag = new HashMap<>();\n HashMap<String, String> prev = new HashMap<>();\n\n Queue<GraphVertex> queue = new LinkedList<>();\n HashMap<String, Boolean> visited = new HashMap<>();\n\n GraphVertex src = graphVertexHashMap.get(u);\n flag.put(src.getVertexName(), true);\n queue.add(src);\n visited.put(src.getVertexName(), true);\n\n while(!queue.isEmpty()){\n GraphVertex node = queue.poll();\n\n HashMap<String, GraphVertex> edges = node.getOutDegrees();\n Iterator it = edges.entrySet().iterator();\n while(it.hasNext()){\n Map.Entry pair = (Map.Entry)it.next();\n if(flag.get(pair.getKey()) == null || flag.get(pair.getKey()) == false){\n String vertex = (String)pair.getKey();\n flag.put(vertex, true);\n prev.put(vertex, node.getVertexName());\n queue.add(edges.get(pair.getKey()));\n }\n }\n\n }\n path = backTrackPath(prev, u, v);\n return path;\n }", "public static String shortestPath(Vertice v1, Vertice v2) {\r\n\t\tArrayList<Float> menorCaminho = new ArrayList<Float>();\r\n\t\tmenorCaminho = menorCaminho(v1, v2, menorCaminho);\r\n\r\n\t\tif (!menorCaminho.isEmpty()) {\r\n\t\t\tString retorno = \"\";\r\n\t\t\tfor (int i = 1; i < menorCaminho.size(); i++) {\r\n\t\t\t\tretorno += menorCaminho.get(i) + \" \";\r\n\t\t\t}\r\n\t\t\treturn retorno;\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t}", "private void calculateShortestDistances (GraphStructure graph,int startVertex,int destinationVertex) {\r\n\t\t//traverseRecursively(graph, startVertex);\r\n\t\tif(pathList.contains(destinationVertex)) {\r\n\t\t\tdistanceArray = new int [graph.getNumberOfVertices()];\r\n\t\t\tint numberOfVertices=graph.getNumberOfVertices();\r\n\t\t\tSet<Integer> spanningTreeSet = new HashSet<Integer>();\r\n\t\t\tArrays.fill(distanceArray,Integer.MAX_VALUE);\r\n\t\t\tdistanceArray[startVertex]=0;\r\n\t\t\tadjacencyList = graph.getAdjacencyList();\r\n\t\t\tList<Edge> list;\r\n\t\t\tlist = graph.getAdjacencyList()[startVertex];\r\n\t\t\tif(startVertex==destinationVertex) {\r\n\t\t\t\treturn;\r\n\t\t\t} else {\r\n\t\t\t\tfor(Edge value : list) {\r\n\t\t\t\t\tif(! isVisited[value.getVertex()]) {\r\n\t\t\t\t\t\tint sumOfWeightAndSourceVertexDistanceValue = distanceArray[startVertex] + value.getWeight();\r\n\t\t\t\t\t\tint distanceValueOfDestinationVertex = distanceArray[value.getVertex()];\r\n\t\t\t\t\t\tif( sumOfWeightAndSourceVertexDistanceValue < distanceValueOfDestinationVertex ) {\r\n\t\t\t\t\t\t\tdistanceArray[value.getVertex()] = sumOfWeightAndSourceVertexDistanceValue;\r\n\t\t\t\t\t\t\tshortestPathList.add(value.getVertex());\r\n\t\t\t\t\t\t\tcalculateShortestDistances(graph,value.getVertex(), distanceValueOfDestinationVertex);\r\n\t\t\t\t\t\t} \r\n\t\t\t\t\t} \r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t/*for(Integer value : spanningTreeSet) {\r\n\t\t\t\tSystem.out.print(value+\" \");\r\n\t\t\t}*/\r\n\t\t} else {\r\n\t\t\tSystem.out.println(\"No route is present between given vertices !\");\r\n\t\t}\r\n\t}", "double distance(long v, long w) {\n return distance(lon(v), lat(v), lon(w), lat(w));\n }", "double distance(long v, long w) {\n return distance(lon(v), lat(v), lon(w), lat(w));\n }", "public int compare(Vertex v1, Vertex v2)\n {\n \t// errors are here.\n int weightOne = Dijkstra.this.distances.get(v1.convertToString(v1.getVertexPortNum())); // distances stored by portnum in string form.\n int weightTwo = Dijkstra.this.distances.get(v2.convertToString(v2.getVertexPortNum())); // distances stored by portnum in string form.\n return weightOne - weightTwo; // return the modified weight of the two vertices.\n }", "public void computeAllPaths(String source)\r\n {\r\n Vertex sourceVertex = network_topology.get(source);\r\n Vertex u,v;\r\n double distuv;\r\n\r\n Queue<Vertex> vertexQueue = new PriorityQueue<Vertex>();\r\n \r\n \r\n // Switch between methods and decide what to do\r\n if(routing_method.equals(\"SHP\"))\r\n {\r\n // SHP, weight of each edge is 1\r\n sourceVertex.minDistance = 0;\r\n vertexQueue.add(sourceVertex);\r\n while(!vertexQueue.isEmpty())\r\n {\r\n u = vertexQueue.remove();\r\n for (String key : u.adjacentVertices.keySet())\r\n {\r\n v = network_topology.get(key);\r\n distuv = u.minDistance + 1;\r\n if(distuv < v.minDistance)\r\n {\r\n v.minDistance = distuv;\r\n v.previous = u;\r\n vertexQueue.add(v);\r\n }\r\n }\r\n \r\n }\r\n \r\n }\r\n \r\n else if (routing_method.equals(\"SDP\"))\r\n {\r\n // SDP, weight of each edge is it's propagation delay\r\n sourceVertex.minDistance = 0;\r\n vertexQueue.add(sourceVertex);\r\n while(!vertexQueue.isEmpty())\r\n {\r\n u = vertexQueue.remove();\r\n for (String key : u.adjacentVertices.keySet())\r\n {\r\n v = network_topology.get(key);\r\n distuv = u.minDistance + u.adjacentVertices.get(key).propDelay;\r\n if(distuv < v.minDistance)\r\n {\r\n v.minDistance = distuv;\r\n v.previous = u;\r\n vertexQueue.add(v);\r\n }\r\n } \r\n }\r\n }\r\n else if (routing_method.equals(\"LLP\"))\r\n {\r\n // LLP, weight each edge is activeCircuits/AvailableCircuits\r\n sourceVertex.minDistance = 0;\r\n vertexQueue.add(sourceVertex);\r\n while(!vertexQueue.isEmpty())\r\n {\r\n u = vertexQueue.remove();\r\n for (String key : u.adjacentVertices.keySet())\r\n {\r\n v = network_topology.get(key);\r\n distuv = Math.max(u.minDistance,u.adjacentGet(key).load());\r\n //System.out.println(u.adjacentGet(key).load());\r\n if(distuv < v.minDistance)\r\n {\r\n v.minDistance = distuv;\r\n v.previous = u;\r\n vertexQueue.add(v);\r\n }\r\n }\r\n }\r\n }\r\n }", "public boolean isStronglyConnected(int v, int w) {\n return ids[v] == ids[w];\n }", "public double getAverageShortestPathLengthJUNG()\r\n\t{\n\t\tTransformer<Entity, Double> distanceTransformer = DistanceStatistics\r\n\t\t\t\t.averageDistances(undirectedGraph);\r\n\t\t// logger.info(\"Average distances: \" + distances);\r\n\t\tdouble distanceSum = 0.0;\r\n\t\tfor (Entity e : undirectedGraph.getVertices()) {\r\n\t\t\tdistanceSum += distanceTransformer.transform(e);\r\n\t\t}\r\n\t\treturn distanceSum / getNumberOfNodes();\r\n\t}", "public int ancestor(int v, int w) {\n return calcLengthAndAncestor(v, w)._2;\n }" ]
[ "0.8372525", "0.8327903", "0.8309823", "0.82102674", "0.8177395", "0.8128982", "0.80850583", "0.80764455", "0.8037459", "0.80278575", "0.79700124", "0.79427195", "0.79155153", "0.7915031", "0.7851678", "0.7836584", "0.7830807", "0.78077966", "0.77957565", "0.77808654", "0.7742841", "0.7177479", "0.71773386", "0.714041", "0.69371104", "0.6857722", "0.6843249", "0.6833118", "0.6817237", "0.6791678", "0.67768675", "0.67583394", "0.6742286", "0.6715799", "0.67104745", "0.668967", "0.66584736", "0.6638318", "0.6615743", "0.6583597", "0.65329516", "0.65097165", "0.64977556", "0.64785224", "0.6467472", "0.6457854", "0.64464766", "0.64438343", "0.6401335", "0.6349331", "0.6315676", "0.62944514", "0.62860954", "0.6262188", "0.6255052", "0.6250434", "0.6238502", "0.6235748", "0.61979187", "0.618842", "0.61794394", "0.6166152", "0.6158607", "0.61242056", "0.6105688", "0.6102081", "0.6061244", "0.6054788", "0.59974563", "0.5982005", "0.5981846", "0.5972115", "0.59713554", "0.59442323", "0.5940766", "0.59301573", "0.5906275", "0.5905299", "0.590463", "0.5894127", "0.58898497", "0.5879638", "0.58322537", "0.57503176", "0.57284427", "0.5722913", "0.5722661", "0.5714338", "0.5695747", "0.56464493", "0.56280327", "0.5614989", "0.56114316", "0.56089026", "0.56089026", "0.5606145", "0.56025064", "0.558705", "0.55817324", "0.5579241" ]
0.7343223
21
a common ancestor that participates in shortest ancestral path; 1 if no such path
public int ancestor(Iterable<Integer> v, Iterable<Integer> w) { if (v == null || w == null) throw new IllegalArgumentException("Null argument"); for (Integer each : v) { if (each == null) throw new IllegalArgumentException("Null argument"); } for (Integer each : w) { if (each == null) throw new IllegalArgumentException("Null argument"); } int candidate = Integer.MAX_VALUE; ancestorMultiple = Integer.MAX_VALUE; bfsV = new BreadthFirstDirectedPathsFast(digraph, v); bfsW = new BreadthFirstDirectedPathsFast(digraph, w); for (int i = 0; i < digraph.V(); ++i) { if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) { int distV = bfsV.distTo(i); int distW = bfsW.distTo(i); if (distV + distW < candidate) { candidate = distV + distW; ancestorMultiple = i; } } } return ancestorMultiple == Integer.MAX_VALUE ? -1 : ancestorMultiple; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TreeNode commonAncestor(TreeNode p, TreeNode q) {\n\t// find depths of the two nodes \n\tint depthP = depth(p);\n\tint depthQ = depth(q);\n\t// find difference in depths \n\tint diffDepths = depthP - depthQ;\n\t// q is more shallow\n\tTreeNode first = diffDepths > 0 ? q : p; \n\t// p is more deep\n\tTreeNode second = diffDepths > 0 ? p : q; \n\t// Bring the second one up \n\tsecond = goUpBy(second, Math.abs(delta));\n\n\t// FIND INTERSECTING PATH BY GOING UP ONE AT A TIME\n\t// WHILE THEY ARE NOT THE SAME AND BOTH NOT NULL \n\twhile (first != second && first != null && second != null) {\n\t\tfirst = first.parent;\n\t\tsecond = second.parent; \n\t}\n\t// if either is null, no common, therefore return null\n\t// else we can return one of the two bc they are the same\n\treturn first == null || second == null ? null : first; \n\n}", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n\n\n validateIterableVertices(v);\n validateIterableVertices(w);\n\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n Stack<Integer> candidates = new Stack<>();\n\n for (int p = 0; p < dg.V(); p++) {\n if (bfs1.hasPathTo(p) && bfs2.hasPathTo(p)) {\n candidates.push(p);\n }\n }\n\n int shortesAncestor = -1;\n int shortesPath = Integer.MAX_VALUE;\n\n while (!candidates.isEmpty()) {\n int c = candidates.pop();\n if (shortesPath > bfs1.distTo(c) + bfs2.distTo(c)) {\n shortesPath = bfs1.distTo(c) + bfs2.distTo(c);\n shortesAncestor = c;\n }\n }\n\n return shortesAncestor;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) {\n throw new NullPointerException();\n }\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n return anc;\n }", "@Test\n\tpublic void lowestCommonAncestorTest1()\n\t{\n\t\tNodeList n1=xmlDocument.getElementsByTagName(\"b\");\n\t\tNodeList n2=xmlDocument.getElementsByTagName(\"i\");\n\t\tassertEquals(\"p\",Manipulator.lowestCommonAncesstor(n1.item(0),n2.item(0)).getNodeName());\n\t}", "public int ancestor(int v, int w){\n shortestPath(v,w);\n return ca;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w){\n if(v == null || w == null)\n throw new NullPointerException(\"null arguments\");\n shortestPath(v,w);\n return ca;\n }", "@Test(expected=NullPointerException.class)\n\tpublic void lowestCommonAncestorTest2()\n\t{\n\t\tNodeList n1=xmlDocument.getElementsByTagName(\"c\");\n\t\tNodeList n2=xmlDocument.getElementsByTagName(\"i\");\n\t\tManipulator.lowestCommonAncesstor(n1.item(0),n2.item(0));\n\t}", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null) throw new IllegalArgumentException();\n for (Integer x : v) {\n if (x == null) throw new IllegalArgumentException();\n }\n for (Integer x : w) {\n if (x == null) throw new IllegalArgumentException();\n }\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int ancestor = -1;\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n }\n }\n return ancestor;\n }", "public TreeNode lowestCommonAncestor1(TreeNode root, TreeNode p, TreeNode q) {\n\t\tif(root == null || root == p || root == q) return root;\n\t\tboolean pOnLeft = exists(root.left, p);\n\t\tboolean pOnRight = exists(root.right, p);\n\n\t\tboolean qOnLeft = exists(root.left, q);\n\t\tboolean qOnRight = exists(root.right, q);\n\n\n\t\tif((pOnLeft & qOnRight) || (qOnLeft & pOnRight)) {System.out.println(\"LCA found...\"); return root;}\n\t\telse if(pOnLeft & qOnLeft) {System.out.println(\"Inside left...\"); return lowestCommonAncestor(root.left, p, q);}\n\t\telse if(pOnRight & qOnRight) {System.out.println(\"Inside right...\"); return lowestCommonAncestor(root.right, p, q);}\n\t\treturn null;\n\t}", "public Pair<Integer, Boolean> findPath(BabelSynset bs1, BabelSynset bs2) throws Exception {\n\t\tif(bs1.equals(bs2) && !bs1.equals(\"bn:00031027n\")) return new Pair<Integer, Boolean>(0, false);\n\t\tif(bs1.equals(bs2) && bs1.equals(\"bn:00031027n\")) return new Pair<Integer, Boolean>(0, true);\n\t\t\n\t\tA_parentsHigh = new ArrayList<String>();\n\t\t\n\t\tPair<Integer, Boolean> default_result = new Pair<Integer, Boolean>(0, true);\n\t\t\n\t\tint A_path = 0;\n\t\tString A_parent = bs1.getId().toString();\n\t\tB_recoverAncestors(bs2, 25);\n\t\t\n\t\tSystem.out.println(B_Ancestors+\"\\n\\n\");\n\t\t\n\t\tif(A_parent == null) return new Pair<Integer, Boolean>(B_Ancestors.size(), true);\n\t\tif(A_parent.equals(\"bn:00031027n\")) return new Pair<Integer, Boolean>(B_Ancestors.size()+1, true);\n\t\tfor(int i=0; i<50; i++) {\n\t\t\tSystem.out.println(A_parent);\n\t\t\tint B_path = 0;\n\t\t\tfor(String id : B_Ancestors) {\n\t\t\t\tif(A_parent.equals(id)) {\n\t\t\t\t\tSystem.out.println(\"Path di A: \" + A_path + \"\\nPath di B: \" + B_path);\n\t\t\t\t\tif(id.equals(\"bn:00031027n\")) return new Pair<Integer, Boolean>(A_path+B_path, true);\n\t\t\t\t\telse return new Pair<Integer, Boolean>(A_path+B_path, false);\n\t\t\t\t}\n\t\t\t\tB_path++;\n\t\t\t}\n\t\t\tif(A_parent.equals(\"bn:00031027n\")) break;\n\t\t\tA_parent = recoverParent(bn.getSynset(new BabelSynsetID(A_parent)));\n\t\t\tA_path++;\n\t\t}\n\t\treturn default_result;\n\t}", "@Test\n\tpublic void lowestCommonAncestorTest3()\n\t{\n\t\tNodeList n1=xmlDocument.getElementsByTagName(\"b\");\n\t\tNodeList n2=xmlDocument.getElementsByTagName(\"p\");\n\t\tassertEquals(\"#document\",Manipulator.lowestCommonAncesstor(n1.item(0),n2.item(0)).getNodeName());\n\t}", "public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {\n\n int BOTH_DONE = 0;\n int LEFT_DONE = 1;\n int BOTH_PENDING = 2;\n\n Stack<Pair<TreeNode, Integer>> stack = new Stack<>();\n TreeNode LCA = null;\n stack.push(new Pair<>(root, BOTH_PENDING));\n\n while (!stack.isEmpty()) {\n Pair<TreeNode, Integer> topPair = stack.peek();\n if (topPair.second != BOTH_DONE) {\n //mark LCA on first entry, on back track , if reprocess then we'd send LCA incorrectly because\n //same p or q will be repeated when back tracking for example from left path\n if ((topPair.second == BOTH_PENDING) && (topPair.first == p || topPair.first == q)) {\n //node matched\n if (LCA != null) {\n return LCA;\n } else {\n LCA = topPair.first;\n }\n }\n\n //move left or right based on the state of the node\n TreeNode child;\n if (topPair.second == LEFT_DONE) {\n child = topPair.first.right;\n } else {\n child = topPair.first.left;\n }\n stack.pop();\n stack.push(new Pair<>(topPair.first, topPair.second - 1));\n if (child != null)\n stack.push(new Pair<>(child, BOTH_PENDING));\n\n } else {\n //if both childs visited, pop the element and move the LCA to the prior node which\n //was parent of the current node with LCA\n if (LCA == topPair.first) {\n stack.pop();\n LCA = stack.peek().first;\n } else {\n stack.pop();\n }\n }\n }\n return null;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\r\n for (Integer vTmp : v) {\r\n if (vTmp < 0 || vTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n for (Integer wTmp : w) {\r\n if (wTmp < 0 || wTmp >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n }\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n int shortestDistIndex = -1;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n if (shortestDist > bfdp1.distTo(i) + bfdp2.distTo(i)) {\r\n shortestDist = bfdp1.distTo(i) + bfdp2.distTo(i);\r\n shortestDistIndex = i;\r\n }\r\n }\r\n }\r\n return shortestDistIndex;\r\n }", "Node commonAncestor(Node one, Node two);", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n return commonAncestor;\n }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths bfdpv = new BreadthFirstDirectedPaths(g, v);\n BreadthFirstDirectedPaths bfdpw = new BreadthFirstDirectedPaths(g, w);\n int anc = -1;\n int minLen = Integer.MAX_VALUE;\n for (int x = 0; x < g.V(); x++) {\n if (bfdpv.hasPathTo(x) && bfdpw.hasPathTo(x)) {\n int len = bfdpv.distTo(x) + bfdpw.distTo(x);\n if (len < minLen) {\n minLen = len;\n anc = x;\n }\n }\n }\n return anc;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n\t\tif (v == null || w == null)\n\t\t\tthrow new IllegalArgumentException();\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, ancestor = -1, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tancestor = vertex;\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\treturn (dsap == INFINITY) ? -1 : ancestor;\n\t}", "public int ancestor(int v, int w) {\n\n if (v < 0 || v >= dg.V() || w < 0 || w >= dg.V())\n throw new IllegalArgumentException(\"vertex is not between 0 and \" + (dg.V() - 1));\n\n BreadthFirstDirectedPaths bfs1 = new BreadthFirstDirectedPaths(dg, v);\n BreadthFirstDirectedPaths bfs2 = new BreadthFirstDirectedPaths(dg, w);\n\n Stack<Integer> candidates = new Stack<>();\n\n for (int p = 0; p < dg.V(); p++) {\n if (bfs1.hasPathTo(p) && bfs2.hasPathTo(p)) {\n candidates.push(p);\n }\n }\n\n int shortesAncestor = -1;\n int shortesPath = Integer.MAX_VALUE;\n\n while (!candidates.isEmpty()) {\n int c = candidates.pop();\n if (shortesPath > bfs1.distTo(c) + bfs2.distTo(c)) {\n shortesPath = bfs1.distTo(c) + bfs2.distTo(c);\n shortesAncestor = c;\n }\n }\n\n return shortesAncestor;\n\n }", "TreeNode commonAncestor(TreeNode root, TreeNode p, TreeNode q) {\n\tResult r = commonAncestorHelper(root, p, q);\n\t// if whatever is returned is an ancestor\n\t// we return that node\n\t// else return null, there is no ancestor that exists\n\tif (r.isAncestor) {\n\t\treturn r.node\n\t}\n\treturn null; \n}", "public int ancestor(int v, int w){\n\t BreadthFirstDirectedPaths BFSv =new BreadthFirstDirectedPaths(D,v);\n\t BreadthFirstDirectedPaths BFSw =new BreadthFirstDirectedPaths(D,w);\n\t \n\t int distance = Integer.MAX_VALUE;\n\t int ancestor = -1;\n\t for (int vertex = 0 ; vertex < D.V();vertex++)\n\t\t if ((BFSv.hasPathTo(vertex))\n\t\t\t\t &&(BFSw.hasPathTo(vertex))\n\t\t\t\t &&(BFSv.distTo(vertex)+BFSw.distTo(vertex))<distance)\n\t\t {\n\t\t\t ancestor = vertex;\n\t\t\t distance = BFSv.distTo(vertex)+BFSw.distTo(vertex);\n\t\t }\n\n\t\t return ancestor;\n }", "public TreeNode lowestCommonAncestor_selfAC(TreeNode root, TreeNode one, TreeNode two) {\n\t\tif (root == null) { \n\t\t\treturn null;\n\t\t}\n\t\tif (one == null) {\n\t\t\treturn two;\n\t\t}\n\t\tif (two == null) {\n\t\t\treturn one;\n\t\t}\n\t\treturn helper(root, one, two);\n\t}", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n int a = -1;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n a = i;\n }\n }\n return a;\n }", "public static void findClosestSharedParentBST() {\n \n // initialize graph (adjacency list) as a BST\n int[][] bst = {\n {1,2}, // vertex 0 ....\n {3,4},\n {5,6},\n {7,8},\n {},\n {},\n {},\n {9},\n {},\n {} // vertex 9\n }; \n // Given 2 Nodes in a BST, find their closest shared parent\n Graph g = new Graph(bst);\n g.dijsktra(g.getVertices().get(0));\n List<Vertex> path1 = g.getShortestPath(g.getVertices().get(1));\n List<Vertex> path2 = g.getShortestPath(g.getVertices().get(9));\n\n // parent will be the last item in each path before the diverge\n // EX: [1,2,3], [1,2,4,5]. - searched for 3 and 5. parent is 2.\n // EX: [1,2], [1,2,4,5]. - searched for 2 and 5. parent is 2.\n int min = Math.min(path1.size(), path2.size()) -1;\n int parentidx = 0;\n for (int i = 0; i <= min; i++) {\n if (path1.get(i) == path2.get(i)) {\n parentidx = i;\n } else {\n break;\n }\n }\n System.out.println(\"shared parent: \" + path1.get(parentidx));\n }", "public int ancestor(int v, int w) {\n\t\tBreadthFirstDirectedPaths bfsv = new BreadthFirstDirectedPaths(G, v);\n\t\tBreadthFirstDirectedPaths bfsw = new BreadthFirstDirectedPaths(G, w);\n\t\tint dv, dw, ancestor = -1, dsap = INFINITY;\n\t\tfor(int vertex = 0; vertex < G.V(); vertex++) {\n\t\t\tdv = bfsv.distTo(vertex);\n\t\t\tdw = bfsw.distTo(vertex);\n\t\t\tif (dv != INFINITY && dw != INFINITY && (dv + dw < dsap)) {\n\t\t\t\tancestor = vertex;\n\t\t\t\tdsap = dv + dw;\n\t\t\t} \n\t\t}\n\t\t\n\t\treturn (dsap == INFINITY) ? -1 : ancestor;\n\t}", "@NativeType(\"hwloc_obj_t\")\n public static hwloc_obj hwloc_get_common_ancestor_obj(@NativeType(\"hwloc_topology_t\") long topology, @NativeType(\"hwloc_obj_t\") hwloc_obj obj1, @NativeType(\"hwloc_obj_t\") hwloc_obj obj2) {\n while (obj1.address() != obj2.address()) {\n while (obj1.depth() > obj2.depth()) {\n obj1 = Objects.requireNonNull(obj1.parent());\n }\n while (obj2.depth() > obj1.depth()) {\n obj2 = Objects.requireNonNull(obj2.parent());\n }\n if (obj1.address() != obj2.address() && obj1.depth() == obj2.depth()) {\n obj1 = Objects.requireNonNull(obj1.parent());\n obj2 = Objects.requireNonNull(obj2.parent());\n }\n }\n return obj1;\n }", "Result commonAncestorHelper(TreeNode root, TreeNode p, TreeNode q) {\n\tif (root == null) return new Result(null, false);\n\n\n\t// they are the same node, and is the root\n\tif (root == p && root == q) {\n\t\treturn new Result(root, true);\n\t}\n\t// searching left subtree\n\tResult rx = commonAncestorHelper(root.left, p, q);\n\t// found a common ancestor \n\tif (rx.isAncestor) { \n\t\treturn rx; \n\t}\n\n\t// searching right subtree\n\tResult ry = commonAncestorHelper(root.right, p, q);\n\tif (ry.isAncestor) {\n\t\treturn ry; \n\t}\n\n\tif (rx.node != null && ry.node != null) {\n\t\treturn new Result(root, true); // common ancestor \n\t} else if (root == p || root == q) {\n\t\t// we're currently at p or q\n\t\t// found one of those nodes in subtree, then ancestor\n\t\t// flag TRUE\n\t\tboolean isAncestor = rx.node != null || ry.node != null; \n\t\treturn new Result(root, isAncestor)\n\t} else {\n\t\treturn new Result(rx.node != null ? rx.node : ry.node, false);\n\t}\n\n\n}", "public TreeNode lowestCommonAncestor2(TreeNode root, TreeNode p, TreeNode q) {\r\n\t\t if(root == null || p == root || q == root)\r\n\t return root;\r\n\t \r\n\t TreeNode left = lowestCommonAncestor(root.left, p, q);\r\n\t TreeNode right = lowestCommonAncestor(root.right, p, q);\r\n\t \r\n\t if(left == null && right != null) { // both on right\r\n\t return right;\r\n\t }\r\n\t if(right == null && left != null) { // both on left\r\n\t return left;\r\n\t }\r\n\t if(right == null && left == null) { // not in left and right\r\n\t return null;\r\n\t }\r\n\t return root; // right != null && left != null, one in left, one in right\r\n\t }", "TreeNode findFirstCommonAncestor(TreeNode other) {\n\t\tSet<TreeNode> ancestors = buildOtherAncestor(other,\n\t\t\t\tnew HashSet<TreeNode>());\n\t\treturn firstNodeInSet(ancestors);\n\t}", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths path1 = new BreadthFirstDirectedPaths(wordGraph, v);\n BreadthFirstDirectedPaths path2 = new BreadthFirstDirectedPaths(wordGraph, w);\n int ancestor = -1;\n int len = -1;\n for (int i = 0; i < wordGraph.V(); i++) {\n if (path1.hasPathTo(i) && path2.hasPathTo(i)) {\n if (len == -1) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n if (path1.distTo(i) + path2.distTo(i) < len) {\n len = path1.distTo(i) + path2.distTo(i);\n ancestor = i;\n }\n }\n }\n return ancestor;\n }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths bfdV = new BreadthFirstDirectedPaths(G, v);\n BreadthFirstDirectedPaths bfdW = new BreadthFirstDirectedPaths(G, w);\n int distance = Integer.MAX_VALUE;\n int commonAncestor = -1;\n for (int i = 0; i < G.V(); i++) {\n if (bfdV.hasPathTo(i) && bfdW.hasPathTo(i)) {\n int local = bfdV.distTo(i) + bfdW.distTo(i);\n if (local < distance) {\n distance = local;\n commonAncestor = i;\n }\n }\n }\n return commonAncestor;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n\n int shortestPath = Integer.MAX_VALUE;\n Deque<Integer> ancestors = new ArrayDeque<>();\n int ancestor = -1;\n\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer a : ancestors) {\n if ((bfsV.distTo(a) + bfsW.distTo(a)) < shortestPath) {\n shortestPath = (bfsV.distTo(a) + bfsW.distTo(a));\n ancestor = a;\n }\n }\n return ancestor;\n }", "public int ancestor(int v, int w) {\r\n if (v < 0 || w < 0 || v >= G.V() || w >= G.V())\r\n throw new IndexOutOfBoundsException();\r\n BreadthFirstDirectedPaths bfdp1 = new BreadthFirstDirectedPaths(G, v);\r\n BreadthFirstDirectedPaths bfdp2 = new BreadthFirstDirectedPaths(G, w);\r\n int shortestDist = Integer.MAX_VALUE;\r\n int shortestDistIndex = -1;\r\n for (int i = 0; i < G.V(); i++) {\r\n if (bfdp1.hasPathTo(i) && bfdp2.hasPathTo(i)) {\r\n if (shortestDist > bfdp1.distTo(i) + bfdp2.distTo(i)) {\r\n shortestDist = bfdp1.distTo(i) + bfdp2.distTo(i);\r\n shortestDistIndex = i;\r\n }\r\n }\r\n }\r\n return shortestDistIndex;\r\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n Paths sapComponents = sap(v, w);\n return sapComponents == null ? NO_ANCESTOR : sapComponents.ancestor();\n }", "public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {\n TreeNode cur = root;\n while (true) {\n if (cur.val > p.val && cur.val > q.val) cur = cur.left;\n else if (cur.val < p.val && cur.val < q.val) cur = cur.right;\n else return cur;\n }\n}", "private static PhyloTreeNode findLeastCommonAncestor(PhyloTreeNode node1, PhyloTreeNode node2) {\n if(node1 == null || node2 == null) {\n return null;\n }\n else{\n String label1 = node1.getLabel();\n String label2 = node2.getLabel();\n if(label1.contains(label2) && (label2.contains(\"+\") || label1.equals(label2)))\n return node1;\n else if(label2.contains(label1) && (label2.contains(\"+\") || label2.equals(label1)))\n return node2;\n else{\n return findLeastCommonAncestor(node1.getParent(), node2.getParent());\n }\n }\n }", "public int ancestor(int v, int w) {\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n int min = Integer.MAX_VALUE;\n int a = -1;\n for (int i = 0; i < digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i) && bfsV.distTo(i) + bfsW.distTo(i) < min) {\n min = bfsV.distTo(i) + bfsW.distTo(i);\n a = i;\n }\n }\n return a;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n int nopath = -1;\n int length = Integer.MAX_VALUE;\n for (int i1 : v) {\n for (int i2 : w) {\n int ancestor = ancestor(i1, i2);\n if (length >= length(i1, i2)) {\n length = distance;\n nopath = ancestor;\n }\n }\n }\n distance = length;\n return nopath;\n }", "private IAVLNode findSuccessor(IAVLNode node) \r\n\t {\r\n\t\t if(node.getRight().getHeight() != -1) \r\n\t\t\t return minPointer(node.getRight());\r\n\t\t IAVLNode parent = node.getParent();\r\n\t\t while(parent.getHeight() != -1 && node == parent.getRight())\r\n\t\t {\r\n\t\t\t node = parent;\r\n\t\t\t parent = node.getParent();\r\n\t\t }\r\n\t\t return parent;\t \r\n\t\t}", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w){\n\t return 0;\n }", "public int returnGraphRoot() {\n\t\tfor(int i = 0; i < sc.getInitPos().size(); i++) {\r\n\t\t\tfor(int j = 0; j < sc.getInitPos().size(); j++) {\r\n\t\t\t\tif(graph[i][j]) {\r\n\t\t\t\t\t//means i -> j\r\n\t\t\t\t\t// therefore we need to see if i has a parent\r\n\t\t\t\t\tboolean hasPred = true;\r\n\t\t\t\t\tint pred = -1;\r\n\t\t\t\t\twhile(hasPred) {\r\n\t\t\t\t\t\tfor(int k = 0; k < sc.getInitPos().size(); k++) {\r\n\t\t\t\t\t\t\tif(graph[k][i]) {\r\n\t\t\t\t\t\t\t\t//k is a parent of i\r\n\t\t\t\t\t\t\t\tpred = k;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(pred == -1) {\r\n\t\t\t\t\t\t\t//i has no predecessor\r\n\t\t\t\t\t\t\thasPred = false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse {\r\n\t\t\t\t\t\t\ti = pred;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t//TODO: remove i from graph\r\n\t\t\t\t\treturn i;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn 0;\r\n\t}", "public int externalPath(MyTreeNode n){\n MyTreeNode backup = n;\r\n if (n == null){\r\n return 0;\r\n }\r\n int lpath = 0;\r\n while (n != null){\r\n lpath++;\r\n n = n.leftChild;\r\n }\r\n int rpath = 0;\r\n while (backup != null){\r\n rpath++;\r\n backup = backup.leftChild;\r\n }\r\n return Math.max(lpath, rpath); //return the longest path\r\n }", "public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {\n if (root.val < p.val && root.val < q.val) return lowestCommonAncestor(root.right, p, q);\n else if (root.val > p.val && root.val > q.val) return lowestCommonAncestor(root.left, p, q);\n return root;\n}", "public int ancestor(int v, int w) {\n bfsV = new BreadthFirstDirectedPaths(graph, v);\n bfsW = new BreadthFirstDirectedPaths(graph, w);\n distance = Integer.MAX_VALUE;\n for (int i = 0; i < graph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n if (distance >= (bfsV.distTo(i) + bfsW.distTo(i))) {\n distance = bfsV.distTo(i) + bfsW.distTo(i);\n ancestor = i;\n }\n }\n }\n return ancestor;\n }", "public int indexOf() { return _parent!=null? _parent.indexOfChild(this) : -1; }", "public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {\n if (root == null) return null;\n if (root == q || root == p) return root;\n if (root.val > Math.max(p.val, q.val)) {\n return lowestCommonAncestor(root.left, p, q);\n } \n if (root.val < Math.min(p.val, q.val)) {\n return lowestCommonAncestor(root.right, p, q);\n }\n if (root.val > q.val && root.val < p.val || root.val > p.val && root.val < q.val) {//else\n return root;\n }\n \n return null;//never\n }", "public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {\n \t\n \t\n \tStack<TreeNode> stack = new Stack<TreeNode>();\n \t\n \tMap<TreeNode,TreeNode> parentsMap = new HashMap<TreeNode, TreeNode>();\n \t\n \tstack.add(root);\n \tparentsMap.put(root, null);\n \t\n \t/*\n \t * loop until both p and q are in the map\n \t */\n \twhile( !parentsMap.containsKey(p) || !parentsMap.containsKey(q)) {\n \t\tTreeNode currentNode = stack.pop();\n \t\tif(currentNode.left != null) {\n \t\t\tstack.add(currentNode.left);\n \t\t\tparentsMap.put(currentNode.left, currentNode);\n \t\t}\n \t\tif(currentNode.right != null) {\n \t\t\tstack.add(currentNode.right);\n \t\t\tparentsMap.put(currentNode.right, currentNode);\n \t\t}\n \t}\n \t\n \t// set to get the p parents\n \tSet<TreeNode> pParents = new HashSet<TreeNode>();\n \t\n \t// backtrack the p parents till null \n \twhile(p != null) {\n \t\tpParents.add(p);\n \t\tp = parentsMap.get(p);\n \t}\n \t\n \t// backtrack the q parents till we find the common ancestor\n \twhile(!pParents.contains(q)) {\n \t\tq = parentsMap.get(q);\n \t}\n \treturn q;\n \t\n }", "public TreeNode lowestCommonAncestor2(TreeNode root, TreeNode p, TreeNode q) {\n \n //base\n if(root == null || p == root || q == root){\n return root;\n }\n \n //Logic\n TreeNode left = lowestCommonAncestor2(root.left, p, q);\n TreeNode right = lowestCommonAncestor2(root.right, p, q);\n \n if(left != null && right != null){\n return root; \n }\n else if(left != null){\n return left;\n }\n else \n return right;\n }", "public TreeNode lowestCommonAncestor_1(TreeNode root, TreeNode p, TreeNode q){\n Deque<TreeNode> stack = new ArrayDeque<>();\n Map<TreeNode, TreeNode> parent = new HashMap<>();\n parent.put(root, null);\n stack.push(root);\n\n // Iterate until we find both the nodes p and q\n while(!parent.containsKey(p) || !parent.containsKey(q)){\n TreeNode node = stack.pop();\n if (node.left != null){\n parent.put(node.left, node);\n stack.push(node.left);\n }\n if (node.right != null){\n parent.put(node.right, node);\n stack.push(node.right);\n }\n }\n // Ancestors set() for node p\n Set<TreeNode> ancestors = new HashSet<>();\n // Process all ancestors for node p using parent pointers.\n while(p!=null){\n ancestors.add(p);\n p = parent.get(p);\n }\n // The first ancestors of q which appears in\n // p's ancestor set() is their lowest common ancestor\n while(!ancestors.contains(q))\n q = parent.get(q);\n return q;\n }", "protected int findAncestor(int ancestorID) {\n int found = 1;\n FONode temp = getParent();\n while (temp != null) {\n if (temp.getNameId() == ancestorID) {\n return found;\n }\n found += 1;\n temp = temp.getParent();\n }\n return -1;\n }", "public AVLNode findSuccessor(IAVLNode node) {\n\n\t\tif (node.getRight().getHeight() != -1) {\n\t\t\tAVLTree subtree = new AVLTree(node.getRight());\n\t\t\treturn subtree.findMin();\n\t\t}\n\t\tAVLNode parent = (AVLNode) node.getParent();\n\t\tAVLNode ourNode = (AVLNode) node;\n\t\twhile (parent.getHeight() != -1 && parent == ourNode.getParent() && ourNode.parentSide() != 'L') {\n\t\t\tourNode = parent;\n\t\t\tparent = (AVLNode) ourNode.getParent();\n\t\t}\n\t\treturn parent;\n\t}", "java.lang.String getParent();", "java.lang.String getParent();", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n int[] res = shortest(v, w);\n return res[1];\n }", "public int ancestor(int v, int w) {\n Paths sapComponents = sap(v, w);\n return sapComponents == null ? NO_ANCESTOR : sapComponents.ancestor();\n }", "public static void main(String[] args) {\n addNode(3);\n Node ans = lowestCommonAncestorFast(root.left, root.left.right.right);\n System.out.print(ans.val);\n }", "public TreeNode lowestCommonAncestor(TreeNode root, TreeNode one, TreeNode two) {\n\t\t// Assumptions: root is not null, one and two guaranteed to be in the tree and not null.\n\t\tif (root == null) {\n\t\t\treturn null;\n\t\t}\n\t\t// if root is one or two, we can ignore the later recursions.\n\t\tif (root == one || root == two) {\n\t\t\treturn root;\n\t\t}\n\t\tTreeNode ll = lowestCommonAncestor(root.left, one, two);\n\t\tTreeNode lr = lowestCommonAncestor(root.right, one, two);\n\t\tif (ll != null && lr != null) {\n\t\t\treturn root;\n\t\t}\n\t\treturn ll == null ? lr : ll;\n\t}", "public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {\r\n\t if (root == null || root == p || root == q) \r\n\t \treturn root;\r\n\t \r\n\t TreeNode left = lowestCommonAncestor(root.left, p, q);\r\n\t TreeNode right = lowestCommonAncestor(root.right, p, q);\r\n\t \r\n\t return left == null ? right : right == null ? left : root;\r\n\t}", "public int ancestor(int v, int w) {\n if (v < 0 || v >= digraph.V() || w < 0 || w >= digraph.V())\n throw new IllegalArgumentException(\"Null argument\");\n int candidate = Integer.MAX_VALUE;\n ancestor = Integer.MAX_VALUE;\n bfsV = new BreadthFirstDirectedPathsFast(digraph, v);\n bfsW = new BreadthFirstDirectedPathsFast(digraph, w);\n for (int i = 0; i < digraph.V(); ++i) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n int distV = bfsV.distTo(i);\n int distW = bfsW.distTo(i);\n if (distV + distW < candidate) {\n candidate = distV + distW;\n ancestor = i;\n }\n }\n }\n return ancestor == Integer.MAX_VALUE ? -1 : ancestor;\n }", "protected double lowestCommonAncestor(Set<GOTerm> ancestorsOne, Set<GOTerm> ancestorsTwo, int dag) {\n List<GOTerm> commonAncestors = new ArrayList<GOTerm>();\n int annoCount = Integer.MAX_VALUE;\n //get common ancestors\n for (GOTerm ancestor : ancestorsOne) {\n if (ancestorsTwo.contains(ancestor)) {\n commonAncestors.add(ancestor);\n }\n }\n GOTerm LCA = null;\n //find ancestor with lowest information content by referencing the common ancestors to the annotation assignment\n for (GOTerm comAnc : commonAncestors) {\n //if ancestor has less annotations than the previous lowest, store it as the LCA\n final int cnt = annotations.countNumberOfGenesForGOTerm(comAnc.getGOid());\n if (cnt < annoCount || LCA == null) {\n annoCount = cnt;\n LCA = comAnc;\n }\n }\n return (double) annoCount / maxAnnotationNumber[dag];\n }", "static // Returns LCA if node n1, n2 are present in the given binary tree,\r\n// otherwise return -1\r\nint findLCA(BTNode root, int n1, int n2)\r\n{\n int[] path1 = null, path2 = null;\r\n \r\n // Find paths from root to n1 and root to n1. If either n1 or n2\r\n // is not present, return -1\r\n if ( !findPath(root, path1, n1) || !findPath(root, path2, n2))\r\n return -1;\r\n \r\n /* Compare the paths to get the first different value */\r\n int i;\r\n for (i = 0; i < path1.length && i < path2.length ; i++)\r\n if (path1[i] != path2[i])\r\n break;\r\n return path1[i-1];\r\n}", "public static void main(String args[]) {\n LowestCommonAncestor tree = new LowestCommonAncestor();\n tree.root = new Node(20);\n tree.root.left = new Node(8);\n tree.root.right = new Node(22);\n tree.root.left.left = new Node(4);\n tree.root.left.right = new Node(12);\n tree.root.left.right.left = new Node(10);\n tree.root.left.right.right = new Node(14);\n\t\n Node an1 = ancestorNode(tree.root, 22, 8);\n System.out.println(\"The lowest common ancestor of 22 and 8 is \"+an1.data);\n Node an2 = ancestorNode(tree.root, 14, 8);\n System.out.println(\"The lowest common ancestor of 14 and 8 is \"+an2.data);\n\t}", "public int ancestor(int v, int w) {\n int[] res = shortest(v, w);\n return res[1];\n }", "public static int lca(Node node, int d1, int d2){\r\n ArrayList<Integer> path1 = nodeToRootPath(node, d1);\r\n ArrayList<Integer> path2 = nodeToRootPath(node, d2);\r\n \r\n //Traverse from behind to avoid time complexity\r\n int i = path1.size() - 1;\r\n int j = path2.size() - 1;\r\n \r\n //Check for valid iterations and till the time data is common, first occurence of diff data in arraylist is the time to stop\r\n while(i>=0 && j>=0 && path1.get(i) == path2.get(j)){\r\n i--; j--;\r\n }\r\n \r\n //Return the last common element from behind in ArrayList\r\n return path1.get(i+1);\r\n }", "public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {\n if(root == null || root == p || root == q){\n return root;\n }\n TreeNode left = lowestCommonAncestor(root.left, p, q);\n TreeNode right = lowestCommonAncestor(root.right, p, q);\n if(left != null && right != null) return root;\n if(left != null) return left;\n if(right != null) return right;\n return null;\n }", "public static VSOPClass commonAncestor(VSOPClass c1, VSOPClass c2) {\n\t\tStack<VSOPClass> s1 = new Stack<>();\n\t\twhile (c1 != null) {\n\t\t\ts1.push(c1);\n\t\t\tc1 = c1.superClass;\n\t\t}\n\n\t\tStack<VSOPClass> s2 = new Stack<>();\n\t\twhile (c2 != null) {\n\t\t\ts2.push(c2);\n\t\t\tc2 = c2.superClass;\n\t\t}\n\n\t\tVSOPClass common = null;\n\t\twhile (!s1.isEmpty() && !s2.isEmpty() && s1.peek() == s2.peek()) {\n\t\t\tcommon = s1.pop();\n\t\t\ts2.pop();\n\t\t}\n\n\t\treturn common;\n\t}", "public TreeNode lowestCommonAncestor(TreeNode root,\n TreeNode one, TreeNode two) {\n if(root == null) return null;\n if(root.key == one.key || root.key == two.key) return root;\n \n TreeNode left = lowestCommonAncestor(root.left, one, two);\n TreeNode right = lowestCommonAncestor(root.right, one, two);\n \n if(left != null && right != null) return root;\n return left == null ? right : left;\n }", "@Test\n public void test1Question04_6_2()\n {\n assertEquals(nodes[6], Question04_6_2.commonAncestor(unbalancedRoot,\n nodes[8],\n nodes[5]));\n // Common ancestor a few levels up\n assertEquals(nodes[7], Question04_6_2.commonAncestor(unbalancedRoot,\n nodes[8],\n nodes[2]));\n // Common ancestor is root\n assertEquals(unbalancedRoot, Question04_6_2.commonAncestor(unbalancedRoot,\n nodes[8],\n nodes[4]));\n // One node is the parent of another\n assertEquals(nodes[6], Question04_6_2.commonAncestor(unbalancedRoot,\n nodes[8],\n nodes[6]));\n // Same nodes\n assertEquals(nodes[8], Question04_6_2.commonAncestor(unbalancedRoot,\n nodes[8],\n nodes[8]));\n }", "public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {\n \n if(root.val > p.val && root.val >q.val)\n return lowestCommonAncestor(root.left,p,q);\n \n if(root.val < p.val && root.val <q.val)\n return lowestCommonAncestor(root.right,p,q);\n \n else\n return root;\n \n }", "public static void main(String[] args) {\n \t\tTreeNode root = new TreeNode(3);\n \t\tTreeNode n5 = new TreeNode(5);\n \t\tTreeNode n1 = new TreeNode(1);\n \t\tTreeNode n6 = new TreeNode(6);\n \t\tTreeNode n2 = new TreeNode(2);\n \t\tTreeNode n7 = new TreeNode(7);\n \t\tTreeNode n4 = new TreeNode(4);\n \t\tTreeNode n0 = new TreeNode(0);\n \t\tTreeNode n8 = new TreeNode(8);\n \t\t\n \t\troot.left = n5;\n \t\troot.right = n1;\n \t\tn5.left = n6;\n \t\tn5.right =n2;\n \t\tn2.left = n7;\n \t\tn2.right = n4;\n \t\tn1.left = n0;\n \t\tn1.right = n8;\n \n \t\tint i = 6;\n \t\tint j = 0;\n \t\t\n \t\tSystem.out.println(\"Least common ancestor of \" + i + \" and \" + j + \" is \" + lca(root, i, j));\n }", "public int ancestor(final int v, final int w) {\n\n validateVertex(v);\n validateVertex(w);\n\n if (v == w) {\n return v;\n }\n\n final BreadthFirstDirectedPaths bfdvObj = new BreadthFirstDirectedPaths(digraphObj, v);\n final BreadthFirstDirectedPaths bfdwObj = new BreadthFirstDirectedPaths(digraphObj, w);\n \n int infinity = Integer.MAX_VALUE;\n int ances = -1;\n\n for (int vertex = 0; vertex < digraphObj.V(); vertex++) {\n if (bfdvObj.hasPathTo(vertex) && bfdwObj.hasPathTo(vertex)) {\n final int dist = bfdvObj.distTo(vertex) + bfdwObj.distTo(vertex);\n if (dist <= infinity) {\n infinity = dist;\n ances = vertex;\n }\n }\n }\n\n return ances;\n }", "public int getAncestorCount() { return _parent!=null? getParent().getAncestorCount() + 1 : 0; }", "public static int lca(Node node, int d1, int d2) {\n ArrayList<Integer> al1=nodeToRootPath(node,d1);\n ArrayList<Integer> al2=nodeToRootPath(node,d2);\n\n\n int l1=al1.size()-1;\n int l2=al2.size()-1;\n\n while(l1>=0 && l2>=0){\n if(al1.get(l1)==al2.get(l2))\n {\n l1--;\n l2--;\n continue;\n }\n else\n break;\n }\n if(l1==al1.size()-1)\n return -1;\n return al1.get(l1+1);\n }", "@Test\n public void test1Question04_6_3()\n {\n assertEquals(nodes[6], Question04_6_3.commonAncestor(unbalancedRoot,\n nodes[8],\n nodes[5]));\n // Common ancestor a few levels up\n assertEquals(nodes[7], Question04_6_3.commonAncestor(unbalancedRoot,\n nodes[8],\n nodes[2]));\n // Common ancestor is root\n assertEquals(unbalancedRoot, Question04_6_3.commonAncestor(unbalancedRoot,\n nodes[8],\n nodes[4]));\n // One node is the parent of another\n assertEquals(nodes[6], Question04_6_3.commonAncestor(unbalancedRoot,\n nodes[8],\n nodes[6]));\n // Same nodes\n assertEquals(nodes[8], Question04_6_3.commonAncestor(unbalancedRoot,\n nodes[8],\n nodes[8]));\n }", "public TreeNode lowestCommonAncestor(TreeNode root, TreeNode p, TreeNode q) {\n \n if(root == null) {\n return root;\n }\n \n if(p.val > root.val && q.val > root.val) {\n return lowestCommonAncestor(root.right, p, q);\n }\n else if(p.val < root.val && q.val < root.val) {\n return lowestCommonAncestor(root.left, p, q);\n }\n else {\n return root;\n }\n \n }", "private int getNumberOfAncestors(DirectoryTreeNode item) {\r\n // Initialize number of parents to 0\r\n int numAncestors;\r\n if (item.equals(this.rootDir)) {\r\n // this directory does not exist\r\n numAncestors = 0;\r\n } else {\r\n // Get the parent directory of given file or directory\r\n Directory parent = (Directory) item.getParentDirectory();\r\n numAncestors = 1;\r\n // Loop until parent is not the root\r\n while (!parent.equals(this.rootDir)) {\r\n // Increment numAncestors\r\n numAncestors += 1;\r\n // Set parent to the parent directory of the parent\r\n parent = (Directory) parent.getParentDirectory();\r\n }\r\n // If loop terminates that means it is not an ancestor\r\n }\r\n return numAncestors;\r\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n if (v == null || w == null)\n throw new NullPointerException();\n for (int i : v) inBound(i);\n for (int i : w) inBound(i);\n length(v,w);\n return ancestor;\n }", "public static Path findCommonParentPath(Path path1, Path path2) {\n // Bring paths to same depth.\n while (path1.depth() > path2.depth()) {\n path1 = path1.getParent();\n }\n while (path2.depth() > path1.depth()) {\n path2 = path2.getParent();\n }\n\n // Now ascend in both paths until we are at an equal node.\n while (!path1.equals(path2)) {\n path1 = path1.getParent();\n path2 = path2.getParent();\n }\n\n return path1;\n }", "private HashMap<String, Integer> getShortestPathBetweenDifferentNodes(Node start, Node end) {\n HashMap<Node, Node> parentChildMap = new HashMap<>();\n parentChildMap.put(start, null);\n\n // Shortest path between nodes\n HashMap<Node, Integer> shortestPathMap = new HashMap<>();\n\n for (Node node : getNodes()) {\n if (node == start)\n shortestPathMap.put(start, 0);\n else shortestPathMap.put(node, Integer.MAX_VALUE);\n }\n\n for (Edge edge : start.getEdges()) {\n shortestPathMap.put(edge.getDestination(), edge.getWeight());\n parentChildMap.put(edge.getDestination(), start);\n }\n\n while (true) {\n Node currentNode = closestUnvisitedNeighbour(shortestPathMap);\n\n if (currentNode == null) {\n return null;\n }\n\n // Save path to nearest unvisited node\n if (currentNode == end) {\n Node child = end;\n String path = end.getName();\n while (true) {\n Node parent = parentChildMap.get(child);\n if (parent == null) {\n break;\n }\n\n // Create path using previous(parent) and current(child) node\n path = parent.getName() + \"\" + path;\n child = parent;\n }\n HashMap<String,Integer> hm= new HashMap<>();\n hm.put(path, shortestPathMap.get(end));\n return hm;\n }\n currentNode.visit();\n\n // Go trough edges and find nearest\n for (Edge edge : currentNode.getEdges()) {\n if (edge.getDestination().isVisited())\n continue;\n\n if (shortestPathMap.get(currentNode) + edge.getWeight() < shortestPathMap.get(edge.getDestination())) {\n shortestPathMap.put(edge.getDestination(), shortestPathMap.get(currentNode) + edge.getWeight());\n parentChildMap.put(edge.getDestination(), currentNode);\n }\n }\n }\n }", "private HashMap<String, Integer> getShortestPath(Node start, Node end){\n if(start.equals(end)) {\n return getShortestPath(start);\n }\n return getShortestPathBetweenDifferentNodes(start,end);\n }", "private Node findLCA(Node n1, Node n2) {\n\t\tif (n1 == n2) {\n\t\t\treturn n1;\n\t\t}\n\t\treturn findLCA(n1.parent, n2.parent);\n\t}", "String getFullParentId();", "public int getParent();", "public Key lowestCommonAncestor (Node node, Key key1, Key key2){\n \t\tif (node == null)\n return null;\n \t\tif (node.key == key1) {\n \t\t\treturn node.key;\n \t\t}\n \t\tif (node.key == key2) {\n \t\t\treturn node.key;\n \t\t}\n \t\tint cmp1 = node.key.compareTo(key1);\n \t\tint cmp2 = node.key.compareTo(key2);\n \t\t\n if (cmp1 >= 0 && cmp2 >= 0)\n return lowestCommonAncestor(node.left, key1, key2);\n \n if (cmp1 <= 0 && cmp2 <= 0)\n return lowestCommonAncestor(node.right, key1, key2);\n \n return node.key;\n \t}", "public int ancestor(final Iterable<Integer> v, final Iterable<Integer> w) {\n\n validateIterable(v);\n validateIterable(w);\n\n int infinity = Integer.MAX_VALUE;\n int ances = -1;\n\n for (final Integer eleV : v) {\n for (final Integer eleW : w) {\n final int anc = ancestor(eleV, eleW);\n final int dist = length(eleV, eleW);\n if (dist <= infinity) {\n infinity = dist;\n ances = anc;\n }\n }\n }\n\n return ances;\n }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) throws java.lang.NullPointerException, java.lang.IndexOutOfBoundsException \n\t {\n\t\t if(null==v || null==w) throw new java.lang.NullPointerException(\"null argument to ancestor, v=\"+v+\" w=\"+w);\n\t\t \n\t\t return getAncestors(v,w).mAncestor;\n\t\t \n\t }", "public int ancestor(int v, int w) {\n if (!isValid(v, w)) {\n throw new IndexOutOfBoundsException();\n }\n BreadthFirstDirectedPaths bfsV = new BreadthFirstDirectedPaths(digraph, v);\n BreadthFirstDirectedPaths bfsW = new BreadthFirstDirectedPaths(digraph, w);\n\n int closestAncestor = -1;\n int shortestPath = Integer.MAX_VALUE;\n Deque<Integer> ancestors = new ArrayDeque<>();\n\n for (int i = 0; i < this.digraph.V(); i++) {\n if (bfsV.hasPathTo(i) && bfsW.hasPathTo(i)) {\n ancestors.push(i);\n }\n }\n\n for (Integer integer : ancestors) {\n if ((bfsV.distTo(integer) + bfsW.distTo(integer)) < shortestPath) {\n shortestPath = (bfsV.distTo(integer) + bfsW.distTo(integer));\n closestAncestor = integer;\n }\n }\n return closestAncestor;\n }", "public static void main(String[] args) {\n LowestCommonAncestor obj = new LowestCommonAncestor();\n obj.insert(4);\n obj.insert(2);\n obj.insert(1);\n obj.insert(3);\n obj.insert(6);\n obj.insert(5);\n obj.insert(7);\n System.out.println(\"LCA of 2 numbers is \" + obj.lcaRecursive(obj.root, 1,3).data);\n obj.inorder(obj.root);\n }", "private static String findHighParent_A(BabelSynset bs) throws IOException {\n\t\tdouble weight = 0.0;\n\t\tString id = null;\n\t\tList<BabelSynsetIDRelation> edges = bs.getEdges(BabelPointer.ANY_HYPERNYM);\n\t\tfor(BabelSynsetIDRelation b : edges) {\n\t\t\tdouble temp_weight = b.getWeight();\n\t\t\tif(temp_weight > weight && !A_parentsHigh.contains(b.getTarget())) {\n\t\t\t\tweight = temp_weight;\n\t\t\t\tid = b.getTarget();\n\t\t\t\tA_parentsHigh.add(id);\n\t\t\t}\n\t\t}\n\t\tif(id == null) id = \"bn:00031027n\";\n\t\treturn id;\n\t}", "public boolean isRoot() { return getAncestorCount()<2; }", "public int ancestor(Iterable<Integer> v, Iterable<Integer> w) {\n int[] ret = new int[2];\n sap(v, w, ret);\n return ret[0];\n }", "public int ancestor(int v, int w) throws java.lang.NullPointerException, java.lang.IndexOutOfBoundsException \n\t {\n\n\t\t if(null==mGraph) throw new java.lang.NullPointerException(\"Null graph in SAP\");\n\t\t if ( (v<0 || v >= mGraph.V()) || (w<0 || w >= mGraph.V()) ) throw new java.lang.IndexOutOfBoundsException(\"index out of band\");\n\n\t\t \n\t\t Bag<Integer> vBag = new Bag<Integer>();\n\t\t Bag<Integer> wBag = new Bag<Integer>();\n\t\t vBag.add(v);\n\t\t wBag.add(w);\n\t\t return getAncestors(vBag,wBag).mAncestor;\n\t\t \n\t }", "public static void main(String[] args) {\n TreeNode n = Codec.deserialize(\"3 5 1 6 2 0 8 n n 7 4\");\n Main m = new Main();\n System.out.println(m.lowestCommonAncestor(n,new TreeNode(5), new TreeNode(1)).val);\n System.out.println(m.lowestCommonAncestor(n,new TreeNode(5), new TreeNode(4)).val);\n }", "public int shortestBridge(int[][] A) {\n for(int i = 0; i < A.length; i++) {\n if(found) {\n break;\n }\n for(int j = 0; j < A[0].length; j++) {\n if(A[i][j] == 1) {\n helper(A, i, j);\n found = true;\n break;\n }\n }\n }\n // Put all '2' into queue as candidate initial start points\n Queue<int[]> q = new LinkedList<int[]>();\n for(int i = 0; i < A.length; i++) {\n for(int j = 0; j < A[0].length; j++) {\n if(A[i][j] == 2) {\n q.offer(new int[] {i, j});\n }\n }\n }\n int distance = 0;\n while(!q.isEmpty()) {\n int size = q.size();\n for(int i = 0; i < size; i++) {\n int[] cur = q.poll();\n for(int j = 0; j < 4; j++) {\n int new_x = cur[0] + dx[j];\n int new_y = cur[1] + dy[j];\n if(new_x >= 0 && new_x < A.length && new_y >= 0 && new_y < A[0].length) {\n if(A[new_x][new_y] == 1) {\n return distance;\n } else if(A[new_x][new_y] == 0) {\n // Update from 0 to 2 which means expand first island boundary\n // which also avoid using visited to check\n A[new_x][new_y] = 2;\n q.offer(new int[] {new_x, new_y});\n }\n }\n }\n }\n distance++;\n }\n return distance;\n }", "Genome chooseParent();", "public int shortestBridge(int[][] A) {\n for(int i = 0; i < A.length && !found; i++) {\n for(int j = 0; j < A[0].length && !found; j++) {\n if(A[i][j] == 1) {\n helper(A, i, j);\n found = true;\n }\n }\n }\n // Put all '2' into queue as candidate initial start points\n Queue<int[]> q = new LinkedList<int[]>();\n for(int i = 0; i < A.length; i++) {\n for(int j = 0; j < A[0].length; j++) {\n if(A[i][j] == 2) {\n q.offer(new int[] {i, j});\n }\n }\n }\n int distance = 0;\n while(!q.isEmpty()) {\n int size = q.size();\n for(int i = 0; i < size; i++) {\n int[] cur = q.poll();\n for(int j = 0; j < 4; j++) {\n int new_x = cur[0] + dx[j];\n int new_y = cur[1] + dy[j];\n if(new_x >= 0 && new_x < A.length && new_y >= 0 && new_y < A[0].length) {\n if(A[new_x][new_y] == 1) {\n return distance;\n } else if(A[new_x][new_y] == 0) {\n // Update from 0 to 2 which means expand first island boundary\n // which also avoid using visited to check\n A[new_x][new_y] = 2;\n q.offer(new int[] {new_x, new_y});\n }\n }\n }\n }\n distance++;\n }\n return distance;\n }", "public int findParent(int[] parent, int u) {\n\t\tif (parent[u] == -1) { // matlab u khud ka parent hai/godfather/leader/founder\n\t\t\treturn u;\n\t\t}\n\t\treturn findParent(parent, parent[u]);\n\t}", "public static Path getOnePathTo(ARGState pLastElement) {\n Path path = new Path();\n Set<ARGState> seenElements = new HashSet<ARGState>();\n\n // each element of the path consists of the abstract state and the outgoing\n // edge to its successor\n\n ARGState currentARGState = pLastElement;\n // add the error node and its -first- outgoing edge\n // that edge is not important so we pick the first even\n // if there are more outgoing edges\n\n CFANode loc = extractLocation(currentARGState);\n CFAEdge lastEdge = null;\n if (loc.getNumLeavingEdges() > 0) {\n lastEdge = loc.getLeavingEdge(0);\n }\n /*\n\n */\n path.addFirst(Pair.of(currentARGState, lastEdge));\n seenElements.add(currentARGState);\n\n while (!currentARGState.getParents().isEmpty()) {\n Iterator<ARGState> parents = currentARGState.getParents().iterator();\n\n ARGState parentElement = parents.next();\n //System.out.println(currentARGState.getStateId()+\":\"+parentElement);\n while (!seenElements.add(parentElement) && parents.hasNext()) {\n // while seenElements already contained parentElement, try next parent\n parentElement = parents.next();\n // System.out.println(currentARGState.getStateId()+\":\"+parentElement);\n }\n\n CFAEdge edge = parentElement.getEdgeToChild(currentARGState);\n path.addFirst(Pair.of(parentElement, edge));\n //输出当前路径\n //System.out.println(currentARGState.getStateId()+\",\"+currentARGState.getValuesOfKeyVariables());\n //System.out.println(edge);\n currentARGState = parentElement;\n\n //测试用\n /*if(!(edge instanceof CAssumeEdge) &&edge.getRawStatement().contains(\"a3\")){\n System.out.println(currentARGState.getStateId()+\":\"+currentARGState.getValuesOfKeyVariables());\n }*/\n\n }\n // System.out.println(\"跳出getOnePathTo\");\n return path;\n }", "public tudresden.ocl20.core.jmi.ocl.commonmodel.Classifier commonSuperType(tudresden.ocl20.core.jmi.ocl.commonmodel.Classifier c) {\n \n\tif (this.conformsTo(c)) { return c; }\n\tif (c.conformsTo(this)) { return this; }\n Set thisParents = new HashSet(); ;\n thisParents.add(this);\n Set cParents = new HashSet(); ;\n cParents.add(c);\n \n //the transitive closure of the Classifier and all of its parents\n Set thisTC = new HashSet();\n Set cTC = new HashSet();\n \n while(!(thisParents.isEmpty() && cParents.isEmpty())){\n thisTC.addAll(thisParents);\n cTC.addAll(cParents);\n \n Set thisParentsTemp = new HashSet();\n Iterator thisParentsIt = thisParents.iterator();\n while(thisParentsIt.hasNext()){\n tudresden.ocl20.core.jmi.ocl.commonmodel.Classifier aThisParent = (tudresden.ocl20.core.jmi.ocl.commonmodel.Classifier) thisParentsIt.next();\n if(cTC.contains(aThisParent)){\n return aThisParent;\n }\n thisParentsTemp.addAll(aThisParent.getParents());\n }\n thisParents=thisParentsTemp;\n \n Set cParentsTemp = new HashSet();\n Iterator cParentsIt = cParents.iterator();\n while(cParentsIt.hasNext()){\n tudresden.ocl20.core.jmi.ocl.commonmodel.Classifier aCParent = (tudresden.ocl20.core.jmi.ocl.commonmodel.Classifier) cParentsIt.next();\n if(thisTC.contains(aCParent)){\n return aCParent;\n }\n cParentsTemp.addAll(aCParent.getParents());\n }\n cParents=cParentsTemp;\n }\n return null; //should only occure if c is a collection type\n }", "public RMShape getAncestorInCommon(RMShape aShape)\n{\n // If shape is our descendant, return this shape\n if(isDescendant(aShape))\n return this;\n \n // Iterate up shape's ancestors until one has this shape as descendant\n for(RMShape shape=aShape; shape!=null; shape=shape.getParent())\n if(shape.isDescendant(this))\n return shape;\n \n // Return null since common ancestor not found\n return null;\n}", "public int find(int a) {\n if (father[a] == a) {\n return a;\n }\n return father[a] = find(father[a]); // path compression for O(1)\n }" ]
[ "0.66473186", "0.656961", "0.65274477", "0.64544266", "0.6403113", "0.6396918", "0.63133514", "0.6308428", "0.62779826", "0.6267425", "0.62597126", "0.62545305", "0.62517715", "0.6200461", "0.6196716", "0.6190187", "0.6181171", "0.61749274", "0.6162341", "0.6130659", "0.6068745", "0.6066553", "0.60188484", "0.59965867", "0.59836155", "0.5962717", "0.59294635", "0.59105664", "0.5908425", "0.5894794", "0.5888039", "0.58743495", "0.584738", "0.58418936", "0.5835102", "0.5812289", "0.58104074", "0.57943016", "0.5784837", "0.5732439", "0.5727095", "0.5720077", "0.57140577", "0.57017696", "0.56637895", "0.5662966", "0.56617373", "0.5661548", "0.5643587", "0.56427324", "0.5639389", "0.5639389", "0.5622557", "0.5618297", "0.5608347", "0.5605986", "0.55975926", "0.5585483", "0.558287", "0.55772233", "0.55730003", "0.55571336", "0.5553415", "0.5541127", "0.55251807", "0.55241704", "0.55076987", "0.54901254", "0.54754746", "0.54595643", "0.54498285", "0.5449034", "0.5446799", "0.5445767", "0.5445735", "0.5427954", "0.54149854", "0.53988916", "0.5371", "0.5362088", "0.5342237", "0.5339469", "0.5336222", "0.53355616", "0.5321198", "0.5286952", "0.5284919", "0.5279914", "0.5266714", "0.52574384", "0.52554137", "0.525128", "0.52297777", "0.52212", "0.52153856", "0.52071655", "0.5196594", "0.5183648", "0.5180735", "0.517876" ]
0.5885174
31
do unit testing of this class
public static void main(String[] args) { In in = new In(args[0]); Digraph G = new Digraph(in); SAP sap = new SAP(G); while (!StdIn.isEmpty()) { int v = StdIn.readInt(); int w = StdIn.readInt(); Stack<Integer> vv = new Stack<Integer>(); vv.push(11); vv.push(12); Stack<Integer> ww = new Stack<Integer>(); ww.push(7); ww.push(8); int length = sap.length(v, w); int ancestor = sap.ancestor(v, w); StdOut.printf("length = %d, ancestor = %d\n", length, ancestor); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "@Override\n public void test() {\n \n }", "private void test() {\n\n\t}", "private Mocks() { }", "private ProtomakEngineTestHelper() {\r\n\t}", "@Test\r\n\tpublic void testSanity() {\n\t}", "@Override\n\tpublic void test() {\n\t\t\n\t}", "@Override\n public void runTest() {\n }", "public void mock(){\n\n }", "@Override\n public void setUp() {\n }", "@Test\n public void _objectTest() {\n // TODO: test _object\n }", "private DataClayMockObject() {\n\n\t}", "@Test\n public void testAddACopy() {\n }", "@Override\r\n\tpublic void setUp() {\n\t\t\r\n\t}", "public void testGetBasedata() {\n }", "@Test\n public void simpleUse(){\n }", "public void testBidu(){\n\t}", "@Before\n\t public void setUp() {\n\t }", "@Override\r\n protected void setUp() {\r\n // nothing yet\r\n }", "public void testMock(){\n\t}", "protected void setUp()\n {\n }", "protected void setUp()\n {\n }", "protected TestBench() {}", "static void testCaculator(){\n }", "public void testSetBasedata() {\n }", "@Test\n public void publicInstanceTest() {\n // TODO: test publicInstance\n }", "@Override\r\n\tpublic void setUp() {\n\r\n\t}", "private test5() {\r\n\t\r\n\t}", "public void setUp()\r\n {\r\n //empty on purpose\r\n }", "@Test\r\n\tpublic void test() {\r\n\t}", "protected void setUp() {\n\n }", "public void testDummy() {\n }", "public static void dummyTest(){}", "public static void dummyTest(){}", "@Test\r\n public void dummyCanGiveXP() {\n\r\n dummy.giveExperience();\r\n\r\n assertEquals(DUMMY_EXPERIENCE, dummy.giveExperience());\r\n }", "@Override\n public void setUp() throws Exception {}", "public void setUp() {\n\n\t}", "@Override\n public void testGetAllObjects() {\n }", "@Before public void setUp() { }", "public StrandUnitTest()\n {\n }", "public void testDummy() {\n }", "public void testDummy()\n {\n }", "@Before\r\n public void setUp()\r\n {\r\n }", "@Before\r\n public void setUp()\r\n {\r\n }", "@Before\r\n public void setUp()\r\n {\r\n }", "@Before\r\n public void setUp()\r\n {\r\n }", "protected void setUp() {\n\t}", "private AccuracyTestHelper() {\n // empty\n }", "@Test\n public void instanceTest() {\n // TODO: test instance\n }", "public AcuityTest() {\r\n }", "@Test\n public void testGetters()\n {\n assertEquals(\"\",test.getPlayerName());\n assertEquals(\"UseCard\",test.toString());\n assertEquals(13,test.getCardID());\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Before\n public void setUp()\n {\n }", "@Test\n public void init() {\n }", "public ClimbingClubTest()\n {\n \n }", "public void test() {\n\t}", "@org.junit.Test\r\n\tpublic void test() {\n\t\t\t\t\r\n\t}", "@Before\r\n\t public void setUp(){\n\t }", "@Test\r\n public void elCerdoNoSePuedeAtender() {\n }", "@Before\n public void setUp () {\n }", "@Test\n void constructorTest() {\n super.checkConstruction();\n }", "@Test\n\tpublic void test(){\n\t}", "@Before\n\tpublic void setUp() {\n\t}", "@Override\n\tpublic void testEngine() {\n\t\t\n\t}", "public void objectTest() {\n }", "@Test\n\tpublic void test() {\n\t}", "@Test\n\tpublic void test() {\n\t}", "@Before\n public void setUp() {\n }", "@Before\n public void setUp() {\n }", "@Before\n public void setUp() {\n }", "@Before\n public void setUp() {\n }", "@Before\n public void setUp() {\n }", "@Before\r\n\tpublic void setUp() {\n\t}", "protected void setUp() throws Exception {\n \n }", "public void testAddEntry(){\n }", "public void testaReclamacao() {\n\t}", "public void testOperation();", "@Test\r\n public void testGetApiBase() {\r\n // Not required\r\n }", "public void testGetters() \r\n\t{\r\n\t\tPurchase instance1 = new Purchase(1, \"Jean-Luc Picard\", \"USS Enterprise\", \"FP\", \"2364-01-01\", 1000, 1 );\r\n\t\tassertEquals(\"ID\", 1, instance1.getID());\r\n\t\tassertEquals(\"Name\", \"Jean-Luc Picard\", instance1.getMerchantName());\r\n\t\tassertEquals(\"City\", \"USS Enterprise\", instance1.getMerchantCity());\r\n\t\tassertEquals(\"State\", \"FP\", instance1.getMerchantState());\r\n\t\tassertEquals(\"Amount\", 1000, instance1.getPurchaseAmount(), 0.01);\r\n\t\tassertEquals(\"Cust ID\", 1, instance1.getCustomerID());\r\n\t}", "@Test\n public void testTankConstruction() {\n assertNotNull(tank);\n }", "@Test\n public void testCollectPayment() {\n System.out.println(\"collectPayment\");\n Money moneyType = Money.QUARTER;\n int unitCount = 0;\n //CashRegister instance = new CashRegister();\n instance.collectPayment(moneyType, unitCount);\n }", "protected Assert() {\n\t}", "@Test\n public void testQuickMapList() {\n//TODO: Test goes here... \n }", "protected void setUp() throws Exception {\n }", "private StressTestHelper() {\n // Empty constructor.\n }" ]
[ "0.7490877", "0.6950923", "0.6921999", "0.68470055", "0.6753861", "0.67522794", "0.67263305", "0.6708528", "0.67068464", "0.6704483", "0.67044735", "0.6697588", "0.6684299", "0.6661727", "0.6656073", "0.6645506", "0.6610159", "0.6609969", "0.6592467", "0.65870154", "0.6584098", "0.6584098", "0.6564429", "0.6555531", "0.65538055", "0.6545564", "0.6525165", "0.65164185", "0.65091914", "0.6471904", "0.6470895", "0.6451918", "0.6448901", "0.6448901", "0.64470583", "0.64413875", "0.64386827", "0.6430846", "0.6421814", "0.6421033", "0.64157975", "0.6411105", "0.64107805", "0.64107805", "0.64107805", "0.64107805", "0.6400437", "0.6395351", "0.6387839", "0.63820547", "0.63627195", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63556576", "0.63524354", "0.6349497", "0.6339138", "0.63259125", "0.63218737", "0.63145256", "0.63124895", "0.6311712", "0.6307717", "0.63043433", "0.6303348", "0.6302839", "0.629828", "0.629828", "0.62968147", "0.62968147", "0.62968147", "0.62968147", "0.62968147", "0.6272587", "0.6271337", "0.6268781", "0.62625885", "0.62545216", "0.62486273", "0.6240342", "0.62376285", "0.6230576", "0.6223532", "0.6218031", "0.6216422", "0.6211661" ]
0.0
-1
Constructs an IntervalSqlType. This should only be called from a factory method.
public IntervalPolyType( RelDataTypeSystem typeSystem, SqlIntervalQualifier intervalQualifier, boolean isNullable ) { super( intervalQualifier.typeName(), isNullable, null ); this.typeSystem = Objects.requireNonNull( typeSystem ); this.intervalQualifier = Objects.requireNonNull( intervalQualifier ); computeDigest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Interval getIntType() { return this.interval; }", "public IntervalPolyType combine( RelDataTypeFactoryImpl typeFactory, IntervalPolyType that ) {\n assert this.typeName.isYearMonth() == that.typeName.isYearMonth();\n boolean nullable = isNullable || that.isNullable;\n TimeUnit thisStart = Objects.requireNonNull( typeName.getStartUnit() );\n TimeUnit thisEnd = typeName.getEndUnit();\n final TimeUnit thatStart = Objects.requireNonNull( that.typeName.getStartUnit() );\n final TimeUnit thatEnd = that.typeName.getEndUnit();\n\n int secondPrec = this.intervalQualifier.getStartPrecisionPreservingDefault();\n final int fracPrec =\n SqlIntervalQualifier.combineFractionalSecondPrecisionPreservingDefault(\n typeSystem,\n this.intervalQualifier,\n that.intervalQualifier );\n\n if ( thisStart.ordinal() > thatStart.ordinal() ) {\n thisEnd = thisStart;\n thisStart = thatStart;\n secondPrec = that.intervalQualifier.getStartPrecisionPreservingDefault();\n } else if ( thisStart.ordinal() == thatStart.ordinal() ) {\n secondPrec =\n SqlIntervalQualifier.combineStartPrecisionPreservingDefault(\n typeFactory.getTypeSystem(),\n this.intervalQualifier,\n that.intervalQualifier );\n } else if ( null == thisEnd || thisEnd.ordinal() < thatStart.ordinal() ) {\n thisEnd = thatStart;\n }\n\n if ( null != thatEnd ) {\n if ( null == thisEnd || thisEnd.ordinal() < thatEnd.ordinal() ) {\n thisEnd = thatEnd;\n }\n }\n\n RelDataType intervalType = typeFactory.createSqlIntervalType( new SqlIntervalQualifier( thisStart, secondPrec, thisEnd, fracPrec, SqlParserPos.ZERO ) );\n intervalType = typeFactory.createTypeWithNullability( intervalType, nullable );\n return (IntervalPolyType) intervalType;\n }", "public TimeInterval create(int numberOfIntervals, int intervalType) {\r\n\t\tDefaultTimeInterval ti = new DefaultTimeInterval();\r\n\t\tti._numberOfIntervals[intervalType] = numberOfIntervals;\r\n\t\treturn ti;\r\n\t}", "public Builder interval(Integer interval) {\n\t\t\tthis.interval = interval;\n\t\t\treturn this;\n\t\t}", "public S interval(String interval) {\n builder.interval(interval);\n return self;\n }", "public S interval(Long interval) {\n builder.interval(interval);\n return self;\n }", "public IntervalPatternTransformer(int interval)\r\n {\r\n this.interval = interval;\r\n }", "public Node interval()\r\n\t{\r\n\t\tint index = lexer.getPosition();\r\n\t\tLexer.Token lp = lexer.getToken();\r\n\t\tif(lp==Lexer.Token.LEFT_PARENTHESIS\r\n\t\t|| lp==Lexer.Token.LEFT_BRACKETS)\r\n\t\t{\r\n\t\t\tNode exp1 = expression();\r\n\t\t\tif(exp1!=null)\r\n\t\t\t{\r\n\t\t\t\tif(lexer.getToken()==Lexer.Token.COMMA)\r\n\t\t\t\t{\r\n\t\t\t\t\tNode exp2 = expression();\r\n\t\t\t\t\tif(exp2!=null)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tLexer.Token rp = lexer.getToken();\r\n\t\t\t\t\t\tif(rp==Lexer.Token.RIGHT_PARENTHESIS\r\n\t\t\t\t\t\t|| rp==Lexer.Token.RIGHT_BRACKETS)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tInterval iv = new Interval(exp1,exp2);\r\n\t\t\t\t\t\t\tif(lp==Lexer.Token.LEFT_PARENTHESIS) iv.lhsClosed(false);\r\n\t\t\t\t\t\t\telse iv.lhsClosed(true);\r\n\t\t\t\t\t\t\tif(rp==Lexer.Token.RIGHT_PARENTHESIS) iv.rhsClosed(false);\r\n\t\t\t\t\t\t\telse iv.rhsClosed(true);\r\n\t\t\t\t\t\t\treturn iv;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tlexer.setPosition(index);\r\n\t\treturn null;\r\n\t}", "public Interval(){\r\n firstExtreme = 0.0d;\r\n secondExtreme = 0.0d;\r\n feIncluded = '(';\r\n seIncluded = ')';\r\n }", "net.opengis.gml.x32.TimeIntervalLengthType addNewTimeInterval();", "public Intervals(Interval<T> interval) {\n add(interval);\n }", "RangeOfValuesType createRangeOfValuesType();", "public Builder withInterval(final Long interval) {\n this.interval = interval;\n return this;\n }", "public Interval getInterval() { return interval; }", "public TimeInterval create(TimeInterval ti) {\r\n\t\tDefaultTimeInterval nti = new DefaultTimeInterval();\r\n\t\tfor (int i = 0; i < _numberOfIntervals.length; i++)\r\n\t\t\tnti._numberOfIntervals[i] = this._numberOfIntervals[i];\r\n\t\treturn nti;\r\n\t}", "public Intervals() {\n }", "public IntervalBasedHierarchy addInterval(T lBound, T hBound, String name) {\n IntervalNode node = new IntervalNode();\n node.lBound = lBound;\n node.hBound = hBound;\n node.text = name;\n intervals.add(node);\n return this;\n }", "public Interval toInterval() {\r\n return new Interval(getStartMillis(), getEndMillis(), getChronology());\r\n }", "public IntervalNode(int low, int high) {\n\tthis(low,high,null);\n }", "SQLCaseOperand createSQLCaseOperand();", "net.opengis.gml.x32.TimeIntervalLengthType getTimeInterval();", "public Interval(String low, String high) {\n\t\tthis.low = low;\n\t\tthis.high = high;\n\t}", "private JdbcTypeType(int value, String name, String literal) {\r\n\t\tsuper(value, name, literal);\r\n\t}", "public Interval(final long time) {\n super();\n this.time = time;\n setName(Symbols.INTERVAL_PREFIX + String.valueOf(time)); \n }", "public Interval(long start, long length, long max) {\n super();\n if (0 >= max) throw new IllegalArgumentException();\n if (0 > start || max <= start) throw new IllegalArgumentException();\n if (0 >= length) throw new IllegalArgumentException();\n if (max < start + length) throw new IllegalArgumentException();\n this.start = start;\n this.max = max;\n this.length = length;\n }", "public UnitObject(TimeInterval _interval, T _value) {\r\n this.interval = _interval;\r\n // this.value = _value;\r\n fun = new ConstantFunction<T>(_value);\r\n }", "private Interval(T start, T end) {\n this.start = start;\n this.end = end;\n }", "DomainValuesType createDomainValuesType();", "public Interval(Interval in){\r\n firstExtreme = in.getFirstExtreme();\r\n secondExtreme = in.getSecondExtreme();\r\n feIncluded = in.getFEincluded();\r\n seIncluded = in.getSEincluded();\r\n }", "protected IntervalNode() {\n\tthis.low = -1;\n\tthis.high = -1;\n\tthis.max = -1;\n\tthis.min = -1;\n\tthis.right = this;\n\tthis.left = this;\n\tthis.p = this;\n }", "void checkIntervalConv(\n String sql,\n String expected);", "public static IntervalSet of(int a) {\n\t\tIntervalSet s = new IntervalSet();\n\t\ts.add(a);\n\t\treturn s;\n\t}", "public Interval(LocalDateTime begin, LocalDateTime end) {\n this.setBegin(begin.atZone(ZoneId.systemDefault()).toInstant());\n this.setEnd(end.atZone(ZoneId.systemDefault()).toInstant());\n }", "public Intervals(Interval<T>... intervals) {\n add(intervals);\n }", "public interface ReadableInterval\n{\n\n public abstract boolean contains(ReadableInstant readableinstant);\n\n public abstract boolean contains(ReadableInterval readableinterval);\n\n public abstract boolean equals(Object obj);\n\n public abstract Chronology getChronology();\n\n public abstract DateTime getEnd();\n\n public abstract long getEndMillis();\n\n public abstract DateTime getStart();\n\n public abstract long getStartMillis();\n\n public abstract int hashCode();\n\n public abstract boolean isAfter(ReadableInstant readableinstant);\n\n public abstract boolean isAfter(ReadableInterval readableinterval);\n\n public abstract boolean isBefore(ReadableInstant readableinstant);\n\n public abstract boolean isBefore(ReadableInterval readableinterval);\n\n public abstract boolean overlaps(ReadableInterval readableinterval);\n\n public abstract Duration toDuration();\n\n public abstract long toDurationMillis();\n\n public abstract Interval toInterval();\n\n public abstract MutableInterval toMutableInterval();\n\n public abstract Period toPeriod();\n\n public abstract Period toPeriod(PeriodType periodtype);\n\n public abstract String toString();\n}", "Intervalle(double bas, double haut){\n this.inf = bas;\n this.sup = haut;\n }", "UserDefinedType createUserDefinedType();", "DatatypeType createDatatypeType();", "public HistogramValuesSourceBuilder interval(double interval) {\n if (interval <= 0) {\n throw new IllegalArgumentException(\"[interval] must be greater than 0 for [histogram] source\");\n }\n this.interval = interval;\n return this;\n }", "public ClassSQLContract(SQLTagsGeneratorTable sqlTagsGeneratorTable){\n //---------------------------------------------------------------------------\n this.sqlTagsGeneratorTable=sqlTagsGeneratorTable;\n this.tableName=sqlTagsGeneratorTable.getTableName();\n createClassSQLContract();\n }", "public TimeIntervalFormatter(final Context context, final TimeUnit unit, final int[][] intervals) {\n super(context);\n this.unit = unit;\n intervalList = new ArrayList<>(intervals.length);\n for(int[] interval : intervals)\n if (interval.length > 1) intervalList.add(interval);\n }", "public Interval(Instant begin, Instant end) {\n this.begin = begin;\n this.end = end;\n }", "public Integer getInterval() {\n\t\treturn interval;\n\t}", "public RealInterval() {\n\t\tlo = java.lang.Double.NEGATIVE_INFINITY;\n\t\thi = java.lang.Double.POSITIVE_INFINITY;\n\t}", "public SimpleInterval1D getVariantInterval(final int ind) {\n try {\n if (ind == 0) {\n return new SimpleInterval1D(pos, pos);\n }\n\n if (getType(ind) == VariantType.Insertion) {\n return new SimpleInterval1D((long) (pos-0.5*maxLen(ind)), (long) (pos+0.5*maxLen(ind)-1));\n }\n // TODO hmm unsafe\n if (maxLen(ind) == Integer.MAX_VALUE) {\n return new SimpleInterval1D(pos, pos);\n } else {\n return new SimpleInterval1D(pos, pos + maxLen(ind) - 1);\n }\n } catch (RuntimeException e) {\n log.error(\"Bad variant interval: \" + toString());\n log.error(\"pos: \" + pos);\n log.error(\"ind: \" + ind);\n log.error(\"maxLen(ind): \" + maxLen(ind));\n e.printStackTrace();\n return null;\n }\n }", "public Sql(String sql) {\n \n this();\n append(sql);\n }", "BaseTypeIdImpl(String SQLTypeName)\n {\n this.schemaName = null;\n this.unqualifiedName = SQLTypeName;\n }", "ValueRangeConstraint createValueRangeConstraint();", "public Interval(long begin, long end) {\n this.setBegin(java.time.Instant.ofEpochMilli(begin));\n this.setEnd(java.time.Instant.ofEpochMilli(end));\n }", "public void checkIntervalConv(\n String sql,\n String expected)\n {\n tester.checkIntervalConv(\n TesterImpl.buildQuery(sql),\n expected);\n }", "public Interval(@NotNull String str, @NotNull String str2, @NotNull String str3) {\n super(str3, null);\n a.Z0(str, \"from\", str2, \"to\", str3, \"title\");\n this.b = str;\n this.c = str2;\n }", "public IntervalExpressionNode(IntervalNodeEvaluator evaluator) {\n\t\tthis(evaluator, null, IntervalOperation.NO_OPERATION, null);\n\t}", "SqlCaseWhen createSqlCaseWhen();", "public SqlDerivedColumn(int id, String name, DataType type)\n\t{\n\t\tsuper(id, name, type);\n\t}", "Literal createLiteral();", "Literal createLiteral();", "public Intervals(T begin, T end) {\n this(new Interval<T>(begin, end));\n }", "private void createIntervalLabel(GridBagConstraints gridBagConstraint) {\r\n intervalLabel = new JLabel(INTERVAL_LABEL_NAME);\r\n intervalLabel.setHorizontalAlignment(SwingConstants.CENTER);\r\n intervalLabel.setBackground(Color.decode(\"#747b83\"));\r\n gridBagConstraint.fill = GridBagConstraints.HORIZONTAL;\r\n gridBagConstraint.gridx = 0;\r\n gridBagConstraint.gridy = 0;\r\n gridBagConstraint.ipady = 40;\r\n gridBagConstraint.insets = new Insets(0, 20, 0, 0);\r\n add(intervalLabel, gridBagConstraint);\r\n }", "public Simulation(SimulationType type, int length, Interval iType, double percent, LocalDate startDate) {\n \n this.simType = type;\n this.amount = length;\n this.interval = iType;\n this.percentage = percent / 100.0;\n \n this.startDate = startDate;\n \n switch(iType) {\n \n case DAY:\n this.endDate = startDate.plusDays(length);\n break;\n case MONTH:\n this.endDate = startDate.plusMonths(length);\n break;\n case YEAR:\n this.endDate = startDate.plusYears(length);\n break;\n } \n }", "private Interval readRecordInterval(Record row, Session session) {\n Timestamp start = (Timestamp) session.getDatasourcePlatform().convertObject(row.get(\"recordinterval_0\"), java.sql.Timestamp.class);\n Timestamp end = (Timestamp) session.getDatasourcePlatform().convertObject(row.get(\"recordinterval\"), java.sql.Timestamp.class);\n return new Interval(start.getTime(), end.getTime());\n }", "TriggerType createTriggerType();", "DataType createDataType();", "public int getInterval() { return _interval; }", "public interface IntervalRange<V extends Comparable<V>> extends Range<V> {\n\n\t/**\n\t * This method returns the lower bound of the interval.\n\t * \n\t * @return the lower bound. <code>null</code> means there is no lower bound,\n\t * i.e., this is an open interval.\n\t */\n\tpublic V getLowerBound();\n\n\t/**\n\t * This method returns the upper bound of the interval.\n\t * \n\t * @return the upper bound. <code>null</code> means there is no upper bound,\n\t * i.e., this is an open interval.\n\t */\n\tpublic V getUpperBound();\n\n}", "public Literal createLiteral(int b) throws ModelException {\n\n return createLiteral(String.valueOf(b));\n }", "public IntervalSampler(double freq) {\n this(freq, Integer.MAX_VALUE);\n }", "public Interval getUnionWith(Interval i){\n\t\t\n\t\t//Assumes that are adjacent\n\t\treturn new Interval(\n\t\t\t\t\tmin(leftbound, i.getLeftBound()),\n\t\t\t\t\tmax(rightbound, i.getRightBound())\n\t\t\t\t);\n\t\t\n\t\t\n\t}", "SimpleLiteral createSimpleLiteral();", "public int getInterval() {\r\n return interval;\r\n }", "public abstract String toJavaType(int sqlType);", "InsertType createInsertType();", "TimerType createTimerType();", "void setTimeInterval(net.opengis.gml.x32.TimeIntervalLengthType timeInterval);", "public TimeInterval createByAdding(TimeInterval ti) {\r\n\t\tDefaultTimeInterval nti = new DefaultTimeInterval();\r\n\t\tfor (int i = 1; i < _numberOfIntervals.length; i++) {\r\n\t\t\tnti._numberOfIntervals[i] = this._numberOfIntervals[i]\r\n\t\t\t\t\t+ ti.getNumberOfIntervals(i);\r\n\t\t}\r\n\t\treturn nti;\r\n\t}", "private void createIntervalInputTextField(GridBagConstraints gridBagConstraint) {\r\n intervalInputTextField = new NumberTextField(\"\" + topModel.getInterval(), true);\r\n intervalInputTextField.setBackground(Color.decode(\"#616266\"));\r\n intervalInputTextField.setBorder(null);\r\n intervalInputTextField.setColumns(3);\r\n intervalInputTextField.setHorizontalAlignment(SwingConstants.CENTER);\r\n gridBagConstraint.fill = GridBagConstraints.HORIZONTAL;\r\n gridBagConstraint.weightx = 0.5;\r\n gridBagConstraint.gridx = 1;\r\n gridBagConstraint.gridy = 0;\r\n gridBagConstraint.ipady = 20;\r\n gridBagConstraint.insets = new Insets(0, 20, 0, 20);\r\n add(intervalInputTextField, gridBagConstraint);\r\n }", "RangeValue createRangeValue();", "QueryConstraintType createQueryConstraintType();", "public interface IntervalConverter\n extends Converter\n{\n\n public abstract boolean isReadableInterval(Object obj, Chronology chronology);\n\n public abstract void setInto(ReadWritableInterval readwritableinterval, Object obj, Chronology chronology);\n}", "public a(IntegerLiteralTypeConstructor integerLiteralTypeConstructor) {\n super(0);\n this.a = integerLiteralTypeConstructor;\n }", "public abstract DataType<T> newInstance();", "public RepoSQL() { // constructor implicit\r\n\t\t super();\r\n\t }", "public NSDateIntervalFormatter() {}", "private void generateIntervalArray(){\n BigDecimal maximumValue = this.getTfMaximumInterval();\n BigDecimal minimumValue = this.getTfMinimumInterval();\n BigDecimal stepValue = this.getTfStepInterval();\n \n intervalArray = new ArrayList<BigDecimal>();\n BigDecimal step = maximumValue;\n \n //Adiciona os valores \"inteiros\"\n while(step.doubleValue() >= minimumValue.doubleValue()){\n intervalArray.add(step);\n step = step.subtract(stepValue);\n }\n }", "QueryType createQueryType();", "@Override\n protected Interval adjustInterval(Interval i) {\n RangeDivision iInfo = RangeDivision.getRangeDivision(i, TimeLineController.getJodaTimeZone());\n final long lowerBound = iInfo.getLowerBound();\n final long upperBound = iInfo.getUpperBound();\n final DateTime lowerDate = new DateTime(lowerBound, TimeLineController.getJodaTimeZone());\n final DateTime upperDate = new DateTime(upperBound, TimeLineController.getJodaTimeZone());\n //add extra block to end that gets cut of by conversion from string/category.\n return new Interval(lowerDate, upperDate.plus(countsChart.rangeInfo.getPeriodSize().toUnitPeriod()));\n }", "IntegerValue createIntegerValue();", "IntegerValue createIntegerValue();", "public void setInterdigitInterval(int interval);", "public abstract Type createRangeType(ReferenceType bottom);", "public static R1Interval fromPoint(double p) {\n return new R1Interval(p, p);\n }", "private Interval readValidityInterval(Record row, Session session) {\n Timestamp start = (Timestamp) session.getDatasourcePlatform().convertObject(row.get(\"validityinterval_0\"), java.sql.Timestamp.class);\n Timestamp end = (Timestamp) session.getDatasourcePlatform().convertObject(row.get(\"validityinterval\"), java.sql.Timestamp.class);\n return new Interval(start.getTime(), end.getTime());\n }", "public ColorClass (String name, Interval interval) {\n this(name, interval, false);\n }", "public static IntervalSet of(int a, int b) {\n\t\tIntervalSet s = new IntervalSet();\n\t\ts.add(a, b);\n\t\treturn s;\n\t}", "DataPointType createDataPointType();", "UnipivotInClause createUnipivotInClause();", "public IntegerLiteral(Integer number)\n {\n this.literal = number; \n }", "@Test\n public void testCTASWithIntervalTypes() throws Exception {\n BaseTestQuery.test(\"use dfs.tmp\");\n String tableName = \"drill_1980_t1\";\n // test required interval day type\n BaseTestQuery.test((\"create table %s as \" + (((\"select \" + \"interval '10 20:30:40.123' day to second col1, \") + \"interval '-1000000000 20:12:23.999' day(10) to second col2 \") + \"from cp.`employee.json` limit 2\")), tableName);\n Period row1Col1 = new Period(0, 0, 0, 10, 0, 0, 0, 73840123);\n Period row1Col2 = new Period(0, 0, 0, (-1000000000), 0, 0, 0, (-72743999));\n testParquetReaderHelper(tableName, row1Col1, row1Col2, row1Col1, row1Col2);\n tableName = \"drill_1980_2\";\n // test required interval year type\n BaseTestQuery.test((\"create table %s as \" + (((\"select \" + \"interval '10-2' year to month col1, \") + \"interval '-100-8' year(3) to month col2 \") + \"from cp.`employee.json` limit 2\")), tableName);\n row1Col1 = new Period(0, 122, 0, 0, 0, 0, 0, 0);\n row1Col2 = new Period(0, (-1208), 0, 0, 0, 0, 0, 0);\n testParquetReaderHelper(tableName, row1Col1, row1Col2, row1Col1, row1Col2);\n // test nullable interval year type\n tableName = \"drill_1980_t3\";\n BaseTestQuery.test((\"create table %s as \" + (((\"select \" + \"cast (intervalyear_col as interval year) col1,\") + \"cast(intervalyear_col as interval year) + interval '2' year col2 \") + \"from cp.`parquet/alltypes.json` where tinyint_col = 1 or tinyint_col = 2\")), tableName);\n row1Col1 = new Period(0, 12, 0, 0, 0, 0, 0, 0);\n row1Col2 = new Period(0, 36, 0, 0, 0, 0, 0, 0);\n Period row2Col1 = new Period(0, 24, 0, 0, 0, 0, 0, 0);\n Period row2Col2 = new Period(0, 48, 0, 0, 0, 0, 0, 0);\n testParquetReaderHelper(tableName, row1Col1, row1Col2, row2Col1, row2Col2);\n // test nullable interval day type\n tableName = \"drill_1980_t4\";\n BaseTestQuery.test((\"create table %s as \" + (((\"select \" + \"cast(intervalday_col as interval day) col1, \") + \"cast(intervalday_col as interval day) + interval '1' day col2 \") + \"from cp.`parquet/alltypes.json` where tinyint_col = 1 or tinyint_col = 2\")), tableName);\n row1Col1 = new Period(0, 0, 0, 1, 0, 0, 0, 0);\n row1Col2 = new Period(0, 0, 0, 2, 0, 0, 0, 0);\n row2Col1 = new Period(0, 0, 0, 2, 0, 0, 0, 0);\n row2Col2 = new Period(0, 0, 0, 3, 0, 0, 0, 0);\n testParquetReaderHelper(tableName, row1Col1, row1Col2, row2Col1, row2Col2);\n }", "public IntervalBasedHierarchy importIntervals(Iterator<T> iterator,\n int intervalSize) {\n Predictor.predict(intervalSize > 0,\n \"interval size should not little than 1 ,got %s\", intervalSize + \"\");\n if (!iterator.hasNext()) {\n return this;\n }\n int cSize = 1;\n T lBound = iterator.next();\n T hBould = lBound;\n while (iterator.hasNext()) {\n if (cSize == intervalSize) {\n cSize = 0;\n this.addInterval(lBound, hBould, lBound.compareTo(hBould) == 0\n ? lBound.toString()\n : lBound.toString() + \"~\" + hBould.toString());\n lBound = hBould;\n }\n ++cSize;\n hBould = iterator.next();\n }\n this.addInterval(lBound, hBould, lBound.compareTo(hBould) == 0\n ? lBound.toString()\n : lBound.toString() + \"~\" + hBould.toString());\n return this;\n }", "abstract public Range createRange();", "public ColorClass (int ide, Interval interval) {\n this(ide , interval , false);\n }" ]
[ "0.5668205", "0.5633722", "0.5611315", "0.5525087", "0.5485657", "0.54844916", "0.546219", "0.5375826", "0.5315341", "0.52789694", "0.51500225", "0.5132032", "0.50870633", "0.5076795", "0.5062667", "0.4970666", "0.49439362", "0.49345526", "0.49019048", "0.48881328", "0.48689777", "0.48588392", "0.48320037", "0.4801554", "0.47898883", "0.47593865", "0.4753353", "0.4735653", "0.47300062", "0.47180086", "0.47070816", "0.46958542", "0.4662199", "0.46611574", "0.46569645", "0.4653595", "0.46434623", "0.46258324", "0.46197397", "0.46122152", "0.45868546", "0.45829365", "0.45736116", "0.45424178", "0.45401958", "0.4539127", "0.45388925", "0.45306906", "0.45266873", "0.4521654", "0.45153543", "0.45141762", "0.44849616", "0.4480563", "0.44789723", "0.44789723", "0.44700995", "0.4469524", "0.44685912", "0.44684884", "0.44604233", "0.4457787", "0.44531098", "0.44393656", "0.44378254", "0.44085985", "0.44044796", "0.43998447", "0.43996614", "0.43979743", "0.43966025", "0.43955246", "0.43937245", "0.43794692", "0.43727586", "0.4371821", "0.436557", "0.43632984", "0.43611065", "0.4352762", "0.43505117", "0.43408948", "0.43383896", "0.4336548", "0.433156", "0.43222392", "0.43222392", "0.43157429", "0.43139476", "0.430774", "0.42995346", "0.4296685", "0.42965984", "0.429238", "0.42808247", "0.42783928", "0.42759615", "0.42751032", "0.42721155", "0.42679328" ]
0.5907433
0
Combines two IntervalTypes and returns the result. E.g. the result of combining INTERVAL DAY TO HOUR with INTERVAL SECOND is INTERVAL DAY TO SECOND
public IntervalPolyType combine( RelDataTypeFactoryImpl typeFactory, IntervalPolyType that ) { assert this.typeName.isYearMonth() == that.typeName.isYearMonth(); boolean nullable = isNullable || that.isNullable; TimeUnit thisStart = Objects.requireNonNull( typeName.getStartUnit() ); TimeUnit thisEnd = typeName.getEndUnit(); final TimeUnit thatStart = Objects.requireNonNull( that.typeName.getStartUnit() ); final TimeUnit thatEnd = that.typeName.getEndUnit(); int secondPrec = this.intervalQualifier.getStartPrecisionPreservingDefault(); final int fracPrec = SqlIntervalQualifier.combineFractionalSecondPrecisionPreservingDefault( typeSystem, this.intervalQualifier, that.intervalQualifier ); if ( thisStart.ordinal() > thatStart.ordinal() ) { thisEnd = thisStart; thisStart = thatStart; secondPrec = that.intervalQualifier.getStartPrecisionPreservingDefault(); } else if ( thisStart.ordinal() == thatStart.ordinal() ) { secondPrec = SqlIntervalQualifier.combineStartPrecisionPreservingDefault( typeFactory.getTypeSystem(), this.intervalQualifier, that.intervalQualifier ); } else if ( null == thisEnd || thisEnd.ordinal() < thatStart.ordinal() ) { thisEnd = thatStart; } if ( null != thatEnd ) { if ( null == thisEnd || thisEnd.ordinal() < thatEnd.ordinal() ) { thisEnd = thatEnd; } } RelDataType intervalType = typeFactory.createSqlIntervalType( new SqlIntervalQualifier( thisStart, secondPrec, thisEnd, fracPrec, SqlParserPos.ZERO ) ); intervalType = typeFactory.createTypeWithNullability( intervalType, nullable ); return (IntervalPolyType) intervalType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Interval mergeInterval(Interval first, Interval second){\n Interval result = new Interval();\n result.start = Math.min(first.start,second.start);\n result.end = Math.max(first.end,second.end);\n return result;\n }", "net.opengis.gml.x32.TimeIntervalLengthType addNewTimeInterval();", "net.opengis.gml.x32.TimeIntervalLengthType getTimeInterval();", "public static Interval union(Interval in1, Interval in2){\r\n if (Interval.intersection(in1, in2).isEmpty())\r\n return new Interval();\r\n double a = in1.getFirstExtreme();\r\n double b = in1.getSecondExtreme();\r\n double c = in2.getFirstExtreme();\r\n double d = in2.getSecondExtreme();\r\n double fe, se;\r\n char ai = in1.getFEincluded();\r\n char bi = in1.getSEincluded();\r\n char ci = in2.getFEincluded();\r\n char di = in2.getSEincluded();\r\n char fei, sei;\r\n if (a<c){\r\n fe = a;\r\n fei = ai;\r\n }\r\n else if (a>c){\r\n fe = c;\r\n fei = ci;\r\n }\r\n else{\r\n fe = a;\r\n fei = ai==ci?ai:'(';\r\n }\r\n if (d<b){\r\n se = b;\r\n sei = bi;\r\n }\r\n else if (d>b){\r\n se = d;\r\n sei = di;\r\n }\r\n else{\r\n se = b;\r\n sei = bi==di?bi:')';\r\n }\r\n return new Interval(fe,se,fei,sei);\r\n }", "public static Interval addition(Interval in1, Interval in2){\r\n return new Interval(in1.getFirstExtreme()+in2.getFirstExtreme(),in1.getSecondExtreme()+in2.getSecondExtreme(),in1.getFEincluded()==in2.getFEincluded()?in1.getFEincluded():'(',in1.getSEincluded()==in2.getSEincluded()?in1.getSEincluded():')');\r\n }", "public Interval getIntType() { return this.interval; }", "public Interval plus(Interval other) {\n\t\tInterval result = new Interval(\"\", \"\");\n\n\t\tif (isNegativeInfinite() || other.isNegativeInfinite())\n\t\t\tresult.setLow(\"-Inf\");\n\t\telse {\n\t\t\tresult.setLow(String.valueOf(Long.parseLong(this.getLow()) + Long.parseLong(other.getLow())));\n\t\t}\n\n\t\tif (isPositiveInfinite() || other.isPositiveInfinite())\n\t\t\tresult.setHigh(\"+Inf\");\n\t\telse {\n\t\t\tresult.setHigh(String.valueOf(Long.parseLong(this.getHigh()) + Long.parseLong(other.getHigh())));\n\t\t}\n\n\t\treturn result;\n\t}", "private List<Interval> merge(Interval interval, Interval dnd) {\n if (dnd.a <= interval.a && dnd.b >= interval.b) {\n return Collections.emptyList();\n }\n // [ dnd [ ] interval ]\n if (dnd.a <= interval.a && dnd.b >= interval.a) {\n return Collections.singletonList(new Interval(dnd.b, interval.b, IntervalType.E));\n }\n // [ interval [ dnd ] ]\n if (interval.a <= dnd.a && dnd.b <= interval.b) {\n return Arrays.asList(\n new Interval(interval.a, dnd.a, IntervalType.E),\n new Interval(dnd.b, interval.b, IntervalType.E)\n );\n }\n // [ interval [ ] dnd ]\n if (interval.a <= dnd.a && interval.b >= dnd.a) {\n return Collections.singletonList(new Interval(interval.a, dnd.a, IntervalType.E));\n }\n // else\n // [ int ] [ dnd ]\n // [dnd] [int]\n // return int\n return Collections.singletonList(interval);\n }", "public static Interval product(Interval in1, Interval in2){\r\n return new Interval(in1.getFirstExtreme()*in2.getFirstExtreme(),in1.getSecondExtreme()*in2.getSecondExtreme(),in1.getFEincluded()==in2.getFEincluded()?in1.getFEincluded():'(',in1.getSEincluded()==in2.getSEincluded()?in1.getSEincluded():')');\r\n }", "public interface ReadableInterval\n{\n\n public abstract boolean contains(ReadableInstant readableinstant);\n\n public abstract boolean contains(ReadableInterval readableinterval);\n\n public abstract boolean equals(Object obj);\n\n public abstract Chronology getChronology();\n\n public abstract DateTime getEnd();\n\n public abstract long getEndMillis();\n\n public abstract DateTime getStart();\n\n public abstract long getStartMillis();\n\n public abstract int hashCode();\n\n public abstract boolean isAfter(ReadableInstant readableinstant);\n\n public abstract boolean isAfter(ReadableInterval readableinterval);\n\n public abstract boolean isBefore(ReadableInstant readableinstant);\n\n public abstract boolean isBefore(ReadableInterval readableinterval);\n\n public abstract boolean overlaps(ReadableInterval readableinterval);\n\n public abstract Duration toDuration();\n\n public abstract long toDurationMillis();\n\n public abstract Interval toInterval();\n\n public abstract MutableInterval toMutableInterval();\n\n public abstract Period toPeriod();\n\n public abstract Period toPeriod(PeriodType periodtype);\n\n public abstract String toString();\n}", "public void add(Interval<T> interval) {\n ArrayList<Interval<T>> that = new ArrayList<Interval<T>>();\n that.add(interval);\n\n /*\n * The following algorithm works with any size ArrayList<Interval<T>>.\n * We do only one interval at a time to do an insertion sort like adding of intervals, so that they don't need to be sorted.\n */\n int pos1 = 0, pos2 = 0;\n Interval<T> i1, i2, i1_2;\n\n for (; pos1 < this.size() && pos2 < that.size(); ++pos2) {\n i1 = this.intervals.get(pos1);\n i2 = that.get(pos2);\n\n if (i1.is(IntervalRelation.DURING_INVERSE, i2) || i1.is(IntervalRelation.START_INVERSE, i2) || i1.is(IntervalRelation.FINISH_INVERSE, i2) || i1.is(IntervalRelation.EQUAL, i2)) {//i1 includes i2\n //ignore i2; do nothing\n } else if (i1.is(IntervalRelation.DURING, i2) || i1.is(IntervalRelation.START, i2) || i1.is(IntervalRelation.FINISH, i2)) {//i2 includes i1\n this.intervals.remove(pos1);//replace i1 with i2\n --pos2;\n } else if (i1.is(IntervalRelation.OVERLAP, i2) || i1.is(IntervalRelation.MEET, i2)) {//i1 begin < i2 begin < i1 end < i2 end; i1 end = i2 begin\n i1_2 = new Interval<T>(i1.begin(), i2.end());//merge i1 and i2\n this.intervals.remove(pos1);\n that.add(pos2 + 1, i1_2);\n } else if (i1.is(IntervalRelation.OVERLAP_INVERSE, i2) || i1.is(IntervalRelation.MEET_INVERSE, i2)) {//i2 begin < i1 begin < i2 end < i1 end; i2 end = i1 begin\n i1_2 = new Interval<T>(i2.begin(), i1.end());//merge i2 and i1\n this.intervals.remove(pos1);\n this.intervals.add(pos1, i1_2);\n } else if (i1.is(IntervalRelation.BEFORE, i2)) {//i1 < i2 < (next i1 or next i2)\n ++pos1;\n --pos2;\n } else if (i1.is(IntervalRelation.AFTER, i2)) {//i2 < i1 < (i1 or next i2)\n this.intervals.add(pos1, i2);\n ++pos1;\n }\n }\n\n //this finishes; just append the rest of that\n if (pos2 < that.size()) {\n for (int i = pos2; i < that.size(); ++i) {\n this.intervals.add(that.get(i));\n }\n }\n }", "static List<Interval> merge(List<Interval> intervals) {\n intervals.sort((Interval interval1, Interval interval2) -> Integer.compare(interval1.start, interval2.start));\n\n Iterator<Interval> itr = intervals.iterator();\n\n List<Interval> result = new ArrayList<>();\n Interval first = itr.next();\n int start = first.start;\n int end = first.end;\n\n while (itr.hasNext()) {\n Interval currentInterval = itr.next();\n //overlap\n if (end > currentInterval.start) {\n // change the end value to take the max of the two\n // TIP: changing max to min gives us mutually exclusive intervals , ie, it gets rid if the overlapping intervals\n end = Math.max(end, currentInterval.end);\n // Not adding to final list here cause the next interval could also be overlapped\n } else {\n //add s,e to final list here as we know current interval end < start\n result.add(new Interval(start, end));\n // last pair will not be added in this loop as hasNext will return false\n start = currentInterval.start;\n end = currentInterval.end;\n }\n }\n\n result.add(new Interval(start, end));\n return result;\n\n }", "public TimeInterval create(int numberOfIntervals, int intervalType) {\r\n\t\tDefaultTimeInterval ti = new DefaultTimeInterval();\r\n\t\tti._numberOfIntervals[intervalType] = numberOfIntervals;\r\n\t\treturn ti;\r\n\t}", "@Then(\"^I choose an interval time$\")\n public void i_choose_an_interval_time() {\n onViewWithId(R.id.startHour).type(\"12:00\");\n onViewWithId(R.id.endHour).type(\"23:59\");\n }", "public TimeInterval createByAdding(TimeInterval ti) {\r\n\t\tDefaultTimeInterval nti = new DefaultTimeInterval();\r\n\t\tfor (int i = 1; i < _numberOfIntervals.length; i++) {\r\n\t\t\tnti._numberOfIntervals[i] = this._numberOfIntervals[i]\r\n\t\t\t\t\t+ ti.getNumberOfIntervals(i);\r\n\t\t}\r\n\t\treturn nti;\r\n\t}", "public int getIntervalHours();", "static int calculateTimeDelta(TimeInterval interval_1, TimeInterval interval_2) {\n TimeInterval earlier;\n TimeInterval later;\n if (interval_1.getStartTime().before(interval_2.getStartTime())) {\n earlier = interval_1;\n later = interval_2;\n } else {\n earlier = interval_2;\n later = interval_1;\n }\n\n return (int) (later.getStartTime().getTime() - earlier.getStopTime().getTime());\n }", "@Nonnull\r\n\tpublic static <T> Func1<TimeInterval<T>, T> unwrapTimeInterval() {\r\n\t\treturn new Func1<TimeInterval<T>, T>() {\r\n\t\t\t@Override\r\n\t\t\tpublic T invoke(TimeInterval<T> param1) {\r\n\t\t\t\treturn param1.value();\r\n\t\t\t}\r\n\t\t};\r\n\t}", "private List<ComparisonExpression> comparisons(HashMap<TimeSelector, Long> lowerBounds,\n HashMap<TimeSelector, Long> upperBounds) {\n List<ComparisonExpression> newComparisons = new ArrayList<>();\n // for all selectors, as lowerBounds has the same keys as upperBounds\n for (Map.Entry<TimeSelector, Long> entry : lowerBounds.entrySet()) {\n TimeSelector selector = entry.getKey();\n Long lower = entry.getValue();\n Long upper = upperBounds.get(selector);\n if (lower.equals(upper)) {\n newComparisons.add(new ComparisonExpression(\n new Comparison(selector, EQ, new TimeLiteral(lower)),\n new ComparableTPGMFactory()));\n } else {\n if (lower > TemporalElement.DEFAULT_TIME_FROM) {\n // check if informative: lower bound of from is trivial lower bound of to\n if (selector.getTimeProp().equals(TX_TO)) {\n TimeSelector txFromSel = new TimeSelector(selector.getVariable(), TX_FROM);\n if (lowerBounds.getOrDefault(txFromSel, TemporalElement.DEFAULT_TIME_FROM).equals(lower)) {\n continue;\n }\n } else if (selector.getTimeProp().equals(VAL_TO)) {\n TimeSelector valFromSel = new TimeSelector(selector.getVariable(), VAL_FROM);\n if (lowerBounds.getOrDefault(valFromSel, TemporalElement.DEFAULT_TIME_FROM).equals(lower)) {\n continue;\n }\n }\n // informative => build comparison\n newComparisons.add(new ComparisonExpression(\n new Comparison(new TimeLiteral(lower), LTE, selector),\n new ComparableTPGMFactory()));\n }\n if (upper < TemporalElement.DEFAULT_TIME_TO) {\n // analagously as for lower bounds\n // upper bound of to is trivial upper of from\n if (selector.getTimeProp().equals(TimeSelector.TimeField.TX_FROM)) {\n TimeSelector txToSel = new TimeSelector(selector.getVariable(), TX_TO);\n if (upperBounds.getOrDefault(txToSel, TemporalElement.DEFAULT_TIME_TO).equals(upper)) {\n continue;\n }\n } else if (selector.getTimeProp().equals(TimeSelector.TimeField.VAL_FROM)) {\n TimeSelector valToSel = new TimeSelector(selector.getVariable(), VAL_TO);\n if (upperBounds.getOrDefault(valToSel, TemporalElement.DEFAULT_TIME_TO).equals(upper)) {\n continue;\n }\n }\n // informative => build comparison\n newComparisons.add(new ComparisonExpression(\n new Comparison(selector, LTE, new TimeLiteral(upper)),\n new ComparableTPGMFactory()));\n }\n }\n }\n return newComparisons;\n }", "@Override\n protected Interval adjustInterval(Interval i) {\n RangeDivision iInfo = RangeDivision.getRangeDivision(i, TimeLineController.getJodaTimeZone());\n final long lowerBound = iInfo.getLowerBound();\n final long upperBound = iInfo.getUpperBound();\n final DateTime lowerDate = new DateTime(lowerBound, TimeLineController.getJodaTimeZone());\n final DateTime upperDate = new DateTime(upperBound, TimeLineController.getJodaTimeZone());\n //add extra block to end that gets cut of by conversion from string/category.\n return new Interval(lowerDate, upperDate.plus(countsChart.rangeInfo.getPeriodSize().toUnitPeriod()));\n }", "private void parseIntoInterval(DefaultTimeInterval ti, String token) {\r\n\t\ttoken = token.toUpperCase();\r\n\t\tint interval = 0;\r\n\t\tif (token.indexOf(MIN_INTERVAL_STR) > 0) {\r\n\t\t\tinterval = new Integer(token.substring(0, token\r\n\t\t\t\t\t.indexOf(MIN_INTERVAL_STR))).intValue();\r\n\t\t\tti._numberOfIntervals[MIN_INTERVAL] += interval;\r\n\t\t} else if (token.indexOf(HOUR_INTERVAL_STR) > 0) {\r\n\t\t\tinterval = new Integer(token.substring(0, token\r\n\t\t\t\t\t.indexOf(HOUR_INTERVAL_STR))).intValue();\r\n\t\t\tti._numberOfIntervals[HOUR_INTERVAL] += interval;\r\n\t\t} else if (token.indexOf(DAY_INTERVAL_STR) > 0) {\r\n\t\t\tinterval = new Integer(token.substring(0, token\r\n\t\t\t\t\t.indexOf(DAY_INTERVAL_STR))).intValue();\r\n\t\t\tti._numberOfIntervals[DAY_INTERVAL] += interval;\r\n\t\t} else if (token.indexOf(WEEK_INTERVAL_STR) > 0) {\r\n\t\t\tinterval = new Integer(token.substring(0, token\r\n\t\t\t\t\t.indexOf(WEEK_INTERVAL_STR))).intValue();\r\n\t\t\tti._numberOfIntervals[WEEK_INTERVAL] += interval;\r\n\t\t} else if (token.indexOf(MONTH_INTERVAL_STR) > 0) {\r\n\t\t\tinterval = new Integer(token.substring(0, token\r\n\t\t\t\t\t.indexOf(MONTH_INTERVAL_STR))).intValue();\r\n\t\t\tti._numberOfIntervals[MONTH_INTERVAL] += interval;\r\n\t\t} else if (token.indexOf(YEAR_INTERVAL_STR) > 0) {\r\n\t\t\tinterval = new Integer(token.substring(0, token\r\n\t\t\t\t\t.indexOf(YEAR_INTERVAL_STR))).intValue();\r\n\t\t\tti._numberOfIntervals[YEAR_INTERVAL] += interval;\r\n\t\t} else if (token.indexOf(DECADE_INTERVAL_STR) > 0) {\r\n\t\t\tinterval = new Integer(token.substring(0, token\r\n\t\t\t\t\t.indexOf(DECADE_INTERVAL_STR))).intValue();\r\n\t\t\tti._numberOfIntervals[DECADE_INTERVAL] += interval;\r\n\t\t} else if (token.indexOf(CENTURY_INTERVAL_STR) > 0) {\r\n\t\t\tinterval = new Integer(token.substring(0, token\r\n\t\t\t\t\t.indexOf(CENTURY_INTERVAL_STR))).intValue();\r\n\t\t\tti._numberOfIntervals[CENTURY_INTERVAL] += interval;\r\n\t\t}\r\n\t}", "public Interval toInterval() {\r\n return new Interval(getStartMillis(), getEndMillis(), getChronology());\r\n }", "private String calculateTimeInterval(long startTime, long endTime){\n\t\tTimeSpanItem ti = TimeSpanItem.creatTimeItem(startTime, endTime);\n\t\tint intervalHour=ti.getHour();\n\t\tint intervalMin=ti.getMinute();\n\t\tString hourString=\"\";\n\t\tif(intervalHour>=1){\n\t\t\tif(intervalHour==1){\n\t\t\t\thourString=intervalHour+mContext.getString(R.string.daily_info_time_hour);\n\t\t\t}\n\t\t\telse{\n\t\t\t\thourString=intervalHour+mContext.getString(R.string.daily_info_time_hours);\n\t\t\t}\n\t\t}\n\t\t\n\t\tString minString=\"\";\n if(intervalMin < 1){\n intervalMin = 1;\n }\n\t\tminString=intervalMin+mContext.getString(R.string.daily_info_time_minute);\n\t\tString timeString=hourString+\" \"+minString;\n\n\t\treturn timeString;\n\t}", "public ArrayList<Interval> merge(ArrayList<Interval> intervals) {\n if (intervals.size() > 1) {\n int[] startArray = new int[intervals.size()];\n int[] endArray = new int[intervals.size()];\n ArrayList<Interval> ans = new ArrayList<>();\n int count = 0;\n for (Interval val : intervals) {\n startArray[count] = val.start;\n endArray[count] = val.end;\n count++;\n }\n Arrays.sort(startArray);\n Arrays.sort(endArray);\n\n\n for (int i = 0; i < intervals.size()-1; i++) {\n int start = startArray[i];\n int end = endArray[i];\n\n while (i<intervals.size()-1 && startArray[i+1]<=end){\n end=endArray[i+1];\n i++;\n }\n\n Interval interval = new Interval(start,end);\n ans.add(interval);\n\n }\n\n return ans;\n }\n return intervals;\n }", "@Test\n public void testCTASWithIntervalTypes() throws Exception {\n BaseTestQuery.test(\"use dfs.tmp\");\n String tableName = \"drill_1980_t1\";\n // test required interval day type\n BaseTestQuery.test((\"create table %s as \" + (((\"select \" + \"interval '10 20:30:40.123' day to second col1, \") + \"interval '-1000000000 20:12:23.999' day(10) to second col2 \") + \"from cp.`employee.json` limit 2\")), tableName);\n Period row1Col1 = new Period(0, 0, 0, 10, 0, 0, 0, 73840123);\n Period row1Col2 = new Period(0, 0, 0, (-1000000000), 0, 0, 0, (-72743999));\n testParquetReaderHelper(tableName, row1Col1, row1Col2, row1Col1, row1Col2);\n tableName = \"drill_1980_2\";\n // test required interval year type\n BaseTestQuery.test((\"create table %s as \" + (((\"select \" + \"interval '10-2' year to month col1, \") + \"interval '-100-8' year(3) to month col2 \") + \"from cp.`employee.json` limit 2\")), tableName);\n row1Col1 = new Period(0, 122, 0, 0, 0, 0, 0, 0);\n row1Col2 = new Period(0, (-1208), 0, 0, 0, 0, 0, 0);\n testParquetReaderHelper(tableName, row1Col1, row1Col2, row1Col1, row1Col2);\n // test nullable interval year type\n tableName = \"drill_1980_t3\";\n BaseTestQuery.test((\"create table %s as \" + (((\"select \" + \"cast (intervalyear_col as interval year) col1,\") + \"cast(intervalyear_col as interval year) + interval '2' year col2 \") + \"from cp.`parquet/alltypes.json` where tinyint_col = 1 or tinyint_col = 2\")), tableName);\n row1Col1 = new Period(0, 12, 0, 0, 0, 0, 0, 0);\n row1Col2 = new Period(0, 36, 0, 0, 0, 0, 0, 0);\n Period row2Col1 = new Period(0, 24, 0, 0, 0, 0, 0, 0);\n Period row2Col2 = new Period(0, 48, 0, 0, 0, 0, 0, 0);\n testParquetReaderHelper(tableName, row1Col1, row1Col2, row2Col1, row2Col2);\n // test nullable interval day type\n tableName = \"drill_1980_t4\";\n BaseTestQuery.test((\"create table %s as \" + (((\"select \" + \"cast(intervalday_col as interval day) col1, \") + \"cast(intervalday_col as interval day) + interval '1' day col2 \") + \"from cp.`parquet/alltypes.json` where tinyint_col = 1 or tinyint_col = 2\")), tableName);\n row1Col1 = new Period(0, 0, 0, 1, 0, 0, 0, 0);\n row1Col2 = new Period(0, 0, 0, 2, 0, 0, 0, 0);\n row2Col1 = new Period(0, 0, 0, 2, 0, 0, 0, 0);\n row2Col2 = new Period(0, 0, 0, 3, 0, 0, 0, 0);\n testParquetReaderHelper(tableName, row1Col1, row1Col2, row2Col1, row2Col2);\n }", "public static Interval intersection(Interval in1, Interval in2){\r\n double a = in1.getFirstExtreme();\r\n double b = in1.getSecondExtreme();\r\n double c = in2.getFirstExtreme();\r\n double d = in2.getSecondExtreme();\r\n char p1 = in1.getFEincluded();\r\n char p2 = in1.getSEincluded();\r\n char p3 = in2.getFEincluded();\r\n char p4 = in2.getSEincluded();\r\n \r\n if (a==c && b==d){\r\n if (a==b){\r\n if (p1=='[' && p3=='[' && p2==']' && p4==']'){\r\n return new Interval(in1);\r\n }else{\r\n return new Interval(0,0,'(',')');\r\n }\r\n }else{\r\n return new Interval(a,b,p1==p3?p1:'(',p2==p4?p2:')');\r\n }\r\n }else if (a<c && b<=c){\r\n if (b==c && p2==']' && p3=='['){\r\n return new Interval(b,b,p3,p2);\r\n }else{\r\n return new Interval(0,0,'(',')');\r\n }\r\n }else if (a<=c && b<d){\r\n if (a==c){\r\n return new Interval(a,b,p1==p3?p1:'(',p2);\r\n }else{\r\n return new Interval(c,b,p3,p2);\r\n }\r\n }else if(a<c && b==d){\r\n return new Interval(c,b,p3,p2==p4?p2:')');\r\n }else if(a<=c && b>d){\r\n if (a==c){\r\n return new Interval(a,d,p1==p3?p1:'(',p4);\r\n }else{\r\n return new Interval(in2);\r\n }\r\n }else if (a>c && b<=d){\r\n if (b==d){\r\n return new Interval(a,b,p1,p2==p4?p2:')');\r\n }else{\r\n return new Interval(in1);\r\n }\r\n }else if (a<=d && b>d){\r\n if (a==d){\r\n if (p1=='[' && p4==']'){\r\n return new Interval(a,a,p1,p4);\r\n }else{\r\n return new Interval(0,0,'(',')');\r\n }\r\n }else{\r\n return new Interval(a,d,p1,p4);\r\n }\r\n }else{\r\n return new Interval(0,0,'(',')');\r\n }\r\n }", "public static String getUserFriendlyInterval(long i) {\r\n long interval = i;\r\n \r\n if(interval != 0) {\r\n long remainMs;\r\n String result = \"\";\r\n \r\n // time categories in milliseconds\r\n int secMs = 1000;\r\n int minMs = secMs*60;\r\n int hourMs = minMs*60;\r\n int dayMs = hourMs*24;\r\n\r\n int days = (int)interval/dayMs;\r\n remainMs = interval%dayMs;\r\n //#debug\r\n//# System.out.println(\"days: \"+days);\r\n\r\n int hours = (int)remainMs/hourMs;\r\n remainMs = remainMs%hourMs;\r\n //#debug\r\n//# System.out.println(\"hours: \"+hours);\r\n\r\n int min = (int)remainMs/minMs;\r\n remainMs = remainMs%minMs;\r\n //#debug\r\n//# System.out.println(\"minutes: \"+min);\r\n\r\n int sec = (int)remainMs/secMs;\r\n //#debug\r\n//# System.out.println(\"seconds: \"+sec);\r\n\r\n if(days > 0) {\r\n result = days+Locale.get(\"text.days\")+\" \";\r\n }\r\n if(hours > 0 || days > 0) {\r\n result += hours+Locale.get(\"text.hours\")+\" \";\r\n }\r\n if(min > 0 || hours > 0) {\r\n result += min+Locale.get(\"text.min\")+\" \";\r\n }\r\n if(sec > 0 || min > 0) {\r\n result += sec+Locale.get(\"text.sec\");\r\n }\r\n return result;\r\n }\r\n return \"0 \"+Locale.get(\"text.sec\");\r\n }", "IDateTimeValueType add( ITimeDurationValueType duration );", "IntervalTupleList evaluate(Interval x);", "public interface IntervalConverter\n extends Converter\n{\n\n public abstract boolean isReadableInterval(Object obj, Chronology chronology);\n\n public abstract void setInto(ReadWritableInterval readwritableinterval, Object obj, Chronology chronology);\n}", "public List<Interval> merge(List<Interval> intervals) {\n ArrayList<Interval> result = new ArrayList<Interval>();\n if(intervals.size()==0) return result;\n Comparator<Interval> comp = new Comparator<Interval>() \n { \n @Override \n public int compare(Interval i1, Interval i2) \n { \n if(i1.start==i2.start){ \n return i1.end-i2.end;\n }\n return i1.start-i2.start; \n } \n }; \n Collections.sort(intervals,comp); \n Interval cur=intervals.get(0);\n \tfor(int i=1;i<intervals.size();i++){\n \t\tInterval newInterval=intervals.get(i);\n \t\tif(newInterval.start>cur.end){\n \t\t\tInterval tmp=new Interval(cur.start,cur.end);\n \t\t\tresult.add(tmp);\n \t\t\tcur.start=newInterval.start;\n \t\t\tcur.end=newInterval.end;\n \t\t}\n \t\telse{\n \t\t\tcur.start=Math.min(cur.start, newInterval.start);\n \t\t\tcur.end=Math.max(cur.end, newInterval.end);\n \t\t}\n \t}\n \tresult.add(cur);\n \treturn result;\n }", "public interface Interval extends Comparable<Interval> {\n\n /**\n * Returns the start coordinate of this interval.\n * \n * @return the start coordinate of this interval\n */\n int getStart();\n\n /**\n * Returns the end coordinate of this interval.\n * <p>\n * An interval is closed-open. It does not include the returned point.\n * \n * @return the end coordinate of this interval\n */\n int getEnd();\n\n default int length() {\n return getEnd() - getStart();\n }\n\n /**\n * Returns whether this interval is adjacent to another.\n * <p>\n * Two intervals are adjacent if either one ends where the other starts.\n * \n * @param interval - the interval to compare this one to\n * @return <code>true</code> if the intervals are adjacent; otherwise\n * <code>false</code>\n */\n default boolean isAdjacent(Interval other) {\n return getStart() == other.getEnd() || getEnd() == other.getStart();\n }\n \n /**\n * Returns whether this interval overlaps another.\n * \n * This method assumes that intervals are contiguous, i.e., there are no\n * breaks or gaps in them.\n * \n * @param o - the interval to compare this one to\n * @return <code>true</code> if the intervals overlap; otherwise\n * <code>false</code>\n */\n default boolean overlaps(Interval o) {\n return getEnd() > o.getStart() && o.getEnd() > getStart();\n }\n \n /**\n * Compares this interval with another.\n * <p>\n * Ordering of intervals is done first by start coordinate, then by end\n * coordinate.\n * \n * @param o - the interval to compare this one to\n * @return -1 if this interval is less than the other; 1 if greater\n * than; 0 if equal\n */\n default int compareTo(Interval o) {\n if (getStart() > o.getStart()) {\n return 1;\n } else if (getStart() < o.getStart()) {\n return -1;\n } else if (getEnd() > o.getEnd()) {\n return 1;\n } else if (getEnd() < o.getEnd()) {\n return -1;\n } else {\n return 0;\n }\n }\n}", "public List<Interval> checkMerge (Interval interval1, List<Interval> mergedIntervals) {\r\n\t\tInterval mergeInterval = mergedIntervals.get(mergedIntervals.size() - 1);\r\n\t\tif (interval1.getValue1() <= mergeInterval.getValue2() && interval1.getValue2() > mergeInterval.getValue2()) {\r\n\t\t\tInterval intervally = combine(mergeInterval.getValue1(), interval1.getValue2());\r\n\t\t\tmergedIntervals.set(mergedIntervals.size() - 1, intervally);\r\n\t\t\treturn mergedIntervals;\r\n\t\t}else if (interval1.getValue2() <= mergeInterval.getValue2()){\r\n\t\t\treturn mergedIntervals;\r\n\t\t}else {\r\n\t\t\tmergedIntervals.add(interval1);\r\n\t\t\treturn mergedIntervals;\r\n\t\t}\r\n\t}", "public static String getTimeInterval(long startMillisecond, long endMillisecond)\n\t{\n\t\tlong second = Math.abs(startMillisecond - endMillisecond) / 1000;\n\t\t\n\t\tlong hour = second / 3600;\n\t\tsecond = second - (hour * 3600);\n\t\t\n\t\tlong minute = second / 60;\n\t\tsecond = second - (minute * 60);\n\t\t\n\t\treturn getTimeString(hour, minute, second);\n\t}", "public Intervals(Interval<T> interval) {\n add(interval);\n }", "public List<Interval> merge(List<Interval> intervals) {\n // sort the interval list by start\n Collections.sort(intervals, new Comparator<Interval>() {\n @Override\n public int compare(Interval o1, Interval o2) {\n return o1.start - o2.start;\n }\n });\n // use a linked list as data structure\n LinkedList<Interval> output = new LinkedList<>();\n for (Interval interval : intervals) {\n if (output.isEmpty()) {\n output.addLast(interval);\n } else {\n if (interval.start <= output.getLast().end) {\n // if present interval.start <= last interval.end,\n // update last interval.end by max interval.end between present and last\n output.getLast().end = Math.max(interval.end, output.getLast().end);\n } else {\n output.addLast(interval);\n }\n }\n }\n return output;\n }", "public void addRange(int left, int right) {\n Interval cur = intervals.get(left);\n if (cur == null) {\n cur = new Interval(left, right);\n intervals.put(left, cur);\n } else {\n cur.end = Math.max(cur.end, right);\n }\n\n // now merge intervals\n\n // lower one\n Integer lower = intervals.lowerKey(cur.start);\n if (lower != null && intervals.get(lower).end >= cur.start) { //overlap\n int end = Math.max(cur.end, intervals.get(lower).end);\n cur = intervals.get(lower);\n cur.end = end;\n intervals.remove(left);\n }\n\n // higher ones\n Integer higher = intervals.higherKey(cur.start); //like next\n while (higher != null) {\n if (intervals.get(higher).start > cur.end) {\n break;\n }\n\n cur.end = Math.max(cur.end, intervals.get(higher).end);\n intervals.remove(higher);\n\n higher = intervals.higherKey(cur.start);\n }\n }", "public Interval getInterval() { return interval; }", "public List<Interval> sortCombine (List<Interval> intervals){\r\n\t\tCompareIntervals compareIntervals = new CompareIntervals();\r\n\t\tList<Interval> mergedIntervals = new ArrayList<>();\r\n\t\t/*goes through intervals in the list and switches the higher and the lower values if \r\n\t\tthe higher value is the first. this makes comparisons easier, at the same time, \r\n\t\tusers don`t have to remember to only enter lower value first*/\r\n\t\tfor (Interval interval : intervals) {\r\n\t\t\tintervals.set(intervals.indexOf(interval), sort(interval));\r\n\t\t}\r\n\t\t//now thie list is sorted from lowest to highest, this again will make comparison easier and reduce the number of if statements slightly\r\n\t\tCollections.sort(intervals, compareIntervals);\r\n\t\t// this will add the first interval of the intervals list to the merged intervals list, so the comparison does work in the next step\r\n\t\tmergedIntervals.add(intervals.get(0));\r\n\t\t\r\n\t\t/* now the program will loop through the intervals and call checkMerge to see if the\r\n\t\tinterval shall be added to the List or merged with a existing entry*/\r\n\t\tfor (int i = 1; i < intervals.size(); i++) {\r\n\t\t\tInterval interval1 = intervals.get(i);\r\n\t\t\tmergedIntervals = checkMerge(interval1, mergedIntervals);\t\r\n\t\t}\r\n\t\treturn mergedIntervals;\t//finally merged intervals list is returned to controller, to have it display on the screen\r\n\t\t}", "@Override\n public int compareTo(Interval otherInterval) {\n return start.compareTo(otherInterval.start);\n }", "public static List<Interval> insert(List<Interval> intervals, Interval newInterval) {\n\t\t\tList<Interval> res = new ArrayList<Interval>();\n\t if (intervals == null||intervals.size() == 0){\n\t res.add(newInterval);\n\t return res;\n\t }\n\t\t\tint start=0, end = 0; \n\t\t\t// find the insert position for newInterval , to be insert or merged\n\t\t\tfor( Interval interval : intervals) {\n\t\t\t\tif(newInterval.start > interval.end) start++;\n\t\t\t\tif(newInterval.end >= interval.start) end++;\n\t\t\t else break;\n\t\t\t}\n\t\t\t\n\t\t\tif(start== end) { // no need merge, just copy all intervals into res\n\t\t\t\tres.addAll(intervals);\n\t\t\t\tres.add(start, newInterval) ; // insert the new one\n\t\t\t\treturn res;\n\t\t\t}\n\t\t\tfor(int i=0; i< start; i++) res.add(intervals.get(i));\n\t\t\t// intervl and newInterval are a closer range\n\t\t\tInterval interval = new Interval( Math.min( intervals.get(start).start, newInterval.start),\n\t\t\t\t\t\t\t\t\t\t\t\tMath.max( intervals.get(end-1).end, newInterval.end)); // note that, it's end-1\n\t\t\tres.add(interval);\n\t\t\tfor(int j=end; j< intervals.size(); j++) {\n\t\t\t\tres.add(intervals.get(j)); // after the newInterval insert, copy the remains into res\n\t\t\t}\n\t\t\treturn res;\n\t\t}", "long getIntervalInSeconds();", "public List<Interval> merge(List<Interval> intervals) {\n Collections.sort(intervals, new Comparator<Interval>() {\n @Override\n public int compare(Interval o1, Interval o2) {\n if (o1.start < o2.start) {\n return -1;\n }\n if (o1.start > o2.start) {\n return 1;\n }\n return 0;\n }\n });\n if (intervals.size() <= 1) {\n return intervals;\n }\n List<Interval> res = new ArrayList<>();\n int start = intervals.get(0).start;\n int end = intervals.get(0).end;\n for (Interval interval : intervals) {\n if (end >= interval.start) {\n end = Math.max(interval.end, end);\n } else {\n res.add(new Interval(start, end));\n start = interval.start;\n end = interval.end;\n }\n }\n res.add(new Interval(start, end));\n return res;\n }", "@Nonnull\r\n\tpublic static <T> Observable<TimeInterval<T>> addTimeInterval(\r\n\t\t\t@Nonnull final Observable<? extends T> source) {\r\n\t\treturn new AddTimeInterval<T>(source);\r\n\t}", "public Interval mul(Interval other) {\n\t\tHashSet<String> boundSet = new HashSet<>();\n\n\t\tString x1 = this.getLow();\n\t\tString x2 = this.getHigh();\n\t\tString y1 = other.getLow();\n\t\tString y2 = other.getHigh();\n\n\t\t// x1y1\n\t\tif (x1.equals(\"-Inf\")) {\n\t\t\tif (y1.equals(\"-Inf\"))\n\t\t\t\tboundSet.add(\"+Inf\");\n\t\t\telse {\n\t\t\t\tif (Long.parseLong(y1) > 0)\n\t\t\t\t\tboundSet.add(\"-Inf\");\n\t\t\t\telse if (Long.parseLong(y1) < 0)\n\t\t\t\t\tboundSet.add(\"+Inf\");\n\t\t\t\telse\n\t\t\t\t\tboundSet.add(\"0\");\n\t\t\t}\n\t\t} else if (y1.equals(\"-Inf\")) {\n\t\t\tif (x1.equals(\"-Inf\"))\n\t\t\t\tboundSet.add(\"+Inf\");\n\t\t\telse {\n\t\t\t\tif (Long.parseLong(x1) > 0)\n\t\t\t\t\tboundSet.add(\"-Inf\");\n\t\t\t\telse if (Long.parseLong(x1) < 0)\n\t\t\t\t\tboundSet.add(\"+Inf\");\n\t\t\t\telse\n\t\t\t\t\tboundSet.add(\"0\");\n\t\t\t}\n\t\t} else {\n\t\t\tboundSet.add(String.valueOf(Long.parseLong(x1) * Long.parseLong(y1)));\n\t\t}\n\n\t\t// x1y2\n\t\tif (x1.equals(\"-Inf\")) {\n\t\t\tif (y2.equals(\"+Inf\"))\n\t\t\t\tboundSet.add(\"-Inf\");\n\t\t\telse {\n\t\t\t\tif (Long.parseLong(y2) > 0)\n\t\t\t\t\tboundSet.add(\"-Inf\");\n\t\t\t\telse if (Long.parseLong(y2) < 0)\n\t\t\t\t\tboundSet.add(\"+Inf\");\n\t\t\t\telse \n\t\t\t\t\tboundSet.add(\"0\");\n\t\t\t}\n\t\t} else if (y2.equals(\"+Inf\")) {\n\t\t\tif (x1.equals(\"-Inf\"))\n\t\t\t\tboundSet.add(\"-Inf\");\n\t\t\telse {\n\t\t\t\tif (Long.parseLong(x1) > 0)\n\t\t\t\t\tboundSet.add(\"+Inf\");\n\t\t\t\telse if (Long.parseLong(x1) < 0)\n\t\t\t\t\tboundSet.add(\"-Inf\");\n\t\t\t\telse \n\t\t\t\t\tboundSet.add(\"0\");\n\t\t\t}\n\t\t} else {\n\t\t\tboundSet.add(String.valueOf(Long.parseLong(x1) * Long.parseLong(y2)));\n\t\t}\n\n\t\t// x2y1\n\t\tif (x2.equals(\"+Inf\")) {\n\t\t\tif (y1.equals(\"-Inf\"))\n\t\t\t\tboundSet.add(\"-Inf\");\n\t\t\telse {\n\t\t\t\tif (Long.parseLong(y1) > 0)\n\t\t\t\t\tboundSet.add(\"+Inf\");\n\t\t\t\telse if (Long.parseLong(y1) < 0)\n\t\t\t\t\tboundSet.add(\"-Inf\");\n\t\t\t\telse \n\t\t\t\t\tboundSet.add(\"0\");\n\t\t\t}\n\t\t} else if (y1.equals(\"-Inf\")) {\n\t\t\tif (x2.equals(\"+Inf\"))\n\t\t\t\tboundSet.add(\"-Inf\");\n\t\t\telse {\n\t\t\t\tif (Long.parseLong(x2) > 0)\n\t\t\t\t\tboundSet.add(\"-Inf\");\n\t\t\t\telse if (Long.parseLong(x2) < 0)\n\t\t\t\t\tboundSet.add(\"+Inf\");\n\t\t\t\telse \n\t\t\t\t\tboundSet.add(\"0\");\n\t\t\t}\n\t\t} else {\n\t\t\tboundSet.add(String.valueOf(Long.parseLong(x2) * Long.parseLong(y1)));\n\t\t}\n\n\t\t// x2y2\n\t\tif (x2.equals(\"+Inf\")) {\n\t\t\tif (y2.equals(\"+Inf\"))\n\t\t\t\tboundSet.add(\"+Inf\");\n\t\t\telse {\n\t\t\t\tif (Long.parseLong(y2) > 0)\n\t\t\t\t\tboundSet.add(\"+Inf\");\n\t\t\t\telse if (Long.parseLong(y2) < 0)\n\t\t\t\t\tboundSet.add(\"-Inf\");\n\t\t\t\telse\n\t\t\t\t\tboundSet.add(\"0\");\n\t\t\t}\n\t\t} else if (y2.equals(\"+Inf\")) {\n\t\t\tif (x2.equals(\"+Inf\"))\n\t\t\t\tboundSet.add(\"+Inf\");\n\t\t\telse {\n\t\t\t\tif (Long.parseLong(x2) > 0)\n\t\t\t\t\tboundSet.add(\"+Inf\");\n\t\t\t\telse if (Long.parseLong(x2) < 0)\n\t\t\t\t\tboundSet.add(\"-Inf\");\n\t\t\t\telse \n\t\t\t\t\tboundSet.add(\"0\");\n\t\t\t}\n\t\t} else {\n\t\t\tboundSet.add(String.valueOf(Long.parseLong(x2) * Long.parseLong(y2)));\n\t\t}\n\n\t\treturn new Interval(getMinValue(boundSet), getMaxValue(boundSet));\n\t}", "public List<Interval> getUnionWithList(Interval i){\n\t\t\n\t\tList<Interval> unionList = new ArrayList<Interval>();\n\t\t\n\t\tif (isAdjacentTo(i)){\n\t\t\tunionList.add(new Interval(\n\t\t\t\t\t\tmin(leftbound, i.getLeftBound()),\n\t\t\t\t\t\tmax(rightbound, i.getRightBound())\n\t\t\t\t\t));\n\t\t}\n\t\telse{\n\t\t\tunionList.add(this);\n\t\t\tunionList.add(i);\n\t\t}\n\t\t\t\n\t\treturn unionList;\n\t\t\n\t}", "public static R1Interval fromPointPair(double p1, double p2) {\n R1Interval result = new R1Interval();\n result.initFromPointPair(p1, p2);\n return result;\n }", "public T caseTimeInterval(TimeInterval object) {\n\t\treturn null;\n\t}", "public S interval(String interval) {\n builder.interval(interval);\n return self;\n }", "public Interval diff(Interval other) {\n\t\treturn this.plus(other.mul(new Interval(\"-1\", \"-1\")));\n\t}", "private List<HashMap<TimeSelector, Long>> updateLt(\n HashMap<ComparableExpression, HashSet<ComparableExpression>> rLt,\n HashMap<TimeSelector, Long> lowerBounds, HashMap<TimeSelector, Long> upperBounds)\n throws QueryContradictoryException {\n\n ArrayList<ArrayList<ComparableExpression>> lt = relationToTuples(rLt);\n for (ArrayList<ComparableExpression> tuple : lt) {\n TimeSelector selector = null;\n Long literalValue = null;\n // only comparisons between a selector and a literal are interesting here\n // selector < literal => upper(selector) = min(upper(selector), literal-1)\n if (tuple.get(0) instanceof TimeSelector && tuple.get(1) instanceof TimeLiteral) {\n selector = (TimeSelector) tuple.get(0);\n literalValue = ((TimeLiteral) tuple.get(1)).getMilliseconds() - 1;\n upperBounds.put(selector, Math.min(upperBounds.get(selector), literalValue));\n } else if (tuple.get(1) instanceof TimeSelector &&\n tuple.get(0) instanceof TimeLiteral) {\n // selector > literal => lower(selector) = max(lower(selector), literal+1)\n selector = (TimeSelector) tuple.get(1);\n literalValue = ((TimeLiteral) tuple.get(0)).getMilliseconds() + 1;\n lowerBounds.put(selector, Math.max(lowerBounds.get(selector), literalValue));\n } else {\n continue;\n }\n\n if (lowerBounds.get(selector) > upperBounds.get(selector)) {\n throw new QueryContradictoryException();\n }\n }\n\n return Arrays.asList(lowerBounds, upperBounds);\n }", "public interface Duration {\n /*\n * Constants used to avoid creating objects for common durations\n */\n public static final RealDuration INSTANT = RealDuration.milliseconds(0);\n public static final RealDuration ONE_MILLISECOND = RealDuration.milliseconds(1);\n public static final RealDuration ONE_SECOND = RealDuration.seconds(1);\n public static final RealDuration ONE_MINUTE = RealDuration.minutes(1);\n public static final RealDuration ONE_HOUR = RealDuration.hours(1);\n public static final RealDuration ONE_DAY = RealDuration.days(1);\n public static final RealDuration ONE_WEEK = RealDuration.weeks(1);\n public static final RealDuration ONE_MONTH = RealDuration.months(1);\n public static final RealDuration ONE_YEAR = RealDuration.years(1);\n\n /*\n * Actual interface methods\n */\n\n RealDuration asRealDuration();\n\n TickDuration asTickDuration();\n\n /*\n * Inner classes to allow grammar such as new Duration.Minutes(12)\n */\n\n public static class Milliseconds extends RealDuration {\n public Milliseconds(long millis) {\n super(millis);\n }\n }\n\n public static class Seconds extends RealDuration {\n public Seconds(long num) {\n super((long) (num * SECONDS_TO_MILLIS));\n }\n }\n\n public static class Minutes extends RealDuration {\n public Minutes(long num) {\n super((long) (num * MINUTES_TO_MILLIS));\n }\n }\n\n public static class Hours extends RealDuration {\n public Hours(long num) {\n super((long) (num * HOURS_TO_MILLIS));\n }\n }\n\n public static class Days extends RealDuration {\n public Days(long num) {\n super((long) (num * DAYS_TO_MILLIS));\n }\n }\n\n public static class Weeks extends RealDuration {\n public Weeks(long num) {\n super((long) (num * WEEKS_TO_MILLIS));\n }\n }\n\n public static class Months extends RealDuration {\n public Months(long num) {\n super((long) (num * MONTHS_TO_MILLIS));\n }\n }\n\n public static class Years extends RealDuration {\n public Years(long num) {\n super((long) (num * YEARS_TO_MILLIS));\n }\n }\n\n public static class Decades extends RealDuration {\n public Decades(long num) {\n super((long) (num * DECADES_TO_MILLIS));\n }\n }\n\n public static class Centuries extends RealDuration {\n public Centuries(long num) {\n super((long) (num * CENTURIES_TO_MILLIS));\n }\n }\n\n public static class Ticks extends TickDuration {\n public Ticks(long num) {\n super(num);\n }\n }\n}", "public Interval getUnionWith(Interval i){\n\t\t\n\t\t//Assumes that are adjacent\n\t\treturn new Interval(\n\t\t\t\t\tmin(leftbound, i.getLeftBound()),\n\t\t\t\t\tmax(rightbound, i.getRightBound())\n\t\t\t\t);\n\t\t\n\t\t\n\t}", "public TimeIntervalFormatter(final Context context, final TimeUnit unit, final int[][] intervals) {\n super(context);\n this.unit = unit;\n intervalList = new ArrayList<>(intervals.length);\n for(int[] interval : intervals)\n if (interval.length > 1) intervalList.add(interval);\n }", "void setStatisticsInterval(long interval, TimeUnit timeUnit);", "public ArrayList<Interval> insert(ArrayList<Interval> intervals, Interval newInterval) {\n ArrayList<Interval> res = new ArrayList<Interval>(); \n Interval t= new Interval(newInterval.start,newInterval.end);\n Iterator<Interval> itr = intervals.iterator();\n \n while(itr.hasNext()){\n Interval i = itr.next();\n if(i.start>t.end){\n res.add(t);\n res.add(i);\n while(itr.hasNext()){res.add(itr.next());}\n return res;\n }\n \n if(t.start>i.end) \n res.add(i);\n else{\n t.start = Math.min(i.start,t.start);\n t.end = Math.max(i.end,t.end); \n }\n }\n res.add(t);\n return res;\n\n }", "public final EObject ruleTimeInterval() throws RecognitionException {\n EObject current = null;\n\n Token otherlv_1=null;\n Token otherlv_3=null;\n Token otherlv_5=null;\n Token otherlv_7=null;\n Token otherlv_9=null;\n Token otherlv_11=null;\n Token otherlv_13=null;\n Token otherlv_15=null;\n Token otherlv_17=null;\n Token otherlv_19=null;\n Token otherlv_21=null;\n Token otherlv_23=null;\n EObject lv_low_2_0 = null;\n\n EObject lv_high_4_0 = null;\n\n EObject lv_low_8_0 = null;\n\n EObject lv_high_10_0 = null;\n\n EObject lv_low_14_0 = null;\n\n EObject lv_high_16_0 = null;\n\n EObject lv_low_20_0 = null;\n\n EObject lv_high_22_0 = null;\n\n\n\n \tenterRule();\n\n try {\n // InternalSafetyParser.g:4099:2: ( ( ( ( ( () LeftSquareBracket ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightSquareBracket ) )=> ( () otherlv_1= LeftSquareBracket ( (lv_low_2_0= ruleExpr ) ) otherlv_3= Comma ( (lv_high_4_0= ruleExpr ) ) otherlv_5= RightSquareBracket ) ) | ( ( ( () LeftParenthesis ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightSquareBracket ) )=> ( () otherlv_7= LeftParenthesis ( (lv_low_8_0= ruleExpr ) ) otherlv_9= Comma ( (lv_high_10_0= ruleExpr ) ) otherlv_11= RightSquareBracket ) ) | ( ( ( () LeftSquareBracket ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightParenthesis ) )=> ( () otherlv_13= LeftSquareBracket ( (lv_low_14_0= ruleExpr ) ) otherlv_15= Comma ( (lv_high_16_0= ruleExpr ) ) otherlv_17= RightParenthesis ) ) | ( ( ( () LeftParenthesis ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightParenthesis ) )=> ( () otherlv_19= LeftParenthesis ( (lv_low_20_0= ruleExpr ) ) otherlv_21= Comma ( (lv_high_22_0= ruleExpr ) ) otherlv_23= RightParenthesis ) ) ) )\n // InternalSafetyParser.g:4100:2: ( ( ( ( () LeftSquareBracket ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightSquareBracket ) )=> ( () otherlv_1= LeftSquareBracket ( (lv_low_2_0= ruleExpr ) ) otherlv_3= Comma ( (lv_high_4_0= ruleExpr ) ) otherlv_5= RightSquareBracket ) ) | ( ( ( () LeftParenthesis ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightSquareBracket ) )=> ( () otherlv_7= LeftParenthesis ( (lv_low_8_0= ruleExpr ) ) otherlv_9= Comma ( (lv_high_10_0= ruleExpr ) ) otherlv_11= RightSquareBracket ) ) | ( ( ( () LeftSquareBracket ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightParenthesis ) )=> ( () otherlv_13= LeftSquareBracket ( (lv_low_14_0= ruleExpr ) ) otherlv_15= Comma ( (lv_high_16_0= ruleExpr ) ) otherlv_17= RightParenthesis ) ) | ( ( ( () LeftParenthesis ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightParenthesis ) )=> ( () otherlv_19= LeftParenthesis ( (lv_low_20_0= ruleExpr ) ) otherlv_21= Comma ( (lv_high_22_0= ruleExpr ) ) otherlv_23= RightParenthesis ) ) )\n {\n // InternalSafetyParser.g:4100:2: ( ( ( ( () LeftSquareBracket ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightSquareBracket ) )=> ( () otherlv_1= LeftSquareBracket ( (lv_low_2_0= ruleExpr ) ) otherlv_3= Comma ( (lv_high_4_0= ruleExpr ) ) otherlv_5= RightSquareBracket ) ) | ( ( ( () LeftParenthesis ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightSquareBracket ) )=> ( () otherlv_7= LeftParenthesis ( (lv_low_8_0= ruleExpr ) ) otherlv_9= Comma ( (lv_high_10_0= ruleExpr ) ) otherlv_11= RightSquareBracket ) ) | ( ( ( () LeftSquareBracket ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightParenthesis ) )=> ( () otherlv_13= LeftSquareBracket ( (lv_low_14_0= ruleExpr ) ) otherlv_15= Comma ( (lv_high_16_0= ruleExpr ) ) otherlv_17= RightParenthesis ) ) | ( ( ( () LeftParenthesis ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightParenthesis ) )=> ( () otherlv_19= LeftParenthesis ( (lv_low_20_0= ruleExpr ) ) otherlv_21= Comma ( (lv_high_22_0= ruleExpr ) ) otherlv_23= RightParenthesis ) ) )\n int alt57=4;\n int LA57_0 = input.LA(1);\n\n if ( (LA57_0==LeftSquareBracket) ) {\n int LA57_1 = input.LA(2);\n\n if ( (synpred13_InternalSafetyParser()) ) {\n alt57=1;\n }\n else if ( (synpred15_InternalSafetyParser()) ) {\n alt57=3;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 57, 1, input);\n\n throw nvae;\n }\n }\n else if ( (LA57_0==LeftParenthesis) ) {\n int LA57_2 = input.LA(2);\n\n if ( (synpred14_InternalSafetyParser()) ) {\n alt57=2;\n }\n else if ( (synpred16_InternalSafetyParser()) ) {\n alt57=4;\n }\n else {\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 57, 2, input);\n\n throw nvae;\n }\n }\n else {\n if (state.backtracking>0) {state.failed=true; return current;}\n NoViableAltException nvae =\n new NoViableAltException(\"\", 57, 0, input);\n\n throw nvae;\n }\n switch (alt57) {\n case 1 :\n // InternalSafetyParser.g:4101:3: ( ( ( () LeftSquareBracket ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightSquareBracket ) )=> ( () otherlv_1= LeftSquareBracket ( (lv_low_2_0= ruleExpr ) ) otherlv_3= Comma ( (lv_high_4_0= ruleExpr ) ) otherlv_5= RightSquareBracket ) )\n {\n // InternalSafetyParser.g:4101:3: ( ( ( () LeftSquareBracket ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightSquareBracket ) )=> ( () otherlv_1= LeftSquareBracket ( (lv_low_2_0= ruleExpr ) ) otherlv_3= Comma ( (lv_high_4_0= ruleExpr ) ) otherlv_5= RightSquareBracket ) )\n // InternalSafetyParser.g:4102:4: ( ( () LeftSquareBracket ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightSquareBracket ) )=> ( () otherlv_1= LeftSquareBracket ( (lv_low_2_0= ruleExpr ) ) otherlv_3= Comma ( (lv_high_4_0= ruleExpr ) ) otherlv_5= RightSquareBracket )\n {\n // InternalSafetyParser.g:4120:4: ( () otherlv_1= LeftSquareBracket ( (lv_low_2_0= ruleExpr ) ) otherlv_3= Comma ( (lv_high_4_0= ruleExpr ) ) otherlv_5= RightSquareBracket )\n // InternalSafetyParser.g:4121:5: () otherlv_1= LeftSquareBracket ( (lv_low_2_0= ruleExpr ) ) otherlv_3= Comma ( (lv_high_4_0= ruleExpr ) ) otherlv_5= RightSquareBracket\n {\n // InternalSafetyParser.g:4121:5: ()\n // InternalSafetyParser.g:4122:6: \n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\t\tgrammarAccess.getTimeIntervalAccess().getClosedTimeIntervalAction_0_0_0(),\n \t\t\t\t\t\t\tcurrent);\n \t\t\t\t\t\n }\n\n }\n\n otherlv_1=(Token)match(input,LeftSquareBracket,FollowSets000.FOLLOW_21); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(otherlv_1, grammarAccess.getTimeIntervalAccess().getLeftSquareBracketKeyword_0_0_1());\n \t\t\t\t\n }\n // InternalSafetyParser.g:4132:5: ( (lv_low_2_0= ruleExpr ) )\n // InternalSafetyParser.g:4133:6: (lv_low_2_0= ruleExpr )\n {\n // InternalSafetyParser.g:4133:6: (lv_low_2_0= ruleExpr )\n // InternalSafetyParser.g:4134:7: lv_low_2_0= ruleExpr\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getTimeIntervalAccess().getLowExprParserRuleCall_0_0_2_0());\n \t\t\t\t\t\t\n }\n pushFollow(FollowSets000.FOLLOW_30);\n lv_low_2_0=ruleExpr();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getTimeIntervalRule());\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tset(\n \t\t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\t\"low\",\n \t\t\t\t\t\t\t\tlv_low_2_0,\n \t\t\t\t\t\t\t\t\"com.rockwellcollins.atc.agree.Agree.Expr\");\n \t\t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\t\n }\n\n }\n\n\n }\n\n otherlv_3=(Token)match(input,Comma,FollowSets000.FOLLOW_21); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(otherlv_3, grammarAccess.getTimeIntervalAccess().getCommaKeyword_0_0_3());\n \t\t\t\t\n }\n // InternalSafetyParser.g:4155:5: ( (lv_high_4_0= ruleExpr ) )\n // InternalSafetyParser.g:4156:6: (lv_high_4_0= ruleExpr )\n {\n // InternalSafetyParser.g:4156:6: (lv_high_4_0= ruleExpr )\n // InternalSafetyParser.g:4157:7: lv_high_4_0= ruleExpr\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getTimeIntervalAccess().getHighExprParserRuleCall_0_0_4_0());\n \t\t\t\t\t\t\n }\n pushFollow(FollowSets000.FOLLOW_32);\n lv_high_4_0=ruleExpr();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getTimeIntervalRule());\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tset(\n \t\t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\t\"high\",\n \t\t\t\t\t\t\t\tlv_high_4_0,\n \t\t\t\t\t\t\t\t\"com.rockwellcollins.atc.agree.Agree.Expr\");\n \t\t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\t\n }\n\n }\n\n\n }\n\n otherlv_5=(Token)match(input,RightSquareBracket,FollowSets000.FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(otherlv_5, grammarAccess.getTimeIntervalAccess().getRightSquareBracketKeyword_0_0_5());\n \t\t\t\t\n }\n\n }\n\n\n }\n\n\n }\n break;\n case 2 :\n // InternalSafetyParser.g:4181:3: ( ( ( () LeftParenthesis ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightSquareBracket ) )=> ( () otherlv_7= LeftParenthesis ( (lv_low_8_0= ruleExpr ) ) otherlv_9= Comma ( (lv_high_10_0= ruleExpr ) ) otherlv_11= RightSquareBracket ) )\n {\n // InternalSafetyParser.g:4181:3: ( ( ( () LeftParenthesis ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightSquareBracket ) )=> ( () otherlv_7= LeftParenthesis ( (lv_low_8_0= ruleExpr ) ) otherlv_9= Comma ( (lv_high_10_0= ruleExpr ) ) otherlv_11= RightSquareBracket ) )\n // InternalSafetyParser.g:4182:4: ( ( () LeftParenthesis ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightSquareBracket ) )=> ( () otherlv_7= LeftParenthesis ( (lv_low_8_0= ruleExpr ) ) otherlv_9= Comma ( (lv_high_10_0= ruleExpr ) ) otherlv_11= RightSquareBracket )\n {\n // InternalSafetyParser.g:4200:4: ( () otherlv_7= LeftParenthesis ( (lv_low_8_0= ruleExpr ) ) otherlv_9= Comma ( (lv_high_10_0= ruleExpr ) ) otherlv_11= RightSquareBracket )\n // InternalSafetyParser.g:4201:5: () otherlv_7= LeftParenthesis ( (lv_low_8_0= ruleExpr ) ) otherlv_9= Comma ( (lv_high_10_0= ruleExpr ) ) otherlv_11= RightSquareBracket\n {\n // InternalSafetyParser.g:4201:5: ()\n // InternalSafetyParser.g:4202:6: \n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\t\tgrammarAccess.getTimeIntervalAccess().getOpenLeftTimeIntervalAction_1_0_0(),\n \t\t\t\t\t\t\tcurrent);\n \t\t\t\t\t\n }\n\n }\n\n otherlv_7=(Token)match(input,LeftParenthesis,FollowSets000.FOLLOW_21); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(otherlv_7, grammarAccess.getTimeIntervalAccess().getLeftParenthesisKeyword_1_0_1());\n \t\t\t\t\n }\n // InternalSafetyParser.g:4212:5: ( (lv_low_8_0= ruleExpr ) )\n // InternalSafetyParser.g:4213:6: (lv_low_8_0= ruleExpr )\n {\n // InternalSafetyParser.g:4213:6: (lv_low_8_0= ruleExpr )\n // InternalSafetyParser.g:4214:7: lv_low_8_0= ruleExpr\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getTimeIntervalAccess().getLowExprParserRuleCall_1_0_2_0());\n \t\t\t\t\t\t\n }\n pushFollow(FollowSets000.FOLLOW_30);\n lv_low_8_0=ruleExpr();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getTimeIntervalRule());\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tset(\n \t\t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\t\"low\",\n \t\t\t\t\t\t\t\tlv_low_8_0,\n \t\t\t\t\t\t\t\t\"com.rockwellcollins.atc.agree.Agree.Expr\");\n \t\t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\t\n }\n\n }\n\n\n }\n\n otherlv_9=(Token)match(input,Comma,FollowSets000.FOLLOW_21); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(otherlv_9, grammarAccess.getTimeIntervalAccess().getCommaKeyword_1_0_3());\n \t\t\t\t\n }\n // InternalSafetyParser.g:4235:5: ( (lv_high_10_0= ruleExpr ) )\n // InternalSafetyParser.g:4236:6: (lv_high_10_0= ruleExpr )\n {\n // InternalSafetyParser.g:4236:6: (lv_high_10_0= ruleExpr )\n // InternalSafetyParser.g:4237:7: lv_high_10_0= ruleExpr\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getTimeIntervalAccess().getHighExprParserRuleCall_1_0_4_0());\n \t\t\t\t\t\t\n }\n pushFollow(FollowSets000.FOLLOW_32);\n lv_high_10_0=ruleExpr();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getTimeIntervalRule());\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tset(\n \t\t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\t\"high\",\n \t\t\t\t\t\t\t\tlv_high_10_0,\n \t\t\t\t\t\t\t\t\"com.rockwellcollins.atc.agree.Agree.Expr\");\n \t\t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\t\n }\n\n }\n\n\n }\n\n otherlv_11=(Token)match(input,RightSquareBracket,FollowSets000.FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(otherlv_11, grammarAccess.getTimeIntervalAccess().getRightSquareBracketKeyword_1_0_5());\n \t\t\t\t\n }\n\n }\n\n\n }\n\n\n }\n break;\n case 3 :\n // InternalSafetyParser.g:4261:3: ( ( ( () LeftSquareBracket ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightParenthesis ) )=> ( () otherlv_13= LeftSquareBracket ( (lv_low_14_0= ruleExpr ) ) otherlv_15= Comma ( (lv_high_16_0= ruleExpr ) ) otherlv_17= RightParenthesis ) )\n {\n // InternalSafetyParser.g:4261:3: ( ( ( () LeftSquareBracket ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightParenthesis ) )=> ( () otherlv_13= LeftSquareBracket ( (lv_low_14_0= ruleExpr ) ) otherlv_15= Comma ( (lv_high_16_0= ruleExpr ) ) otherlv_17= RightParenthesis ) )\n // InternalSafetyParser.g:4262:4: ( ( () LeftSquareBracket ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightParenthesis ) )=> ( () otherlv_13= LeftSquareBracket ( (lv_low_14_0= ruleExpr ) ) otherlv_15= Comma ( (lv_high_16_0= ruleExpr ) ) otherlv_17= RightParenthesis )\n {\n // InternalSafetyParser.g:4280:4: ( () otherlv_13= LeftSquareBracket ( (lv_low_14_0= ruleExpr ) ) otherlv_15= Comma ( (lv_high_16_0= ruleExpr ) ) otherlv_17= RightParenthesis )\n // InternalSafetyParser.g:4281:5: () otherlv_13= LeftSquareBracket ( (lv_low_14_0= ruleExpr ) ) otherlv_15= Comma ( (lv_high_16_0= ruleExpr ) ) otherlv_17= RightParenthesis\n {\n // InternalSafetyParser.g:4281:5: ()\n // InternalSafetyParser.g:4282:6: \n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\t\tgrammarAccess.getTimeIntervalAccess().getOpenRightTimeIntervalAction_2_0_0(),\n \t\t\t\t\t\t\tcurrent);\n \t\t\t\t\t\n }\n\n }\n\n otherlv_13=(Token)match(input,LeftSquareBracket,FollowSets000.FOLLOW_21); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(otherlv_13, grammarAccess.getTimeIntervalAccess().getLeftSquareBracketKeyword_2_0_1());\n \t\t\t\t\n }\n // InternalSafetyParser.g:4292:5: ( (lv_low_14_0= ruleExpr ) )\n // InternalSafetyParser.g:4293:6: (lv_low_14_0= ruleExpr )\n {\n // InternalSafetyParser.g:4293:6: (lv_low_14_0= ruleExpr )\n // InternalSafetyParser.g:4294:7: lv_low_14_0= ruleExpr\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getTimeIntervalAccess().getLowExprParserRuleCall_2_0_2_0());\n \t\t\t\t\t\t\n }\n pushFollow(FollowSets000.FOLLOW_30);\n lv_low_14_0=ruleExpr();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getTimeIntervalRule());\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tset(\n \t\t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\t\"low\",\n \t\t\t\t\t\t\t\tlv_low_14_0,\n \t\t\t\t\t\t\t\t\"com.rockwellcollins.atc.agree.Agree.Expr\");\n \t\t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\t\n }\n\n }\n\n\n }\n\n otherlv_15=(Token)match(input,Comma,FollowSets000.FOLLOW_21); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(otherlv_15, grammarAccess.getTimeIntervalAccess().getCommaKeyword_2_0_3());\n \t\t\t\t\n }\n // InternalSafetyParser.g:4315:5: ( (lv_high_16_0= ruleExpr ) )\n // InternalSafetyParser.g:4316:6: (lv_high_16_0= ruleExpr )\n {\n // InternalSafetyParser.g:4316:6: (lv_high_16_0= ruleExpr )\n // InternalSafetyParser.g:4317:7: lv_high_16_0= ruleExpr\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getTimeIntervalAccess().getHighExprParserRuleCall_2_0_4_0());\n \t\t\t\t\t\t\n }\n pushFollow(FollowSets000.FOLLOW_33);\n lv_high_16_0=ruleExpr();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getTimeIntervalRule());\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tset(\n \t\t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\t\"high\",\n \t\t\t\t\t\t\t\tlv_high_16_0,\n \t\t\t\t\t\t\t\t\"com.rockwellcollins.atc.agree.Agree.Expr\");\n \t\t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\t\n }\n\n }\n\n\n }\n\n otherlv_17=(Token)match(input,RightParenthesis,FollowSets000.FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(otherlv_17, grammarAccess.getTimeIntervalAccess().getRightParenthesisKeyword_2_0_5());\n \t\t\t\t\n }\n\n }\n\n\n }\n\n\n }\n break;\n case 4 :\n // InternalSafetyParser.g:4341:3: ( ( ( () LeftParenthesis ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightParenthesis ) )=> ( () otherlv_19= LeftParenthesis ( (lv_low_20_0= ruleExpr ) ) otherlv_21= Comma ( (lv_high_22_0= ruleExpr ) ) otherlv_23= RightParenthesis ) )\n {\n // InternalSafetyParser.g:4341:3: ( ( ( () LeftParenthesis ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightParenthesis ) )=> ( () otherlv_19= LeftParenthesis ( (lv_low_20_0= ruleExpr ) ) otherlv_21= Comma ( (lv_high_22_0= ruleExpr ) ) otherlv_23= RightParenthesis ) )\n // InternalSafetyParser.g:4342:4: ( ( () LeftParenthesis ( ( ruleExpr ) ) Comma ( ( ruleExpr ) ) RightParenthesis ) )=> ( () otherlv_19= LeftParenthesis ( (lv_low_20_0= ruleExpr ) ) otherlv_21= Comma ( (lv_high_22_0= ruleExpr ) ) otherlv_23= RightParenthesis )\n {\n // InternalSafetyParser.g:4360:4: ( () otherlv_19= LeftParenthesis ( (lv_low_20_0= ruleExpr ) ) otherlv_21= Comma ( (lv_high_22_0= ruleExpr ) ) otherlv_23= RightParenthesis )\n // InternalSafetyParser.g:4361:5: () otherlv_19= LeftParenthesis ( (lv_low_20_0= ruleExpr ) ) otherlv_21= Comma ( (lv_high_22_0= ruleExpr ) ) otherlv_23= RightParenthesis\n {\n // InternalSafetyParser.g:4361:5: ()\n // InternalSafetyParser.g:4362:6: \n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\tcurrent = forceCreateModelElement(\n \t\t\t\t\t\t\tgrammarAccess.getTimeIntervalAccess().getOpenTimeIntervalAction_3_0_0(),\n \t\t\t\t\t\t\tcurrent);\n \t\t\t\t\t\n }\n\n }\n\n otherlv_19=(Token)match(input,LeftParenthesis,FollowSets000.FOLLOW_21); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(otherlv_19, grammarAccess.getTimeIntervalAccess().getLeftParenthesisKeyword_3_0_1());\n \t\t\t\t\n }\n // InternalSafetyParser.g:4372:5: ( (lv_low_20_0= ruleExpr ) )\n // InternalSafetyParser.g:4373:6: (lv_low_20_0= ruleExpr )\n {\n // InternalSafetyParser.g:4373:6: (lv_low_20_0= ruleExpr )\n // InternalSafetyParser.g:4374:7: lv_low_20_0= ruleExpr\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getTimeIntervalAccess().getLowExprParserRuleCall_3_0_2_0());\n \t\t\t\t\t\t\n }\n pushFollow(FollowSets000.FOLLOW_30);\n lv_low_20_0=ruleExpr();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getTimeIntervalRule());\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tset(\n \t\t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\t\"low\",\n \t\t\t\t\t\t\t\tlv_low_20_0,\n \t\t\t\t\t\t\t\t\"com.rockwellcollins.atc.agree.Agree.Expr\");\n \t\t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\t\n }\n\n }\n\n\n }\n\n otherlv_21=(Token)match(input,Comma,FollowSets000.FOLLOW_21); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(otherlv_21, grammarAccess.getTimeIntervalAccess().getCommaKeyword_3_0_3());\n \t\t\t\t\n }\n // InternalSafetyParser.g:4395:5: ( (lv_high_22_0= ruleExpr ) )\n // InternalSafetyParser.g:4396:6: (lv_high_22_0= ruleExpr )\n {\n // InternalSafetyParser.g:4396:6: (lv_high_22_0= ruleExpr )\n // InternalSafetyParser.g:4397:7: lv_high_22_0= ruleExpr\n {\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tnewCompositeNode(grammarAccess.getTimeIntervalAccess().getHighExprParserRuleCall_3_0_4_0());\n \t\t\t\t\t\t\n }\n pushFollow(FollowSets000.FOLLOW_33);\n lv_high_22_0=ruleExpr();\n\n state._fsp--;\n if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\t\t\tif (current==null) {\n \t\t\t\t\t\t\t\tcurrent = createModelElementForParent(grammarAccess.getTimeIntervalRule());\n \t\t\t\t\t\t\t}\n \t\t\t\t\t\t\tset(\n \t\t\t\t\t\t\t\tcurrent,\n \t\t\t\t\t\t\t\t\"high\",\n \t\t\t\t\t\t\t\tlv_high_22_0,\n \t\t\t\t\t\t\t\t\"com.rockwellcollins.atc.agree.Agree.Expr\");\n \t\t\t\t\t\t\tafterParserOrEnumRuleCall();\n \t\t\t\t\t\t\n }\n\n }\n\n\n }\n\n otherlv_23=(Token)match(input,RightParenthesis,FollowSets000.FOLLOW_2); if (state.failed) return current;\n if ( state.backtracking==0 ) {\n\n \t\t\t\t\tnewLeafNode(otherlv_23, grammarAccess.getTimeIntervalAccess().getRightParenthesisKeyword_3_0_5());\n \t\t\t\t\n }\n\n }\n\n\n }\n\n\n }\n break;\n\n }\n\n\n }\n\n if ( state.backtracking==0 ) {\n\n \tleaveRule();\n\n }\n }\n\n catch (RecognitionException re) {\n recover(input,re);\n appendSkippedTokens();\n }\n finally {\n }\n return current;\n }", "public int[][] merge(int[][] intervals) {\n Arrays.sort(intervals, new Comparator<int[]>() {\n @Override\n public int compare(int[] arr1, int[] arr2) {\n if (arr1[0] == arr2[0]) {\n return 0;\n }\n return arr1[0] < arr2[0] ? -1 : 1;\n }\n });\n List<int[]> ans = new ArrayList<>();\n // Take the first interval and compare its end with the starts of the next intervals. As long as they overlap,\n // we update the end to be the max end of the overlapping inervals. Once we find a non-overlapping interval,\n // we add the previous extended interval to the result and start over.\n int[] newInterval = intervals[0];\n ans.add(newInterval);\n for (int[] interval : intervals) {\n if (interval[0] <= newInterval[1]) {\n // Overlapping interval, update the end\n newInterval[1] = Math.max(newInterval[1], interval[1]);\n } else {\n // Non-overlapping interval, add it to the result and start over\n newInterval = interval;\n ans.add(newInterval);\n }\n }\n return ans.toArray(new int[ans.size()][]);\n }", "private PairOfNodeIndexIntervals createNodeIndexIntervalPair(int firstStart, int secondStart, int matchedLen) {\n\t\t// new first and second \n\t\tNodeIndexInterval first = new NodeIndexInterval(getStartNodeIndex(firstStart),\n\t\t\t\tgetEndNodeIndex(firstStart, matchedLen));\n\t\tNodeIndexInterval second = new NodeIndexInterval(getStartNodeIndex(secondStart),\n\t\t\t\tgetEndNodeIndex(secondStart, matchedLen));\n\n\t\tPairOfNodeIndexIntervals pair = new PairOfNodeIndexIntervals(first, second);\n\n\t\treturn pair;\n\t}", "public void add(Interval<T>... intervals) {\n for (Interval<T> interval : intervals) {\n add(interval);\n }\n }", "public static Interval subtraction(Interval in1, Interval in2){\r\n //in1.print();\r\n //in2.print();\r\n return new Interval(in1.getFirstExtreme()-in2.getSecondExtreme(),in1.getSecondExtreme()-in2.getFirstExtreme(),in1.getFEincluded()=='['&&in2.getSEincluded()==']'?in1.getFEincluded():'(',in1.getSEincluded()==']'&&in2.getFEincluded()=='['?in1.getSEincluded():')');\r\n }", "private void merge(List<Interval> list) {\n if(list == null) {\n return;\n }\n \n // first sort the list on their start time\n Collections.sort(list, new Comparator<Interval>() {\n\n @Override\n public int compare(Interval i1, Interval i2) {\n if(i1 == null && i2 == null) {\n return 0;\n } else if(i1 != null && i2 != null) {\n if(i1.start > i2.start) {\n return 1;\n } else if(i1.start == i2.start) {\n return 0;\n } else {\n return -1;\n }\n } else if(i1 != null) {\n return 1;\n } else {\n return -1;\n }\n }\n \n });\n \n int index = 0;\n \n // ensure there are at least 2 elements left\n while(index < list.size() - 1) {\n // get the next 2 consecutive elements from the list\n Interval a = list.get(index++);\n Interval b = list.get(index);\n \n\n if(a.start <= b.start && b.end <= a.end) {\n // a completely covers b then delete b\n list.remove(index--);\n } else if(a.start <= b.start && b.start < a.end) {\n // a and b overlaps some \n list.remove(index--);\n list.remove(index);\n \n // replace with the merged one\n list.add(index, new Interval(a.start, b.end));\n }\n }\n }", "public TimeInterval create(TimeInterval ti) {\r\n\t\tDefaultTimeInterval nti = new DefaultTimeInterval();\r\n\t\tfor (int i = 0; i < _numberOfIntervals.length; i++)\r\n\t\t\tnti._numberOfIntervals[i] = this._numberOfIntervals[i];\r\n\t\treturn nti;\r\n\t}", "public Intervals(Interval<T>... intervals) {\n add(intervals);\n }", "@Test\n public void isOverlap_interval1ContainsInterval2OnEnd_trueReturned() throws Exception{\n Interval interval1 = new Interval(-1,5);\n Interval interval2 = new Interval(0,3);\n\n boolean result = SUT.isOverlap(interval1,interval2);\n Assert.assertThat(result,is(true));\n }", "public List<Interval> merge(List<Interval> intervals) {\n List<Interval> result = new ArrayList<>();\n Interval current = null;\n\n Collections.sort(intervals, new Comparator<Interval>() {\n @Override\n public int compare(Interval o1, Interval o2) {\n return Integer.compare(o1.start, o2.start);\n }\n });\n\n for (int i = 0; i < intervals.size(); i++) {\n current = intervals.get(i);\n Interval last = result.size() == 0 ? current : result.get(result.size() - 1);\n\n if (last.end < current.start) {\n result.add(current);\n continue;\n } else {\n result.remove(last);\n\n last.start = Math.min(last.start, current.start);\n last.end = Math.max(last.end, current.end);\n\n result.add(last);\n }\n }\n\n\n return result;\n }", "protected void add(Interval addition) {\n\t\tif (readonly)\n\t\t\tthrow new IllegalStateException(\"can't alter readonly IntervalSet\");\n\t\t// System.out.println(\"add \"+addition+\" to \"+intervals.toString());\n\t\tif (addition.b < addition.a) {\n\t\t\treturn;\n\t\t}\n\t\t// find position in list\n\t\t// Use iterators as we modify list in place\n\t\tfor (ListIterator<Interval> iter = intervals.listIterator(); iter.hasNext();) {\n\t\t\tInterval r = iter.next();\n\t\t\tif (addition.equals(r)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (addition.adjacent(r) || !addition.disjoint(r)) {\n\t\t\t\t// next to each other, make a single larger interval\n\t\t\t\tInterval bigger = addition.union(r);\n\t\t\t\titer.set(bigger);\n\t\t\t\t// make sure we didn't just create an interval that\n\t\t\t\t// should be merged with next interval in list\n\t\t\t\twhile (iter.hasNext()) {\n\t\t\t\t\tInterval next = iter.next();\n\t\t\t\t\tif (!bigger.adjacent(next) && bigger.disjoint(next)) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\t// if we bump up against or overlap next, merge\n\t\t\t\t\titer.remove(); // remove this one\n\t\t\t\t\titer.previous(); // move backwards to what we just set\n\t\t\t\t\titer.set(bigger.union(next)); // set to 3 merged ones\n\t\t\t\t\titer.next(); // first call to next after previous duplicates\n\t\t\t\t\t\t\t\t\t// the result\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (addition.startsBeforeDisjoint(r)) {\n\t\t\t\t// insert before r\n\t\t\t\titer.previous();\n\t\t\t\titer.add(addition);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// if disjoint and after r, a future iteration will handle it\n\t\t}\n\t\t// ok, must be after last interval (and disjoint from last interval)\n\t\t// just add it\n\t\tintervals.add(addition);\n\t}", "void setTimeInterval(net.opengis.gml.x32.TimeIntervalLengthType timeInterval);", "public ArrayList<Interval> merge(ArrayList<Interval> intervals){\n Stack<Interval> st = new Stack<Interval>();\n st.push(intervals.get(0));\n int size = intervals.size();\n for(int i = 1; i < size;i++){\n Interval temp = intervals.get(i);\n Interval first = st.peek();\n if(first.end >= temp.start){\n st.pop();\n st.push(mergeInterval(first,temp));\n }else{\n st.push(temp);\n }\n }\n ArrayList<Interval> ans = new ArrayList<Interval>();\n while(!st.isEmpty()){\n ans.add(st.peek());\n st.pop();\n }\n // reverse all the intervals in the arrayList\n Collections.reverse(ans);\n return ans;\n }", "public List<Interval> insert(List<Interval> intervals, Interval newInterval) {\n List<Interval> res = new ArrayList<Interval>();\n\n for (Interval cur : intervals) {\n if (newInterval == null) {\n res.add(cur);\n continue;\n }\n if (cur.end < newInterval.start) {\n res.add(cur);\n continue;\n }\n if (cur.start > newInterval.end) {\n res.add(newInterval);\n newInterval = null;\n res.add(cur);\n continue;\n }\n\n newInterval.start = Math.min(newInterval.start, cur.start);\n newInterval.end = Math.max(newInterval.end, cur.end);\n }\n\n if (newInterval != null) res.add(newInterval);\n\n return res;\n }", "public static String getMillisecondTimeInterval(long startMillisecond, long endMillisecond)\n\t{\n\t\tlong millisecond = Math.abs(startMillisecond - endMillisecond);\n\t\t\n\t\tlong hour = millisecond / 3600000;\n\t\tmillisecond = millisecond - (hour * 3600000);\n\t\t\n\t\tlong minute = millisecond / 60000;\n\t\tmillisecond = millisecond - (minute * 60000);\n\t\t\n\t\tlong second = millisecond / 1000;\n\t\tmillisecond = millisecond - (second * 1000);\n\t\t\n\t\treturn getMillisecondTimeString(hour, minute, second, millisecond);\n\t}", "public S interval(Long interval) {\n builder.interval(interval);\n return self;\n }", "@Override\n\tpublic void visit(IntervalExpression arg0) {\n\t\t\n\t}", "@Test\n public void isOverlap_interval1OverlapsInterval2OnStart_trueReturned() throws Exception{\n Interval interval1 = new Interval(-1,5);\n Interval interval2 = new Interval(3,12);\n\n boolean result = SUT.isOverlap(interval1,interval2);\n Assert.assertThat(result,is(true));\n }", "RangeOfValuesType createRangeOfValuesType();", "@Override\n\t\t\tpublic int compare(Interval o1, Interval o2) {\n\t\t\t\treturn o1.start-o2.start;\n\t\t\t}", "public TimeInterval getTimeInterval(Rule rule) {\n TimeInterval timeInterval = new TimeInterval();\n\n for (Constraint constraint : rule.getConstraint()) {\n if (constraint.getOperator() == BinaryOperator.AFTER) {\n timeInterval.setStart(constraint.getRightOperand().getValue());\n } else if (constraint.getOperator() == BinaryOperator.BEFORE) {\n timeInterval.setEnd(constraint.getRightOperand().getValue());\n }\n }\n return timeInterval;\n }", "public NSDateIntervalFormatter() {}", "public interface ITimeUnits {\r\n\r\n\t//Las constantes deben coincidir con los valores de base de datos.\r\n\tpublic static final int HOUR=1;\r\n\tpublic static final int MINUTE=2;\r\n\tpublic static final int DAY=3;\r\n\t\r\n\tpublic static final String SHOUR=\"Horas\";\r\n\tpublic static final String SMINUTE=\"Minutos\";\r\n\tpublic static final String SDAY=\"Días\";\r\n}", "public List<Interval> merge(List<Interval> intervals, Interval dnd) {\n if (intervals.isEmpty()) {\n return Collections.singletonList(dnd);\n }\n Comparator<Interval> comparator = Comparator.comparing(Interval::getA).thenComparing(Interval::getB);\n\n //1. sort in ascending order based on starting point. if same then based on end point\n List<Interval> sorted = intervals.stream()\n .sorted(comparator)\n .collect(Collectors.toList());\n\n //2. merge intervals\n List<Interval> merged = new ArrayList<>();\n int start = sorted.get(0).a;\n int end = sorted.get(0).b;\n for (int i = 1; i < sorted.size(); i++) {\n Interval interval = sorted.get(i);\n // if there was previous interval, check, if it can be merged -> merge\n // otherwise flush previous interval and start new\n if (end >= interval.a) {\n end = interval.b;\n } else {\n merged.add(new Interval(start, end, IntervalType.E));\n start = interval.a;\n end = interval.b;\n }\n }\n merged.add(new Interval(start, end, IntervalType.E));\n\n //3. merge with dnd\n List<Interval> cutted = new ArrayList<>();\n for (Interval interval : merged) {\n cutted.addAll(merge(interval, dnd));\n }\n\n //4. add dnd\n cutted.add(dnd);\n\n // 5. sort\n return cutted.stream()\n .sorted(comparator)\n .collect(Collectors.toList());\n }", "@Override\r\n\t public int compareTo(Interval o) {\n\r\n\t SimpleDateFormat sdf = new SimpleDateFormat(\"yyyyMMdd\");\r\n\t try{\r\n\t Date startDate = sdf.parse(start);\r\n\t Date endDate = sdf.parse(end);\r\n\t Date pstartDate = sdf.parse(o.start);\r\n\t Date pendDate = sdf.parse(o.end);\r\n\r\n\t return startDate.compareTo(pstartDate);\r\n\r\n\t }catch(Exception ex){\r\n\t ex.printStackTrace();\r\n\t }\r\n\t return 0;\r\n\t }", "public Interval sort(Interval interval) {\r\n\t\tif (interval.getValue2() < interval.getValue1()) {\r\n\t\t\treturn new Interval(interval.getValue2(), interval.getValue1());\r\n\t\t}else {\r\n\t\t\treturn new Interval(interval.getValue1(), interval.getValue2());\r\n\t\t}\r\n\t}", "public static Interval division(Interval in1, Interval in2){\r\n if(in2.getSecondExtreme()==0.0||in2.getFirstExtreme()==0.0){\r\n System.out.println(\"División por cero!\");\r\n System.exit(1);\r\n return new Interval();\r\n }else{\r\n return new Interval(in1.getFirstExtreme()/in2.getSecondExtreme(),in1.getSecondExtreme()/in2.getFirstExtreme(),in1.getFEincluded()=='['&&in2.getSEincluded()==']'?in1.getFEincluded():'(',in1.getSEincluded()==']'&&in2.getFEincluded()=='['?in1.getSEincluded():')');\r\n }\r\n }", "@Test\n void deve_retornar_o_periodo_second_period_in() {\n List<LocalTime> localTimes = Arrays.asList(LocalTime.parse(\"10:30:00\"), LocalTime.parse(\"10:30:00\"));\n TimeCourseEnum response = timeService.addPeriod(localTimes);\n Assert.assertEquals(TimeCourseEnum.SECOND_PERIOD_IN, response);\n }", "@Test\n public void isOverlap_interval1ContainWithinInterval2_trueReturned() throws Exception{\n Interval interval1 = new Interval(-1,5);\n Interval interval2 = new Interval(0,3);\n\n boolean result = SUT.isOverlap(interval1,interval2);\n Assert.assertThat(result,is(true));\n }", "public Node interval()\r\n\t{\r\n\t\tint index = lexer.getPosition();\r\n\t\tLexer.Token lp = lexer.getToken();\r\n\t\tif(lp==Lexer.Token.LEFT_PARENTHESIS\r\n\t\t|| lp==Lexer.Token.LEFT_BRACKETS)\r\n\t\t{\r\n\t\t\tNode exp1 = expression();\r\n\t\t\tif(exp1!=null)\r\n\t\t\t{\r\n\t\t\t\tif(lexer.getToken()==Lexer.Token.COMMA)\r\n\t\t\t\t{\r\n\t\t\t\t\tNode exp2 = expression();\r\n\t\t\t\t\tif(exp2!=null)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tLexer.Token rp = lexer.getToken();\r\n\t\t\t\t\t\tif(rp==Lexer.Token.RIGHT_PARENTHESIS\r\n\t\t\t\t\t\t|| rp==Lexer.Token.RIGHT_BRACKETS)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tInterval iv = new Interval(exp1,exp2);\r\n\t\t\t\t\t\t\tif(lp==Lexer.Token.LEFT_PARENTHESIS) iv.lhsClosed(false);\r\n\t\t\t\t\t\t\telse iv.lhsClosed(true);\r\n\t\t\t\t\t\t\tif(rp==Lexer.Token.RIGHT_PARENTHESIS) iv.rhsClosed(false);\r\n\t\t\t\t\t\t\telse iv.rhsClosed(true);\r\n\t\t\t\t\t\t\treturn iv;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tlexer.setPosition(index);\r\n\t\treturn null;\r\n\t}", "IntervalTupleList evaluate(double low, double high);", "private void mergeWithStack(List<Interval> list) {\n if(list == null) {\n return;\n }\n \n // first sort the list on their start time\n Collections.sort(list, new Comparator<Interval>() {\n\n @Override\n public int compare(Interval i1, Interval i2) {\n if(i1 == null && i2 == null) {\n return 0;\n } else if(i1 != null && i2 != null) {\n if(i1.start > i2.start) {\n return 1;\n } else if(i1.start == i2.start) {\n return 0;\n } else {\n return -1;\n }\n } else if(i1 != null) {\n return 1;\n } else {\n return -1;\n }\n }\n \n });\n \n Interval cur;\n Stack<Interval> s = new Stack<>();\n \n // push the first one into satck\n s.push(list.get(0));\n \n // ensure there are at least 2 elements left\n for(int index = 1; index < list.size(); index++) {\n Interval top = s.peek();\n cur = list.get(index);\n \n if(top.end < cur.start) {\n // no overlapping\n s.push(cur);\n } else if(top.end >= cur.start) {\n // 2 intervals are interleaved\n top.end = cur.end;\n }\n }\n \n list.clear();\n while(!s.isEmpty()) {\n list.add(0, s.pop());\n }\n }", "private List<HashMap<TimeSelector, Long>> updateEq(\n HashMap<ComparableExpression, HashSet<ComparableExpression>> rEq,\n HashMap<TimeSelector, Long> lowerBounds, HashMap<TimeSelector, Long> upperBounds)\n throws QueryContradictoryException {\n\n ArrayList<ArrayList<ComparableExpression>> eq = relationToTuples(rEq);\n for (ArrayList<ComparableExpression> tuple : eq) {\n TimeSelector selector = null;\n TimeLiteral literal = null;\n // only comparisons between a selector and a literal are interesting here\n if (tuple.get(0) instanceof TimeSelector && tuple.get(1) instanceof TimeLiteral) {\n selector = (TimeSelector) tuple.get(0);\n literal = (TimeLiteral) tuple.get(1);\n } else if (tuple.get(1) instanceof TimeSelector && tuple.get(0) instanceof TimeLiteral) {\n selector = (TimeSelector) tuple.get(1);\n literal = (TimeLiteral) tuple.get(0);\n } else {\n continue;\n }\n // for selector=literal, lowerBound(selector) = literal and upperBound(selector) = literal\n Long literalValue = literal.getMilliseconds();\n if (lowerBounds.get(selector) > literalValue || upperBounds.get(selector) < literalValue) {\n throw new QueryContradictoryException();\n } else {\n lowerBounds.put(selector, literalValue);\n upperBounds.put(selector, literalValue);\n }\n }\n return Arrays.asList(lowerBounds, upperBounds);\n }", "public void addSelectionInterval(Date startDate, Date endDate)\n/* */ {\n/* 81 */ if (startDate.after(endDate)) {\n/* 82 */ return;\n/* */ }\n/* 84 */ boolean added = false;\n/* 85 */ switch (this.selectionMode) {\n/* */ case SINGLE_SELECTION: \n/* 87 */ if (isSelected(startDate)) return;\n/* 88 */ clearSelectionImpl();\n/* 89 */ added = addSelectionImpl(startDate, startDate);\n/* 90 */ break;\n/* */ case SINGLE_INTERVAL_SELECTION: \n/* 92 */ if (isIntervalSelected(startDate, endDate)) return;\n/* 93 */ clearSelectionImpl();\n/* 94 */ added = addSelectionImpl(startDate, endDate);\n/* 95 */ break;\n/* */ case MULTIPLE_INTERVAL_SELECTION: \n/* 97 */ if (isIntervalSelected(startDate, endDate)) return;\n/* 98 */ added = addSelectionImpl(startDate, endDate);\n/* 99 */ break;\n/* */ }\n/* */ \n/* */ \n/* 103 */ if (added) {\n/* 104 */ fireValueChanged(DateSelectionEvent.EventType.DATES_ADDED);\n/* */ }\n/* */ }", "public int getInterval() { return _interval; }", "public abstract double getValue(R1Interval interval);", "@Test\n void deve_retornar_o_periodo_second_period_out() {\n List<LocalTime> localTimes = Arrays.asList\n (LocalTime.parse(\"10:30:00\"), LocalTime.parse(\"11:30:00\"), LocalTime.parse(\"12:30:00\"));\n TimeCourseEnum response = timeService.addPeriod(localTimes);\n Assert.assertEquals(TimeCourseEnum.SECOND_PERIOD_OUT, response);\n }", "public static void intervalRange() {\n Observable.intervalRange(0L, 10L, 0L, 10L, TimeUnit.MILLISECONDS).\n subscribe(new MyObserver<>());\n }", "public List<Interval> insert(List<Interval> intervals, Interval newInterval) {\n List<Interval> ans = new ArrayList<>();\n if (intervals == null || intervals.size() == 0) {\n ans.add(newInterval);\n return ans;\n }\n \n boolean isInserted = false;\n \n for (int i = 0; i < intervals.size(); i++) {\n Interval cur = intervals.get(i);\n if (newInterval.start > cur.end) {\n ans.add(cur);\n } else if (newInterval.end < cur.start) {\n if (!isInserted) {\n ans.add(newInterval);\n isInserted = true;\n }\n ans.add(cur);\n } else {\n i = helper(intervals, newInterval, i, ans);\n isInserted = true;\n }\n }\n \n if (!isInserted) {\n ans.add(newInterval);\n }\n return ans;\n }", "public TimeInterval createByMultiplying(int factor) {\r\n\t\tDefaultTimeInterval nti = new DefaultTimeInterval();\r\n\t\tfor (int i = 1; i < _numberOfIntervals.length; i++) {\r\n\t\t\tnti._numberOfIntervals[i] = factor * this._numberOfIntervals[i];\r\n\t\t}\r\n\t\treturn nti;\r\n\t}", "public static IntervalSet of(int a, int b) {\n\t\tIntervalSet s = new IntervalSet();\n\t\ts.add(a, b);\n\t\treturn s;\n\t}", "public Map<Map<String, Object>, Map<String, Object>> queryFromAndTo(String siteId, int lastHours, String from, String to, String timeType) {\n String[] fromToIndices = filterRangeDateIndices(from, to, lastHours, timeType);\n boolean isLoggedTime = false;\n if (lastHours > 0 || timeType.equals(\"h\") || timeType.equals(\"m\")) {\n isLoggedTime = true;\n }\n return doMultiRequestForDays(siteId, fromToIndices, isLoggedTime, lastHours, timeType);\n }", "private static void testDuration() {\n LocalTime time1 = LocalTime.of(15, 20, 38);\n LocalTime time2 = LocalTime.of(21, 8, 49);\n\n LocalDateTime dateTime1 = time1.atDate(LocalDate.of(2014, 5, 27));\n LocalDateTime dateTime2 = time2.atDate(LocalDate.of(2015, 9, 15));\n\n Instant i1 = Instant.ofEpochSecond(1_000_000_000);\n Instant i2 = Instant.now();\n\n // create duration between two points\n Duration d1 = Duration.between(time1, time2);\n Duration d2 = Duration.between(dateTime1, dateTime2);\n Duration d3 = Duration.between(i1, i2);\n Duration d4 = Duration.between(time1, dateTime2);\n\n // create duration from some random value\n Duration threeMinutes;\n threeMinutes = Duration.ofMinutes(3);\n threeMinutes = Duration.of(3, ChronoUnit.MINUTES);\n }", "public int getIntervalMinutes();" ]
[ "0.61589104", "0.5757849", "0.5510889", "0.5506811", "0.5494435", "0.53488684", "0.5341389", "0.5274459", "0.5094187", "0.50629073", "0.49472505", "0.49289975", "0.4897824", "0.4890918", "0.48687586", "0.48457658", "0.48428664", "0.48375064", "0.47867656", "0.47758806", "0.4759571", "0.47481754", "0.47259453", "0.4700174", "0.46883968", "0.46825013", "0.4662832", "0.4660484", "0.46510917", "0.46494585", "0.4644048", "0.46213233", "0.45764342", "0.4573095", "0.45702088", "0.45501366", "0.45368707", "0.45298818", "0.45189023", "0.4518321", "0.44612098", "0.4460284", "0.44590122", "0.44366404", "0.4424179", "0.44024992", "0.4394847", "0.43925303", "0.43875977", "0.4387422", "0.43868405", "0.43782058", "0.43764564", "0.43618444", "0.4357387", "0.4354716", "0.43511263", "0.43447956", "0.4327969", "0.43273497", "0.43239012", "0.43180442", "0.43165228", "0.43111852", "0.42900732", "0.42872372", "0.4284486", "0.42824137", "0.42821386", "0.42796203", "0.4278239", "0.42767686", "0.42552945", "0.4247472", "0.42431226", "0.4242292", "0.42383978", "0.42300493", "0.42229182", "0.42228124", "0.42220467", "0.42129803", "0.42073834", "0.4205091", "0.41928127", "0.41820672", "0.41737202", "0.41694283", "0.41668755", "0.41542393", "0.41424415", "0.41411048", "0.41382372", "0.4137406", "0.4134642", "0.41339505", "0.413351", "0.41277257", "0.4120195", "0.4113771" ]
0.60251033
1
P R I N T I N G
public static void main(String [] args){ System.out.println("Hello"); System.out.print("World"); System.out.println("!"); // V A R I A B L E S /* Names are case-sensitive and may begin with: letters, $, _ After, may include letters, numbers, $, _ Convention says Start with a lowercase word, then additional words are capitalized ex. myFirstVariable */ String name = "Mike"; // String's are objects not primitives char testGrade = 'A'; // single 16-bit Unicode character. byte age0 = 0; // 8-bit signed two's complement integer short age1 = 10; // 16-bit signed two's complement integer. int age2 = 20; // 32-bit signed two's complement integer long age3 = 30L; // 64-bit optionally signed two's complement integer float gpa0 = 2.5f; // 32-bit floating point double gpa1 = 3.5; // double-precision 64-bit floating point boolean isTall; // 1 bit -> true/false isTall = true; name = "John"; System.out.println("Your name is " + name); System.out.printf("Your name is %s \n", name); /* %f -> double or float %d -> Integer %s -> string %c -> character %b -> boolean */ // C A S T I N G & C O N V E R T I N G System.out.println( (int)3.14 ); System.out.println( (double)3 ); int intFromString = Integer.parseInt("50"); double doubleFromString = Double.parseDouble("50.99"); System.out.println(100 + intFromString); System.out.println( 100 + doubleFromString ); // S T R I N G S String greeting = "Hello"; // indexes: 01234 System.out.println( greeting.length() ); System.out.println( greeting.charAt(0) ); System.out.println( greeting.indexOf("llo") ); System.out.println( greeting.indexOf("z") ); System.out.println( greeting.substring(2) ); System.out.println( greeting.substring(1, 3) ); // N U M B E R S System.out.println( 2 * 3 ); // Basic Arithmetic: +, -, /, * System.out.println( 10 % 3 ); // Modulus Op. : returns remainder of 10/3 System.out.println( 1 + 2 * 3 ); // order of operations System.out.println(10 / 3.0); // int's and doubles int num = 10; num += 100; // +=, -=, /=, *= System.out.println(num); num++; System.out.println(num); // Math class has useful math methods System.out.println( Math.pow(2, 3) ); System.out.println( Math.sqrt(144) ); System.out.println( Math.round(2.7) ); // U S E R I N P U T // import java.util.Scanner; Scanner keyboardInput = new Scanner(System.in); System.out.print("Enter username: "); String username = keyboardInput.nextLine(); // .nextDouble(), .nextInt() System.out.println("Hello, " + username); // System.out.println( keyboardInput.hasNextLine() ); // .hasNextDouble(), .hasNextInt() // A R R A Y S // int [] luckyNumbers = new int[10]; int [] luckyNumbers = {4, 8, 15, 16, 23, 42}; // indexes: 0 1 2 3 4 5 luckyNumbers[0] = 90; System.out.println(luckyNumbers[0]); System.out.println(luckyNumbers[1]); System.out.println(luckyNumbers.length); // N Dimensional Arrays // int [][] numberGrid = new int[2][3]; int [][] numberGrid = { {1, 2}, {3, 4} }; numberGrid[0][1] = 99; System.out.println(numberGrid[0][0]); System.out.println(numberGrid[0][1]); // A R R A Y L I S T ArrayList<String> friends = new ArrayList<String>(); friends.add("Oscar"); friends.add("Angela"); friends.add("Kevin"); // friends.remove("Oscar"); System.out.println( friends.toString() ); System.out.println( friends.get(0) ); System.out.println( friends.contains("Oscar") ); System.out.println( friends.size() ); // M E T H O D S int sum = addNumbers(4, 60); System.out.println(sum); // public static int addNumbers(int num1, int num2){ // return num1 + num2; // } // I F S T A T E M E N T S boolean isStudent = false; boolean isSmart = false; if(isStudent && isSmart){ System.out.println("You are a student"); } else if(isStudent && !isSmart){ System.out.println("You are not a smart student"); } else { System.out.println("You are not a student and not smart"); } // >, <, >=, <=, !=, ==, String.equals() if(1 > 3){ System.out.println("number omparison was true"); } if('a' > 'b'){ System.out.println("character omparison was true"); } if("dog".equals("cat")){ System.out.println("string omparison was true"); } // S W I T C H S T A T E M E N T S char myGrade = 'A'; switch(myGrade){ case 'A': System.out.println("You Pass"); break; case 'F': System.out.println("You fail"); break; default: System.out.println("Invalid grade"); } // W H I L E L O O P S int index = 1; while(index <= 5){ System.out.println(index); index++; } // do{ // System.out.println(index); // index++; // }while(index <= 5); // F O R L O O P S for(int i = 0; i < 5; i++){ System.out.println(i); } // int luckyNums[] = {4, 8, 15, 16, 23, 42}; // for(int luckyNum : luckyNums){ // System.out.println(luckyNum); // } // E X C E P T I O N C A T C H I N G // int division = 10/0; // try{ // int division = 10/0; // }catch(ArithmeticException e){ // System.out.println(e); // }catch(Exception e){ // // Not best practice to use general Exception // } // throw new ArithmeticException("can't add numbers"); // Classes & Objects // public class Book{ // public String title; // public String author; // public static String staticAttribute = "My Static Attribute"; // // public void readBook(){ // System.out.println("Reading " + this.title + " by " + this.author); // } // } Book book1 = new Book(); book1.title = "Harry Potter"; book1.author = "JK Rowling"; book1.readBook(); System.out.println(book1.title); Book book2 = new Book(); book2.title = "Lord of the Rings"; book2.author = "JRR Tolkien"; book2.readBook(); System.out.println(book2.title); System.out.println(Book.staticAttribute) // C O N S T R U C T O R S /* public class Book{ public String title; public String author; public Book(){ this.title = "no title"; this.author = "no author"; } public Book(String title, String author){ this.title = title; this.author = author; } public void readBook(){ System.out.println("Reading " + this.title + " by " + this.author); } } Book book1 = new Book("Harry Potter", "JK Rowling"); System.out.println(book1.title); Book book2 = new Book("Lord of the Rings", "JRR Tolkien"); System.out.println(book2.title); */ // G E T T E R S & S E T T E R S /* public class Book { private String title; private String author; public Book() { this.title = "no title"; this.author = "no author"; } public Book(String title, String author) { this.Title = title; this.Author = author; } public string Title { get { return this.title; } set { this.title = value; } } public string Author { get { return this.author; } set { this.author = value; } } } Book book1 = new Book("Harry Potter", "JK Rowling"); Console.WriteLine(book1.Title); Book book2 = new Book("Lord of the Rings", "JRR Tolkien"); Console.WriteLine(book1.Author); */ // Inheritance class Chef{ public String name; public int age; public Chef(String name, int age){ this.name = name; this.age = age; } public void makeChicken(){ System.out.println("The chef makes chicken"); } public void makeSalad(){ System.out.println("The chef makes salad"); } public void makeSpecialDish(){ System.out.println("The chef makes a special dish"); } } class ItalianChef extends Chef{ public String countryOfOrigin; public ItalianChef(String name, int age, String countryOfOrigin){ super(name, age); this.countryOfOrigin = countryOfOrigin; } public void makePasta(){ System.out.println("The chef makes pasta"); } @Override public void makeSpecialDish(){ System.out.println("The chef makes chicken parm"); } } Chef myChef = new Chef("Gordon Ramsay", 50); myChef.makeChicken(); ItalianChef myItalianChef = new ItalianChef("Massimo Bottura", 55, "Italy"); myItalianChef.makeChicken(); System.out.println(myItalianChef.age); // Abstract Classes & Attributes abstract class Vehicle{ public abstract void move(); public void getDescription(){ System.out.println("Vehicles are used for transportation"); } } class Bicycle extends Vehicle{ @Override public void move(){ System.out.println("The bicycle pedals forward"); } } class Plane extends Vehicle{ @Override public void move(){ System.out.println("The plane flys through the sky"); } } // Interface Inheritance (Polymorphism) // interface Animal{ // public void speak(); // } // class Cat implements Animal{ // @Override // public void speak(){ // System.out.println("Meow Meow"); // } // } // class Dog implements Animal{ // @Override // public void speak(){ // System.out.println("Woof Woof"); // } // } Animal [] animals = { new Dog(), new Cat() }; for(Animal animal : animals){ animal.speak(); } // discuss protected }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void gored() {\n\t\t\n\t}", "public void stg() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "private static void g() {\n h h10 = q;\n synchronized (h10) {\n h10.f();\n Object object = h10.e();\n object = object.iterator();\n boolean bl2;\n while (bl2 = object.hasNext()) {\n Object object2 = object.next();\n object2 = (g)object2;\n Object object3 = ((g)object2).getName();\n object3 = i.h.d.j((String)object3);\n ((g)object2).h((i.h.c)object3);\n }\n return;\n }\n }", "public xm n()\r\n/* 274: */ {\r\n/* 275:287 */ if ((this.g == null) && (this.h != null) && (this.h.length() > 0)) {\r\n/* 276:288 */ this.g = this.o.a(this.h);\r\n/* 277: */ }\r\n/* 278:290 */ return this.g;\r\n/* 279: */ }", "@Override\r\n\tpublic void runn() {\n\t\t\r\n\t}", "private void strin() {\n\n\t}", "public void mo21782G() {\n }", "private void poetries() {\n\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "public void g() {\n }", "public void mo21795T() {\n }", "int getG();", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "private static void cajas() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "PaulEigon() {\n\treadCurrentPingisState();\n\tscanState();\n\tprintResult();\n }", "@Override\r\n\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\twhile(!(gst.done&&gpt.done));\r\n\t\t\t\t\t\t\t\t\tx.task().post(new Runnable(){\r\n\r\n\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\t\t\t\t\tNoteInJson[] pattern=gpt.getPattern();\r\n\t\t\t\t\t\t\t\t\t\t\tgotoLiveView(pattern,gst.resultFile);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t}", "@Override\r\n \tpublic void process() {\n \t\t\r\n \t}", "void NhapGT(int thang, int nam) {\n }", "public void ganar() {\n // TODO implement here\n }", "private stendhal() {\n\t}", "public boolean g()\r\n/* 94: */ {\r\n/* 95:94 */ return this.g;\r\n/* 96: */ }", "public void Tyre() {\n\t\t\r\n\t}", "@Override\r\n\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\twhile(!gpt.done);\r\n\t\t\t\t\t\t\t\t\tx.task().post(new Runnable(){\r\n\r\n\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\t\t\t\t\tNoteInJson[] pattern=gpt.getPattern();\r\n\t\t\t\t\t\t\t\t\t\t\tgotoLiveView(pattern,sound_cache);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public void mo21878t() {\n }", "protected boolean func_70814_o() { return true; }", "public void mo21793R() {\n }", "public void mo21791P() {\n }", "TGG createTGG();", "public void mo21789N() {\n }", "public void g() {\n this.f29279g.sendEmptyMessageDelayed(10, 1000);\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "public abstract String mo9751p();", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void draw(Graphics g) {\n\t\t\n\t}", "@Override\n\tpublic void draw(Graphics g) {\n\t\t\n\t}", "@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}", "IEmpleado next();", "public void mo21779D() {\n }", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\twhile(!gpt.done);\r\n\t\t\t\t\t\t\t\tx.task().post(new Runnable(){\r\n\r\n\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\tpublic void run() {\r\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\t\t\t\tNoteInJson[] pattern=gpt.getPattern();\r\n\t\t\t\t\t\t\t\t\t\tif(change_tempo){\r\n\t\t\t\t\t\t\t\t\t\t\tPatternMaker.changeSpeed(pattern, ratio);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tgotoPractice(pattern);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}", "public void mo21877s() {\n }", "void mo16687a(T t, C4621gg ggVar) throws IOException;", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "void mo56163g();", "public void mo38117a() {\n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "public void mo21794S() {\n }", "public void mo21792Q() {\n }", "public void g() {\n this.f25459e.Q();\n }", "public void notificaAlgiocatore(int azione, Giocatore g) {\n\r\n }", "T mo26439a();", "public static void main(String[] args) {\n\n\n BasicProducer basicProducer = new BasicProducer(\"3-part-topic\");\n long t0 = System.currentTimeMillis();\n basicProducer.postSynchMessage(\"Synched 8 Message\");\n long t1 = System.currentTimeMillis();\n System.out.println(\"time taken basicProducer.postSynchMessage=\" + (t1-t0)); // 192 // 193\n\n long t2 = System.currentTimeMillis();\n basicProducer.postAsynchMessage(\"async 8 Message\");\n long t3 = System.currentTimeMillis();\n System.out.println(\"time taken basicProducer.postSynchMessage=\" + (t3-t2)); //14\n\n\n }", "@Override\n\tpublic void anular() {\n\n\t}", "private String waitPrint(){return \"waiting for other players...\";}", "private String pcString(String g, String d) {\n return g+\"^part_of(\"+d+\")\";\n }", "@Override\n\tpublic String parler() {\n\t\treturn \"Je suis un Orc\";\n\t}", "private void m50366E() {\n }", "public int getProT() {\n/* 78 */ return this.proT;\n/* */ }", "@Override\n\tpublic void nhanTinNhan() {\n\n\t}", "@Override\r\n\tprotected void processExecute() {\n\r\n\t}", "private final void i() {\n }", "public void mo4359a() {\n }", "void mo21076g();", "@Override\n\t\t\tpublic void run() {\n\n\t\t\t}", "@Override\r\n public String AggiungiQualcosa() {\r\n// ritorna una stringa\r\n// perché qui ho informazioni in più\r\n return \"\\ne capace di cuocere il pollo\";\r\n }", "public void method_4270() {}", "public void mo97908d() {\n }", "public Genero getGenero()\r\n/* 143: */ {\r\n/* 144:261 */ return this.genero;\r\n/* 145: */ }", "public void mo3376r() {\n }", "@Override\r\n public String AggiungiQualcosa() {\r\n// ritorna una stringa\r\n// perché qui ho informazioni in più\r\n return \"\\ne capace di friggere un uovo\";\r\n }", "@Override\n\tpublic void q() {\n\n\t}", "@Override\n\tpublic void goi() {\n\n\t}", "public void mo21783H() {\n }", "public abstract String mo9239aw();", "public void mo21787L() {\n }", "void prosegui(String messaggio);", "public void run() {\n\t\t\t\t\t\t}", "public void Goto() {\n\t\t\n\t}", "public void mo3946e() {\n m25427g();\n }", "public RptPotonganGaji() {\n }", "protected abstract void narisi(Graphics2D g, double wPlatno, double hPlatno);", "public abstract void mo70713b();", "protected void h() {}", "public void grab();", "protected void generar() {\n generar(1, 1);\n }", "Petunia() {\r\n\t\t}", "public int getG();", "void mo57277b();", "public void mo3749d() {\n }", "public void mo21879u() {\n }", "void kiemTraThangHopLi() {\n }", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void run() {\n\t\t\t\n\t\t}" ]
[ "0.6093222", "0.5723113", "0.5513681", "0.54458374", "0.5421298", "0.52892953", "0.52832305", "0.526117", "0.5248086", "0.5230159", "0.52264386", "0.52036214", "0.51962644", "0.51857764", "0.5163619", "0.51624256", "0.5161254", "0.5145325", "0.51333755", "0.5108522", "0.5099625", "0.50924915", "0.509123", "0.5085727", "0.5083907", "0.5083872", "0.5062383", "0.5058568", "0.50528413", "0.50488293", "0.5048246", "0.50468147", "0.50461715", "0.5025702", "0.501896", "0.5014283", "0.50078213", "0.50018746", "0.4994878", "0.4994878", "0.4992077", "0.49871626", "0.49728623", "0.49717778", "0.49717778", "0.4969976", "0.49670437", "0.49636716", "0.49572113", "0.4953564", "0.4953564", "0.4949328", "0.49464843", "0.49350083", "0.49308613", "0.49307215", "0.49303994", "0.49292347", "0.49274772", "0.4922454", "0.48872927", "0.48753187", "0.48656172", "0.48614025", "0.48502928", "0.48499176", "0.4849572", "0.48494196", "0.48480406", "0.48464093", "0.48393884", "0.48370948", "0.48362797", "0.4827177", "0.48168603", "0.48158768", "0.48146144", "0.48130265", "0.48016185", "0.47998512", "0.47994316", "0.47976705", "0.47954965", "0.4793982", "0.47914222", "0.47885868", "0.47842973", "0.4783856", "0.47825214", "0.4782176", "0.47806752", "0.47802898", "0.47780704", "0.47765225", "0.477446", "0.4772245", "0.47709304", "0.4767914", "0.47674856", "0.47626778", "0.47626778" ]
0.0
-1
jhipsterneedleentityaddfield JHipster will add fields here, do not remove
public Long getId() { return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addField(\n JavaSymbolName propertyName,\n JavaType propertyType,\n String columnName,\n String columnType,\n JavaType className,\n boolean id,\n boolean oneToOne, boolean oneToMany, boolean manyToOne, boolean manyToMany, String mappedBy);", "Builder addMainEntity(String value);", "@Override\n\tpublic void save(Field entity) {\n\t\t\n\t}", "public void updateNonDynamicFields() {\n\n\t}", "public void setupFields()\n {\n FieldInfo field = null;\n field = new FieldInfo(this, \"ID\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Integer.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"LastChanged\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Date.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"Deleted\", 10, null, new Boolean(false));\n field.setDataClass(Boolean.class);\n field.setHidden(true);\n field = new FieldInfo(this, \"Description\", 25, null, null);\n field = new FieldInfo(this, \"CurrencyCode\", 3, null, null);\n field = new FieldInfo(this, \"LastRate\", 10, null, null);\n field.setDataClass(Double.class);\n field.setScale(-1);\n field = new FieldInfo(this, \"RateChangedDate\", 12, null, null);\n field.setDataClass(Date.class);\n field.setScale(Constants.DATE_ONLY);\n field = new FieldInfo(this, \"RateChangedBy\", 16, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"CostingRate\", 10, null, null);\n field.setDataClass(Double.class);\n field.setScale(-1);\n field = new FieldInfo(this, \"CostingChangedDate\", 12, null, null);\n field.setDataClass(Date.class);\n field.setScale(Constants.DATE_ONLY);\n field = new FieldInfo(this, \"CostingChangedBy\", 16, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"RoundAt\", 1, null, null);\n field.setDataClass(Short.class);\n field = new FieldInfo(this, \"IntegerDesc\", 20, null, \"Dollar\");\n field = new FieldInfo(this, \"FractionDesc\", 20, null, null);\n field = new FieldInfo(this, \"FractionAmount\", 10, null, new Integer(100));\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"Sign\", 3, null, \"$\");\n field = new FieldInfo(this, \"LanguageID\", Constants.DEFAULT_FIELD_LENGTH, null, null);\n field.setDataClass(Integer.class);\n field = new FieldInfo(this, \"NaturalInteger\", 20, null, null);\n field = new FieldInfo(this, \"NaturalFraction\", 20, null, null);\n }", "public ChangeFieldEf() {\r\n\t\tthis(null, null);\r\n\t}", "@Override\r\n protected void createDbContentCreateEdit() {\n DbContentCreateEdit dbContentCreateEdit = new DbContentCreateEdit();\r\n dbContentCreateEdit.init(null);\r\n form.getModelObject().setDbContentCreateEdit(dbContentCreateEdit);\r\n dbContentCreateEdit.setParent(form.getModelObject());\r\n ruServiceHelper.updateDbEntity(form.getModelObject()); \r\n }", "Builder addMainEntity(Thing value);", "private void addFieldToBook(String config_id, GOlrField field) {\n if (!unique_fields.containsKey(field.id)) {\n unique_fields.put(field.id, field);\n } else {\n // check if defined fields are equivalent\n if (!unique_fields.get(field.id).equals(field)) {\n throw new IllegalStateException(field.id + \" is defined twice with different properties.\\n\"\n + unique_fields.get(field.id) + \"\\n\" + field);\n }\n }\n // Ensure presence of comments (description) list.\n if (!collected_comments.containsKey(field.id)) {\n collected_comments.put(field.id, new ArrayList<String>());\n }\n // And add to it if there is an available description.\n if (field.description != null) {\n ArrayList<String> comments = collected_comments.get(field.id);\n comments.add(\" \" + config_id + \": \" + field.description + \" \");\n collected_comments.put(field.id, comments);\n }\n }", "public void addField(TemplateField field)\r\n{\r\n\tfields.addElement(field);\r\n}", "@Override\r\n public void createNewEntity(String entityName) {\n\r\n }", "public PimsSysReqFieldDaoHibernate() {\n super(PimsSysReqField.class);\n }", "FieldDefinition createFieldDefinition();", "protected void addField(InstanceContainer container, Form form, MetaProperty metaProperty, boolean isReadonly) {\n MetaClass metaClass = container.getEntityMetaClass();\n Range range = metaProperty.getRange();\n\n boolean isRequired = isRequired(metaProperty);\n\n UiEntityAttributeContext attributeContext = new UiEntityAttributeContext(metaClass, metaProperty.getName());\n accessManager.applyRegisteredConstraints(attributeContext);\n\n if (!attributeContext.canView())\n return;\n\n if (range.isClass()) {\n UiEntityContext entityContext = new UiEntityContext(range.asClass());\n accessManager.applyRegisteredConstraints(entityContext);\n if (!entityContext.isViewPermitted()) {\n return;\n }\n }\n\n ValueSource valueSource = new ContainerValueSource<>(container, metaProperty.getName());\n\n ComponentGenerationContext componentContext =\n new ComponentGenerationContext(metaClass, metaProperty.getName());\n componentContext.setValueSource(valueSource);\n\n Field field = (Field) uiComponentsGenerator.generate(componentContext);\n\n if (requireTextArea(metaProperty, getItem(), MAX_TEXTFIELD_STRING_LENGTH)) {\n field = uiComponents.create(TextArea.NAME);\n }\n\n if (isBoolean(metaProperty)) {\n field = createBooleanField();\n }\n\n if (range.isClass()) {\n EntityPicker pickerField = uiComponents.create(EntityPicker.class);\n\n EntityLookupAction lookupAction = actions.create(EntityLookupAction.class);\n lookupAction.setScreenClass(EntityInspectorBrowser.class);\n lookupAction.setScreenOptionsSupplier(() -> new MapScreenOptions(\n ParamsMap.of(\"entity\", metaProperty.getRange().asClass().getName())));\n lookupAction.setOpenMode(OpenMode.THIS_TAB);\n\n pickerField.addAction(lookupAction);\n pickerField.addAction(actions.create(EntityClearAction.class));\n\n field = pickerField;\n }\n\n field.setValueSource(valueSource);\n field.setCaption(getPropertyCaption(metaClass, metaProperty));\n field.setRequired(isRequired);\n\n isReadonly = isReadonly || (disabledProperties != null && disabledProperties.contains(metaProperty.getName()));\n if (range.isClass() && !metadataTools.isEmbedded(metaProperty)) {\n field.setEditable(metadataTools.isOwningSide(metaProperty) && !isReadonly);\n } else {\n field.setEditable(!isReadonly);\n }\n\n field.setWidth(fieldWidth);\n\n if (isRequired) {\n field.setRequiredMessage(messageTools.getDefaultRequiredMessage(metaClass, metaProperty.getName()));\n }\n form.add(field);\n }", "public interface ExtendedFieldGroupFieldFactory extends FieldGroupFieldFactory\r\n{\r\n\t<T> CRUDTable<T> createTableField(Class<T> genericType, boolean manyToMany);\r\n}", "public interface JdlFieldView extends JdlField, JdlCommentView {\n //TODO This validation should be handled in JdlService\n default String getTypeName() {\n JdlFieldEnum type = getType();\n return switch (type) {\n case ENUM -> getEnumEntityName()\n .orElseThrow(() -> new IllegalStateException(\"An enum field must have its enum entity name set\"));\n default -> ((\"UUID\".equals(type.name())) ? type.name() : type.toCamelUpper());\n };\n }\n\n default String constraints() {\n List<String> constraints = new ArrayList<>();\n if (renderRequired()) constraints.add(requiredConstraint());\n if (isUnique()) constraints.add(uniqueConstraint());\n getMin().ifPresent(min -> constraints.add(minConstraint(min)));\n getMax().ifPresent(max -> constraints.add(maxConstraint(max)));\n getPattern().ifPresent(pattern -> constraints.add(patternConstraint(pattern)));\n return (!constraints.isEmpty()) ? \" \".concat(Joiner.on(\" \").join(constraints)) : null;\n }\n\n // TODO do not write required when field is primary key\n default boolean renderRequired() {\n // if (!isPrimaryKey() && isRequired() && ) constraints.add(JdlUtils.validationRequired());\n return isRequired() && !(getName().equals(\"id\") && getType().equals(JdlFieldEnum.UUID));\n }\n\n @NotNull\n default String requiredConstraint() {\n return \"required\";\n }\n\n @NotNull\n default String uniqueConstraint() {\n return \"unique\";\n }\n\n default String minConstraint(int min) {\n return switch (getType()) {\n case STRING -> validationMinLength(min);\n default -> validationMin(min);\n };\n }\n\n default String maxConstraint(int max) {\n return switch (getType()) {\n case STRING -> validationMaxLength(max);\n default -> validationMax(max);\n };\n }\n\n //TODO This validation should be handled in JdlService\n default String patternConstraint(String pattern) {\n return switch (getType()) {\n case STRING -> validationPattern(pattern);\n default -> throw new RuntimeException(\"Only String can have a pattern\");\n };\n }\n\n @NotNull\n default String validationMax(final int max) {\n return \"max(\" + max + \")\";\n }\n\n @NotNull\n default String validationMin(final int min) {\n return \"min(\" + min + \")\";\n }\n\n default String validationMaxLength(final int max) {\n return \"maxlength(\" + max + \")\";\n }\n\n @NotNull\n default String validationMinLength(final int min) {\n return \"minlength(\" + min + \")\";\n }\n\n @NotNull\n default String validationPattern(final String pattern) {\n return \"pattern(/\" + pattern + \"/)\";\n }\n}", "@attribute(value = \"\", required = true)\t\r\n\tpublic void addField(Field f) {\r\n\t\tfields.put(\"\" + fieldCount++, f);\r\n\t}", "@Override\r\n\tpublic void addField(Field field) \r\n\t{\r\n\t\tif(this.fields == null)\r\n\t\t{\r\n\t\t\tthis.fields = new ArrayList<>();\r\n\t\t}\r\n\t\tthis.fields.add(field);\r\n\t}", "void SaveBudgetKeyAdditional(BudgetKeyAdditionalEntity budgetKeyAdditionalEntity);", "public void createField(Field field) {\n Span span = this.tracer.buildSpan(\"Client.CreateField\").start();\n try {\n String path = String.format(\"/index/%s/field/%s\", field.getIndex().getName(), field.getName());\n String body = field.getOptions().toString();\n ByteArrayEntity data = new ByteArrayEntity(body.getBytes(StandardCharsets.UTF_8));\n clientExecute(\"POST\", path, data, null, \"Error while creating field\");\n } finally {\n span.finish();\n }\n }", "@Test\n\tpublic void testFieldCRUDConfig() {\n\t\tfinal IntrospectionResult introspection = getIntrospection();\n\t\tfinal String entityInputTypeName = Entity6.class.getSimpleName() + schemaConfig.getInputTypeNameSuffix();\n\t\tfinal IntrospectionFullType entityInputType = getFullType(introspection, entityInputTypeName);\n\t\tfinal String entity6TypeName = Entity6.class.getSimpleName();\n\t\tfinal IntrospectionFullType entityType = getFullType(introspection, entity6TypeName);\n\t\t// Check field attr1 is not readable\n\t\tfinal Optional<IntrospectionTypeField> attr1Field = getOptionalField(entityType, \"attr1\");\n\t\tAssert.assertFalse(\n\t\t\t\tMessage.format(\"There shouldn't be a readable field [{}] in [{}].\", \"typeField\", entity6TypeName),\n\t\t\t\tattr1Field.isPresent());\n\t\t// Check field attr2 is not saveable\n\t\tfinal Optional<IntrospectionInputValue> attr2InputField = getOptionalInputField(entityInputType, \"attr2\");\n\t\tAssert.assertFalse(\n\t\t\t\tMessage.format(\"There shouldn't be a not saveable field [{}] in [{}].\", \"attr2\", entityInputTypeName),\n\t\t\t\tattr2InputField.isPresent());\n\t\t// Check field attr3 is not nullable\n\t\tassertInputField(entityInputType, \"attr3\", IntrospectionTypeKindEnum.SCALAR, Scalars.GraphQLString.getName());\n\t\t// Check field attr4 is not nullableForCreate\n\t\tassertInputField(entityInputType, \"attr4\", IntrospectionTypeKindEnum.SCALAR, Scalars.GraphQLString.getName());\n\t\t// Check field attr5 is not nullableForUpdate\n\t\tassertInputField(entityInputType, \"attr5\", IntrospectionTypeKindEnum.SCALAR, Scalars.GraphQLString.getName());\n\t\t// Check field attr6 is not filterable\n\t\tfinal String entityFilterTypeName = Entity6.class.getSimpleName()\n\t\t\t\t+ schemaConfig.getQueryGetListFilterEntityTypeNameSuffix();\n\t\tfinal IntrospectionFullType entityFilterInputType = getFullType(introspection, entityFilterTypeName);\n\t\tfinal Optional<IntrospectionInputValue> attr4IinputField = getOptionalInputField(entityFilterInputType,\n\t\t\t\t\"attr6\");\n\t\tAssert.assertFalse(\n\t\t\t\tMessage.format(\"There shouldn't be a filterable field [{}] in [{}].\", \"attr6\", entityFilterTypeName),\n\t\t\t\tattr4IinputField.isPresent());\n\t\t// Check field attr7 is mandatory\n\t\t// Check field attr8 is mandatory for update\n\t\t// Check field attr9 is mandatory for create\n\n\t\t// Check field attr10 is not readable for ROLE1\n\t\t// Check field attr10 is not readable for ROLE1\n\n\t\t// Check field attr11 is not saveable for ROLE1\n\n\t\t// Check field attr12 is not nullable for ROLE1\n\n\t\t// Check field attr13 is not nullable for update for ROLE1\n\n\t\t// Check field attr14 is not nullable for create for ROLE1\n\n\t\t// Check field attr15 is mandatory for ROLE1\n\n\t\t// Check field attr16 is mandatory for update for ROLE1\n\n\t\t// Check field attr17 is mandatory for create for ROLE1\n\n\t\t// Check field attr18 is not readable for ROLE1 and ROLE2\n\n\t\t// Check field attr19 is not readable for ROLE1 and ROLE2\n\n\t\t// Check field attr20 is not readable for ROLE1 and not saveable ROLE2\n\n\t\t// Check field attr21 is not readable and not nullable for ROLE1 and\n\t\t// ROLE2\n\n\t\t// Check field attr21 is readable and nullable for other roles than ROLE\n\t\t// 1 and ROLE2\n\n\t\t// Check field attr22 is readable for ROLE1\n\n\t\t// Check field attr22 is not readable for everybody except ROLE1\n\t}", "public void addField()\n {\n DefaultMutableTreeNode node = (DefaultMutableTreeNode) availableFieldsComp.getTree().getLastSelectedPathComponent();\n if (node == null || !node.isLeaf() || !(node.getUserObject() instanceof DataObjDataFieldWrapper) )\n {\n return; // not really a field that can be added, just empty or a string\n }\n\n Object obj = node.getUserObject();\n if (obj instanceof DataObjDataFieldWrapper)\n {\n DataObjDataFieldWrapper wrapper = (DataObjDataFieldWrapper) obj;\n String sep = sepText.getText();\n if (StringUtils.isNotEmpty(sep))\n {\n try\n {\n DefaultStyledDocument doc = (DefaultStyledDocument) formatEditor.getStyledDocument();\n if (doc.getLength() > 0)\n {\n doc.insertString(doc.getLength(), sep, null);\n }\n }\n catch (BadLocationException ble) {}\n \n }\n insertFieldIntoTextEditor(wrapper);\n setHasChanged(true);\n }\n }", "Builder addMainEntity(Thing.Builder value);", "public interface FieldPopulator\n{\n List<String> getCoreFields();\n\n List<String> getSupportedFields();\n\n String getUriTemplate();\n}", "void addFieldBinding( FieldBinding binding );", "@Override\n\tprotected void initializeFields() {\n\n\t}", "public void setEntityAddDate(String entityAddDate);", "@Test\n public void createCustomFieldTest() throws ApiException {\n CustomFieldDefinitionJsonBean body = null;\n FieldDetails response = api.createCustomField(body);\n\n // TODO: test validations\n }", "private void addField(JField jfield) {\n\n // Check for storage ID conflict; note we can get this legitimately when a field is declared only\n // in supertypes, where two of the supertypes are mutually unassignable from each other. In that\n // case, verify that the generated field is the same.\n JField other = this.jfields.get(jfield.storageId);\n if (other != null) {\n\n // If the descriptions differ, no need to give any more details\n if (!other.toString().equals(jfield.toString())) {\n throw new IllegalArgumentException(\"illegal duplicate use of storage ID \"\n + jfield.storageId + \" for both \" + other + \" and \" + jfield);\n }\n\n // Check whether the fields are exactly the same; if not, there is a conflict\n if (!other.isSameAs(jfield)) {\n throw new IllegalArgumentException(\"two or more methods defining \" + jfield + \" conflict: \"\n + other.getter + \" and \" + jfield.getter);\n }\n\n // OK - they are the same thing\n return;\n }\n this.jfields.put(jfield.storageId, jfield);\n\n // Check for name conflict\n if ((other = this.jfieldsByName.get(jfield.name)) != null)\n throw new IllegalArgumentException(\"illegal duplicate use of field name `\" + jfield.name + \"' in \" + this);\n this.jfieldsByName.put(jfield.name, jfield);\n jfield.parent = this;\n\n // Logging\n if (this.log.isTraceEnabled())\n this.log.trace(\"added {} to object type `{}'\", jfield, this.name);\n }", "protected void createFields()\n {\n createEffectiveLocalDtField();\n createDiscontinueLocalDtField();\n createScanTypeField();\n createContractNumberField();\n createContractTypeField();\n createProductTypeField();\n createStatusIndicatorField();\n createCivilMilitaryIndicatorField();\n createEntryUserIdField();\n createLastUpdateUserIdField();\n createLastUpdateTsField();\n }", "@Override\n public Field<?> createField(Container container, Object itemId,\n Object propertyId, Component uiContext) {\n Field<?> field = super.createField(container, itemId,\n propertyId, uiContext);\n\n // ...and just set them as immediate\n ((AbstractField<?>) field).setImmediate(true);\n\n // Also modify the width of TextFields\n if (field instanceof TextField)\n field.setWidth(\"100%\");\n field.setRequired(true);\n ((TextField) field).setInputPrompt(\"Введите назначение\");\n field.addStyleName(ValoTheme.LAYOUT_HORIZONTAL_WRAPPING);\n field.focus();\n\n return field;\n }", "private void setNewField(String fieldName) {\n setNewField(fieldName, DBCreator.STRING_TYPE, null);\n }", "@Mapper(componentModel = \"spring\", uses = {HopDongMapper.class})\npublic interface GhiNoMapper extends EntityMapper<GhiNoDTO, GhiNo> {\n\n @Mapping(source = \"hopDong.id\", target = \"hopDongId\")\n GhiNoDTO toDto(GhiNo ghiNo);\n\n @Mapping(source = \"hopDongId\", target = \"hopDong\")\n GhiNo toEntity(GhiNoDTO ghiNoDTO);\n\n default GhiNo fromId(Long id) {\n if (id == null) {\n return null;\n }\n GhiNo ghiNo = new GhiNo();\n ghiNo.setId(id);\n return ghiNo;\n }\n}", "private void handleIdFields(JFieldVar field, JsonNode propertyNode) {\n if (propertyNode.has(JpaConstants.IS_ID_COLUMN) && propertyNode.get(JpaConstants.IS_ID_COLUMN).asBoolean(true)) {\n field.annotate(Id.class);\n }\n\n if (propertyNode.has(JpaConstants.GENERATED_VALUE)) {\n JsonNode generatedValueNode = propertyNode.get(JpaConstants.GENERATED_VALUE);\n JAnnotationUse jAnnotationUse = field.annotate(GeneratedValue.class);\n if (generatedValueNode.has(JpaConstants.STRATEGY)) {\n jAnnotationUse.param(JpaConstants.STRATEGY, GenerationType.valueOf(generatedValueNode.get(JpaConstants.STRATEGY).asText()));\n }\n }\n }", "void addField(\n JavaSymbolName propertyName,\n JavaType propertyType,\n String columnName,\n String columnType,\n JavaType className\n );", "@Override\n\tpublic void save(List<Field> entity) {\n\t\t\n\t}", "@Test\n @Transactional\n void createCommonTableFieldWithExistingId() throws Exception {\n commonTableField.setId(1L);\n CommonTableFieldDTO commonTableFieldDTO = commonTableFieldMapper.toDto(commonTableField);\n\n int databaseSizeBeforeCreate = commonTableFieldRepository.findAll().size();\n\n // An entity with an existing ID cannot be created, so this API call must fail\n restCommonTableFieldMockMvc\n .perform(\n post(ENTITY_API_URL).contentType(MediaType.APPLICATION_JSON).content(TestUtil.convertObjectToJsonBytes(commonTableFieldDTO))\n )\n .andExpect(status().isBadRequest());\n\n // Validate the CommonTableField in the database\n List<CommonTableField> commonTableFieldList = commonTableFieldRepository.findAll();\n assertThat(commonTableFieldList).hasSize(databaseSizeBeforeCreate);\n }", "HxField createField(final String fieldType,\n final String fieldName);", "public static CommonTableField createUpdatedEntity() {\n CommonTableField commonTableField = new CommonTableField()\n .title(UPDATED_TITLE)\n .entityFieldName(UPDATED_ENTITY_FIELD_NAME)\n .type(UPDATED_TYPE)\n .tableColumnName(UPDATED_TABLE_COLUMN_NAME)\n .columnWidth(UPDATED_COLUMN_WIDTH)\n .order(UPDATED_ORDER)\n .editInList(UPDATED_EDIT_IN_LIST)\n .hideInList(UPDATED_HIDE_IN_LIST)\n .hideInForm(UPDATED_HIDE_IN_FORM)\n .enableFilter(UPDATED_ENABLE_FILTER)\n .validateRules(UPDATED_VALIDATE_RULES)\n .showInFilterTree(UPDATED_SHOW_IN_FILTER_TREE)\n .fixed(UPDATED_FIXED)\n .sortable(UPDATED_SORTABLE)\n .treeIndicator(UPDATED_TREE_INDICATOR)\n .clientReadOnly(UPDATED_CLIENT_READ_ONLY)\n .fieldValues(UPDATED_FIELD_VALUES)\n .notNull(UPDATED_NOT_NULL)\n .system(UPDATED_SYSTEM)\n .help(UPDATED_HELP)\n .fontColor(UPDATED_FONT_COLOR)\n .backgroundColor(UPDATED_BACKGROUND_COLOR)\n .nullHideInForm(UPDATED_NULL_HIDE_IN_FORM)\n .endUsed(UPDATED_END_USED)\n .options(UPDATED_OPTIONS);\n return commonTableField;\n }", "@Mapper(componentModel = \"spring\", uses = {})\npublic interface Record25HerfinancieeringMapper extends EntityMapper<Record25HerfinancieeringDTO, Record25Herfinancieering> {\n\n\n\n default Record25Herfinancieering fromId(Long id) {\n if (id == null) {\n return null;\n }\n Record25Herfinancieering record25Herfinancieering = new Record25Herfinancieering();\n record25Herfinancieering.setId(id);\n return record25Herfinancieering;\n }\n}", "protected synchronized void addFieldEntity(int fld_i, String entity) {\r\n // System.err.println(\"addFieldEntity(\" + fld_i + \",\\\"\" + entity + \"\\\")\");\r\n //\r\n // fld_i is used to indicate if this is a second iteration of addFieldEntity() to prevent\r\n // infinite recursion... not sure if it's correct... for example, what happens when\r\n // a post-processor transform converts a domain to an ip address - shouldn't that IP\r\n // address then be further decomposed?\r\n //\r\n if (fld_i != -1 && entity.equals(BundlesDT.NOTSET)) {\r\n ent_2_i.put(BundlesDT.NOTSET, -1); \r\n fld_dts.get(fld_i).add(BundlesDT.DT.NOTSET);\r\n\r\n //\r\n // Decompose a tag into it's basic elements\r\n //\r\n } else if (fld_i != -1 && fieldHeader(fld_i).equals(BundlesDT.TAGS)) {\r\n addFieldEntity(-1,entity); // Add the tag itself\r\n Iterator<String> it = Utils.tokenizeTags(entity).iterator();\r\n while (it.hasNext()) {\r\n String tag = it.next(); addFieldEntity(-1, tag);\r\n\tif (Utils.tagIsHierarchical(tag)) {\r\n String sep[] = Utils.tagDecomposeHierarchical(tag);\r\n\t for (int i=0;i<sep.length;i++) addFieldEntity(-1, sep[i]);\r\n\t} else if (Utils.tagIsTypeValue(tag)) {\r\n String sep[] = Utils.separateTypeValueTag(tag);\r\n\t tag_types.add(sep[0]);\r\n\t addFieldEntity(-1,sep[1]);\r\n\t}\r\n }\r\n\r\n //\r\n // Otherwise, keep track of the datatype to field correlation and run post\r\n // processors on the item to have those lookups handy.\r\n //\r\n } else {\r\n // System.err.println(\"determining datatype for \\\"\" + entity + \"\\\"\"); // DEBUG\r\n BundlesDT.DT datatype = BundlesDT.getEntityDataType(entity); if (dt_count_lu.containsKey(datatype) == false) dt_count_lu.put(datatype,0);\r\n // System.err.println(\"datatype for \\\"\" + entity + \"\\\" ==> \" + datatype); // DEBUG\r\n if (datatype != null) {\r\n// System.err.println(\"390:fld_i = \" + fld_i + \" (\" + fld_dts.containsKey(fld_i) + \")\"); // abc DEBUG\r\n// try { System.err.println(\" \" + fieldHeader(fld_i)); } catch (Throwable t) { } // abc DEBUG\r\n if (fld_i != -1) fld_dts.get(fld_i).add(datatype);\r\n if (ent_2_i.containsKey(entity) == false) {\r\n\t // Use special rules to set integer correspondance\r\n\t switch (datatype) {\r\n\t case IPv4: ent_2_i.put(entity, Utils.ipAddrToInt(entity)); break;\r\n\t case IPv4CIDR: ent_2_i.put(entity, Utils.ipAddrToInt((new StringTokenizer(entity, \"/\")).nextToken())); break;\r\n\t case INTEGER: ent_2_i.put(entity, Integer.parseInt(entity)); \r\n\t if (warn_on_float_conflict) checkForFloatConflict(fld_i);\r\n\t break;\r\n case FLOAT: ent_2_i.put(entity, Float.floatToIntBits(Float.parseFloat(entity))); \r\n\t if (warn_on_float_conflict) checkForFloatConflict(fld_i);\r\n break;\r\n\t case DOMAIN: ent_2_i.put(entity, Utils.ipAddrToInt(\"127.0.0.2\") + dt_count_lu.get(datatype)); // Put Domains In Unused IPv4 Space\r\n\t dt_count_lu.put(datatype, dt_count_lu.get(datatype) + 1);\r\n\t\t\t break;\r\n\r\n\t // Pray that these don't collide - otherwise x/y scatters will be off...\r\n\t default: ent_2_i.put(entity, dt_count_lu.get(datatype));\r\n\t dt_count_lu.put(datatype, dt_count_lu.get(datatype) + 1);\r\n\t\t\t break;\r\n }\r\n\t}\r\n\t// Map out the derivatives so that they will have values int the lookups\r\n\t// - Create the post processors\r\n\tif (post_processors == null) {\r\n\t String post_proc_strs[] = BundlesDT.listEnabledPostProcessors();\r\n\t post_processors = new PostProc[post_proc_strs.length];\r\n\t for (int i=0;i<post_processors.length;i++) post_processors[i] = BundlesDT.createPostProcessor(post_proc_strs[i], this);\r\n\t}\r\n\t// - Run all of the post procs against their correct types\r\n if (fld_i != -1) for (int i=0;i<post_processors.length;i++) {\r\n if (post_processors[i].type() == datatype) {\r\n\t String strs[] = post_processors[i].postProcess(entity);\r\n\t for (int j=0;j<strs.length;j++) {\r\n if (entity.equals(strs[j]) == false) addFieldEntity(-1, strs[j]);\r\n\t }\r\n }\r\n\t}\r\n } else if (ent_2_i.containsKey(entity) == false) {\r\n ent_2_i.put(entity, not_assoc.size());\r\n\tnot_assoc.add(entity);\r\n }\r\n }\r\n }", "void add(E entity) throws ValidationException, RepositoryException;", "private JSONObject addMetadataField(String field, String value, JSONObject metadataFields) throws JSONException{\n\t\tif (value != null && value != \"\"){\n\t\t\tmetadataFields.put(field, value);\n\t\t} return metadataFields;\n\t}", "@Label(\"Organization存储\")\npublic interface OrganizationRepository extends ModelQueryAndBatchUpdateRepository<Organization, EOrganization, Integer> {\n\n}", "public void init() {\n entityPropertyBuilders.add(new DefaultEntityComponentBuilder(environment));\n entityPropertyBuilders.add(new FilterTransientFieldComponentBuilder(environment));\n entityPropertyBuilders.add(new MakeAccessibleComponentBuilder(environment));\n entityPropertyBuilders.add(new PrimaryKeyComponentBuilder(environment));\n\n // Field meta property builders\n fieldPropertyBuilders.add(new FilterPrimaryKeyComponentBuilder(environment));\n fieldPropertyBuilders.add(new FilterTransientFieldComponentBuilder(environment));\n fieldPropertyBuilders.add(new MakeAccessibleComponentBuilder(environment));\n fieldPropertyBuilders.add(new TtlFieldComponentBuilder(environment));\n fieldPropertyBuilders.add(new CompositeParentComponentBuilder(environment));\n fieldPropertyBuilders.add(new CollectionFieldComponentBuilder(environment));\n fieldPropertyBuilders.add(new MapFieldComponentBuilder(environment));\n fieldPropertyBuilders.add(new SimpleFieldComponentBuilder(environment));\n }", "public void setUWCompany(entity.UWCompany value);", "@PrePersist()\r\n\tpublic void initEntity(){\r\n\t\tthis.name = WordUtils.capitalizeFully(this.name);\r\n\t}", "private void init() {\n FieldWrapper id = new FieldWrapper();\n id.fieldDescription = new HashMap<String, Object>();\n id.fieldDescription.put(\"fullName\", \"Id\");\n id.fieldDescription.put(\"type\", \"Text\");\n\n FieldWrapper name = new FieldWrapper();\n name.fieldDescription = new HashMap<String, Object>();\n name.fieldDescription.put(\"fullName\", \"Name\");\n\n FieldWrapper createdBy = new FieldWrapper();\n createdBy.fieldDescription = new HashMap<String, Object>();\n createdBy.fieldDescription.put(\"fullName\", \"CreatedBy\");\n createdBy.fieldDescription.put(\"type\", \"Lookup\");\n\n FieldWrapper lastModifiedBy = new FieldWrapper();\n lastModifiedBy.fieldDescription = new HashMap<String, Object>();\n lastModifiedBy.fieldDescription.put(\"fullName\", \"LastModifiedBy\");\n lastModifiedBy.fieldDescription.put(\"type\", \"Lookup\");\n\n FieldWrapper owner = new FieldWrapper();\n owner.fieldDescription = new HashMap<String, Object>();\n owner.fieldDescription.put(\"fullName\", \"Owner\");\n owner.fieldDescription.put(\"type\", \"Lookup\");\n\n fieldDescribe = new HashMap<String, FieldWrapper>();\n\n fieldDescribe.put((String) id.fieldDescription.get(\"fullName\"), id);\n fieldDescribe.put((String) name.fieldDescription.get(\"fullName\"), name);\n fieldDescribe.put((String) createdBy.fieldDescription.get(\"fullName\"), createdBy);\n fieldDescribe.put((String) lastModifiedBy.fieldDescription.get(\"fullName\"), lastModifiedBy);\n fieldDescribe.put((String) owner.fieldDescription.get(\"fullName\"), owner);\n }", "public ChangeFieldEf( EAdField<?> field,\r\n\t\t\tEAdOperation operation) {\r\n\t\tsuper();\r\n\t\tsetId(\"changeField\");\r\n\t\tthis.fields = new EAdListImpl<EAdField<?>>(EAdField.class);\r\n\t\tif (field != null)\r\n\t\t\tfields.add(field);\r\n\t\tthis.operation = operation;\r\n\t}", "private void prepareFields(Entity entity, boolean usePrimaryKey) \r\n\t\t\tthrows IllegalArgumentException, IllegalAccessException, InvocationTargetException{\r\n\t\tprimaryKeyTos = new ArrayList<FieldTO>();\r\n\t\tfieldTos = new ArrayList<FieldTO>();\r\n\t\tField[] fields = entity.getClass().getDeclaredFields();\t\r\n\t\t\r\n\t\t//trunk entity to persistence\r\n\t\tfor(int i=0; i<fields.length; i++){\r\n\t\t\tField reflectionField = fields[i];\r\n\t\t\tif(reflectionField!=null){\r\n\t\t\t\treflectionField.setAccessible(true);\r\n\t\t\t\tAnnotation annoField = reflectionField.getAnnotation(GPAField.class);\r\n\t\t\t\tAnnotation annoFieldPK = reflectionField.getAnnotation(GPAPrimaryKey.class);\r\n\t\t\t\tAnnotation annoFieldBean = reflectionField.getAnnotation(GPAFieldBean.class);\r\n\t\t\t\t/* \r\n\t\t\t\t ainda falta validar a chave primária do objeto\r\n\t\t\t\t por enquanto so esta prevendo pk usando sequence no banco\r\n\t\t\t\t objeto id sempre é gerado no banco por uma sequence\r\n\t\t\t\t*/\r\n\t\t\t\tif(annoFieldPK!=null && annoFieldPK instanceof GPAPrimaryKey){\r\n\t\t\t\t\tGPAPrimaryKey pk = (GPAPrimaryKey)annoFieldPK;\r\n\t\t\t\t\t//if(pk.ignore() == true){\r\n\t\t\t\t\t//\tcontinue;\r\n\t\t\t\t\t//}else{\r\n\t\t\t\t\tString name = pk.name();\r\n\t\t\t\t\tObject value = reflectionField.get(entity);\r\n\t\t\t\t\tfieldTos.add(new FieldTO(name, value));\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t\t//}\r\n\t\t\t\t}\r\n\t\t\t\tif(annoField!=null && annoField instanceof GPAField){\r\n\t\t\t\t\tGPAField field = (GPAField)annoField;\r\n\t\t\t\t\tString name = field.name();\r\n\t\t\t\t\tObject value = reflectionField.get(entity);\r\n\t\t\t\t\tfieldTos.add(new FieldTO(name, value));\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\tif(annoFieldBean!=null && annoFieldBean instanceof GPAFieldBean){\r\n\t\t\t\t\tGPAFieldBean field = (GPAFieldBean)annoFieldBean;\r\n\t\t\t\t\tString name = field.name();\r\n\t\t\t\t\tObject value = reflectionField.get(entity);\r\n\t\t\t\t\tfieldTos.add(new FieldTO(name, value));\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@Mapper(uses ={DateComponent.class}, componentModel = \"spring\")\npublic interface CreateCodeMapper extends EntityMapper<CreateCodeDto , Code> {\n}", "public void addEntityMetadata() throws Exception {\n\n\t\tEntityMetadata entity = new EntityMetadata(entityType, false);\n\t\tentity.setRepositoryInstance(\"OperationalDB\");\n\t\tentity.setProviderType(\"RDBMSDataProvider\");\n\n\t\tMap<String, List<String>> providerParams = new HashMap<String, List<String>>();\n\t\tproviderParams.put(\"table\",\n\t\t\t\tArrays.asList(new String[] { \"APPLICATION_OBJECT\" }));\n\t\tproviderParams.put(\"id_column\", Arrays.asList(new String[] { \"ID\" }));\n\t\tproviderParams.put(\"id_type\", Arrays.asList(new String[] { \"guid\" }));\n\t\tproviderParams.put(\"optimistic_locking\",\n\t\t\t\tArrays.asList(new String[] { \"false\" }));\n\t\tproviderParams.put(\"flex_searchable_string_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"I_VC\" }));\n\t\tproviderParams.put(\"flex_non_searchable_string_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"U_VC\" }));\n\t\tproviderParams.put(\"flex_searchable_date_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"I_DT\" }));\n\t\tproviderParams.put(\"flex_non_searchable_date_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"U_DT\" }));\n\t\tproviderParams.put(\"flex_searchable_number_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"I_NUM\" }));\n\t\tproviderParams.put(\"flex_non_searchable_number_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"U_NUM\" }));\n\t\tproviderParams.put(\"flex_blob_prefix\",\n\t\t\t\tArrays.asList(new String[] { \"U_BLOB\" }));\n\n\t\tentity.setProviderParameters(providerParams);\n\t\tentity.setContainer(false);\n\n\t\tHashMap<String, Map<String, String>> metadataAttachments = new HashMap<String, Map<String, String>>();\n\t\tMap<String, String> prop = new HashMap<String, String>();\n\t\tprop.put(\"isEncrypted\", \"false\");\n\t\tmetadataAttachments.put(\"properties\", prop);\n\t\tAttributeDefinition attrDef = null;\n\t\tFieldDefinition fieldDef = null;\n\n\t\t// parameters: name, type, description, isRequired, isSearchable, isMLS,\n\t\t// defaultValue, groupName, metadataAttachments\n\n\t\tattrDef = new AttributeDefinition(\"givenName\", \"string\", null, true,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\t\n\t\tattrDef = new AttributeDefinition(\"lastName\", \"string\", null, true,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\t\n\t\tattrDef = new AttributeDefinition(\"email\", \"string\", null, true,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\t\n\t\tattrDef = new AttributeDefinition(\"startDate\", \"date\", null, false,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\t\n\t\tattrDef = new AttributeDefinition(\"endDate\", \"date\", null, false,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\t\n\t\tattrDef = new AttributeDefinition(\"employeeNo\", \"number\", null, true,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\n\n\t\tattrDef = new AttributeDefinition(\"__UID__\", \"string\", null, true,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\tfieldDef = new FieldDefinition(\"AO_UID\", \"string\",true);\n\t\tentity.addField(fieldDef);\n\t\tentity.addAttributeMapping(\"__UID__\", \"AO_UID\");\n\t\t\n\t\tattrDef = new AttributeDefinition(\"__NAME__\", \"string\", null, true,\n\t\t\t\ttrue, false, null, \"Basic\", metadataAttachments);\n\t\tentity.addAttribute(attrDef);\n\t\tfieldDef = new FieldDefinition(\"AO_NAME\", \"string\",true);\n\t\tentity.addField(fieldDef);\n\t\tentity.addAttributeMapping(\"__NAME__\", \"AO_NAME\");\n\n\t\t/*\n\t\t * attrDef = new AttributeDefinition(childEntityType, childEntityType,\n\t\t * null, false, true, false, null, \"Basic\", metadataAttachments);\n\t\t * entity.addChildEntityAttribute(attrDef);\n\t\t */\n\n\t\tString xmlString = getStringfromDoc(entity);\n\n\t\ttry {\n\t\t\tmgrConfig.createEntityMetadata(entity);\n\t\t\tSystem.out.println(\"Created entity type: \" + entityType);\n\n\t\t} catch (Exception e) {\n\t\t\t//fail(\"Unexpected exception: \" + getStackTrace(e));\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@ProviderType\npublic interface EmployeeModel extends BaseModel<Employee> {\n\n\t/*\n\t * NOTE FOR DEVELOPERS:\n\t *\n\t * Never modify or reference this interface directly. All methods that expect a employee model instance should use the {@link Employee} interface instead.\n\t */\n\n\t/**\n\t * Returns the primary key of this employee.\n\t *\n\t * @return the primary key of this employee\n\t */\n\tpublic long getPrimaryKey();\n\n\t/**\n\t * Sets the primary key of this employee.\n\t *\n\t * @param primaryKey the primary key of this employee\n\t */\n\tpublic void setPrimaryKey(long primaryKey);\n\n\t/**\n\t * Returns the uuid of this employee.\n\t *\n\t * @return the uuid of this employee\n\t */\n\t@AutoEscape\n\tpublic String getUuid();\n\n\t/**\n\t * Sets the uuid of this employee.\n\t *\n\t * @param uuid the uuid of this employee\n\t */\n\tpublic void setUuid(String uuid);\n\n\t/**\n\t * Returns the employee ID of this employee.\n\t *\n\t * @return the employee ID of this employee\n\t */\n\tpublic long getEmployeeId();\n\n\t/**\n\t * Sets the employee ID of this employee.\n\t *\n\t * @param employeeId the employee ID of this employee\n\t */\n\tpublic void setEmployeeId(long employeeId);\n\n\t/**\n\t * Returns the first name of this employee.\n\t *\n\t * @return the first name of this employee\n\t */\n\t@AutoEscape\n\tpublic String getFirstName();\n\n\t/**\n\t * Sets the first name of this employee.\n\t *\n\t * @param firstName the first name of this employee\n\t */\n\tpublic void setFirstName(String firstName);\n\n\t/**\n\t * Returns the last name of this employee.\n\t *\n\t * @return the last name of this employee\n\t */\n\t@AutoEscape\n\tpublic String getLastName();\n\n\t/**\n\t * Sets the last name of this employee.\n\t *\n\t * @param lastName the last name of this employee\n\t */\n\tpublic void setLastName(String lastName);\n\n\t/**\n\t * Returns the middle name of this employee.\n\t *\n\t * @return the middle name of this employee\n\t */\n\t@AutoEscape\n\tpublic String getMiddleName();\n\n\t/**\n\t * Sets the middle name of this employee.\n\t *\n\t * @param middleName the middle name of this employee\n\t */\n\tpublic void setMiddleName(String middleName);\n\n\t/**\n\t * Returns the birth date of this employee.\n\t *\n\t * @return the birth date of this employee\n\t */\n\tpublic Date getBirthDate();\n\n\t/**\n\t * Sets the birth date of this employee.\n\t *\n\t * @param birthDate the birth date of this employee\n\t */\n\tpublic void setBirthDate(Date birthDate);\n\n\t/**\n\t * Returns the post ID of this employee.\n\t *\n\t * @return the post ID of this employee\n\t */\n\tpublic long getPostId();\n\n\t/**\n\t * Sets the post ID of this employee.\n\t *\n\t * @param postId the post ID of this employee\n\t */\n\tpublic void setPostId(long postId);\n\n\t/**\n\t * Returns the sex of this employee.\n\t *\n\t * @return the sex of this employee\n\t */\n\tpublic Boolean getSex();\n\n\t/**\n\t * Sets the sex of this employee.\n\t *\n\t * @param sex the sex of this employee\n\t */\n\tpublic void setSex(Boolean sex);\n\n}", "public void createFieldEditors()\n\t{\n\t}", "private void addSetter(JavaObject object, JavaModelBeanField field) {\n\t\tIJavaCodeLines arguments = getArguments(field, object.getImports());\n\t\tSetterMethod method = new SetterMethod(field.getName(), field.getType(), arguments, objectType);\n\t\tobject.addBlock(method);\n\t}", "public interface GradeMapper {\n @Select(\"select * from grade\")\n public List<Grade> getByGradeNm();\n\n @Insert(\"insert into grade(grade_nm,teacher_id) values(#{gradeNm},#{teacherId})\")\n @Options(useGeneratedKeys=true,keyColumn=\"id\",keyProperty=\"id\")//设置id自增长\n public void save(Grade grade);\n}", "@Generated(\"Speedment\")\npublic interface Employee extends Entity<Employee> {\n \n /**\n * This Field corresponds to the {@link Employee} field that can be obtained\n * using the {@link Employee#getId()} method.\n */\n public final static ComparableField<Employee, Short> ID = new ComparableFieldImpl<>(\"id\", Employee::getId, Employee::setId);\n /**\n * This Field corresponds to the {@link Employee} field that can be obtained\n * using the {@link Employee#getFirstname()} method.\n */\n public final static StringField<Employee> FIRSTNAME = new StringFieldImpl<>(\"firstname\", o -> o.getFirstname().orElse(null), Employee::setFirstname);\n /**\n * This Field corresponds to the {@link Employee} field that can be obtained\n * using the {@link Employee#getLastname()} method.\n */\n public final static StringField<Employee> LASTNAME = new StringFieldImpl<>(\"lastname\", o -> o.getLastname().orElse(null), Employee::setLastname);\n /**\n * This Field corresponds to the {@link Employee} field that can be obtained\n * using the {@link Employee#getBirthdate()} method.\n */\n public final static ComparableField<Employee, Date> BIRTHDATE = new ComparableFieldImpl<>(\"birthdate\", o -> o.getBirthdate().orElse(null), Employee::setBirthdate);\n \n /**\n * Returns the id of this Employee. The id field corresponds to the database\n * column db0.sql696688.employee.id.\n * \n * @return the id of this Employee\n */\n Short getId();\n \n /**\n * Returns the firstname of this Employee. The firstname field corresponds to\n * the database column db0.sql696688.employee.firstname.\n * \n * @return the firstname of this Employee\n */\n Optional<String> getFirstname();\n \n /**\n * Returns the lastname of this Employee. The lastname field corresponds to\n * the database column db0.sql696688.employee.lastname.\n * \n * @return the lastname of this Employee\n */\n Optional<String> getLastname();\n \n /**\n * Returns the birthdate of this Employee. The birthdate field corresponds to\n * the database column db0.sql696688.employee.birthdate.\n * \n * @return the birthdate of this Employee\n */\n Optional<Date> getBirthdate();\n \n /**\n * Sets the id of this Employee. The id field corresponds to the database\n * column db0.sql696688.employee.id.\n * \n * @param id to set of this Employee\n * @return this Employee instance\n */\n Employee setId(Short id);\n \n /**\n * Sets the firstname of this Employee. The firstname field corresponds to\n * the database column db0.sql696688.employee.firstname.\n * \n * @param firstname to set of this Employee\n * @return this Employee instance\n */\n Employee setFirstname(String firstname);\n \n /**\n * Sets the lastname of this Employee. The lastname field corresponds to the\n * database column db0.sql696688.employee.lastname.\n * \n * @param lastname to set of this Employee\n * @return this Employee instance\n */\n Employee setLastname(String lastname);\n \n /**\n * Sets the birthdate of this Employee. The birthdate field corresponds to\n * the database column db0.sql696688.employee.birthdate.\n * \n * @param birthdate to set of this Employee\n * @return this Employee instance\n */\n Employee setBirthdate(Date birthdate);\n \n /**\n * Creates and returns a {@link Stream} of all {@link Borrowed} Entities that\n * references this Entity by the foreign key field that can be obtained using\n * {@link Borrowed#getEmployeeid()}. The order of the Entities are undefined\n * and may change from time to time.\n * <p>\n * Using this method, you may \"walk the graph\" and jump directly between\n * referencing Entities without using {@code JOIN}s.<p> N.B. The current\n * implementation supports lazy-loading of the referencing Entities.\n * \n * @return a {@link Stream} of all {@link Borrowed} Entities that references\n * this Entity by the foreign key field that can be obtained using {@link\n * Borrowed#getEmployeeid()}\n */\n Stream<Borrowed> findBorrowedsByEmployeeid();\n \n /**\n * Creates and returns a <em>distinct</em> {@link Stream} of all {@link\n * Borrowed} Entities that references this Entity by a foreign key. The order\n * of the Entities are undefined and may change from time to time.\n * <p>\n * Note that the Stream is <em>distinct</em>, meaning that referencing\n * Entities will only appear once in the Stream, even though they may\n * reference this Entity by several columns.\n * <p>\n * Using this method, you may \"walk the graph\" and jump directly between\n * referencing Entities without using {@code JOIN}s.<p> N.B. The current\n * implementation supports lazy-loading of the referencing Entities.\n * \n * @return a <em>distinct</em> {@link Stream} of all {@link Borrowed}\n * Entities that references this Entity by a foreign key\n */\n Stream<Borrowed> findBorroweds();\n}", "public interface FieldDAO extends CrudRepository<Field, Integer> {\n\n}", "protected Component constructCustomField(EntityModel<U> entityModel, AttributeModel attributeModel) {\n // override in subclasses\n return null;\n }", "public EsIndexPropertyBuilder addField(String fieldName, AllowableFieldEntry field) {\n this.fieldMap.put(fieldName, field);\n return this;\n }", "public AttributeField(Field field){\n this.field = field;\n }", "public void testFields()\n {\n TestUtils.testNoAddedFields(getTestedClass(), null);\n }", "public static void insertField(Field field) {\n\t\t\n\t\ttry{\n Connection connection = getConnection();\n\n\n try {\n PreparedStatement statement = connection.prepareStatement(\"INSERT INTO template_fields (field_id, form_name, field_name, field_value, field_type, field_mandatory)\"\n \t\t\t\t\t\t\t\t\t\t\t\t\t\t+ \" VALUES ('\"+field.getTheId()+\"', '\"+field.getTheFormName()+\"', '\"+field.getTheName()+\"', 'Here is text 424', '\"+field.getTheType()+\"', '\"+field.getTheMandatory()+\"')\"); \n statement.executeUpdate();\n\n statement.close();\n connection.close();\n } catch (SQLException ex) {\n \t//23 stands for duplicate / unique entries in db, so listen for that error and update db if so\n \tif (ex.getSQLState().startsWith(\"23\")) {\n System.out.println(\"Duplicate\");\n PreparedStatement statement = connection.prepareStatement(\"UPDATE template_fields SET \"\n \t\t+ \"field_id = '\"+field.getTheId()+\"', field_name = '\"+field.getTheName()+\"',\"\n \t\t+ \" field_value = 'here text', field_type = '\"+field.getTheType()+\"'\"\n \t\t\t\t+ \"WHERE field_id = '\"+field.getTheId()+\"' \"); \n\t\t\t\t\tstatement.executeUpdate();\n\t\t\t\t\t\n\t\t\t\t\tstatement.close();\n\t\t\t\t\tconnection.close();\n \t}\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n\t}", "@Override\r\n protected void addAdditionalFormFields(AssayDomainIdForm domainIdForm, DataRegion rgn)\r\n {\n rgn.addHiddenFormField(\"providerName\", domainIdForm.getProviderName());\r\n }", "@Mapper(componentModel = \"spring\", uses = {})\npublic interface ProgrammePropMapper extends EntityMapper<ProgrammePropDTO, ProgrammeProp> {\n\n\n\n default ProgrammeProp fromId(Long id) {\n if (id == null) {\n return null;\n }\n ProgrammeProp programmeProp = new ProgrammeProp();\n programmeProp.setId(id);\n return programmeProp;\n }\n}", "void addEntity(IViewEntity entity);", "public void addField(String fieldName, Object fieldValue, boolean forceAdd) {\n if (forceAdd\n || (this.beanMap.containsKey(fieldName)\n && this.beanMap.get(fieldName) == null && !this.deferredDescriptions\n .containsKey(fieldName))) {\n this.beanMap.put(fieldName, fieldValue);\n }\n }", "ObjectField createObjectField();", "private void createListFields(SGTable table) {\n\t\t\t\n\t\t ListGridField LIST_COLUMN_FIELD = new ListGridField(\"FIELD_ID\", Util.TI18N.LIST_COLUMN_FIELD(), 145); \n\t\t LIST_COLUMN_FIELD.setCanEdit(false);\n\t\t ListGridField LIST_COLUMN_CNAME = new ListGridField(\"FIELD_CNAME\", Util.TI18N.LIST_COLUMN_CNAME(), 105); \n\t\t LIST_COLUMN_CNAME.setCanEdit(false);\n\t\t ListGridField LIST_COLUMN_WIDTH = new ListGridField(\"FIELD_WIDTH\",Util.TI18N.LIST_COLUMN_WIDTH(),40); \n\t\t ListGridField LIST_SHOW_FLAG = new ListGridField(\"SHOW_FLAG\",Util.TI18N.LIST_SHOW_FLAG(),50);\n\t\t LIST_SHOW_FLAG.setType(ListGridFieldType.BOOLEAN);\n\t\t ListGridField MODIFY_FLAG=new ListGridField(\"MODIFY_FLAG\",\"\",50);\n\t\t MODIFY_FLAG.setType(ListGridFieldType.BOOLEAN);\n\t\t MODIFY_FLAG.setHidden(true);\n\t\t table.setFields(LIST_COLUMN_FIELD, LIST_COLUMN_CNAME, LIST_COLUMN_WIDTH, LIST_SHOW_FLAG,MODIFY_FLAG);\n\t}", "@Override\n\tpublic void entityAdded(Entity entity)\n\t{\n\t\t\n\t}", "public JsonField() {\n }", "public void buildMetaFields() {\n for (AtreusMetaEntity metaEntity : environment.getMetaManager().getEntities()) {\n Class<?> entityType = metaEntity.getEntityType();\n\n // Build the fields\n for (Field field : entityType.getDeclaredFields()) {\n\n // Execute the meta property builder rule bindValue\n for (BaseEntityMetaComponentBuilder propertyBuilder : fieldPropertyBuilders) {\n if (!propertyBuilder.acceptsField((MetaEntityImpl) metaEntity, field)) {\n continue;\n }\n propertyBuilder.validateField((MetaEntityImpl) metaEntity, field);\n if (propertyBuilder.handleField((MetaEntityImpl) metaEntity, field)) {\n break;\n }\n }\n\n }\n }\n }", "@Test(enabled = false) //ExSkip\n public void insertMergeField(final DocumentBuilder builder, final String fieldName, final String textBefore, final String textAfter) throws Exception {\n FieldMergeField field = (FieldMergeField) builder.insertField(FieldType.FIELD_MERGE_FIELD, true);\n field.setFieldName(fieldName);\n field.setTextBefore(textBefore);\n field.setTextAfter(textAfter);\n }", "protected abstract void createFieldEditors();", "public BaseField setupField(int iFieldSeq)\n {\n BaseField field = null;\n if (iFieldSeq == 0)\n field = new HotelField(this, PRODUCT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 1)\n // field = new DateField(this, START_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 2)\n // field = new DateField(this, END_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 3)\n // field = new StringField(this, DESCRIPTION, 10, null, null);\n //if (iFieldSeq == 4)\n // field = new CityField(this, CITY_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 5)\n // field = new CityField(this, TO_CITY_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 6)\n // field = new ContinentField(this, CONTINENT_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 7)\n // field = new RegionField(this, REGION_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 8)\n // field = new CountryField(this, COUNTRY_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 9)\n // field = new StateField(this, STATE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 10)\n // field = new VendorField(this, VENDOR_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 11)\n field = new HotelRateField(this, RATE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 12)\n field = new HotelClassField(this, CLASS_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 13)\n // field = new DateField(this, DETAIL_DATE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 14)\n // field = new ShortField(this, PAX, Constants.DEFAULT_FIELD_LENGTH, null, new Short((short)2));\n //if (iFieldSeq == 15)\n // field = new HotelScreenRecord_LastChanged(this, LAST_CHANGED, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 16)\n // field = new BooleanField(this, REMOTE_QUERY_ENABLED, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 17)\n // field = new ShortField(this, BLOCKED, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 18)\n // field = new ShortField(this, OVERSELL, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 19)\n // field = new BooleanField(this, CLOSED, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 20)\n // field = new BooleanField(this, DELETE, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 21)\n // field = new BooleanField(this, READ_ONLY, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 22)\n // field = new ProductSearchTypeField(this, PRODUCT_SEARCH_TYPE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n //if (iFieldSeq == 23)\n // field = new ProductTypeField(this, PRODUCT_TYPE_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (iFieldSeq == 24)\n field = new PaxCategorySelect(this, PAX_CATEGORY_ID, Constants.DEFAULT_FIELD_LENGTH, null, null);\n if (field == null)\n field = super.setupField(iFieldSeq);\n return field;\n }", "@PostConstruct\n protected void initNewEntity() {\n setNewEntity(getService().create());\n }", "private void exposeExposedFieldsToJs() {\n if (fieldsWithNameExposed.isEmpty()) {\n return;\n }\n\n MethodSpec.Builder exposeFieldMethod = MethodSpec\n .methodBuilder(\"vg$ef\")\n .addAnnotation(JsMethod.class);\n\n fieldsWithNameExposed\n .forEach(field -> exposeFieldMethod\n .addStatement(\"this.$L = $T.v()\",\n field.getName(),\n FieldsExposer.class)\n );\n\n exposeFieldMethod\n .addStatement(\n \"$T.e($L)\",\n FieldsExposer.class,\n fieldsWithNameExposed.stream()\n .map(ExposedField::getName)\n .collect(Collectors.joining(\",\"))\n );\n componentExposedTypeBuilder.addMethod(exposeFieldMethod.build());\n }", "public void addField (String label, String field) {\n addField (label, field, \"\");\n }", "@Override\r\n protected void buildEditingFields() {\r\n LanguageCodeComboBox languageCodeComboBox = new LanguageCodeComboBox();\r\n languageCodeComboBox.setAllowBlank(false);\r\n languageCodeComboBox.setToolTip(\"The translation language's code is required. It can not be null. Please select one or delete the row.\");\r\n BoundedTextField tf = new BoundedTextField();\r\n tf.setMaxLength(256);\r\n tf.setToolTip(\"This is the translation corresponding to the selected language. This field is required. It can not be null.\");\r\n tf.setAllowBlank(false);\r\n addColumnEditorConfig(languageCodeColumnConfig, languageCodeComboBox);\r\n addColumnEditorConfig(titleColumnConfig, tf);\r\n }", "@Mapper(componentModel = \"spring\", uses = {})\npublic interface OrganisationTypeMapper extends EntityMapper<OrganisationTypeDTO, OrganisationType> {\n\n\n @Mapping(target = \"organisations\", ignore = true)\n OrganisationType toEntity(OrganisationTypeDTO organisationTypeDTO);\n\n default OrganisationType fromId(Long id) {\n if (id == null) {\n return null;\n }\n OrganisationType organisationType = new OrganisationType();\n organisationType.setId(id);\n return organisationType;\n }\n}", "public void add() {\n preAdd();\n EntitySelect<T> entitySelect = getEntitySelect();\n entitySelect.setMultiSelect(true);\n getEntitySelect().open();\n }", "@Override\n\tprotected CoreEntity createNewEntity() {\n\t\treturn null;\n\t}", "@Data\npublic class <XXX>ModelInfo extends AbstractModelInfo {\n private <Field1DataType> <Field1>;\n /**\n * @return an corresponding {@link <XXX>Transformer} for this model info\n */\n @Override\n public Transformer getTransformer() {\n return new <XXX>Transformer(this);\n }", "Ack editProperty(ProjectEntity entity, String propertyTypeName, JsonNode data);", "@Mapper(componentModel = \"spring\", uses = {})\npublic interface EmploymentTypeMapper extends EntityMapper<EmploymentTypeDTO, EmploymentType> {\n\n\n @Mapping(target = \"people\", ignore = true)\n EmploymentType toEntity(EmploymentTypeDTO employmentTypeDTO);\n\n default EmploymentType fromId(Long id) {\n if (id == null) {\n return null;\n }\n EmploymentType employmentType = new EmploymentType();\n employmentType.setId(id);\n return employmentType;\n }\n}", "EntityBeanDescriptor createEntityBeanDescriptor();", "private void addFields(StringBuilder xml) {\n\t\tfor(FieldRequest field : fields) {\n\t\t\tstartElementWithAttributes(xml, \"Delta\");\n\t\t\taddStringAttribute(xml, \"id\", field.getId());\n\t\t\taddBooleanAttribute(xml, \"masked\", field.getMasked());\n\t\t\tcloseSimpleElementWithAttributes(xml);\n\t\t}\n\t}", "private void createUserListFields(SGTable table) {\n\t\t ListGridField LIST_COLUMN_ID = new ListGridField(\"FIELD_ID\", Util.TI18N.LIST_COLUMN_FIELD(), 145);\n\t\t LIST_COLUMN_ID.setCanEdit(false);\n\t\t ListGridField LIST_COLUMN_CNAME = new ListGridField(\"FIELD_CNAME\", Util.TI18N.LIST_COLUMN_CNAME(), 105);\n\t\t LIST_COLUMN_CNAME.setCanEdit(false);\n\t\t ListGridField COLUMN_WIDTH = new ListGridField(\"FIELD_WIDTH\", Util.TI18N.LIST_COLUMN_WIDTH(), 40);\n\t\t LIST_COLUMN_CNAME.setCanEdit(false);\n\t\t table.setFields(LIST_COLUMN_ID, LIST_COLUMN_CNAME, COLUMN_WIDTH);\n }", "@attribute(value = \"\", required = true)\t\r\n\tpublic void addCharField(CharField f) {\r\n\t\tfields.put(\"\" + fieldCount++, f);\r\n\t}", "Builder addMainEntityOfPage(String value);", "@Override\n protected void createEntity() {\n ProjectStatus status = createProjectStatus(5);\n setEntity(status);\n }", "public interface CommonEntityMethod extends ToJson,GetFieldValue,SetFieldValue{\n}", "public static void providePOJOsFieldAndGetterSetter(\n final FileWriterWrapper writer,\n final Field field)\n throws IOException {\n String javaType = mapType(field.getOriginalDataType());\n\n writer.write(\" private \" + javaType + \" \" + field.getJavaName()\n + \" = null;\\n\\n\");\n\n writer.write(\" public \" + javaType + \" \" + field.getGetterName()\n + \"() {\\n\");\n writer.write(\" return \" + field.getJavaName() + \";\\n\");\n writer.write(\" }\\n\\n\");\n\n writer.write(\" public void \" + field.getSetterName() + \"(\"\n + javaType + \" newValue) {\\n\");\n writer.write(\" \" + field.getJavaName() + \" = newValue\"\n + \";\\n\");\n writer.write(\" }\\n\\n\");\n }", "@ProviderType\npublic interface ItemShopBasketModel extends BaseModel<ItemShopBasket> {\n\n\t/*\n\t * NOTE FOR DEVELOPERS:\n\t *\n\t * Never modify or reference this interface directly. All methods that expect a item shop basket model instance should use the {@link ItemShopBasket} interface instead.\n\t */\n\n\t/**\n\t * Returns the primary key of this item shop basket.\n\t *\n\t * @return the primary key of this item shop basket\n\t */\n\tpublic long getPrimaryKey();\n\n\t/**\n\t * Sets the primary key of this item shop basket.\n\t *\n\t * @param primaryKey the primary key of this item shop basket\n\t */\n\tpublic void setPrimaryKey(long primaryKey);\n\n\t/**\n\t * Returns the item shop basket ID of this item shop basket.\n\t *\n\t * @return the item shop basket ID of this item shop basket\n\t */\n\tpublic long getItemShopBasketId();\n\n\t/**\n\t * Sets the item shop basket ID of this item shop basket.\n\t *\n\t * @param itemShopBasketId the item shop basket ID of this item shop basket\n\t */\n\tpublic void setItemShopBasketId(long itemShopBasketId);\n\n\t/**\n\t * Returns the shop basket ID of this item shop basket.\n\t *\n\t * @return the shop basket ID of this item shop basket\n\t */\n\tpublic long getShopBasketId();\n\n\t/**\n\t * Sets the shop basket ID of this item shop basket.\n\t *\n\t * @param shopBasketId the shop basket ID of this item shop basket\n\t */\n\tpublic void setShopBasketId(long shopBasketId);\n\n\t/**\n\t * Returns the name of this item shop basket.\n\t *\n\t * @return the name of this item shop basket\n\t */\n\t@AutoEscape\n\tpublic String getName();\n\n\t/**\n\t * Sets the name of this item shop basket.\n\t *\n\t * @param name the name of this item shop basket\n\t */\n\tpublic void setName(String name);\n\n\t/**\n\t * Returns the imported of this item shop basket.\n\t *\n\t * @return the imported of this item shop basket\n\t */\n\tpublic boolean getImported();\n\n\t/**\n\t * Returns <code>true</code> if this item shop basket is imported.\n\t *\n\t * @return <code>true</code> if this item shop basket is imported; <code>false</code> otherwise\n\t */\n\tpublic boolean isImported();\n\n\t/**\n\t * Sets whether this item shop basket is imported.\n\t *\n\t * @param imported the imported of this item shop basket\n\t */\n\tpublic void setImported(boolean imported);\n\n\t/**\n\t * Returns the exempt of this item shop basket.\n\t *\n\t * @return the exempt of this item shop basket\n\t */\n\tpublic boolean getExempt();\n\n\t/**\n\t * Returns <code>true</code> if this item shop basket is exempt.\n\t *\n\t * @return <code>true</code> if this item shop basket is exempt; <code>false</code> otherwise\n\t */\n\tpublic boolean isExempt();\n\n\t/**\n\t * Sets whether this item shop basket is exempt.\n\t *\n\t * @param exempt the exempt of this item shop basket\n\t */\n\tpublic void setExempt(boolean exempt);\n\n\t/**\n\t * Returns the price of this item shop basket.\n\t *\n\t * @return the price of this item shop basket\n\t */\n\tpublic Double getPrice();\n\n\t/**\n\t * Sets the price of this item shop basket.\n\t *\n\t * @param price the price of this item shop basket\n\t */\n\tpublic void setPrice(Double price);\n\n\t/**\n\t * Returns the active of this item shop basket.\n\t *\n\t * @return the active of this item shop basket\n\t */\n\tpublic boolean getActive();\n\n\t/**\n\t * Returns <code>true</code> if this item shop basket is active.\n\t *\n\t * @return <code>true</code> if this item shop basket is active; <code>false</code> otherwise\n\t */\n\tpublic boolean isActive();\n\n\t/**\n\t * Sets whether this item shop basket is active.\n\t *\n\t * @param active the active of this item shop basket\n\t */\n\tpublic void setActive(boolean active);\n\n\t/**\n\t * Returns the amount of this item shop basket.\n\t *\n\t * @return the amount of this item shop basket\n\t */\n\tpublic long getAmount();\n\n\t/**\n\t * Sets the amount of this item shop basket.\n\t *\n\t * @param amount the amount of this item shop basket\n\t */\n\tpublic void setAmount(long amount);\n\n\t/**\n\t * Returns the tax of this item shop basket.\n\t *\n\t * @return the tax of this item shop basket\n\t */\n\tpublic Double getTax();\n\n\t/**\n\t * Sets the tax of this item shop basket.\n\t *\n\t * @param tax the tax of this item shop basket\n\t */\n\tpublic void setTax(Double tax);\n\n\t/**\n\t * Returns the total of this item shop basket.\n\t *\n\t * @return the total of this item shop basket\n\t */\n\tpublic Double getTotal();\n\n\t/**\n\t * Sets the total of this item shop basket.\n\t *\n\t * @param total the total of this item shop basket\n\t */\n\tpublic void setTotal(Double total);\n\n}", "@Override\n public boolean isDisableMetadataField() {\n return false;\n }", "@SuppressWarnings(\"all\")\n public AField create(IAPresenter source, Field reflectedJavaField, AEntity entityBean) {\n AField algosField = null;\n List items = null;\n boolean nuovaEntity = text.isEmpty(entityBean.id);\n EAFieldType type = annotation.getFormType(reflectedJavaField);\n String caption = annotation.getFormFieldName(reflectedJavaField);\n AIField fieldAnnotation = annotation.getAIField(reflectedJavaField);\n String width = annotation.getWidthEM(reflectedJavaField);\n boolean required = annotation.isRequired(reflectedJavaField);\n boolean focus = annotation.isFocus(reflectedJavaField);\n boolean enabled = annotation.isFieldEnabled(reflectedJavaField, nuovaEntity);\n Class targetClazz = annotation.getComboClass(reflectedJavaField);\n// boolean visible = annotation.isFieldVisibile(reflectedJavaField, nuovaEntity);\n Object bean;\n\n //@todo RIMETTERE\n// int rows = annotation.getNumRows(reflectionJavaField);\n// boolean nullSelection = annotation.isNullSelectionAllowed(reflectionJavaField);\n// boolean newItems = annotation.isNewItemsAllowed(reflectionJavaField);\n\n if (type == EAFieldType.text.noone) {\n return null;\n }// end of if cycle\n\n //@todo RIMETTERE\n// //--non riesco (per ora) a leggere le Annotation da una classe diversa (AEntity)\n// if (fieldAnnotation == null && reflectionJavaField.getName().equals(Cost.PROPERTY_ID)) {\n// type = EAFieldType.id;\n// }// end of if cycle\n\n if (type != null) {\n algosField = fieldFactory.crea(source, type, reflectedJavaField, entityBean);\n }// end of if cycle\n\n if (type == EAFieldType.combo && targetClazz != null && algosField != null) {\n bean = context.getBean(targetClazz);\n\n if (bean instanceof AService) {\n items = ((AService) bean).findAll();\n }// end of if cycle\n\n if (array.isValid(items)) {\n ((AComboField) algosField).fixCombo(items, false, false);\n }// end of if cycle\n }// end of if cycle\n\n\n //@todo RIMETTERE\n// if (type == EAFieldType.enumeration && targetClazz != null && algosField != null) {\n// if (targetClazz.isEnum()) {\n// items = new ArrayList(Arrays.asList(targetClazz.getEnumConstants()));\n// }// end of if cycle\n//\n// if (algosField != null && algosField instanceof AComboField && items != null) {\n// ((AComboField) algosField).fixCombo(items, false, false);\n// }// end of if cycle\n// }// end of if cycle\n\n //@todo RIMETTERE\n// if (type == EAFieldType.radio && targetClazz != null && algosField != null) {\n// //@todo PATCH - PATCH - PATCH\n// if (reflectionJavaField.getName().equals(\"attivazione\") && entityBean.getClass().getName().equals(Preferenza.class.getName())) {\n// items = new ArrayList(Arrays.asList(PrefEffect.values()));\n// }// end of if cycle\n// //@todo PATCH - PATCH - PATCH\n//\n// if (items != null) {\n// ((ARadioField) algosField).fixRadio(items);\n// }// end of if cycle\n// }// end of if cycle\n\n //@todo RIMETTERE\n// if (type == EAFieldType.link && targetClazz != null && algosField != null) {\n// String lowerName = text.primaMinuscola(targetClazz.getSimpleName());\n// Object bean = context.getBean(lowerName);\n// algosField.setTarget((ApplicationListener) bean);\n// }// end of if cycle\n//\n if (algosField != null && fieldAnnotation != null) {\n// algosField.setVisible(visible);\n algosField.setEnabled(enabled);\n algosField.setRequiredIndicatorVisible(required);\n algosField.setCaption(caption);\n// if (text.isValid(width)) {\n algosField.setWidth(width);\n// }// end of if cycle\n// if (rows > 0) {\n// algosField.setRows(rows);\n// }// end of if cycle\n algosField.setFocus(focus);\n//\n// if (LibParams.displayToolTips()) {\n// algosField.setDescription(fieldAnnotation.help());\n// }// end of if cycle\n//\n// if (type == EAFieldType.dateNotEnabled) {\n// algosField.setEnabled(false);\n// }// end of if cycle\n }// end of if cycle\n\n return algosField;\n }", "@Override\n protected final Map<String, String> createFieldToPropertyMapping() {\n // get super class mapping\n final Map<String, String> mapping = super.createFieldToPropertyMapping();\n \n mapping.put(this.tableName + \".rmres_id\", \"id\");\n mapping.put(this.tableName + \".cost_rmres\", \"cost\");\n mapping.put(this.tableName + \".config_id\", \"configId\");\n mapping.put(this.tableName + \".rm_arrange_type_id\", \"arrangeTypeId\");\n mapping.put(this.tableName + \".guests_external\", \"externalGuests\");\n mapping.put(this.tableName + \".guests_internal\", \"internalGuests\");\n \n return mapping;\n }", "private void addDescriptorFields (XmlDescriptor new_desc, Vector fields) {\n\t\tfor (int i = 0; i < fields.size(); i++) {\n\t\t\tJField jf = (JField)fields.elementAt(i);\n\t\t\tif (!jf._noMarshal) {\t\t\t\t\n\t\t\t\tif (jf.isXmlAttribute())\n\t\t\t\t\tnew_desc.addAttribute (jf);\n\t\t\t\telse\n\t\t\t\t\tnew_desc.addElement (jf);\n\t\t\t} else {\n\t\t\t\t//System.out.println (\"not adding unmarshal field..\" + jf.getJavaName ());\n\t\t\t}\n\t\t}\n\t}", "@Mapper(componentModel = \"spring\", uses = {})\npublic interface ClientHeartbeatInfoMapper extends EntityMapper<ClientHeartbeatInfoDTO, ClientHeartbeatInfo> {\n\n\n\n default ClientHeartbeatInfo fromId(Long id) {\n if (id == null) {\n return null;\n }\n ClientHeartbeatInfo clientHeartbeatInfo = new ClientHeartbeatInfo();\n clientHeartbeatInfo.setId(id);\n return clientHeartbeatInfo;\n }\n}", "public EntityPropertyBean() {}", "public Field(String watermark,\n String showfieldname,\n String saveRequired,\n String jfunction,\n String onChange,\n String onKeyDown,\n String defaultValue,\n String type,\n String sqlValue,\n String field_name,\n String relation,\n String states,\n String relationField,\n String onClickVList,\n String jIdList,\n String name,\n String searchRequired,\n String id,\n String placeholder,\n String value,\n String fieldType,\n String onclicksummary,\n String newRecord,\n List<Field> dListArray,\n List<OptionModel> mOptionsArrayList,\n String onclickrightbutton,\n String webSaveRequired,\n String field_type) {\n\n this.watermark = watermark;\n this.showfieldname = showfieldname;\n this.saveRequired = saveRequired;\n this.jfunction = jfunction;\n this.onChange = onChange;\n this.onKeyDown = onKeyDown;\n this.defaultValue = defaultValue;\n this.type = type;\n this.sqlValue = sqlValue;\n this.field_name = field_name;\n this.relation = relation;\n this.states = states;\n this.relationField = relationField;\n this.onClickVList = onClickVList;\n this.jIdList = jIdList;\n this.name = name;\n this.searchRequired = searchRequired;\n this.id = id;\n this.placeholder = placeholder;\n this.value = value;\n this.fieldType = fieldType;\n this.onclicksummary = onclicksummary;\n this.newRecord = newRecord;\n this.dListArray = dListArray;\n this.optionsArrayList = mOptionsArrayList;\n this.onclickrightbutton = onclickrightbutton;\n this.webSaveRequired = webSaveRequired;\n this.field_type = field_type;\n\n// this( watermark, showfieldname, saveRequired, jfunction,\n// onChange, onKeyDown, defaultValue, type, sqlValue,\n// field_name, relation, states, relationField,\n// onClickVList, jIdList, name, \"\",\n// searchRequired, id, placeholder, value,\n// fieldType, onclicksummary, newRecord, \"\",\n// dListArray,mOptionsArrayList,onclickrightbutton);\n }" ]
[ "0.62933207", "0.59871024", "0.59345496", "0.5807264", "0.57005894", "0.56254286", "0.56229895", "0.56043065", "0.55907774", "0.55277437", "0.55270976", "0.5502147", "0.5449934", "0.5449778", "0.5448262", "0.5438682", "0.5421909", "0.539829", "0.5392975", "0.5386786", "0.5378604", "0.5368571", "0.5365954", "0.53548914", "0.53542715", "0.5320208", "0.5299872", "0.5281769", "0.5277985", "0.5277643", "0.52720714", "0.5261695", "0.5250926", "0.5237663", "0.5232543", "0.5226736", "0.52246344", "0.52201366", "0.52098", "0.52081615", "0.5208048", "0.52047235", "0.5192572", "0.5187729", "0.51830703", "0.51454425", "0.5136857", "0.51367474", "0.5134208", "0.51329243", "0.5132539", "0.5131652", "0.5122219", "0.51200175", "0.51170164", "0.5110706", "0.50978315", "0.50843036", "0.5078298", "0.50773495", "0.50740963", "0.50712", "0.5068569", "0.50645906", "0.5061913", "0.5058393", "0.505457", "0.50536925", "0.5053569", "0.5053347", "0.50525504", "0.5050168", "0.50495523", "0.50453347", "0.50411284", "0.503058", "0.50298315", "0.50244564", "0.502122", "0.50095356", "0.5008393", "0.5006762", "0.5003892", "0.49978906", "0.49883392", "0.49701265", "0.49588418", "0.49572", "0.49551457", "0.49545777", "0.49497432", "0.49307552", "0.49283522", "0.49278754", "0.49254358", "0.49232286", "0.49127015", "0.4909568", "0.49072063", "0.4905449", "0.49016434" ]
0.0
-1
Fragt beim Raspberry aktuelle Position an
public void requestPosition(int num) { Log.d(LOG_TAG, "requestPosition()"); new Request(ip, this, num).start(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void go_to_base_position() {\n stop_hold_arm();\n Dispatcher.get_instance().add_job(new JMoveArm(RobotMap.Arm.pot_value_base, 0.9, 0.7, 0.7, 0.2, 0.8, false, false));\n // Extend the arm after getting to the base position\n Dispatcher.get_instance().add_job(new JRunnable(() -> Pneumatics.get_instance().set_solenoids(true), this));\n hold_arm();\n }", "public void go_to_switch_position() {\n stop_hold_arm();\n Dispatcher.get_instance().add_job(new JMoveArm(RobotMap.Arm.pot_value_switch, 0.9, 0.7, 0.7, 0.2, 0.8, false, false));\n hold_arm();\n }", "public void lightPosition() throws Exception {\n\t\tGlobal.colorSensorSwitch = true;\n\t\tGlobal.secondLine = \"light positionning\";\n\t\tThread.sleep(Global.THREAD_SLEEP_TIME); // wait color sensor to get its values\n\n\t\t// reset X\n\t\t// move until sensor sees black line\n\t\tmove(Global.KEEP_MOVING, true);\n\t\twhile (!Global.BlackLineDetected) {\n\n\t\t}\n\t\t// move back to black line\n\t\tmove(0 - Global.ROBOT_LENGTH, false);\n\t\tThread.sleep(250);\n\n\t\t// reset angle\n\t\t// turn until color sensor sees a black line then turn to 90 degree\n\t\tturn(0 - Global.KEEP_MOVING, true);\n\t\twhile (!Global.BlackLineDetected) {\n\n\t\t}\n\t\tturn(Global.COLOR_SENSOR_OFFSET_ANGLE, false);\n\n\t\t// reset Y\n\t\t// move until sensor sees black line\n\t\tmove(Global.KEEP_MOVING, true);\n\t\twhile (!Global.BlackLineDetected) {\n\n\t\t}\n\t\t// move back to black line\n\t\tmove(0 - Global.ROBOT_LENGTH, false);\n\t\tThread.sleep(250);\n\n\t\tturn(Global.KEEP_MOVING, true);\n\t\twhile (!Global.BlackLineDetected) {}\n\t\tturn(Global.COLOR_SENSOR_OFFSET_ANGLE_SMALL, false);\n\n\t\t// turn off color sensor\n\t\tGlobal.colorSensorSwitch = false;\n\n\t\t// wait color sensor is turned off\n\t\tThread.sleep(200);\n\n\t\t// rjeset coordinates\n\t\tGlobal.angle = 0;\n\t\tGlobal.X = -1;\n\t\tGlobal.Y = -1;\n\t\t\n\t\tGlobal.secondLine = \"\";\n\t}", "public Position getRobotPadPosition();", "@Override\n public void teleopPeriodic() {\n Scheduler.getInstance().run();\n // ros_string = workingSerialCom.read();\n // yavuz = workingSerialCom.StringConverter(ros_string, 2);\n // Inverse.Inverse(yavuz);\n\n // JoystickDrive.execute();\n\n\n\n // ros_string = workingSerialCom.read();\n // alt_yurur = workingSerialCom.StringConverter(ros_string, 1);\n // robot_kol = workingSerialCom.StringConverter(ros_string, 2);\n Full.Full(yavuz);\n \n }", "godot.wire.Wire.Vector2 getPosition();", "public void updatePosition() {\n\n this.x = this.temp_x;\n this.y = this.temp_y;\n this.ax = 0;\n this.ay = 0;\n\t\tthis.axplusone = 0;\n this.ayplusone = 0;\n \n }", "godot.wire.Wire.Vector3 getPosition();", "@Override\n public void teleopPeriodic() {\n Scheduler.getInstance().run();\n SmartDashboard.putNumber(\"right encoder\", drive.getRightEncoder());\n SmartDashboard.putNumber(\"left encoder\", drive.getLeftEncoder());\n \n PixyCamBlock centerBlock = PixyCam2.GetCentermostBlock();\n boolean targetInRange = false ;\n \n if(centerBlock == null)\n {\n targetInRange = false;\n SmartDashboard.putString(\"center block data \", \"null\"); \n }\n else if(centerBlock.yCenter < 200)\n {\n targetInRange = true;\n String out = \"Center Block, X: \"+centerBlock.xCenter + \" Y: \"+centerBlock.yCenter;\n SmartDashboard.putString(\"center block data \", out); \n }\n\n String targetValue = Boolean.toString(targetInRange);\n SmartDashboard.putString(\"target good?\", targetValue);\n \n \n SmartDashboard.putBoolean(\"isFlipped\", flipped);\n }", "@Override\n public void execute() {\n double PWM = SmartDashboard.getNumber(\"StoragePWM\", 0);\n Robot.storage.moveFront(PWM);\n Robot.storage.moveBack(PWM);\n }", "public void teleopPeriodic() {\n Scheduler.getInstance().run();\n// if (oi.driveStick.getRawButton(4)) {\n// System.out.println(\"Left Encoder Distance: \" + RobotMap.leftDriveEncoder.getDistance());\n// System.out.println(\"RightEncoder Distance: \" + RobotMap.rightDriveEncoder.getDistance());\n// }\n\n }", "@Override\n protected void execute() {\n Robot.tapeAlignSys.enable();\n Robot.lidarAlignSys.enable();\n if (Robot.useDrive) {\n double joy_vals[] = Robot.oi.getJoyXYZ(joy);\n\n double x = joy_vals[0];\n double y = joy_vals[1] * m_forward_speed_limit;\n double z = joy_vals[2] * .5;\n\n if (!joy.getRawButton(5)) { // Button 5 is pid override\n // Get sensor feedback for strafe\n x = .5 * x + Robot.tapeAlignSys.get_pid_output();\n if (x > 1) { x = 1; }\n if (x < -1) { x= -1; }\n\n double distance = Robot.stormNetSubsystem.getLidarDistance();\n SmartDashboard.putNumber(\"Lidar distance (cm)\",distance);\n\n // Get Lidar alignment for Z axis\n// if (z < 100) { // only align if close\n// z = z + Robot.lidarAlignSys.get_pid_output();\n// if (z > 1) { z = 1; }\n// if (z < -1) { z= -1; }\n// }\n\n if (distance < m_distance_scale_factor) {\n // Modulate driver forward input\n if (y > 0 && distance < (m_target_distance + m_distance_scale_factor)) {\n y = y * ((distance - m_target_distance)/(m_distance_scale_factor)) ;\n if (y<0) y = 0;\n } \n }\t\n }\n Robot.drive.driveArcade(x,y,z);\n }\n }", "public void updatePositionValue(){\n m_X.setSelectedSensorPosition(this.getFusedPosition());\n }", "private void positionMode() {\n\t\ttestMotor.setProfile(0);\n\t\ttestMotor.ClearIaccum();\n\t\ttestMotor.set(testMotor.getPosition());\n\t\ttestMotor.ClearIaccum();\n\t}", "public void findRobotPosition(){\n targetVisible = false;\n for (VuforiaTrackable trackable : allTrackables) {\n if (((VuforiaTrackableDefaultListener)trackable.getListener()).isVisible()) {\n telemetry.addData(\"Visible Target\", trackable.getName());\n targetVisible = true;\n\n // Get the position of the visible target and put the X & Y position in visTgtX and visTgtY\n // We will use these for determining bearing and range to the visible target\n OpenGLMatrix tgtLocation = trackable.getLocation();\n VectorF tgtTranslation = tgtLocation.getTranslation();\n visTgtX = tgtTranslation.get(0) / mmPerInch;\n visTgtY = tgtTranslation.get(1) / mmPerInch;\n //telemetry.addData(\"Tgt X & Y\", \"{X, Y} = %.1f, %.1f\", visTgtX, visTgtY);\n\n // getUpdatedRobotLocation() will return null if no new information is available since\n // the last time that call was made, or if the trackable is not currently visible.\n OpenGLMatrix robotLocationTransform = ((VuforiaTrackableDefaultListener)trackable.getListener()).getUpdatedRobotLocation();\n if (robotLocationTransform != null) {\n lastLocation = robotLocationTransform;\n }\n break;\n }\n }\n\n // Provide feedback as to where the robot is located (if we know).\n if (targetVisible) {\n // express position (translation) of robot in inches.\n VectorF translation = lastLocation.getTranslation();\n //telemetry.addData(\"Pos (in)\", \"{X, Y, Z} = %.1f, %.1f, %.1f\",\n // translation.get(0) / mmPerInch, translation.get(1) / mmPerInch, translation.get(2) / mmPerInch);\n\n // express the rotation of the robot in degrees.\n Orientation rotation = Orientation.getOrientation(lastLocation, EXTRINSIC, XYZ, DEGREES);\n //telemetry.addData(\"Rot (deg)\", \"{Roll, Pitch, Heading} = %.0f, %.0f, %.0f\", rotation.firstAngle, rotation.secondAngle, rotation.thirdAngle);\n\n // Robot position is defined by the standard Matrix translation (x and y)\n robotX = translation.get(0)/ mmPerInch;\n robotY = translation.get(1)/ mmPerInch;\n\n // Robot bearing (in +vc CCW cartesian system) is defined by the standard Matrix z rotation\n robotBearing = rotation.thirdAngle;\n\n // target range is based on distance from robot position to the visible target\n // Pythagorean Theorum\n targetRange = Math.sqrt((Math.pow(visTgtX - robotX, 2) + Math.pow(visTgtY - robotY, 2)));\n\n // target bearing is based on angle formed between the X axis to the target range line\n // Always use \"Head minus Tail\" when working with vectors\n targetBearing = Math.toDegrees(Math.atan((visTgtY - robotY)/(visTgtX - robotX)));\n\n // Target relative bearing is the target Heading relative to the direction the robot is pointing.\n // This can be used as an error signal to have the robot point the target\n relativeBearing = targetBearing - robotBearing;\n // Display the current visible target name, robot info, target info, and required robot action.\n\n telemetry.addData(\"Robot\", \"[X]:[Y] (Heading) [%5.0fin]:[%5.0fin] (%4.0f°)\",\n robotX, robotY, robotBearing);\n telemetry.addData(\"Target\", \"[TgtRange] (TgtBearing):(RelB) [%5.0fin] (%4.0f°):(%4.0f°)\",\n targetRange, targetBearing, relativeBearing);\n }\n else {\n telemetry.addData(\"Visible Target\", \"none\");\n }\n }", "public void resetRobotPositionOnUI() {\r\n\t\tthis.x = checkValidX(1);\r\n\t\tthis.y = checkValidY(1);\r\n\t\ttoggleValid();\r\n\t\trobotImage.setLocation(Constant.MARGINLEFT + (Constant.GRIDWIDTH * 3 - Constant.ROBOTWIDTH)/2 + (x-1) * Constant.GRIDWIDTH, Constant.MARGINTOP + (Constant.GRIDHEIGHT * 3 - Constant.ROBOTHEIGHT)/2 + (y-1) * Constant.GRIDHEIGHT);\r\n\t\t\r\n\t}", "@Override\npublic void teleopPeriodic() {\nm_robotDrive.arcadeDrive(m_stick.getRawAxis(5)* (-0.5), m_stick.getRawAxis(4)*0.5);\n}", "public void checkPosition(){\n int absPos = mArm.getSensorCollection().getPulseWidthPosition();\n // mArm.configSelectedFeedbackSensor(FeedbackDevice.QuadEncoder);\n mArm.setSelectedSensorPosition(absPos - offset);\n }", "public void pin() {\n this.pin = new Vec(this.pos);\n }", "int getPosition();", "Point onScreen();", "void gettingBackToInitial(){\n robot.setDrivetrainPosition(-hittingMineralDistance, \"translation\", 1.0);\n }", "@Override\r\n public int run() {\n if (robot.rightDrive.isBusy() && robot.leftDrive.isBusy()) {\r\n robot.leftDrive.setPower(leftSpeed);\r\n robot.rightDrive.setPower(rightSpeed);\r\n\r\n /*telemetry.addData(\"MoveByEncoder To\", \"Left: (%2f), Right (%2f)\",\r\n leftTarget, rightTarget);\r\n telemetry.addData(\"MoveByEncoder At\", \"Left: (%2f), Right (%2f)\",\r\n robot.leftDrive.getCurrentPosition(), robot.rightDrive.getCurrentPosition());\r\n telemetry.update();*/\r\n\r\n telemetry.addData(\"Left Pos\", robot.leftDrive.getCurrentPosition());\r\n telemetry.addData(\"Right Pos\", robot.rightDrive.getCurrentPosition());\r\n telemetry.update();\r\n\r\n return 0;\r\n\r\n }\r\n\r\n return nextPos;\r\n }", "@Override\n public void robotInit() {\n myRobot = new DifferentialDrive(leftfrontmotor, rightfrontmotor);\n leftrearmotor.follow(leftfrontmotor);\n rightrearmotor.follow(rightfrontmotor);\n leftfrontmotor.setInverted(true); // <<<<<< Adjust this until robot drives forward when stick is forward\n\t\trightfrontmotor.setInverted(true); // <<<<<< Adjust this until robot drives forward when stick is forward\n\t\tleftrearmotor.setInverted(InvertType.FollowMaster);\n rightrearmotor.setInverted(InvertType.FollowMaster);\n \n CameraServer.getInstance().startAutomaticCapture();\n\n \n\n comp.setClosedLoopControl(true);\n \n\n /* Set up Dashboard widgets */\n SmartDashboard.putNumber(\"L Stick\", gamepad.getRawAxis(1));\n\t\tSmartDashboard.putNumber(\"R Stick\", gamepad.getRawAxis(5));\n\t\tSmartDashboard.putBoolean(\"Back Button\", gamepad.getRawButton(5));\n\t\tSmartDashboard.putBoolean(\"Fwd Button\", gamepad.getRawButton(6));\n\t\t\n SmartDashboard.putNumber(\"LF\", pdp.getCurrent(leftfrontmotorid));\n\t\tSmartDashboard.putNumber(\"LR\", pdp.getCurrent(leftrearmotorid));\n\t\tSmartDashboard.putNumber(\"RF\", pdp.getCurrent(rightfrontmotorid));\n\t\tSmartDashboard.putNumber(\"RR\", pdp.getCurrent(rightrearmotorid));\n SmartDashboard.putNumber(\"Total\", pdp.getCurrent(0) + pdp.getCurrent(1) + pdp.getCurrent(2) + pdp.getCurrent(3) + pdp.getCurrent(4) + pdp.getCurrent(5) + pdp.getCurrent(6) + pdp.getCurrent(7) + pdp.getCurrent(8) + pdp.getCurrent(9) + pdp.getCurrent(10) + pdp.getCurrent(11) + pdp.getCurrent(12) + pdp.getCurrent(13) + pdp.getCurrent(14) + pdp.getCurrent(15));\n }", "private void m24192d(ah ahVar) {\n Object obj = new int[2];\n ahVar.f995b.getLocationOnScreen(obj);\n ahVar.f994a.put(\"android:slide:screenPosition\", obj);\n }", "private void moveUltrasonicSensorToDefaultPosition() {\n \t\tMotor.B.rotateTo(0);\n \t}", "private void updatePosition(){\n updateXPosition(true);\n updateYPosition(true);\n }", "public void setPosicion(){\n ejeX = 0;\n ejeY = 0;\n }", "protected void execute() {\n \tdouble a = 0.5;\n \tdouble x = Robot.oi.getPilotAxis(Robot.oi.LOGITECH_F510_AXIS_RIGHT_STICK_X);\n \tdouble y = Robot.oi.getPilotAxis(Robot.oi.LOGITECH_F510_AXIS_LEFT_STICK_Y);\n \tx = 0.5*((a * Math.pow(x, 3)) + ((1-a) * x));\n \ty = a * Math.pow(y, 3) + (1-a) * y;\n \tdouble left = y + x;\n\t\tdouble right = y - x;\n\t\t\n\t\t// Apply values to motors\n\t\tRobot.chassis.setLeft(left);\n\t\tRobot.chassis.setRight(right);\n }", "public void setRobotLocation(Point p);", "private void GetInput()\r\n {\r\n ///Implicit eroul nu trebuie sa se deplaseze daca nu este apasata o tasta\r\n xMove = 0;\r\n yMove = 0;\r\n\r\n ///Verificare apasare tasta \"sus\"\r\n if(refLink.GetKeyManager().up_arrow && !isJumping)\r\n {\r\n jumpDirection = -1;\r\n isJumping = true;\r\n jumpSpeed = 0;\r\n }\r\n /*\r\n ///Verificare apasare tasta \"jos\"\r\n if(refLink.GetKeyManager().down)\r\n {\r\n yMove = speed;\r\n }*/\r\n ///Verificare apasare tasta \"left\"\r\n if(refLink.GetKeyManager().left_arrow && x + xMove > 15)\r\n {\r\n xMove = -speed;\r\n }\r\n ///Verificare apasare tasta \"dreapta\"\r\n if(refLink.GetKeyManager().right_arrow && x + xMove < 900)\r\n {\r\n xMove = speed;\r\n }\r\n }", "@Override\n public final void move() {\n int x = getPosisi().getX();\n int y = getPosisi().getY();\n int dx = 0, dy = 0;\n\n if (getWaktu() % getDeltaTime() == 0) {\n do {\n do {\n Random randomGenerator = new Random();\n dx = randomGenerator.nextInt(N_RAND) - 1;\n dy = randomGenerator.nextInt(N_RAND) - 1;\n } while (dx == 0 && dy == 0);\n } while (x + dx < 0 || x + dx > getWorldSize() - 1\n || y + dy < 0 || y + dy > getWorldSize() - 1);\n }\n setPX(x + dx);\n setPY(y + dy);\n }", "@Override\n public void start() {\n\n runtime.reset();\n currentSpeedRight = 0.0;\n currentSpeedLeft = 0.0;\n // currentSpeedArm = 0.0;\n currentLiftSpeed = 0.0;\n robot.rearTouch.setMode(DigitalChannel.Mode.INPUT);\n }", "protected void execute() {\n//\t\tRobot.chassis.drive(0, .5, 0);\n//\t\tRobotMap.chassisfrontLeft.set(50);\n\t\tLiquidCrystal lcd = RobotMap.lcd;\n\n\t\t\n\t\t\n\n\t\t\n\t\tif(talonNum == 2){\n\t\t\tRobotMap.chassisfrontLeft.set(150);\n\t\t\tlcd.setCursor(0, 1);\n\t\t\tlcd.print(\"\" + RobotMap.chassisfrontLeft.getEncVelocity());\n\t\t\tlcd.setCursor(0, 2);\n\t\t\tlcd.print(\"\" + RobotMap.chassisfrontLeft.getEncPosition());\n\t\t\t\n\t\t\t\n\n\t\t}else if(talonNum == 3){\n\t\t\tRobotMap.chassisfrontRight.set(150);\n\t\t\tlcd.setCursor(0, 1);\n\t\t\tlcd.print(\"\" + RobotMap.chassisfrontRight.getEncVelocity());\n\t\t\tlcd.setCursor(0, 2);\n\t\t\tlcd.print(\"\" + RobotMap.chassisfrontRight.getEncPosition());\n\t\t\t\n\n\t\t}else if(talonNum == 4){\n\t\t\tRobotMap.chassisrearLeft.set(150);\t\n\t\t\tlcd.setCursor(0, 1);\n\t\t\tlcd.print(\"\" + RobotMap.chassisrearLeft.getEncVelocity());\n\t\t\tlcd.setCursor(0, 2);\n\t\t\tlcd.print(\"\" + RobotMap.chassisrearLeft.getEncPosition());\n\n\t\t}else if(talonNum == 5){\n\t\t\tRobotMap.chassisrearRight.set(150);\t\n\t\t\tlcd.setCursor(0, 1);\n\t\t\tlcd.print(\"\" + RobotMap.chassisrearRight.getEncVelocity());\n\t\t\tlcd.setCursor(0, 2);\n\t\t\tlcd.print(\"\" + RobotMap.chassisrearRight.getEncPosition());\n\n\t\t}else if(talonNum == 11){\n\t\t\tRobotMap.climberclimbMotor.set(.5);\t\n\n\t\t}else if(talonNum == 12){\n\t\t\tRobotMap.floorfloorLift.set(.75);\t\n\n\t\t}else if(talonNum == 13){\n\t\t\tRobotMap.acquisitionacquisitionMotor.set(.25);\t\n\n\t\t}\n\t\t\n\t\t\n\t}", "public int getCurrentPlayerRealPosition();", "protected void execute() {\r\n OI.printToDS(0, \"Pos SetPoint: \" + driveTrain.getLeftPosSetpoint());\r\n OI.printToDS(1, \"Pos: \" + driveTrain.getLeftPos());\r\n //OI.printToDS(2, \"Gyro: \" + driveTrain.getGyro().getAngle());\r\n if (oi.getDriver().getRawAxis(6) > 0.5 && !dPadUp) {\r\n y += 0.25;\r\n dPadUp = true;\r\n } else if (oi.getDriver().getRawAxis(6) < - 0.5 && !dPadDown) {\r\n y -= 0.25;\r\n dPadDown = true;\r\n }else if(Math.abs(oi.getDriver().getRawAxis(6)) < 0.5 ){\r\n dPadUp = false;\r\n dPadDown = false;\r\n }\r\n if (oi.getDriver().getRawAxis(6) > 0.5) {\r\n y += 0.1;\r\n } else if (oi.getDriver().getRawAxis(6) < -0.5) {\r\n y -= 0.1;\r\n } else if (oi.getDriver().getRawAxis(5) < -0.5) {\r\n x += 0.05;\r\n } else if (oi.getDriver().getRawAxis(5) > 0.5) {\r\n x -= 0.05;\r\n }\r\n driveTrain.setRightPos(y - x);\r\n driveTrain.setLeftPos(y + x);\r\n }", "protected void update(){\n\t\t_offx = _x.valueToPosition(0);\n\t\t_offy = _y.valueToPosition(0);\n\t}", "Position getPosition();", "Position getPosition();", "@Override\n public double getPosition()\n {\n final String funcName = \"getPosition\";\n double pos = getMotorPosition() - zeroPosition;\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API);\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API, \"=%f\", pos);\n }\n\n return pos;\n }", "@Override\n public void resetPosition(boolean hardware)\n {\n final String funcName = \"resetPosition\";\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API, \"hardware=%s\", hardware);\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API);\n }\n\n if (hardware)\n {\n CANError error = encoder.setPosition(0.0);\n if (error != CANError.kOK)\n {\n TrcDbgTrace.getGlobalTracer().traceErr(funcName, \"resetPosition() on SparkMax %d failed with error %s!\", motor.getDeviceId(),\n error.name());\n }\n zeroPosition = 0.0;\n }\n else\n {\n zeroPosition = getMotorPosition();\n }\n }", "public void skystonePos1() {\n // This method will drive the robot to Skystone Position 1 (Closest to the bridge)\n // Blinked in: Change color SOLID BLUE to indicate we successfully Drove to the stone\n }", "public void onPositionChanged() {\n\n latPeriodic = location.getLatitude();\n lonperiodic = location.getLongitude();\n\n }", "@Override\n public void simpleUpdate(float tpf) {\n listener.setLocation(cam.getLocation());\n listener.setRotation(cam.getRotation());\n }", "private void readGPS() {\n }", "public void go_to_home_position() {\n stop_hold_arm();\n Pneumatics.get_instance().set_solenoids(false);\n Dispatcher.get_instance().add_job(new JMoveArm(RobotMap.Arm.pot_value_home, 0.9, 0.7, 0.7, 0.2, 0.8, false, false));\n hold_arm();\n }", "public Point getRobotLocation();", "@Override\r\n\t\t\tpublic void onSensorChanged(SensorEvent event)\r\n\t\t\t{\n\t\t\t\tx=event.values[0];\r\n\t\t\t\ty=event.values[1];\r\n\t\t\t\tz=event.values[2];\r\n\t\t\t\t//balle\r\n\t\t\t\tmx-=(int)x;\r\n\t\t\t\tmy+=(int)y;\r\n\t\t\t\tif (mx<40)\r\n\t\t\t\t{\r\n\t\t\t\t\tmx=40;\r\n\t\t\t\t}\r\n\t\t\t\tif (mx>1190)\r\n\t\t\t\t{\r\n\t\t\t\t\tmx=1190;\r\n\t\t\t\t}\r\n\t\t\t\tif (my<50)\r\n\t\t\t\t{\r\n\t\t\t\t\tmy=50;\r\n\t\t\t\t}\r\n\t\t\t\tif (my>700)\r\n\t\t\t\t{\r\n\t\t\t\t\tmy=700;\r\n\t\t\t\t}\r\n\t\r\n\t\t\t\t\t//departBalle\r\n\t\r\n\t\t\t\tdepartBalle.setPos_x(mx);\r\n\t\t\t\tdepartBalle.setPos_y(my);\r\n\t\t\tSystem.out.println(\"\"+mx+\":\"+my);\r\n\t\t\t\t\r\n\r\n\r\n\t\t\t}", "public void setPosition(ServoPosition sp) {\n\t\tif (sp.equals(ServoPosition.UP)) {\n\t\t\tServoManager.getServoDriver().setServoPulse(channel, upPulse);\n\t\t} else if (sp.equals(ServoPosition.CENTER)) {\n\t\t\tServoManager.getServoDriver().setServoPulse(channel, centerPulse);\n\t\t} else if (sp.equals(ServoPosition.DOWN)) {\n\t\t\tServoManager.getServoDriver().setServoPulse(channel, downPulse);\n\t\t}\n\t}", "protected void execute() {\n buttonOpenValue = Robot.m_oi_pilot.joystick.getRawButton(1);\n buttonCloseValue = Robot.m_oi_pilot.joystick.getRawButton(2);\n\n if(buttonOpenValue){\n direction = DoubleSolenoid.Value.kForward;\n }\n else if(buttonCloseValue){\n direction = DoubleSolenoid.Value.kReverse;\n }\n else{\n direction = DoubleSolenoid.Value.kOff;\n }\n //Robot.m_pneumatics.runSolenoid(direction);\n }", "@Override\n public void movement() {\n if (isAlive()) {\n //Prüfung ob A oder die linke Pfeiltaste gedrückt ist\n if (Keyboard.isKeyDown(KeyEvent.VK_LEFT) || Keyboard.isKeyDown(KeyEvent.VK_A)) {\n //Änder die X Position um den speed wert nach link (verkleinert sie)\n setPosX(getPosX() - getSpeed());\n //Prüft ob der Spieler den linken Rand des Fensters erreicht hat\n if (getPosX() <= 0) {\n //Setzt die X Position des Spielers an den Rand des Fensters zurück\n setPosX(0);\n }\n }\n //Prüfung ob D oder die rechte Pfeiltaste gedrückt ist\n if (Keyboard.isKeyDown(KeyEvent.VK_RIGHT) || Keyboard.isKeyDown(KeyEvent.VK_D)) {\n //Änder die X Position um den speed wert nach rechts (vergrößert sie)\n setPosX(getPosX() + getSpeed());\n //Prüft ob der Spieler den rechten Rand des Fensters erreicht hat\n if (getPosX() >= Renderer.getWindowSizeX() - getWight() - 7) {\n //Setzt die X Position des Spielers an den Rand des Fensters zurück\n setPosX(Renderer.getWindowSizeX() - getWight() - 7);\n }\n }\n //Aktualsiert die Hitbox\n setBounds();\n }\n }", "public void go_to_reverse_position() {\n stop_hold_arm();\n Pneumatics.get_instance().set_solenoids(false);\n Dispatcher.get_instance().add_job(new JMoveArm(RobotMap.Arm.pot_value_reverse, 0.9, 0.7, 0.7, 0.2, 0.8, false, false));\n hold_arm();\n }", "private void updatePosition() {\n\t\tfor (int i = 0; i < encoders.length; i++) {\n\t\t\tdRot[i] = (encoders[i].get() - lastEncPos[i]) / this.cyclesPerRev;\n\t\t\tdPos[i] = dRot[i] * wheelDiameter * Math.PI;\n\t\t\tlastEncPos[i] = encoders[i].get();\n\t\t}\n\t\t\n\t\tdLinearPos = (dPos[0] + dPos[1]) / 2;\n\t\t\n\t\tposition[2] = Math.toRadians(gyro.getAngle()) + gyroOffset;\n\t\tposition[0] += dLinearPos * Math.sin(position[2]);\n\t\tposition[1] += dLinearPos * Math.cos(position[2]);\n\t}", "@Override\n public void onSensorChanged(SensorEvent event) {\n if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER){\n // Corriger les valeurs x et y en fonction de l'orientation de l'appareil\n switch (mDisplay.getRotation()) {\n case Surface.ROTATION_0:\n mAccelerationX = event.values[0];\n mAccelerationY = event.values[1];\n break;\n case Surface.ROTATION_90:\n mAccelerationX = -event.values[1];\n mAccelerationY = event.values[0];\n break;\n case Surface.ROTATION_180:\n mAccelerationX = -event.values[0];\n mAccelerationY = -event.values[1];\n break;\n case Surface.ROTATION_270:\n mAccelerationX = event.values[1];\n mAccelerationY = -event.values[0];\n break;\n }\n\n //mResX.setText(\"Accelerometre X : \" + mAccelerationX);\n //mResY.setText(\"Accelerometre Y : \" + mAccelerationY);\n\n float newPos = - mAccelerationX*viewWidth/12;\n float deltaAngle = tempAngle-mAccelerationX;\n\n //si l'angle ne varie qu'un peu,on ne bouge pas le boar\n if(Math.abs(deltaAngle)>0.2){\n animate = new TranslateAnimation(globalBoar.getX(),newPos ,0.2f*viewHeight/2, 0.2f*viewHeight/2);\n animate.setDuration(200);\n animate.setFillAfter(true);\n boarPlayerImage.startAnimation(animate);\n globalBoar.decideBoar(newPos,0.2f*viewHeight/2);\n tempAngle=mAccelerationX;\n\n }\n\n }\n }", "private static void processGroundCal()\n\t{\n\t\tif (testMotor != null) {\n\t\t\tSystem.out.println(\"Calibrating arm to floor position\");\n\t\t\ttestMotor.setPosition(SOFT_ENCODER_LIMIT_FLOOR);\n\t\t}\n\t}", "@Override\n public void teleopPeriodic() {\n\t\t/* xbox processing */\n\t\tdouble leftYstick = xbox.getY(Hand.kLeft);\n\t\tboolean buttonA = xbox.getAButton();\n boolean buttonB = xbox.getBButton();\n boolean buttonX = xbox.getXButton();\n boolean buttonY = xbox.getYButton();\n\n\t\t/* Get Talon/Victor's current output percentage */\n\t\tdouble motorOutput = elevator.getMotorOutputPercent();\n\n\t\t/* Deadband gamepad */\n\t\tif (Math.abs(leftYstick) < 0.10) {\n\t\t\t/* Within 10% of zero */\n\t\t\tleftYstick = 0;\n }\n\n\t\t/* Prepare line to print */\n\t\t_sb.append(\"\\tout:\"); _sb.append((int) (motorOutput * 100)); _sb.append(\"%\"); // Percent\n\t\t_sb.append(\"\\tpos:\"); _sb.append(elevator.getSelectedSensorPosition(0)); _sb.append(\"u\"); // Native units\n\n\t\t/**\n\t\t * When button 1 is pressed, perform Position Closed Loop to selected position,\n\t\t * indicated by Joystick position x10, [-10, 10] rotations\n\t\t */\n\t\t//if (!_lastButton1 && buttonA) {\n if (buttonB) {\n\t\t\t/* Position Closed Loop */\n\t\t\t/* 10 Rotations * 4096 u/rev in either direction */\n\t\t\ttargetPositionRotations = 5000; // 2* 4096; //leftYstick * 10.0 * 4096;\n\t\t\televator.set(ControlMode.Position, targetPositionRotations);\n\t\t}\n if (buttonX) {\n\t\t\t/* Position Closed Loop */\n\t\t\t/* 10 Rotations * 4096 u/rev in either direction */\n\t\t\ttargetPositionRotations = 3000; //2* 4096; //leftYstick * 10.0 * 4096;\n\t\t\televator.set(ControlMode.Position, -targetPositionRotations);\n\t\t}\n\n\t\t/* When button 2 is held, just straight drive */\n\t\tif (buttonA) {\n /* Percent Output */\n\t\t elevator.set(ControlMode.PercentOutput, leftYstick);\n }\n \n if (buttonY) {\n elevator.setSelectedSensorPosition(0); // reset to zero\n elevator.getSensorCollection().setQuadraturePosition(0, 10);\n elevator.set(ControlMode.PercentOutput, 0);\n }\n// else{\n //}\n\n\t\t/* If Talon is in position closed-loop, print some more info */\n\t\tif (elevator.getControlMode() == ControlMode.Position) {\n /* Append more signals to print when in speed mode. */\n\t\t\t_sb.append(\"\\terr:\"); _sb.append(elevator.getClosedLoopError(0)); _sb.append(\"u\");\t// Native Units\n\t\t\t_sb.append(\"\\ttrg:\"); _sb.append(targetPositionRotations); _sb.append(\"u\");\t// Native Units\n\t\t}\n\n\t\t/**\n\t\t * Print every ten loops, printing too much too fast is generally bad\n\t\t * for performance.\n\t\t */\n\t\tif (++_loops >= 10) {\n\t\t\t_loops = 0;\n\t\t\tSystem.out.println(_sb.toString());\n\t\t}\n\n\t\t/* Reset built string for next loop */\n\t\t_sb.setLength(0);\n\t\t\n\t\t/* Save button state for on press detect */\n\t\t//_lastButton1 = buttonA;\n }", "public void update()\n {\n if(RobotMap.manipController.getRawButton(XboxMap.X)==true)\n {\n activateDumpSolenoid(forward);\n }\n\n //when b is pressed, put gate back up\n if(RobotMap.manipController.getRawButton(XboxMap.B)==true)\n {\n activateDumpSolenoid(reverse);\n }\n\n //If A is pressed (auto)\n if(RobotMap.driveController.getRawButton(XboxMap.A)==true)\n {\n if(distanceSensor.checkDistance() < 270 && distanceSensor.checkDistance() != 0)\n {\n activateDumpSolenoid(forward);\n myRobot.setAutoDoneTrue();\n }\n }\n }", "public void teleopPeriodic() {\n\n \t//NetworkCommAssembly.updateValues();\n \t\n\t\t// both buttons pressed simultaneously, time to cal to ground\n\t\tif (gamepad.getRawButton(FRONT_ARM_GROUND_CAL_BUTTON1) && gamepad.getRawButton(FRONT_ARM_GROUND_CAL_BUTTON2)) {\n\t\t\tprocessGroundCal();\n\t\t}\n\n\t\t// PID CONTROL ONLY\n\t\tdouble armDeltaPos = gamepad.getRawAxis(1);\n\t\tif (Math.abs(armDeltaPos) < ARM_DEADZONE) {\n\t\t\tarmDeltaPos = 0.0f;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tarmDeltaPos *= ARM_POS_MULTIPLIER;\n\t\t\tdouble currPos = testMotor.getPosition();\n\t\t\t\n\t\t\tif (((currPos > SOFT_ENCODER_LIMIT_MAX) && armDeltaPos > 0.0) || ((currPos < SOFT_ENCODER_LIMIT_FLOOR) && armDeltaPos < 0.0)) {\n\t\t\t\tSystem.out.println(\"SOFT ARM LIMIT HIT! Setting armDeltaPos to zero\");\n\t\t\t\tarmDeltaPos = 0.0;\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tdouble newPos = currPos + armDeltaPos;\n\t\t\ttestMotor.set(newPos);\n\t\t\tSystem.out.println(\"Setting new front arm pos = \" + newPos);\t\n\t\t}\t\t\n\n \t/*\n\t\tdouble newArmPos = gamepad.getRawAxis(1);\n\t\tif(Math.abs(newArmPos) <= ARM_DEADZONE) {\n\t\t\tnewArmPos = 0.0;\n\t\t}\n\t\tdouble newMotorPos = (newArmPos * ARM_SPEED_MULTIPLIER) + testMotor.getPosition();\n\t\tpositionMoveByCount(newMotorPos);\n\t\tSystem.out.println(\"input = \" + newArmPos + \" target pos = \" + newMotorPos + \" enc pos = \" + testMotor.getPosition());\n \t*/\n \t\n\t\t// PercentVbus test ONLY!!\n \t/*\n\t\tdouble armSpeed = gamepad.getRawAxis(1);\n\t\tif (Math.abs(armSpeed) < ARM_DEADZONE) {\n\t\t\tarmSpeed = 0.0f;\n\t\t}\t\n\t\tarmSpeed *= ARM_MULTIPLIER;\n\t\t\n\t\tdouble pos= testMotor.getPosition();\n\t\tif (((pos > SOFT_ENCODER_LIMIT_1) && armSpeed < 0.0) || ((pos < SOFT_ENCODER_LIMIT_2) && armSpeed > 0.0))\n\t\t\tarmSpeed = 0.0;\n\t\ttestMotor.set(armSpeed);\n\t\t\n\t\tSystem.out.println(\"armSpeed = \" + armSpeed + \" enc pos = \" + testMotor.getPosition());\n\t\t */ \n }", "@Override\n\t\t\tpublic Vector getPosition() {\n\t\t\t\treturn new Vector(-2709.487, -4281.02, 3861.564); //-4409.0, 2102.0, -4651.0);\n\t\t\t}", "public void adjustInitialPosition() {\n\n //TelemetryWrapper.setLine(1,\"landFromLatch...\");\n runtime.reset();\n double maxLRMovingDist = 200.0; //millimeters\n double increamentalDist = 50.0;\n while ( runtime.milliseconds() < 5000 ) {\n int loops0 = 0;\n while ((loops0 < 10) && ( mR.getNumM() == 0 )) {\n mR.update();\n loops0 ++;\n }\n if (mR.getNumM() <= 1) {\n int loops = 0;\n while ( mR.getNumM() <= 1 )\n driveTrainEnc.moveLeftRightEnc(increamentalDist, 2000);\n continue;\n } else if ( mR.getHAlignSlope() > 2.0 ) {\n driveTrainEnc.spinEnc(AUTO_DRIVE_SPEED,Math.atan(mR.getHAlignSlope()),2000);\n continue;\n } else if (! mR.isGoldFound()) {\n\n driveTrainEnc.moveLeftRightEnc(increamentalDist,2000);\n continue;\n } else if ( mR.getFirstGoldAngle() > 1.5 ) {\n driveTrainEnc.spinEnc(AUTO_DRIVE_SPEED, mR.getFirstGoldAngle(),2000);\n continue;\n }\n }\n driveTrainEnc.stop();\n }", "@Override\n\tpublic void updatePosition() {\n\t\t\n\t}", "@Override\n public void robotPeriodic() {\n //This prints Data to the Driver Station\n SmartDashboard.putString(\"DB/String 2\", \"\" + elevator.getSensorCollection().getQuadraturePosition());\n //SmartDashboard.putString(\"DB/String 7\", \"\" + rightEncoder.getDistance());\n }", "public void autonomousPeriodic() {\r\n try{\r\n if(joy.getRawButton(2)){\r\n frontLeft.set(1);\r\n }else if(joy.getRawButton(3)){\r\n frontRight.set(1);\r\n }else if(joy.getRawButton(4)){\r\n backRight.set(1);\r\n }else if(joy.getRawButton(5)){\r\n backLeft.set(1);\r\n }\r\n }catch(Exception e){\r\n \r\n }\r\n \r\n }", "public final void mo4359a() {\n this.f20660b.position((int) (this.f20666h - this.f20662d));\n }", "@Override\n public void runOpMode() {\n hw = new RobotHardware(robotName, hardwareMap);\n rd = new RobotDrive(hw);\n rs=new RobotSense(hw, telemetry);\n /*rd.moveDist(RobotDrive.Direction.FORWARD, .5, .3);\n rd.moveDist(RobotDrive.Direction.REVERSE, .5, .3);\n rd.moveDist(RobotDrive.Direction.FORWARD, .5, 1);\n rd.moveDist(RobotDrive.Direction.REVERSE, .5, 1);*/\n telemetry.addData(\"Ready! \", \"Go Flamangos!\"); \n telemetry.update();\n\n //Starting the servos in the correct starting position\n /*hw.armRight.setPosition(1-.3);\n hw.armLeft.setPosition(.3);\n hw.level.setPosition(.3+.05);*/\n hw.f_servoLeft.setPosition(1);\n hw.f_servoRight.setPosition(0.5);\n \n rd.moveArm(hw.startPos());\n waitForStart();\n while (opModeIsActive()) {\n \n /*Starting close to the bridge on the building side\n Move under the bridge and push into the wall*/\n rd.moveDist(RobotDrive.Direction.LEFT,2,.5);\n rd.moveDist(RobotDrive.Direction.FORWARD, 10, .5);\n break;\n }\n }", "@Override \n public Vector getLocation() {\n return this.getR();\n }", "public void setServo(double position){\n this.armServo.set(position);\n // Range is from 0.0 (left) to 1.0 (right)\n }", "@Override\n public void robotInit() {\n m_driveTrain = new DriveTrain();\n m_oi = new OI(); \n encoder = new Encoder();\n JoystickDrive = new JoystickDrive();\n RoboticArm = new RoboticArm();\n Science = new Science();\n pid = new PID();\n inverse = new Inverse();\n\n // workingSerialCom = new serialComWorking();\n\n\n // while(true){\n // // ros_string = workingSerialCom.read();\n // // System.out.println(ros_string);\n // LeftFront = Robot.m_driveTrain.dr+iveTrainLeftFrontMotor.getSelectedSensorVelocity()*(10/4096);\n // RightFront = Robot.m_driveTrain.driveTrainRightFrontMotor.getSelectedSensorVelocity()*(10/4096);\n // LeftFront_ros = workingSerialCom.floattosString(LeftFront);\n // RigthFront_ros = workingSerialCom.floattosString(RightFront);\n\n // ros_string = workingSerialCom.read();\n // gulce = workingSerialCom.StringConverter(ros_string, 1);\n // System.out.println(gulce);\n // workingSerialCom.write(LeftFront_ros+RigthFront_ros+\"\\n\");\n // }\n // workingSerialCom.write(\"Yavuz\\n\");\n // // RoboticArm.run();\n // // m_driveTrain.run();\n // // workingSerialCom.StringConverter(ros_string, 3);\n }", "@Override\n\tprotected void execute() {\n\t\tif(Math.abs(Robot.oi.stick.getY()-this.lastValue) < RobotMap.lambda){\n\t\t\tif(System.currentTimeMillis()-this.lastTime > 1000){\n\t\t\t\tRobot.arm.set(0);\n\t\t\t} else {\n\t\t\t\tRobot.arm.set(Robot.oi.stick.getY());\n\t\t\t}\n\t\t} else {\n\t\t\tthis.lastTime = System.currentTimeMillis();\n\t\t\tthis.lastValue = Robot.oi.stick.getY();\t\n\t\t\tRobot.arm.set(Robot.oi.stick.getY());\n\t\t}\n\t}", "public void avvio_gioco(){\n\n punti = 3;\n //Posizione iniziale della x\n for (short i = 0; i < punti; i++) {\n x[i] = 150 - i*10;\n y[i] = 150;\n }\n posiziona_bersaglio();\n\n //Attivazione del timer\n timer = new Timer(RITARDO, this);\n timer.start();\n }", "private void testGrab()\n {\n if(gamepad1.y) {\n //move to position where it touches block ----might have to change angle based on trial----\n //Drastic angles at the moment for testing\n servoLeft.setPosition(0.5);\n //servoRight.setPosition(0.5);\n }\n }", "Robot getRobot(Position pos);", "protected RobotCoordinates getRobotCoordinates() { return currentPos; }", "protected void execute() {\n \n \t\n \t \n \t\n \n System.out.println((Timer.getFPGATimestamp()- starttime ) + \",\" + (RobotMap.motorLeftTwo.getEncPosition()) + \",\"\n + (RobotMap.motorLeftTwo.getEncVelocity()*600)/-4096 + \",\" + RobotMap.motorRightTwo.getEncPosition() + \",\" + (RobotMap.motorRightTwo.getEncVelocity()*600)/4096);\n \n /*if(endpoint > 0){\n cruiseVelocityLeft = (float) (this.initCruiseVelocityLeft+ angleorientation.getResult());\n cruiseVelocityRight = (float) (this.initCruiseVelocityRight - angleorientation.getResult());\n }\n if(endpoint <= 0){\n cruiseVelocityLeft = (float) (this.initCruiseVelocityLeft- angleorientation.getResult());\n cruiseVelocityRight = (float) (this.initCruiseVelocityRight + angleorientation.getResult());\n }*/\n System.out.println(this.motionMagicEndPoint*4096 + RobotMap.motorLeftTwo.getEncPosition() + \"l\");\n System.out.println(this.motionMagicEndPoint*4096 - RobotMap.motorRightTwo.getEncPosition() + \"r\");\n \n \n \t if(RobotMap.motorLeftTwo.getEncVelocity()!= velocityLeft)\n velocityLeft = RobotMap.motorLeftTwo.getEncVelocity(); \n velocityRight = RobotMap.motorRightTwo.getEncVelocity();\n SmartDashboard.putNumber(\"LeftWheelError\", (this.motionMagicEndPoint*4096 + RobotMap.motorLeftTwo.getEncPosition()));\n SmartDashboard.putNumber(\"RightWheelError\",(this.motionMagicEndPoint*4096 - RobotMap.motorRightTwo.getEncPosition()));\n SmartDashboard.putNumber(\"LeftWheelVelocity\", (RobotMap.motorLeftTwo.getEncVelocity())*600/4096);\n SmartDashboard.putNumber(\"RightWheelVelocity\",(RobotMap.motorRightTwo.getEncVelocity()*600)/4096);\n \n \n count++;\n \tangleorientation.updatePID(RobotMap.navx.getAngle());\n }", "void positionToStart () {\n currentRow = 0 - currentPiece.getOffset();\n currentColumn = board.columns / 2 - currentPiece.width / 2;\n }", "public void updatePosition(){\n\t\t//maps the position to the closest \"grid\"\n\t\tif(y-curY>=GameSystem.GRID_SIZE/2){\n\t\t\tcurY=curY+GameSystem.GRID_SIZE;\n\t\t\tyGridNearest++;\n\t\t}\n\t\telse if(curX-x>=GameSystem.GRID_SIZE/2){\n\t\t\tcurX=curX-GameSystem.GRID_SIZE;\n\t\t\txGridNearest--;\n\t\t}\n\t\telse if(x-curX>=GameSystem.GRID_SIZE/2){\n\t\t\tcurX=curX+GameSystem.GRID_SIZE;\n\t\t\txGridNearest++;\n\t\t}\n\t\telse if(curY-y>=GameSystem.GRID_SIZE/2){\n\t\t\tcurY=curY-GameSystem.GRID_SIZE;\n\t\t\tyGridNearest--;\n\t\t}\n\t\t//sets the last completely arrived location grid\n\t\tif(y-yTemp>=GameSystem.GRID_SIZE){\n\t\t\tyTemp=yTemp+GameSystem.GRID_SIZE;\n\t\t\ty=yTemp;\n\t\t\tlastY++;\n\t\t}\n\t\telse if(xTemp-x>=GameSystem.GRID_SIZE){\n\t\t\txTemp=xTemp-GameSystem.GRID_SIZE;\n\t\t\tx=xTemp;\n\t\t\tlastX--;\n\t\t}\n\t\telse if(x-xTemp>=GameSystem.GRID_SIZE){\n\t\t\txTemp=xTemp+GameSystem.GRID_SIZE;\n\t\t\tx=xTemp;\n\t\t\tlastX++;\n\t\t}\n\t\telse if(yTemp-y>=GameSystem.GRID_SIZE){\n\t\t\tyTemp=yTemp-GameSystem.GRID_SIZE;\n\t\t\ty=yTemp;\n\t\t\tlastY--;\n\t\t}\n\t\t//only updates nextX and nextY when the move buttons are being pressed down\n\t\t/*\n\t\tif(movable){\n\t\t\tif(direction.equals(\"right\")){\n\t\t\t\t\tnextX=lastX+1;\n\t\t\t\t\tnextY=lastY;\n\t\t\t}\n\t\t\telse if(direction.equals(\"left\")){\n\t\t\t\tnextX=lastX-1;\n\t\t\t\tnextY=lastY;\n\t\t\t}\n\t\t\telse if(direction.equals(\"up\")){\n\t\t\t\tnextY=lastY-1;\n\t\t\t\tnextX=lastX;\n\t\t\t}\n\t\t\telse if(direction.equals(\"down\")){\n\t\t\t\tnextY=lastY+1;\n\t\t\t\tnextX=lastX;\n\t\t\t}\n\t\t}\n\t\t*/\n\t\t\n\t}", "Object getPosition();", "public void pos1 () throws InterruptedException {\n pos = 1;\n mainFlop.setPosition(0.7);\n subFlop.setPosition(0.35);\n Thread.sleep(400);\n }", "public void run() {\n\t\t\t\t\t\tint x=905;\n\t\t\t\t\t\tint y=36;\n\t\t\t\t\t\twhile(x!=665){\n\t\t\t\t\t\t\tif((x-665)>10){\n\t\t\t\t\t\t\t\tx-=10;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse{\n\t\t\t\t\t\t\t\tx=665;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tThread.sleep(50);\n\t\t\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tJPanelEdit.this.setLocation(x, y);\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "public void mo8822f() {\n if (C2274o.m9903i(C3720a.this.f12125b.mo8842J())) {\n if (!C2331d.m10125b((Activity) C3720a.this, C2328a.ON_PANTILTER_SET_HOME_POSITION)) {\n C3720a.this._cameraUtil.mo6032a((Runnable) new Runnable() {\n public void run() {\n C2331d.m10114a((Activity) C3720a.this, C2328a.ON_PANTILTER_SET_HOME_POSITION, (Bundle) null);\n }\n });\n }\n } else if (C2274o.m9902h(C3720a.this.f12125b.mo8842J())) {\n C3720a.this._cameraUtil.mo6032a((Runnable) new Runnable() {\n public void run() {\n C3720a.this.f12125b.mo8868e(C3720a.this._context.getText(R.string.cmn_msg_just_a_moment).toString());\n }\n });\n } else {\n if (C2274o.m9917w(C3720a.this.f12125b.mo8842J()) && !C3720a.this._isStartPreset) {\n C3720a.this._isStartPreset = true;\n }\n if (C2331d.m10125b((Activity) C3720a.this, C2328a.ON_PANTILTER_SET_HOME_POSITION)) {\n C3720a.this._cameraUtil.mo6032a((Runnable) new Runnable() {\n public void run() {\n C2331d.m10100a((Activity) C3720a.this);\n }\n });\n }\n }\n }", "@Override\n protected void execute() {\n headingPID.setSetpoint(-angle); //should be -angle \n Robot.driveBase.DriveAutonomous();\n }", "public void teleopPeriodic() {\n \t//driveTrain.setInputSpeed(xbox.getAxisLeftY(), xbox.getAxisRightY());\n \t\n \tdriveTrain.print();\n \t\n \t// funcao PID\n \tif (xbox.getButtonX()) {\n\t\t\tbotaoapertado = true;\n\t\t} else if (xbox.getButtonY()) {\n\t\t\tbotaoapertado = false;\n\t\t\tdriveTrain.start();\n\t\t\tdriveTrain.setSetPoint(0, 0);\n\t\t}\n \tif (botaoapertado) {\n \t\tdriveTrain.setSetPoint(100, 100);\n\t\t}\n \t\n }", "public void myLocationClick() {\n\n //Set the initial camera position to the current location\n GridPoint gridPoint = myGridPoint();\n float mpp = 1;\n\n if (gridPoint != null) {\n\n CameraPosition cameraPosition = new CameraPosition(gridPoint, mpp);\n mMap.moveCamera(cameraPosition, true);\n\n } else {\n\n //If GPS is off, notify the user to turn it on\n Toast.makeText(MainActivity.this,\"Turn on GPS.\",Toast.LENGTH_SHORT).show();\n\n }\n\n }", "public void setCameraPos(CamPos in){\r\n\t\tresolveCamPos(in);\r\n\t\tpan_servo.setAngle(cur_pan_angle);\r\n\t\ttilt_servo.setAngle(cur_tilt_angle);\r\n\t\t\r\n\t\t\r\n\t}", "static float calculateNewPosition(float a, float deltaTime, float v, float x0) {\n return x0\n + (a * deltaTime * deltaTime / 2 + v * deltaTime)\n * (Utility.sensorType == Sensor.TYPE_GYROSCOPE ? GYROSCOPE_MOVEMENT_COEFF : GRAVITY_MOVEMENT_COEFF);\n }", "@Override\n public void initialize() {\n arm.setPosition(degrees);\n }", "private void setCurrentPos() {\n\t\tcurrentPos=layout_Circle[l.y][l.x];\n\t\tcurrentPos.setFill(Paint.valueOf(\"Red\"));\n\n\t\tsetValidMoves();\n\t}", "@Override\r\n public void act() \r\n {\n int posx = this.getX();\r\n int posy = this.getY();\r\n //calculamos las nuevas coordenadas\r\n int nuevox = posx + incx;\r\n int nuevoy = posy + incy;\r\n \r\n //accedemos al mundo para conocer su tamaño\r\n World mundo = this.getWorld();\r\n if(nuevox > mundo.getWidth())//rebota lado derecho\r\n {\r\n incx = -incx;\r\n }\r\n if(nuevoy > mundo.getHeight())//rebota en la parte de abajo\r\n {\r\n incy = -incy;\r\n }\r\n \r\n if(nuevoy < 0)//rebota arriba\r\n {\r\n incy = -incy;\r\n }\r\n if(nuevox < 0)//rebota izquierda\r\n {\r\n incx = -incx;\r\n }\r\n //cambiamos de posicion a la pelota\r\n this.setLocation(nuevox,nuevoy);\r\n }", "private void calculateLocation()\r\n\t{\r\n\t\tdouble leftAngleSpeed \t= this.angleMeasurementLeft.getAngleSum() / ((double)this.angleMeasurementLeft.getDeltaT()/1000); //degree/seconds\r\n\t\tdouble rightAngleSpeed \t= this.angleMeasurementRight.getAngleSum() / ((double)this.angleMeasurementRight.getDeltaT()/1000); //degree/seconds\r\n\r\n\t\tdouble vLeft\t= (leftAngleSpeed * Math.PI * LEFT_WHEEL_RADIUS ) / 180 ; //velocity of left wheel in m/s\r\n\t\tdouble vRight\t= (rightAngleSpeed * Math.PI * RIGHT_WHEEL_RADIUS) / 180 ; //velocity of right wheel in m/s\t\t\r\n\t\tdouble w \t\t= (vRight - vLeft) / WHEEL_DISTANCE; //angular velocity of robot in rad/s\r\n\t\t\r\n\t\tDouble R \t= new Double(( WHEEL_DISTANCE / 2 ) * ( (vLeft + vRight) / (vRight - vLeft) ));\t\t\t\t\t\t\t\t\r\n\t\t\r\n\t\tdouble ICCx = 0;\r\n\t\tdouble ICCy = 0;\r\n\r\n\t\tdouble W_xResult \t\t= 0;\r\n\t\tdouble W_yResult \t\t= 0;\r\n\t\tdouble W_angleResult \t= 0;\r\n\t\t\r\n\t\tdouble E_xResult \t\t= 0;\r\n\t\tdouble E_yResult \t\t= 0;\r\n\t\tdouble E_angleResult \t= 0;\r\n\t\t\r\n\t\t//short axe = 0;\r\n\t\t\r\n\t\tdouble deltaT = ((double)this.angleMeasurementLeft.getDeltaT())/1000;\r\n\t\t\r\n\t\t// Odometry calculations\r\n\t\tif (R.isNaN()) \t\t\t\t//robot don't move\r\n\t\t{\r\n\t\t\tW_xResult\t\t= this.pose.getX();\r\n\t\t\tW_yResult\t\t= this.pose.getY();\r\n\t\t\tW_angleResult \t= this.pose.getHeading();\r\n\t\t} \r\n\t\telse if (R.isInfinite()) \t//robot moves straight forward/backward, vLeft==vRight\r\n\t\t{ \r\n\t\t\tW_xResult\t\t= this.pose.getX() + vLeft * Math.cos(this.pose.getHeading()) * deltaT;\r\n\t\t\tW_yResult\t\t= this.pose.getY() + vLeft * Math.sin(this.pose.getHeading()) * deltaT;\r\n\t\t\tW_angleResult \t= this.pose.getHeading();\r\n\t\t} \r\n\t\telse \r\n\t\t{\t\t\t\r\n\t\t\tICCx = this.pose.getX() - R.doubleValue() * Math.sin(this.pose.getHeading());\r\n\t\t\tICCy = this.pose.getY() + R.doubleValue() * Math.cos(this.pose.getHeading());\r\n\t\t\r\n\t\t\tW_xResult \t\t= Math.cos(w * deltaT) * (this.pose.getX()-ICCx) - Math.sin(w * deltaT) * (this.pose.getY() - ICCy) + ICCx;\r\n\t\t\tW_yResult \t\t= Math.sin(w * deltaT) * (this.pose.getX()-ICCx) + Math.cos(w * deltaT) * (this.pose.getY() - ICCy) + ICCy;\r\n\t\t\tW_angleResult \t= this.pose.getHeading() + w * deltaT;\r\n\t\t}\r\n\t\t\r\n\t\tthis.pose.setLocation((float)W_xResult, (float)W_yResult);\r\n\t\tthis.pose.setHeading((float)W_angleResult);\r\n\t\t\r\n\t\t// Conversion to grads\r\n\t\tW_angleResult = W_angleResult/Math.PI*180;\r\n\t\t\r\n\t\t// Get the heading axe\r\n\t\t//axe = getHeadingAxe();\r\n\t\tgetHeadingAxe();\r\n\t\t\r\n\t\t// Verify the coordinates and the heading angle\r\n\t\tif (Po_Corn == 1)\r\n\t\t{\r\n\t\t\tswitch (Po_CORNER_ID)\r\n\t\t\t{\r\n\t\t\t\tcase 0:\r\n\t\t\t\t\tE_xResult = 0;\r\n\t\t\t\t\tE_yResult = 0;\r\n\t\t\t\t\tPo_ExpAng = 0;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 1:\r\n\t\t\t\t\tE_xResult = 1.8;\r\n\t\t\t\t\tE_yResult = 0.11;\r\n\t\t\t\t\tPo_ExpAng = 90;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tE_xResult = 1.6;\r\n\t\t\t\t\tE_yResult = 0.6;\r\n\t\t\t\t\tPo_ExpAng = 180;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\tE_xResult = 1.5;\r\n\t\t\t\t\tE_yResult = 0.45;\r\n\t\t\t\t\tPo_ExpAng = 270;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 4:\r\n\t\t\t\t\tE_xResult = 1.5;\r\n\t\t\t\t\tE_yResult = 0.3;\r\n\t\t\t\t\tPo_ExpAng = 180;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 5:\r\n\t\t\t\t\tE_xResult = 0.3;\r\n\t\t\t\t\tE_yResult = 0.3;\r\n\t\t\t\t\tPo_ExpAng = 90;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 6:\r\n\t\t\t\t\tE_xResult = 0.3;\r\n\t\t\t\t\tE_yResult = 0.6;\r\n\t\t\t\t\tPo_ExpAng = 180;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 7:\r\n\t\t\t\t\tE_xResult = 0;\r\n\t\t\t\t\tE_yResult = 0.6;\r\n\t\t\t\t\tPo_ExpAng = 270;\r\n\t\t\t\t\tbreak;\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tE_angleResult = W_angleResult;\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tint block = 0;\r\n\t\t\t// white = 0, black = 2, grey = 1\r\n\t\t\tif ((lineSensorLeft == 0) && (lineSensorRight == 0) && (block == 0)) \t// Robot moves on the black line\r\n\t\t\t{\r\n\t\t\t\tswitch (Po_CORNER_ID)\t\t\t\t\t\t\t\t// Even numbers - x, Odd numbers - y\r\n\t\t\t\t{\r\n\t\t\t\tcase 0: \r\n\t\t\t\t\tif (this.pose.getX() < 1.6)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = Po_ExpAng;\r\n\t\t\t\t\t\tE_yResult = 0;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = W_angleResult;\r\n\t\t\t\t\t\tE_yResult = W_yResult;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tE_xResult = W_xResult;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase 1: \r\n\t\t\t\t\tif (this.pose.getY() < 0.4)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = Po_ExpAng;\r\n\t\t\t\t\t\tE_xResult = 1.8;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = W_angleResult; \r\n\t\t\t\t\t\tE_xResult = W_xResult;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tE_yResult = W_yResult;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tif (this.pose.getX() > 1.65)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = Po_ExpAng;\r\n\t\t\t\t\t\tE_yResult = 0.6;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = W_angleResult;\r\n\t\t\t\t\t\tE_yResult = W_yResult;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tE_xResult = W_xResult;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase 3:\r\n\t\t\t\t\tif (this.pose.getY() > 0.4)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = Po_ExpAng;\r\n\t\t\t\t\t\tE_xResult = 1.5; \r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = W_angleResult; \r\n\t\t\t\t\t\tE_xResult = W_xResult;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tE_yResult = W_yResult;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase 4: \r\n\t\t\t\t\tif (this.pose.getX() > 0.4)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = Po_ExpAng;\r\n\t\t\t\t\t\tE_yResult = 0.3;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = W_angleResult;\r\n\t\t\t\t\t\tE_yResult = W_yResult;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tE_xResult = W_xResult;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase 5:\r\n\t\t\t\t\tif (this.pose.getY() < 0.5)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = Po_ExpAng;\r\n\t\t\t\t\t\tE_xResult = 0.3;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = W_angleResult; \r\n\t\t\t\t\t\tE_xResult = W_xResult;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tE_yResult = W_yResult;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase 6: \r\n\t\t\t\t\tif (this.pose.getX() > 0.1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = Po_ExpAng;\r\n\t\t\t\t\t\tE_yResult = 0.6;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = W_angleResult;\r\n\t\t\t\t\t\tE_yResult = W_yResult;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tE_xResult = W_xResult;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tcase 7:\r\n\t\t\t\t\tif (this.pose.getY() > 0.1)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = Po_ExpAng;\r\n\t\t\t\t\t\tE_xResult = 0;\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tE_angleResult = W_angleResult; \r\n\t\t\t\t\t\tE_xResult = W_xResult;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tE_yResult = W_yResult;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t\t\r\n\t\t\t\tdefault: \r\n\t\t\t\t\tE_angleResult = W_angleResult;\r\n\t\t\t\t\tE_yResult = W_yResult;\r\n\t\t\t\t\tE_xResult = W_xResult;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse if(((lineSensorLeft == 0) && (lineSensorRight == 2)) || ((lineSensorLeft == 2) && (lineSensorRight == 0)))\r\n\t\t\t{\r\n\t\t\t\tE_xResult = W_xResult;\r\n\t\t\t\tE_yResult = W_yResult;\r\n\t\t\t\t\r\n\t \tif (W_angleResult >= TRSH_W)\r\n\t \t{\r\n\t \t\tE_angleResult = TRSH_W;\r\n\t \t}\r\n\t \telse if (W_angleResult >= (360 - TRSH_W))\r\n\t \t{\r\n\t \t\tE_angleResult = 360 - TRSH_W;\r\n\t \t}\r\n\t \telse\r\n\t \t{\r\n\t \t\tE_angleResult = W_angleResult;\r\n\t \t}\r\n\t \t\r\n\t \t// test\r\n\t \tE_angleResult = W_angleResult;\r\n\t\t\t}\r\n\t\t\telse if(((lineSensorLeft == 0) && (lineSensorRight == 1)) || ((lineSensorLeft == 1) && (lineSensorRight == 0)))\r\n\t\t\t{\r\n\t\t\t\tE_xResult = W_xResult;\r\n\t\t\t\tE_yResult = W_yResult;\r\n\t\t\t\t\r\n\t \tif (W_angleResult >= TRSH_G)\r\n\t \t{\r\n\t \t\tE_angleResult = TRSH_G;\r\n\t \t}\r\n\t \telse if (W_angleResult >= (360 - TRSH_G))\r\n\t \t{\r\n\t \t\tE_angleResult = 360 - TRSH_G;\r\n\t \t}\r\n\t \telse\r\n\t \t{\r\n\t \t\tE_angleResult = W_angleResult;\r\n\t \t}\r\n\t \t\r\n\t \t// test\r\n\t \tE_angleResult = W_angleResult;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tE_xResult = W_xResult;\r\n\t\t\t\tE_yResult = W_yResult;\r\n\t\t\t\tE_angleResult = W_angleResult;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tLCD.drawString(\"AngRs: \" + (E_angleResult), 0, 7);\r\n\t\t\r\n\t\t// Conversion to rads\r\n\t\tW_angleResult = W_angleResult*Math.PI/180;\r\n\t\tE_angleResult = E_angleResult*Math.PI/180;\r\n\t\t\r\n\t\tif ((Po_CORNER_ID == 3) && (100*this.pose.getY() < 45))\r\n\t\t{\r\n\t\t\tE_angleResult = 3*Math.PI/180;;\r\n\t\t}\r\n\t\t\r\n\t\tthis.pose.setLocation((float)E_xResult, (float)E_yResult);\r\n\t\tthis.pose.setHeading((float)E_angleResult);\r\n\t\t\r\n\t\t/*\r\n\t\t// Integration deviation correction\r\n\t\tthis.pose.setLocation((float)(W_xResult), (float)(W_yResult + (0.01*22.4)/175));\r\n\t\tthis.pose.setHeading((float)((W_angleResult + 14/175)*Math.PI/180));\r\n\t\t*/\r\n\t}", "private void move() {\n\t\t\tx += Math.PI/12;\n\t\t\thead.locY = intensity * Math.cos(x) + centerY;\n\t\t\thead.yaw = spinYaw(head.yaw, 3f);\n\t\t\t\t\t\n\t\t\tPacketHandler.teleportFakeEntity(player, head.getId(), \n\t\t\t\tnew Location(player.getWorld(), head.locX, head.locY, head.locZ, head.yaw, 0));\n\t\t}", "public OI(){\n driveStick = new Joystick(RobotMap.DRIVE_STICK);\n armStick = new Joystick(RobotMap.ARM_STICK);\n assoc(); \n }", "void updatePosition() {\n\t\t\n\t\tcoords.x = body.getPosition().x*Simulation.meterToPixel;\n\t\tcoords.y = body.getPosition().y*Simulation.meterToPixel;\n\t\tspeed.x = body.m_linearVelocity.x;\n\t\tspeed.y = body.m_linearVelocity.y;\n\t}", "Position getNewPosition();", "public void toCollectPos()throws InterruptedException{\n motorShoulder.setTargetPosition(-90);\r\n motorElbow.setTargetPosition(141);\r\n motorShoulder.setPower(SLOW_POWER);\r\n motorElbow.setPower(SLOW_POWER);\r\n sleep(1000);\r\n\r\n servoBucket.setPosition(0.28);\r\n\r\n motorShoulder.setTargetPosition(-440);\r\n motorElbow.setTargetPosition(280);\r\n motorShoulder.setPower(SLOW_POWER);\r\n motorElbow.setPower(SLOW_POWER);\r\n sleep(1000);\r\n\r\n motorShoulder.setTargetPosition(-500);\r\n motorShoulder.setPower(SLOW_POWER);\r\n }", "public void moveToCoord(int x, int y, int angle, double power) throws IOException{\n\t\tresetCoordinates();\n\t\tdouble moveAngle;\n\t\tdouble thetaField;\n\t\tdouble referenceTheta;\n\t\t//(-62,-3)\n\t\treferenceTheta = Math.atan2(y-getY(),getX() - x);\n\t\tthetaField = referenceTheta;\n\t\t//calculate what angle in reference to the robot that the robot should move\n\t\tmoveAngle=thetaField+(Math.PI/2)-Math.toRadians(getAngle());\n\t\tif(Math.abs(moveAngle)>Math.PI&&moveAngle<0){\n\t\t\tmoveAngle=moveAngle+(2*Math.PI);\n\t\t}\n\t\tif(Math.abs(moveAngle)>Math.PI&&moveAngle>0){\n\t\t\tmoveAngle=moveAngle-(2*Math.PI);\n\t\t}\n\t\tpolarDrive(power,moveAngle);\n\t\twhile((Math.abs(getX()-x)>2 || Math.abs(getY()-y)>2)&&opModeIsActive()&&resetCoordinates()){\n\t\t\tresetCoordinates();\n\t\t\tif(gamepad1.a)\n\n\t\t\t\tstopMotors();\n\t\t\telse{\n\t\t\t\tpolarDrive(power,moveAngle);\n\t\t\t}\n\t\t\ttelemetry.addData(\"(x,y)\",\"(\"+getX()+\",\"+getY()+\")\");\n\t\t\ttelemetry.addData(\"(new x,new y\",\"(\"+x+\",\"+y+\")\" );\n\t\t\ttelemetry.addData(\"getX() > x\",getX() > x);\n\t\t\ttelemetry.addData(\"y < getY()\",y < getY());\n\t\t\ttelemetry.addData(\"reference angle\", Math.toDegrees(referenceTheta));\n\t\t\ttelemetry.addData(\"goal Angle\", Math.toDegrees(moveAngle));\n\t\t\ttelemetry.addData(\"current angle\",getAngle());\n\t\t\ttelemetry.addData(\"theta field\",Math.toDegrees(thetaField));\n\t\t\ttelemetry.addData(\"condition\", Math.abs(getX()-x)>1 || Math.abs(getY()-y)>1);\n\t\t\ttelemetry.update();\n\t\t}\n\t\tif(!resetCoordinates())\n\t\t\tthrow new IOException(\"Vuforia not found\");\n\t\tstopMotors();\n\t\trotateToAngle(angle);\n\t\tstopMotors();\n\n\t}", "public void run() {\n\n\t// DecimalFormat df = new DecimalFormat(\"#.###\");\n\tint frecuencia = 0;\n\n\twhile (true) {\n\n\t if (rearmarAne) {\n\t\tlogger.warn(\"Termino el hilo de Anemometro porque se ha rearmado Irrisoft\");\n\t\treturn;\n\t }\n\t tiempoini = (System.nanoTime());\n\t // Cojo los datos a enviar por el puerto serie.\n\t churro = datosInicio();\n\n\t // Duermo el tiempo requerido\n\t logger.info(\"La freceuncia de lectura de Anemometro es: \"\n\t\t + sens.getFrec_lect());\n\n\t // Duermo el sensor el un tiempo, para recibir otra lectura.\n\t dormirSensor();\n\n\t try {\n\t\tserialcon.cogesemaforo(sens.getNum_placa());\n\t\t// Purgo el puerto\n\t\tserialcon.serialPort.purgePort(SerialPort.PURGE_RXCLEAR\n\t\t\t| SerialPort.PURGE_TXCLEAR);\n\n\t\tif (serialcon.serialPort.writeBytes(churro)) {\n\n\t\t if (logger.isInfoEnabled()) {\n\t\t\tlogger.info(\"Comando mandado al puerto serie !\"\n\t\t\t\t+ Arrays.toString(churro));\n\t\t }\n\t\t} else {\n\t\t if (logger.isErrorEnabled()) {\n\t\t\tlogger.error(\"Fallo en mandar comando al puerto serie! \"\n\t\t\t\t+ Arrays.toString(churro));\n\t\t }\n\t\t // RECONECTO\n\t\t // serialcon.purga_puerto(sens.getNum_placa(),\n\t\t // serialcon.serialPort.getPortName());\n\t\t}\n\n\t\t// Leo la respuesta\n\t\tbufferResp = serialcon.serialPort.readBytes(6, 4000);\n\t\t//Trato las lecturas para tener el dato.\n\t\tlectura = sacarLecturas(bufferResp);\n\t\t\n\t\t// Escribo en el panel la lectura\n\t\t// ponelecturas(sens);\n\n\t\t// Irrisoft.window.panelecturasens.getLblectane().setText(medicion+\" pulsos , velocidad \"+velocidad+\n\t\t// \" m/s\");\n\t\tfrecuencia = (int) (frecuencia + ((System.nanoTime() - tiempoini) / Math\n\t\t\t.pow(10, 9)));\n\t\tif (logger.isWarnEnabled()) {\n\t\t logger.warn(\"Tiempo pasado bucle hiloAnemometro: \"\n\t\t\t + frecuencia);\n\t\t}\n\n\t\t// Insertar registro en la pasarela\n\t\tif (frecuencia >= sens.getFrec_env()) {\n\t\t // Creo la lectura para enviar a GIS.\n\t\t LecturasSensor lecturaFinal = cogerLectura(lectura);\n\t\t // Envio la lectura a GIS.\n\t\t enviarLecturasGIS(lecturaFinal);\n\n\t\t frecuencia = 0;\n\t\t}\n\n\t } catch (SerialPortTimeoutException | SerialPortException e) {\n\t\tif (logger.isErrorEnabled()) {\n\t\t if (e instanceof SerialPortTimeoutException)\n\t\t\tlogger.error(\"TIMEOUUUUUT en la lectura del buffer serie: \"\n\t\t\t\t+ e.getMessage());\n\t\t else if (e instanceof SerialPortException)\n\t\t\tlogger.error(e.getMessage());\n\t\t}\n\t\tserialcon.sueltasemaforo(sens.getNum_placa());\n\t }\n\t serialcon.sueltasemaforo(sens.getNum_placa());\n\t}\n\n }", "@Override\n protected void execute() {\n Robot.getEndEffectorAngle().goToPos(holdPos);\n }", "void selectpos()\n {\n \n }", "@Override\n protected void execute() {\n System.out.println(\"Elevator PID Loop:\");\n System.out.println(\"\\t - Current Position: \" + Robot.m_elevator.getEncoder().getPosition());\n \n SmartDashboard.putNumber(\"elevator/pos\", Robot.m_elevator.getEncoder().getPosition());\n // SmartDashboard.putNumber(\"elevator/target\", pos);\n //SmartDashboard.putNumber(\"elevator/error\", Math.abs(Robot.m_elevator.getEncoder().getPosition() - pos));\n // System.out.println(\"\\t - Error: \" + Robot.m)\n }", "public long getPosition();", "public void run() {\n\t\tfinal GpioController gpio = GpioFactory.getInstance();\n\t\tfinal GpioPinDigitalOutput fOn = gpio.provisionDigitalOutputPin(\n\t\t\t\tRaspiPin.GPIO_01, \"FrontOn\", PinState.HIGH);\n\t\tfinal GpioPinDigitalOutput IOback = gpio.provisionDigitalOutputPin(\n\t\t\t\tRaspiPin.GPIO_15, \"Back\", PinState.LOW);\n\t\tfinal GpioPinDigitalOutput IOfront = gpio.provisionDigitalOutputPin(\n\t\t\t\tRaspiPin.GPIO_16, \"Front\", PinState.LOW);\n\n\t\t// pin 6 on. 10 left, 11 right.\n\t\tfinal GpioPinDigitalOutput tOn = gpio.provisionDigitalOutputPin(\n\t\t\t\tRaspiPin.GPIO_06, \"turnOn\", PinState.HIGH);\n\t\tfinal GpioPinDigitalOutput IOleft = gpio.provisionDigitalOutputPin(\n\t\t\t\tRaspiPin.GPIO_10, \"Left\", PinState.LOW);\n\t\tfinal GpioPinDigitalOutput IOright = gpio.provisionDigitalOutputPin(\n\t\t\t\tRaspiPin.GPIO_11, \"Right\", PinState.LOW);\n\t\tSystem.out.println(\"initilised GPIO pins\");\n\t\t\n\t\twhile (keepgoing) {\n\t\t\tswitch (front) {\n\t\t\tcase 0:\n\t\t\t\tIOfront.setState(PinState.HIGH);\n\t\t\t\tIOback.setState(PinState.LOW);\n\t\t\t\t//sets pins for not moving\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\tIOfront.setState(PinState.LOW);\n\t\t\t\tIOback.setState(PinState.LOW);\n\t\t\t\t//sets pins for \n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tIOfront.setState(PinState.LOW);\n\t\t\t\tIOback.setState(PinState.HIGH);\n\t\t\t\t//sets pins for backwards\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tswitch (side) {\n\t\t\tcase 0:\n\t\t\t\tIOleft.setState(PinState.HIGH);\n\t\t\t\tIOright.setState(PinState.LOW);\n\t\t\t\t//sets pins for left\n\t\t\t\tbreak;\n\t\t\tcase 1:\n\t\t\t\tIOleft.setState(PinState.LOW);\n\t\t\t\tIOright.setState(PinState.LOW);\n\t\t\t\t//sets pins for not turning\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tIOleft.setState(PinState.LOW);\n\t\t\t\tIOright.setState(PinState.HIGH);\n\t\t\t\t//sets pins for right\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t\tgpio.shutdown();\n\n\t}" ]
[ "0.6435707", "0.62997425", "0.62678194", "0.6241732", "0.6233814", "0.6195138", "0.6176943", "0.6145219", "0.600272", "0.59847355", "0.59598434", "0.5910015", "0.59035826", "0.5895862", "0.58844334", "0.58832407", "0.5881531", "0.5881047", "0.58726966", "0.58655393", "0.58633524", "0.58607787", "0.5854238", "0.5824109", "0.5823748", "0.58226645", "0.58210695", "0.5819628", "0.5817044", "0.5805996", "0.57972383", "0.5781016", "0.5778597", "0.57734025", "0.57684207", "0.5756998", "0.57555646", "0.5754345", "0.5754345", "0.57525116", "0.57521075", "0.57512593", "0.57476884", "0.57455385", "0.572706", "0.57216626", "0.5715536", "0.5713662", "0.5708414", "0.57045925", "0.5690385", "0.56780225", "0.5676999", "0.5669289", "0.5668479", "0.56684315", "0.56670284", "0.56639326", "0.5663761", "0.56573904", "0.56566626", "0.56542283", "0.5648745", "0.5642491", "0.5635973", "0.5635469", "0.5634546", "0.5628556", "0.56198245", "0.5611674", "0.5607483", "0.5607172", "0.56038857", "0.5603803", "0.55961215", "0.5594034", "0.5588175", "0.5578573", "0.5577544", "0.5571017", "0.5559808", "0.55581266", "0.5554894", "0.5552501", "0.55435145", "0.55404323", "0.5534374", "0.5533636", "0.5529201", "0.55278116", "0.55277926", "0.5524969", "0.5522834", "0.5522041", "0.55197954", "0.55187225", "0.5514348", "0.5513838", "0.55125827", "0.5502963", "0.54969144" ]
0.0
-1
Created by User on 14.11.2019.
public interface WorkService { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n public int describeContents() { return 0; }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tpublic void comer() {\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 public void memoria() {\n \n }", "@Override\n protected void getExras() {\n }", "protected MetadataUGWD() {/* intentionally empty block */}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "public void mo38117a() {\n }", "@Override\n public int getSize() {\n return 1;\n }", "@Override\n protected void initialize() {\n\n \n }", "Petunia() {\r\n\t\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public Pitonyak_09_02() {\r\n }", "@Override\n public void init() {\n\n }", "private static void cajas() {\n\t\t\n\t}", "@Override public int describeContents() { return 0; }", "@Override\n public String toString() {\n return \"\";\n }", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void create () {\n\n\t}", "private MetallicityUtils() {\n\t\t\n\t}", "Consumable() {\n\t}", "public void mo4359a() {\n }", "private UsineJoueur() {}", "@Override\n void init() {\n }", "private void poetries() {\n\n\t}", "@Override\n\tpublic void create() {\n\t\t\n\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "private Rekenhulp()\n\t{\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n public int describeContents()\n {\n return 0;\n }", "@Override\n public void init() {\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\n public int describeContents() {\n return 0;\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "private TMCourse() {\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n public int describeContents() {\n// ignore for now\n return 0;\n }", "private Singletion3() {}", "@Override\n public int getOrder() {\n return 0;\n }", "@Override\n public void initialize() {}", "@Override\n public void initialize() {}", "@Override\n public void initialize() {}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "private CompareDB () {\n\t\tthrow new UnsupportedOperationException();\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n public void initialize() {\n \n }", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n public String getName() {\n return null;\n }" ]
[ "0.5745017", "0.5618729", "0.54414475", "0.5386961", "0.53839356", "0.5375438", "0.5345778", "0.53310895", "0.5301279", "0.527916", "0.527916", "0.5277096", "0.52642995", "0.5258576", "0.524974", "0.52178264", "0.52178264", "0.52178264", "0.52178264", "0.52178264", "0.52178264", "0.52047193", "0.52038676", "0.52012473", "0.5198464", "0.5196331", "0.5164931", "0.5158218", "0.514446", "0.5136491", "0.5136491", "0.5136491", "0.5136491", "0.5136491", "0.5136491", "0.5136491", "0.5133367", "0.5130899", "0.5125998", "0.51212496", "0.5113796", "0.5111077", "0.5105128", "0.5101868", "0.50966626", "0.5094364", "0.5087357", "0.50828844", "0.50739896", "0.50714827", "0.5070094", "0.5063078", "0.5058912", "0.5057979", "0.5055279", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.5054121", "0.50471956", "0.50436866", "0.50280774", "0.50280774", "0.50233173", "0.50162673", "0.50133127", "0.50087804", "0.50087804", "0.50087804", "0.500436", "0.50027555", "0.50003284", "0.5000249", "0.4995292", "0.4988274" ]
0.0
-1
Instantiates a new logger constants.
private LoggerConstants() { super(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private LevelConstants() {\n\t\t\n\t}", "private ExtentLogger() {}", "private JavaUtilLogHandlers() { }", "public Logger (){}", "private Logger() {\n\n }", "private Logger(){ }", "public JmxLogLevel() {\n this(RunTimeSingleton.instance());\n log.error(\"Wrong constructor\");\n }", "private TypicalLogEntries() {}", "public MyLogger () {}", "public Logger() {\n map = new LinkedHashMap<>();\n }", "private Constants() {\n }", "private Constants() {\n }", "private LoggerSingleton() {\n\n }", "private Constants() {\n\n }", "public Constants() {\n }", "public JmxLogLevel(RunTimeSingleton glob) {\n this.glob = glob;\n log.debug(\"Constructor created\");\n }", "protected abstract Logger newInstance(String name);", "private Logger(){\n\n }", "private FTConfigConstants() {\n }", "public LogKitLogger(String name)\n/* */ {\n/* 64 */ this.name = name;\n/* 65 */ this.logger = getLogger();\n/* */ }", "public MyLogs() {\n }", "private Log() {\r\n\t}", "private Constants(){\n }", "private Log() {\n }", "private XLogger() {\n throw new UnsupportedOperationException(\"Do not need instantiate!\");\n }", "public Logger(int loglv) {\r\n LOGLV = loglv;\r\n }", "protected static Logger initLogger() {\n \n \n File logFile = new File(\"workshop2_slf4j.log\");\n logFile.delete();\n return LoggerFactory.getLogger(Slf4j.class.getName());\n }", "private void initLogger() {\n\t\ttry {\n\t\t\tjava.util.logging.Logger rootLogger = java.util.logging.Logger.getLogger(\"\");\n\t\t\trootLogger.setUseParentHandlers(false);\n\t\t\tHandler csvFileHandler = new FileHandler(\"logger/log.csv\", 100000, 1, true);\n\t\t\tlogformater = new LogFormatter();\n\t\t\trootLogger.addHandler(csvFileHandler);\n\t\t\tcsvFileHandler.setFormatter(logformater);\n\t\t\tlogger.setLevel(Level.ALL);\n\t\t} catch (IOException ie) {\n\t\t\tSystem.out.println(\"Logger initialization failed\");\n\t\t\tie.printStackTrace();\n\t\t}\n\t}", "private static Logger createLogger(String className) {\n\n /*\n * No need to set level values explicitly. This is managed in the\n * standard way by java.util.logging.LogManager.\n */\n Logger logger = Logger.getLogger(className);\n\n /*\n * We've debated permitting the logger to use parental handlers, which\n * would permit using the standard java.util.logging policy of setting\n * tbe property com.sleepycat.je.handlers as a way of customizing\n * handlers. This was not useful because of the need to specify\n * handlers per environment, and also caused a process monitor echo\n * issue within NoSQL DB.\n */\n logger.setUseParentHandlers(false);\n\n return logger;\n }", "public Log() { //Null constructor is adequate as all values start at zero\n\t}", "private LabelUtilsConstants() {}", "public static synchronized Logging initialize()\n {\n if (instance == null) {\n instance = new Logging();\n }\n\n return instance;\n }", "protected AbstractLogger() {\n \n }", "public interface Constants {\n \n public static String LOG_TAG = \"iyokan_parts\";\n}", "public ServicioLogger() {\n }", "private LogUtil() {\r\n /* no-op */\r\n }", "private native void initialiseLoggerReference(Logger logger);", "private native void initialiseLoggerReference(Logger logger);", "private void initLoggers() {\n _logger = LoggerFactory.getInstance().createLogger();\n _build_logger = LoggerFactory.getInstance().createAntLogger();\n }", "private ExceptionLogger() {\n }", "private Constants() {\n throw new AssertionError();\n }", "public Logger2 (String logFileName) {\n this.logFileName = logFileName;\n }", "private static void defineLogger() {\n HTMLLayout layout = new HTMLLayout();\n DailyRollingFileAppender appender = null;\n try {\n appender = new DailyRollingFileAppender(layout, \"/Server_Log/log\", \"yyyy-MM-dd\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n logger.addAppender(appender);\n logger.setLevel(Level.DEBUG);\n }", "Object createLogger(String name);", "public static void initLogger(Logger l_) {\n l = l_;\n }", "private WatchGattConstants(){\n\n }", "private void init() {\r\n this.log = this.getLog(LOGGER_MAIN);\r\n\r\n if (!(this.log instanceof org.apache.commons.logging.impl.Log4JLogger)) {\r\n throw new IllegalStateException(\r\n \"LogUtil : apache Log4J library or log4j.xml file are not present in classpath !\");\r\n }\r\n\r\n // TODO : check if logger has an appender (use parent hierarchy if needed)\r\n if (this.log.isWarnEnabled()) {\r\n this.log.warn(\"LogUtil : logging enabled now.\");\r\n }\r\n\r\n this.logBase = this.getLog(LOGGER_BASE);\r\n this.logDev = this.getLog(LOGGER_DEV);\r\n }", "public ModularConfiguration(Logger logger) {\n this.logger = logger;\n }", "private Const() {\n }", "private Constantes() {\r\n\t\t// No way\r\n\t}", "@Override\n\tpublic void initLogger() {\n\t\t\n\t}", "private void initCemsLogger() {\n if (logger == null) {\n final SimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n\n final Formatter formatter = new Formatter() {\n @Override\n public String format(LogRecord record) {\n final StringBuilder sb = new StringBuilder();\n sb.append(dateFormat.format(new Date(record.getMillis())));\n sb.append(\" - \");\n sb.append(record.getLevel().getName());\n sb.append(\": \");\n sb.append(record.getMessage());\n sb.append(\"\\n\");\n @SuppressWarnings(\"ThrowableResultOfMethodCallIgnored\")\n final Throwable thrown = record.getThrown();\n if (thrown != null) {\n sb.append(thrown.toString());\n sb.append(\"\\n\");\n }\n return sb.toString();\n }\n };\n\n final ConsoleHandler handler = new ConsoleHandler();\n handler.setFormatter(formatter);\n handler.setLevel(Level.ALL);\n\n logger = Logger.getLogger(\"ga.cems\");\n final Handler[] handlers = logger.getHandlers();\n for (Handler h : handlers) {\n logger.removeHandler(h);\n }\n\n logger.setUseParentHandlers(false);\n logger.addHandler(handler);\n }\n// logger.setLevel(Level.INFO);\n logger.setLevel(logLevel);\n }", "private USBConstant() {\r\n\r\n\t}", "public LogX() {\n\n }", "protected NConstants() {\n }", "private Log()\n {\n //Hides implicit constructor.\n }", "private DVSTestConstants()\n {\n\n }", "public static final Logger createLogger() {\n\t\tLogger logger = Logger.getLogger(ProcessDatabase.class.getName());\n\t\ttry {\n\t\t\tFileHandler fh = new FileHandler();\n\t\t\tfh.setFormatter(new SimpleFormatter());\n\t\t\tlogger.addHandler(fh);\n\t\t} catch (SecurityException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn logger;\n\t}", "private static Logger getLogger() {\n return LogDomains.getLogger(ClassLoaderUtil.class, LogDomains.UTIL_LOGGER);\n }", "public DNSLog() {}", "protected void initLogger() {\n initLogger(\"DEBUG\");\n }", "protected static Logger log() {\n return LogSingleton.INSTANCE.value;\n }", "public Slf4jLogService() {\n this(System.getProperties());\n }", "private TOTPAuthenticatorConstants() {\n\t}", "private Constants() {\n\t\tthrow new AssertionError();\n\t}", "public static Logger getInstance() {\n if (logger == null)\n logger = Logger.getLogger(Logger.GLOBAL_LOGGER_NAME);\n return logger;\n }", "public AstractLogger getDefaultLogger()\n {\n return new DefaultLogger();\n }", "private RBACConstants() {\r\n }", "private VolumeDataConstants() {\r\n \r\n }", "private Logger(String logFilePath) {\n\t\tif(TextUtils.isEmpty(logFilePath)) \n\t\t\tthrow new IllegalArgumentException(\"invalid parameter logFilePath.\");\n\t\tmLogFilePath = logFilePath;\n\t}", "private ApplicationConstants(){\n\t\t//not do anything \n\t}", "private Logger configureLogging() {\r\n\t Logger rootLogger = Logger.getLogger(\"\");\r\n\t rootLogger.setLevel(Level.FINEST);\r\n\r\n\t // By default there is one handler: the console\r\n\t Handler[] defaultHandlers = Logger.getLogger(\"\").getHandlers();\r\n\t defaultHandlers[0].setLevel(Level.CONFIG);\r\n\r\n\t // Add our logger\r\n\t Logger ourLogger = Logger.getLogger(serviceLocator.getAPP_NAME());\r\n\t ourLogger.setLevel(Level.FINEST);\r\n\t \r\n\t // Add a file handler, putting the rotating files in the tmp directory \r\n\t // \"%u\" a unique number to resolve conflicts, \"%g\" the generation number to distinguish rotated logs \r\n\t try {\r\n\t Handler logHandler = new FileHandler(\"/%h\"+serviceLocator.getAPP_NAME() + \"_%u\" + \"_%g\" + \".log\",\r\n\t 1000000, 3);\r\n\t logHandler.setLevel(Level.FINEST);\r\n\t ourLogger.addHandler(logHandler);\r\n\t logHandler.setFormatter(new Formatter() {\r\n\t\t\t\t\t\r\n\t\t\t\t\t@Override\r\n\t\t\t\t\tpublic String format(LogRecord record) {\r\n\t\t\t\t\t\tString result=\"\";\r\n\t\t\t\t\t\tif(record.getLevel().intValue() >= Level.WARNING.intValue()){\r\n\t\t\t\t\t\t\tresult += \"ATTENTION!: \";\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tSimpleDateFormat df = new SimpleDateFormat(\"dd-MMM-yyyy HH:mm:ss\");\r\n\t\t\t\t\t\tDate d = new Date(record.getMillis());\r\n\t\t\t\t\t\tresult += df.format(d)+\" \";\r\n\t\t\t\t\t\tresult += \"[\"+record.getLevel()+\"] \";\r\n\t\t\t\t\t\tresult += this.formatMessage(record);\r\n\t\t\t\t\t\tresult += \"\\r\\n\";\r\n\t\t\t\t\t\treturn result;\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t } catch (Exception e) { // If we are unable to create log files\r\n\t throw new RuntimeException(\"Unable to initialize log files: \"\r\n\t + e.toString());\r\n\t }\r\n\r\n\t return ourLogger;\r\n\t }", "public Log()\n {\n filePath = String.format(\"log-%d.sl\", System.currentTimeMillis());\n\n open();\n }", "public LogEntry () {\n }", "public Logs() {\n initComponents();\n }", "private MainConst() {\n super(\"\");\n }", "void initializeLogging();", "private void initLoggers()\n {\n Logger.getSharedInstance();\n\n for (Logger logger : Logger.getAllLoggers())\n {\n String key = \"Loggers/\" + logger.getNamespace();\n Level desired;\n\n if (!SmartDashboard.containsKey(key))\n {\n // First time this logger has been sent to SmartDashboard\n SmartDashboard.putString(key, logger.getLogLevel().name());\n desired = Level.DEBUG;\n }\n else\n {\n String choice = SmartDashboard.getString(key, \"DEBUG\");\n Level parsed = Level.valueOf(choice);\n if (parsed == null)\n {\n m_logger.error(\"The choice '\" + choice + \"' for logger \" + logger.getNamespace() + \" isn't a valid value.\");\n desired = Level.DEBUG;\n }\n else\n {\n desired = parsed;\n }\n }\n logger.setLogLevel(desired);\n }\n }", "void initializeLogging(String loggingProperties);", "public Log(Logger logger) {\n this.logger = logger;\n }", "private ZipConstants() {}", "public static LogUtil getLogUtil()\n {\n if(logUtilsObj == null)\n {\n logUtilsObj = new LogUtil();\n }\n\n return logUtilsObj;\n }", "public static AstractLogger getStaticLogger(String LoggerName)\n {\n AstractLogger logger = null;\n\n ResourceContext ctx = new ResourceContext();\n\n // try the new Logging model.\n AbstractLogFactory factory = (AbstractLogFactory) ctx.get(AbstractLogFactory.RESOURCE_KEY);\n\n if (factory == null)\n {\n // no factory registered, error\n OpenRate.getFrameworkExceptionHandler().reportException(new InitializationException(\"No log factory found\",\"LogUtil\"));\n }\n else\n {\n logger = factory.getLogger(LoggerName);\n }\n\n if (logger == null)\n {\n OpenRate.getFrameworkExceptionHandler().reportException(new InitializationException(\"unable to load logger. Resource not found\",\"LogUtil\"));\n }\n\n return logger;\n }", "public ScreeningLogger() {\n int defaultMaxRetries = DEFAULT_MAX_RETRIES;\n int defaultRetrySleepTime = DEFAULT_RETRY_SLEEP_TIME;\n\n try {\n ConfigManager cm = ConfigManager.getInstance();\n\n String maxRetriesString = cm.getString(SCREENING_LOGGER_NAMESPACE, MAX_RETRIES_PROPERTY_NAME);\n if (maxRetriesString != null) {\n try {\n defaultMaxRetries = Integer.parseInt(maxRetriesString);\n } catch (NumberFormatException nfe) {\n // uses default\n }\n }\n\n String retrySleepTimeString = cm.getString(SCREENING_LOGGER_NAMESPACE, RETRY_SLEEP_TIME_PROPERTY_NAME);\n if (retrySleepTimeString != null) {\n try {\n defaultRetrySleepTime = Integer.parseInt(retrySleepTimeString);\n } catch (NumberFormatException nfe) {\n // uses default\n }\n }\n } catch (Exception e) {\n // uses default\n }\n\n maxRetries = defaultMaxRetries;\n retrySleepTime = defaultRetrySleepTime;\n\n initializeIdGen();\n }", "public static ADFLogger createLogger(Class className) {\r\n return ADFLogger.createADFLogger(className);\r\n }", "public static Logger getInstance(){\n if (shareInstance == null) {\n shareInstance = new Logger();\n }\n return shareInstance;\n }", "private static void createLogger() {\n logger = myLogger.createHtmlLogger(\"JRECEIPTS\", Options.LOG_PATH + \"Receipts\", 262144, true, 1);\n// boolean append = true;\n// int limit = 1000000; // 1 Mb\n// int numLogFiles = 5;\n// FileHandler fh = new FileHandler(Options.LOG_PATH + \"Receipts_%g.html\", limit, numLogFiles, true);\n// fh.setFormatter(new SimpleFormatter());\n// // Add to the desired logger\n// logger = Logger.getLogger(\"Receipts\");\n// logger.addHandler(fh);\n }", "private GPSConst()\n\t{\n\t\t\n\t}", "public interface LoggerUtil {\n\t/**\n\t * Set the logger for the controller\n\t * \n\t * @param logName\n\t * @param filePath\n\t * @param logLevel\n\t * @return\n\t */\n\tLogger loggerArrangement(String logName, String filePath, LogeLevel logLevel);\n}", "public static TournamentLogger createDummyLogger(){\n\t\tTournamentLogger logger = new TournamentLogger();\n\t\tlogger.setEventLogPath(null);\n\t\tlogger.setPrintStdOut(false);\n\t\tlogger.setPrintStdErr(false);\n\t\treturn logger;\n\t}", "private static synchronized Logger initializeLogger(String path) {\r\n\t\tLogger logger = Logger.getLogger(\"Logging\");\r\n\t\tlogger.removeAllAppenders();\r\n\t\tLogger.getRootLogger().removeAllAppenders();\r\n\t\tFileAppender logAppender = null;\r\n\t\tLayout layout = new PatternLayout(\"%d [%M]: %m%n\");\r\n\t\ttry {\r\n\t\t\tlogAppender = new FileAppender(layout, path);\r\n\t\t} catch (IOException e) {\r\n\t\t\tSystem.err.println(\"Problems creating log file...\");\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tlogger.addAppender(logAppender);\r\n\t\tConsoleAppender consoleAppender = new ConsoleAppender(layout);\r\n\t\tlogger.addAppender(consoleAppender);\r\n\t\tlogger.setLevel(DEBUG);\r\n\t\treturn logger;\r\n\t}", "public static Logger getLogger() {\n if (logger == null) {\n logger = Logger.getLogger(APILOGS);\n\n try {\n\n // This block configure the logger with handler and formatter\n // The boolean value is to append to an existing file if exists\n\n getFileHandler();\n\n logger.addHandler(fh);\n SimpleFormatter formatter = new SimpleFormatter();\n fh.setFormatter(formatter);\n\n // this removes the console log messages\n // logger.setUseParentHandlers(false);\n\n } catch (SecurityException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return logger;\n }", "private void initLogger(BundleContext bc) {\n\t\tBasicConfigurator.configure();\r\n\t\tlogger = Logger.getLogger(Activator.class);\r\n\t\tLogger.getLogger(\"org.directwebremoting\").setLevel(Level.WARN);\r\n\t}", "private PuzzleConstants() {\n // not called\n }", "public static Logger get() {\n\t\treturn LoggerFactory.getLogger(WALKER.getCallerClass());\n\t}", "public SensorLog() {\n }", "private static LogUtil getInstance() {\r\n if (instance == null) {\r\n final LogUtil l = new LogUtil();\r\n l.init();\r\n if (isShutdown) {\r\n // should not be possible :\r\n if (l.log.isErrorEnabled()) {\r\n l.log.error(\"LogUtil.getInstance : shutdown detected : \", new Throwable());\r\n }\r\n return l;\r\n }\r\n instance = l;\r\n\r\n if (instance.logBase.isInfoEnabled()) {\r\n instance.logBase.info(\"LogUtil.getInstance : new singleton : \" + instance);\r\n }\r\n }\r\n\r\n return instance;\r\n }", "private CommonUIConstants()\n {\n }", "private ReportPluginConstant() {\n\t\t// NO_PMD DUMMY CONSTRUCTOR\n\t}", "public GenLogServerConfig() {\n }" ]
[ "0.6610745", "0.66034955", "0.6600622", "0.6551139", "0.65320677", "0.6519457", "0.6493005", "0.64698964", "0.6462064", "0.64293426", "0.6394074", "0.6394074", "0.63821715", "0.6357688", "0.63186276", "0.628256", "0.6207259", "0.61851466", "0.61787915", "0.61279565", "0.6110648", "0.6104824", "0.60907465", "0.60885036", "0.60593754", "0.6051863", "0.6024875", "0.596384", "0.5962997", "0.5961561", "0.5960859", "0.5917939", "0.5914487", "0.5834423", "0.5831217", "0.58202595", "0.5814356", "0.5814356", "0.57775235", "0.5758509", "0.5756684", "0.5722911", "0.57201684", "0.5705571", "0.5701266", "0.5699222", "0.5694949", "0.5689064", "0.5688097", "0.56850004", "0.5684712", "0.5677969", "0.5676801", "0.56632775", "0.56367534", "0.56212866", "0.56166464", "0.5615829", "0.56082284", "0.5606767", "0.560664", "0.5606193", "0.5604412", "0.5601145", "0.5590918", "0.55859333", "0.5572296", "0.557028", "0.55647475", "0.5563298", "0.55468106", "0.5539472", "0.55259377", "0.5525214", "0.55241805", "0.551731", "0.54999024", "0.54962593", "0.54875517", "0.54774207", "0.54557216", "0.5455361", "0.54485935", "0.5445138", "0.54442674", "0.5438517", "0.5436685", "0.5434968", "0.54344255", "0.5424322", "0.54242516", "0.5400172", "0.5393495", "0.5387495", "0.5380852", "0.53787935", "0.5368364", "0.5363774", "0.5353833", "0.5345881" ]
0.7700823
0
Converts a Java 2D API BufferedImageOp into a set of attribute/value pairs and related definitions
@Override public SVGFilterDescriptor toSVG(BufferedImageOp filter, Rectangle filterRect) { if (filter instanceof LookupOp) return toSVG((LookupOp) filter); else return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<List<Pixel>> transform(Image img, String operation);", "public interface ImageOperation {\n\tpublic Color[][] doOperation(Color[][] imageArray);\n}", "public interface Image {\n\n /**\n * Get number of pixels horizontally\n *\n * @return int number of pixels horizontally\n */\n int getWidth();\n\n /**\n * Get number of pixels vertically\n *\n * @return int number of pixels vertically\n */\n int getHeight();\n\n /**\n * Get the red value at the given pixel\n *\n * @param x coordinate of the pixel\n * @param y coordinate of the pixel\n * @return the red value\n */\n int getRed(int x, int y);\n\n\n /**\n * Get the green value at the given pixel\n *\n * @param x coordinate of the pixel\n * @param y coordinate of the pixel\n * @return the green value\n */\n int getGreen(int x, int y);\n\n /**\n * Get the blue value at the given pixel\n *\n * @param x coordinate of the pixel\n * @param y coordinate of the pixel\n * @return the blue value\n */\n int getBlue(int x, int y);\n\n /**\n * Set the red value at the given pixel\n *\n * @param x coordinate of the pixel\n * @param y coordinate of the pixel\n * @param value of the pixel\n */\n void setRed(int x, int y, int value);\n\n\n /**\n * Set the green value at the given pixel\n *\n * @param x coordinate of the pixel\n * @param y coordinate of the pixel\n * @param value of the pixel\n */\n void setGreen(int x, int y, int value);\n\n /**\n * Set the blue value at the given pixel\n *\n * @param x coordinate of the pixel\n * @param y coordinate of the pixel\n * @param value of the pixel\n */\n void setBlue(int x, int y, int value);\n}", "public native String getImageAttribute(String key) throws MagickException;", "private Operation filterOperation(Operation op) {\n\t\t\tif (op instanceof ImageOperation) {\n\t\t\t\tImage i = ((ImageOperation) op).getImage();\n\t\t\t\tDimension d = ImageSize.get(i);\n\t\t\t\tBufferedImage bi = new BufferedImage(d.width, d.height,\n\t\t\t\t\t\tBufferedImage.TYPE_INT_ARGB);\n\t\t\t\tGraphics2D g3 = bi.createGraphics();\n\t\t\t\tg3.drawImage(i, 0, 0, null);\n\t\t\t\tg3.dispose();\n\t\t\t\t((ImageOperation) op).setImage(bi);\n\t\t\t}\n\t\t\treturn op;\n\t\t}", "private BufferedImage user_space(BufferedImage image) {\n // create new_img with the attributes of image\n BufferedImage new_img = new BufferedImage(image.getWidth(),\n image.getHeight(), BufferedImage.TYPE_3BYTE_BGR);\n Graphics2D graphics = new_img.createGraphics();\n graphics.drawRenderedImage(image, null);\n graphics.dispose(); // release all allocated memory for this image\n return new_img;\n }", "Map getGenAttributes();", "BufferedImage getImage();", "BufferedImage getImage();", "BufferedImage getImage();", "@DSComment(\"Package priviledge\")\n @DSBan(DSCat.DEFAULT_MODIFIER)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:59:08.680 -0500\", hash_original_method = \"4B0B8276597CEA521E1E338B4AADD471\", hash_generated_method = \"9283ED1C2044F4178961436920D7FF12\")\n \nstatic ImageDescriptor parse(byte[] rawData, int valueIndex) {\n ImageDescriptor d = new ImageDescriptor();\n try {\n d.width = rawData[valueIndex++] & 0xff;\n d.height = rawData[valueIndex++] & 0xff;\n d.codingScheme = rawData[valueIndex++] & 0xff;\n\n // parse image id\n d.imageId = (rawData[valueIndex++] & 0xff) << 8;\n d.imageId |= rawData[valueIndex++] & 0xff;\n // parse offset\n d.highOffset = (rawData[valueIndex++] & 0xff); // high byte offset\n d.lowOffset = rawData[valueIndex++] & 0xff; // low byte offset\n\n d.length = ((rawData[valueIndex++] & 0xff) << 8 | (rawData[valueIndex++] & 0xff));\n } catch (IndexOutOfBoundsException e) {\n CatLog.d(\"ImageDescripter\", \"parse; failed parsing image descriptor\");\n d = null;\n }\n return d;\n }", "public abstract Map getAttributes();", "public Bitmap getShapesImage();", "List<List<Pixel>> filter(Image img, int multiplier, String operation);", "public ImageDescriptor getImageDescriptor();", "void imageData(int width, int height, int[] rgba);", "public BufferedImage getImage(int[][] data) {\n BufferedImage image = new BufferedImage(IMGSIZEX, IMGSIZEY,\n BufferedImage.TYPE_INT_RGB);\n for (int x = 0; x < IMGSIZEX; x++) {\n for (int y = 0; y < IMGSIZEY; y++) {\n int pixelColor = data[x][y];\n // Set Colors based on Binary Image value\n if (pixelColor == 0) {\n pixelColor = Color.ORANGE.getRGB();\n } else {\n pixelColor = Color.CYAN.getRGB();\n }\n image.setRGB(x, y, pixelColor);\n } // End for y.\n } // End for x.\n return image;\n }", "public native PixelPacket[] getColormap() throws MagickException;", "public a(a imgSrc, J2KImageWriteParamJava wp) {\n/* 123 */ super((f)imgSrc);\n/* 124 */ this.f = wp.getComponentTransformation();\n/* 125 */ this.g = wp.getFilters();\n/* 126 */ this.e = imgSrc;\n/* */ }", "public Bitmap getFinalShapesImage();", "public abstract BufferedImage transform();", "WorldImage getImage();", "public String getPixelInfo()\n {\n return pixelInfo.toString();\n }", "Picture colourComponentImage() throws Exception;", "Picture binaryComponentImage() throws Exception;", "private void makeImgToTag() {\n\t\timgToTag = new HashMap<String, HashSet<String>>();\n\t\t// Goes through the tagtoimg map to create this map\n\t\tfor (String tag : tagToImg.keySet()) {\n\t\t\tfor (String pathName : tagToImg.get(tag)) {\n\t\t\t\tif (imgToTag.containsKey(pathName))\n\t\t\t\t\timgToTag.get(pathName).add(tag);\n\t\t\t\telse {\n\t\t\t\t\tHashSet<String> tags = new HashSet<String>();\n\t\t\t\t\ttags.add(tag);\n\t\t\t\t\timgToTag.put(pathName, tags);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "Map<Element, Map<Element, Element>> getOperationMap();", "public int getHistogramType(ImagePlus img, int beta1, int beta2);", "@Override\n public IIOMetadata getImageData() {\n return super.imageData;\n }", "void texImage2D(int target, int level, int resourceId, int border);", "public GraphAttributeMerger getAttributeMerger();", "public interface Image {\n public String getPath();\n\n public String getFormat();\n\n public String getWidth();\n\n public String getHeight();\n\n}", "public abstract String getImageFormat();", "public abstract ImageDescriptor getImageDescriptor(Object element);", "@Override\n public String exportImage() throws IllegalArgumentException {\n BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);\n for (int x = 0; x < this.width; x++) {\n for (int y = 0; y < this.height; y++) {\n int r = this.pixels[x][y][0];\n int g = this.pixels[x][y][1];\n int b = this.pixels[x][y][2];\n int color = (r << 16) | (g << 8) | b;\n img.setRGB(x, y, color);\n }\n }\n return exportHelp(img);\n }", "public abstract BufferedImage applyTo(BufferedImage image);", "Image createImage(List<List<Pixel>> pixelArray);", "public abstract Image gen();", "public BufferedImage toImage(){\n // turn it into a png\n int scale = 8;\n int w = 16;\n int h = 16;\n BufferedImage image = new BufferedImage(w * scale, h * scale, BufferedImage.TYPE_INT_ARGB);\n Color background = new Color(240, 240, 240);\n java.awt.Graphics gr = image.getGraphics();\n gr.setColor(background);\n gr.fillRect(0, 0, w * scale, h * scale);\n\n // so each 3 bytes describes 1 color?\n for(int i = 0; i < 256; ++i){\n\n // int r = palette.get(i * 3);\n // int g = palette.get(i * 3 + 1);\n // int b = palette.get(i * 3 + 2);\n\n // the Color() constructor that takes ints does values 0..255\n // but it has a float constructor, so why not divide\n //Color awtColor = new Color(r/64.0f, g/64.0f, b/64.0f);\n Color awtColor = getAwtColor(i);\n\n int row = i / 16;\n int col = i % 16;\n int y = row * scale;\n int x = col * scale;\n gr.setColor(awtColor);\n gr.fillRect(x, y, x + scale, y + scale);\n }\n\n return image;\n }", "public RenderedImage create(ParameterBlock args,\n RenderingHints renderHints) {\n \n // Get the source image and the data type parameter.\n RenderedImage src = args.getRenderedSource(0);\n Integer datatype = (Integer)args.getObjectParameter(0);\n int type = datatype.intValue();\n\n // Get ImageLayout from renderHints if any.\n ImageLayout layout = RIFUtil.getImageLayoutHint(renderHints);\n\n // If there is no change return the source image directly.\n if(layout == null && type == src.getSampleModel().getDataType()) {\n return src;\n }\n\n // Create or clone the ImageLayout.\n if(layout == null) {\n layout = new ImageLayout(src);\n } else {\n layout = (ImageLayout)layout.clone();\n }\n\n\tboolean isDataTypeChange = false;\n\n // Get prospective destination SampleModel.\n SampleModel sampleModel = layout.getSampleModel(src);\n\n // Create a new SampleModel if the type is not as desired.\n if (sampleModel.getDataType() != type) {\n int tileWidth = layout.getTileWidth(src);\n int tileHeight = layout.getTileHeight(src);\n int numBands = src.getSampleModel().getNumBands();\n\n SampleModel csm =\n RasterFactory.createComponentSampleModel(sampleModel,\n type,\n tileWidth,\n tileHeight,\n numBands);\n\n layout.setSampleModel(csm);\n\t isDataTypeChange = true;\n }\n\n\n // Check ColorModel.\n ColorModel colorModel = layout.getColorModel(null);\n if(colorModel != null &&\n !JDKWorkarounds.areCompatibleDataModels(layout.getSampleModel(src),\n colorModel)) {\n // Clear the mask bit if incompatible.\n layout.unsetValid(ImageLayout.COLOR_MODEL_MASK);\n }\n\n // Check whether anything but the ColorModel is changing.\n if (layout.getSampleModel(src) == src.getSampleModel() &&\n layout.getMinX(src) == src.getMinX() &&\n layout.getMinY(src) == src.getMinY() &&\n layout.getWidth(src) == src.getWidth() &&\n layout.getHeight(src) == src.getHeight() &&\n layout.getTileWidth(src) == src.getTileWidth() &&\n layout.getTileHeight(src) == src.getTileHeight() &&\n layout.getTileGridXOffset(src) == src.getTileGridXOffset() &&\n layout.getTileGridYOffset(src) == src.getTileGridYOffset()) {\n\n if(layout.getColorModel(src) == src.getColorModel()) {\n // Nothing changed: return the source directly.\n return src;\n } else {\n // Remove TileCache hint from RenderingHints if present.\n RenderingHints hints = renderHints;\n if(hints != null && hints.containsKey(JAI.KEY_TILE_CACHE)) {\n hints = new RenderingHints((Map)renderHints);\n hints.remove(JAI.KEY_TILE_CACHE);\n }\n\n // Only the ColorModel is changing.\n return new NullOpImage(src, layout, hints,\n OpImage.OP_IO_BOUND);\n }\n }\n\n\tif (isDataTypeChange == true) {\n\n\t // Add JAI.KEY_REPLACE_INDEX_COLOR_MODEL hint to renderHints\n\t if (renderHints == null) {\n\t\trenderHints = \n\t\t new RenderingHints(JAI.KEY_REPLACE_INDEX_COLOR_MODEL,\n\t\t\t\t Boolean.TRUE);\n\t\t\n\t } else if (!renderHints.containsKey(\n\t\t\t\t\tJAI.KEY_REPLACE_INDEX_COLOR_MODEL)) {\n\t\t// If the user specified a value for this hint, we don't\n\t\t// want to change that\n\t\trenderHints.put(JAI.KEY_REPLACE_INDEX_COLOR_MODEL, \n\t\t\t\tBoolean.TRUE);\n\t }\n\t}\n\n return new CopyOpImage(src, renderHints, layout);\n }", "private void pix2img() {\r\n int g;\r\n img = new BufferedImage(pixels[0].length, pixels.length, BufferedImage.TYPE_INT_ARGB);\r\n // copy the pixels values\r\n for (int row = 0; row < pixels.length; ++row) {\r\n for (int col = 0; col < pixels[row].length; ++col) {\r\n g = pixels[row][col];\r\n img.setRGB(col, row, ((255 << 24) | (g << 16) | (g << 8) | g));\r\n }\r\n }\r\n }", "public Map<String, Object> getAttrs();", "Map getAspectDatas();", "public abstract BufferedImage getSnapshot();", "BufferedImage outputImage();", "public interface ShapePaletteInfo {\n\t/**\n\t * Add a entry to this info object associating a given type of\n\t * Calculator with a given value.\n\t * @param calcType the VisualPropertyType repesentation of the\n\t * Calculator (e.g., VisualPropertyType.NODE_FILL_COLOR). If\n\t * calcType already exists in this object, it's information\n\t * will be replaced.\n\t * @param value the value associated with the key of this info\n\t * object (see getKey() from the Calculator specified by calcType.\n\t */\n // MLC 05/09/07:\n // void add(byte calcType, Object value);\n // MLC 05/09/07:\n void add(VisualPropertyType calcType, Object value);\n\n\t/**\n\t * Return the value that was obtained from the DiscreteMapping\n\t * of the given Calculator for the controlling attribute value\n\t * specified by the key of this ShapePaletteInfo. For\n\t * example, if this ShapePaletteInfo has a key of \"type1\",\n\t * then a call with\n\t * calcType=\"VisualPropertyType.NODE_FILL_COLOR\" would return\n\t * the Color value that was associated with key \"type1\" from\n\t * the DiscreteMapping in the Node Color Calculator.\n\t * @param calcType the type of the Calculator for which we are\n\t * to obtain the stored value.\n\t * @return the Object value from the DiscreteMapping. If\n\t * no such calculator exists for this object, null is\n\t * returned. Note that a default value may be\n\t * returned if calcType doesn't have a mapping for\n\t * this Object's key.\n\t */\n // MLC 05/09/07:\n // Object getValue(byte calcType);\n // MLC 05/09/07:\n Object getValue(VisualPropertyType calcType);\n\n\t/**\n\t * Return the key associated with this ShapePaletteInfo.\n\t * This corresponds to a specific value from the\n\t * controlling attribute name.\n\t */\n\tString getKey();\n\n\t/**\n\t * Return the name of the controlling attribute associated with\n\t * this ShapePaletteInfo.\n\t */\n\tString getControllingAttributeName();\n\n\tString toString();\n}", "public abstract Map<String, Object> getAttributes();", "@Test\n\tpublic void testGetPixel() {\n\t\tip = new ImagePlus();\n\t\tassertArrayEquals(new int[] {0,0,0,0}, ip.getPixel(0,0));\n\n\t\t// COLOR_256\n\t\tIndexColorModel cm = new IndexColorModel(8,1,new byte[]{1},new byte[]{2},new byte[]{3});\n\t\tproc = new ByteProcessor(1,1,new byte[] {0},cm);\n\t\tip = new ImagePlus(\"SoupySales\",proc);\n\t\tip.setImage(new BufferedImage(1,1,BufferedImage.TYPE_BYTE_INDEXED, cm));\n\t\tassertEquals(ImagePlus.COLOR_256,ip.getType());\n\t\tassertArrayEquals(new int[] {1,2,3,0}, ip.getPixel(0,0));\n\n\t\t// GRAY8\n\t\tproc = new ByteProcessor(1,1,new byte[] {53}, null);\n\t\tip = new ImagePlus(\"SoupySales\",proc);\n\t\tip.getImage(); // make sure img instance var gets set or getPixel() always returns [0,0,0,0]\n\t\tassertEquals(ImagePlus.GRAY8,ip.getType());\n\t\tassertArrayEquals(new int[] {53,0,0,0}, ip.getPixel(0,0));\n\t\tassertArrayEquals(new int[] {0,0,0,0},ip.getPixel(-1,-1));\n\n\t\t// GRAY16\n\t\tproc = new ShortProcessor(1,1,new short[] {30000},null);\n\t\tip = new ImagePlus(\"SoupySales\",proc);\n\t\tip.getImage(); // make sure img instance var gets set or getPixel() always returns [0,0,0,0]\n\t\tassertEquals(ImagePlus.GRAY16,ip.getType());\n\t\tassertArrayEquals(new int[] {30000,0,0,0}, ip.getPixel(0,0));\n\t\tassertArrayEquals(new int[] {0,0,0,0},ip.getPixel(-1,-1));\n\n\t\t// COLOR_RGB\n\t\tproc = new ColorProcessor(1,1,new int[] {0xffeedd});\n\t\tip = new ImagePlus(\"SoupySales\",proc);\n\t\tip.getImage(); // make sure img instance var gets set or getPixel() always returns [0,0,0,0]\n\t\tassertEquals(ImagePlus.COLOR_RGB,ip.getType());\n\t\tassertArrayEquals(new int[] {0xff,0xee,0xdd,0}, ip.getPixel(0,0));\n\t\tassertArrayEquals(new int[] {0,0,0,0},ip.getPixel(-1,-1));\n\n\t\t// GRAY32\n\t\tint[] ints = new int[3];\n\t\tproc = new FloatProcessor(1,3,ints);\n\t\tproc.set(0, 0, Float.floatToIntBits(25.0f));\n\t\tip = new ImagePlus(\"SoupySales\",proc);\n\t\tip.getImage(); // make sure img instance var gets set or getPixel() always returns [0,0,0,0]\n\t\tassertEquals(ImagePlus.GRAY32,ip.getType());\n\t\tassertArrayEquals(new int[] {Float.floatToIntBits(25.0f),0,0,0}, ip.getPixel(0,0));\n\t\tassertArrayEquals(new int[] {0,0,0,0},ip.getPixel(-1,-1));\n\t}", "HashMap<Value, HashSet<Value>> getLayerDatasetDescriptions();", "SerializableState getBounds2D(Long nodeId, String operationName)\n\tthrows RemoteException;", "public String[] getOutputsAttribute();", "public SbMatrix\ngetObjectToImage( SoNode node) \n//\n////////////////////////////////////////////////////////////////////////\n{\n getMatrix(node);\n return matrixAction.getTextureMatrix();\n}", "public static Image filtroGrisRojo(Image img){\n WritableImage resultImg = new WritableImage((int)img.getWidth(),(int)img.getHeight());\n PixelReader pixelr = img.getPixelReader();\n PixelWriter pixelw = resultImg.getPixelWriter();\n \n for (int i = 0; i < img.getHeight(); i++) {\n for (int j = 0; j < img.getWidth(); j++) {\n Color color = pixelr.getColor(j, i);\n double red;\n red = color.getRed();\n red *= 255;\n pixelw.setColor(j, i, Color.rgb((int)red, (int)red, (int)red));\n }\n }\n \n return resultImg;\n }", "public interface Binned2DData\n{\n\t/**\n\t * Number of bins on the X axis\n\t */\n\tint xBins();\n\t\n\t/**\n\t * Number of bins on the Y axis\n\t */\n\tint yBins();\n\t\n\t/**\n\t * Axis minimum on the X Axis\n\t */\n\tfloat xMin();\n\t\n\t/**\n\t * Axis maximum on the X Axis\n\t */\n\tfloat xMax();\n\t\n\t/**\n\t * Axis minimum on the Y Axis\n\t */\n\tfloat yMin();\n\t\n\t/**\n\t * Axis maximum on the Y Axis\n\t */\n\tfloat yMax();\n\t\n\t/**\n\t * Get Z value at the specified bin\n\t */\n\tfloat zAt(int xIndex, int yIndex);\n\t\n\t/**\n\t * Get the Color at the specified bin\n\t */\n\tColor3b colorAt(int xIndex, int yIndex);\n\t\n\t/**\n\t * Minimum data value on the Z Axis\n\t */\n\tfloat zMin();\n\t\n\t/**\n\t * Maximum data value on the Z Axis\n\t */\n\tfloat zMax();\n}", "OpFunctionArg createOpFunctionArg();", "public int[][][] getdata(){\r\n\t\theight = BfImage.getHeight();\r\n\t\twidth = BfImage.getWidth();\r\n\t\tint[][][] data = new int[height][width][3];\r\n\t\t\r\n\t\tfor (int x = 0; x < width; x++)\t\t\t\t//store image's RGB data\r\n\t\t\tfor (int y = 0; y < height; y++) {\r\n\t\t\t\tint rgb = BfImage.getRGB(x, y);\r\n\t\t\t\tif (rgb == 0 || rgb == 3){\t//is transparent || Transparency.TRANSLUCENT\r\n\t\t\t\t\tdata[y][x][0] = -1;\r\n\t\t\t\t\tdata[y][x][1] = -1;\r\n\t\t\t\t\tdata[y][x][2] = -1;\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tdata[y][x][0] = Utils.getR(rgb);\r\n\t\t\t\t\tdata[y][x][1] = Utils.getG(rgb);\r\n\t\t\t\t\tdata[y][x][2] = Utils.getB(rgb);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\treturn data;\r\n\t}", "Attributes getAttributes();", "void accept(Visitor visitor, BufferedImage im);", "INDArray getParams();", "OpFunctionArgAgregate createOpFunctionArgAgregate();", "VisualizationAttribute createVisualizationAttribute();", "public float[] getHitTexCoord();", "public Map<String, Object> getAttributes();", "public Map<String, Object> getAttributes();", "public IntBuffer getData(BufferedImage img)\n\t{\n\t\tIntBuffer buf = IntBuffer.allocate(img.getWidth()*img.getHeight());\n\t\t//ByteBuffer b = ByteBuffer.allocate(buf.capacity()*4);\n\n\t\tfor(int i=0; i<img.getHeight(); i++)\n\t\t{\n\t\t\tfor(int j=0; j<img.getWidth(); j++)\n\t\t\t{\n\t\t\t\t// We need to shuffle the RGB values to pass them correctly to OpenGL. \n\t\t\t\tint in = img.getRGB(j,i);\n\t\t\t\tint out = ((in & 0x000000FF) << 16) | (in & 0x0000FF00) | ((in & 0x00FF0000) >> 16);\n\t\t\t\tbuf.put((img.getHeight()-i-1)*img.getWidth()+j, out);\n\t\t\t}\n\t\t}\n\t\t//b.asIntBuffer().put(buf);\n\t\treturn buf;\n\t}", "public interface Process{\n /**\n * process()\n *\n * Allows the image to be processed.\n **/\n public void process();\n\n /**\n * getXY()\n *\n * Gets the value of an ARGB pixel in the X and Y position, given the width\n * and height.\n *\n * @param x The X position of the pixel to be retrieved.\n * @param y The Y position of the pixel to be retrieved.\n * @return The ARGB pixel.\n **/\n public int getXY(int x, int y);\n}", "private BufferedImage initImg() throws IOException {\n\t\tint h = 256, w = 256;\n\t\tBufferedImage img = new BufferedImage(h, w, BufferedImage.TYPE_INT_ARGB);\n\t\t\n\t\t//int red = 0xff000000 + 0x00ff0000 + 0x00000000 + 0x00000000;\n\t\tshort max = 0, min = 255, c = max;\n\t\tint color = SimpleImageViewer.getIntPixel(c, c, c);\n\t\t\n\t\tfor (int y = 0; y < h; y++) {\n\t\t\tfor (int x = 0; x < w; x++) {\n\t\t\t\timg.setRGB(x, y, color);\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn img;\n\t}", "protected abstract float[] getRgbLut();", "protected StringBuffer getAttributes()\r\n\t{\r\n\t\t// Output buffer\r\n\t\tStringBuffer transformBuff\t= new StringBuffer();\r\n\t\t// The various transformation buffers.\r\n\t\tStringBuffer rotateBuff\t\t= new StringBuffer();\r\n\t\tStringBuffer translateBuff\t= new StringBuffer();\r\n\t\tStringBuffer scaleBuff \t\t= new StringBuffer();\r\n\r\n\t\t\r\n\t\t// now let's calculate our transformation information if any.\r\n\t\t////////////////// Rotate the object ////////////\r\n\t\t// you may want to play with this if it doesn't work\r\n\t\t// Transformation a followed by tranformation b is not the\r\n\t\t// same as transformation b followed by transformation a.\r\n\t\t// Page 65 SVG Essentials, J. David Eisenberg, O'Reilly Press.\r\n\t\tif (Rotation != 0.0)\r\n\t\t{\r\n\t\t\trotateBuff.append(\"rotate(\");\r\n\t\t\trotateBuff.append(Rotation + \" \");\r\n\t\t\t// Blocks are rotated around their insertion point.\r\n\t\t\trotateBuff.append(Anchor.toTransformCoordinate());\r\n\t\t\trotateBuff.append(\") \");\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\r\n\r\n\t\t///////////////// Scale the object //////////////\r\n\t\tif ((xScale != 1.0) || (yScale != 1.0))\r\n\t\t{\r\n\t\t\tscaleBuff.append(\" scale(\"+xScale);\r\n\t\t\tif (xScale != yScale)\r\n\t\t\t\tscaleBuff.append(\",\"+yScale);\r\n\t\t\tscaleBuff.append(\")\");\r\n\t\t\t\r\n\t\t\t// Now we have to compensate for any scaling in the y axis \r\n\t\t\t// because Dxf scales objects from the lower left corner of\r\n\t\t\t// the drawing and SVG scales from the top left.\r\n\t\t\t//\r\n\t\t\t// This requires a little explanation as it took some time \r\n\t\t\t// to work out exactly what is going on between DXF and SVG.\r\n\t\t\t//\r\n\t\t\t// Blocks in AutoCAD have their own space. When you choose \r\n\t\t\t// an insertion point for a block you are telling the block\r\n\t\t\t// that it's new origin is the insert point, not the drawing's\r\n\t\t\t// origin.\r\n\t\t\t//\r\n\t\t\t// Dxf2Svg reads the blocks section of the DXF and interprets the\r\n\t\t\t// entities within a block literally and converts them into \r\n\t\t\t// XML entities with the insert point as their origin.\r\n\t\t\t// \r\n\t\t\t// Now DXF's drawing origin is in the bottom lefthand corner of the page.\r\n\t\t\t// SVG's origin is the top left hand corner. That means that all blocks \r\n\t\t\t// are drawn in reference to the lower left corner. We have already converted\r\n\t\t\t// the blocks entities to assume that the origin is SVG style (top left)\r\n\t\t\t// so when we try to specify an insert point in SVG, we have a problem. The\r\n\t\t\t// references are from different corners of the page.\r\n\t\t\t//\r\n\t\t\t// To compensate blocks have two points; an Anchor like all other graphic \r\n\t\t\t// objects and a Virtual DXF Coordinate (VDC). The VDC is basically\r\n\t\t\t// the x, and y values from the DXF file, converted to USR_UNITS.\r\n\t\t\t// That's all. It is not converted to SVG space. \r\n\t\t\t// \r\n\t\t\t// First you \r\n\t\t\t// must imagine that you are overlaying SVG space (0,0 top left) on top\r\n\t\t\t// of DXF space (0,0 bottom left). To get objects to appear in the same\r\n\t\t\t// location as they did in the DXF you must move that insertion point\r\n\t\t\t// up above the SVG y = 0 line (so y becomes negative in SVG).\r\n\t\t\t// This requires knowing the height of \r\n\t\t\t// the drawing which SvgUtil.java can provide. Once you know the height\r\n\t\t\t// you find out how subtract the anchor's y coordinate from the height\r\n\t\t\t// thus in effect you are flipping between the two drawing spaces.\r\n\t\t\t//\r\n\t\t\t// Inserting an object is easy now; just use the VDC as the anchor and \r\n\t\t\t// reference the block within a &lt;g&gt; tag. If you want to scale\r\n\t\t\t// that object, things get a little more complicated. The y\r\n\t\t\t// value is in the negative 'y' range of the SVG space. Any scaling of\r\n\t\t\t// that object will be in reference to that point.\r\n\t\t\t//\r\n\t\t\t// So to get the object to appear in it's original position we must move\r\n\t\t\t// it further up into negative y SVG space by the distance it would \r\n\t\t\t// have grown during transformation. I.e. if the object grew by 25% or\r\n\t\t\t// 1.25 in AutoCAD, and the object is 1 inch in height then the growth\r\n\t\t\t// through scaling is 1 * (1.25 -1) or 1 * 0.25 or 0.25 inches.\r\n\t\t\t//\r\n\t\t\t// Now we need to now the distance of the VDC from the SVG object's\r\n\t\t\t// origin. That should be the height of the drawing, but to be sure \r\n\t\t\t// add the absolute value of the distance from SVG y = 0 to the object's\r\n\t\t\t// origin in negative y SVG space, and add it to the distance from \r\n\t\t\t// SVG y = 0 to the VDC y coordinate. Now if you multiply that distance\r\n\t\t\t// by the above 0.25, and subtract that from the SVG origin point\r\n\t\t\t// in negative SVG y space you will have compensated for the shift of \r\n\t\t\t// due to scaling.\r\n\t\t\t//\r\n\t\t\t// We don't need to do anything with the x value because it is \r\n\t\t\t// just the VDC x value, which has a one-to-one relationship to\r\n\t\t\t// SVG space except that it is not in SVG space, but in DXF space.\r\n\t\t\t//\r\n\t\t\t// I'm sorry this would have benifited from a picture so perhaps you\r\n\t\t\t// should browse through the paper documentation as there is a diagram\r\n\t\t\t// that I used to formulate the algorithm.\r\n\t\t\t\r\n\t\t\t//double VDCx = virtualDxfPoint.getX();\r\n\t\t\tdouble VDCy = virtualDxfPoint.getY();\r\n\t\t\t//double Ax\t= Anchor.getX();\r\n\t\t\tdouble Ay\t= Anchor.getY();\r\n\t\t\t\r\n\t\t\t////////////////////////////////\r\n\t\t\t//VDCx = VDCx;\r\n\t\t\tVDCy = VDCy - ((Ay + Math.abs(VDCy))*(yScale -1));\r\n\t\t\t////////////////////////////////\r\n\r\n\t\t\t// We do not need to set the x value for this point. I don't know why.\r\n\t\t\t//virtualDxfPoint.setXUU(VDCx);\r\n\t\t\tvirtualDxfPoint.setYUU(VDCy);\r\n\t\t}\r\n\t\t\r\n\t\t// We do this last because we might have adjusted the virtualDxfPoint's y \r\n\t\t// value, but the transformation is best done after the rotation and it seems\r\n\t\t// before the scale. \r\n\t\ttranslateBuff.append(\"translate(\");\r\n\t\ttranslateBuff.append(virtualDxfPoint.toTransformCoordinate());\r\n\t\ttranslateBuff.append(\")\");\r\n\t\t\r\n\t\t\r\n\t\t// Put all three parts together now.\r\n\t\ttransformBuff.append(\" transform=\\\"\");\r\n\t\t// Can only do this with Java 1.4\r\n\t\t// The transformation ordering can be changed here.\r\n\t\ttransformBuff.append(rotateBuff);\r\n\t\ttransformBuff.append(translateBuff);\r\n\t\ttransformBuff.append(scaleBuff);\t// this may be an empty buffer.\r\n\t\t// closing quote on the transformation string.\r\n\t\ttransformBuff.append(\"\\\"\");\r\n\t\ttransformBuff.append(getAdditionalAttributes());\r\n\t\t\r\n\t\treturn transformBuff;\r\n\t}", "public interface Image {\n /**\n * @return the image ID\n */\n String getId();\n\n /**\n * @return the image ID, or null if not present\n */\n String getParentId();\n\n /**\n * @return Image create timestamp\n */\n long getCreated();\n\n /**\n * @return the image size\n */\n long getSize();\n\n /**\n * @return the image virtual size\n */\n long getVirtualSize();\n\n /**\n * @return the labels assigned to the image\n */\n Map<String, String> getLabels();\n\n /**\n * @return the names associated with the image (formatted as repository:tag)\n */\n List<String> getRepoTags();\n\n /**\n * @return the digests associated with the image (formatted as repository:tag@sha256:digest)\n */\n List<String> getRepoDigests();\n}", "public ParameterTable createOutputParameters() {\r\n final ParameterTable table = new ParameterTable();\r\n\r\n try {\r\n table.put(new ParameterImage(AlgorithmParameters.RESULT_IMAGE));\r\n } catch (final ParserException e) {\r\n // this shouldn't really happen since there isn't any real parsing going on...\r\n e.printStackTrace();\r\n }\r\n\r\n return table;\r\n }", "public ParameterTable createOutputParameters() {\r\n final ParameterTable table = new ParameterTable();\r\n\r\n try {\r\n table.put(new ParameterImage(AlgorithmParameters.RESULT_IMAGE));\r\n } catch (final ParserException e) {\r\n // this shouldn't really happen since there isn't any real parsing going on...\r\n e.printStackTrace();\r\n }\r\n\r\n return table;\r\n }", "@Override\n\tpublic String toString() {\n\t\tString tagString = \"\";\n\t\tfor (String tag : tagToImg.keySet())\n\t\t\ttagString += tag + \"\\n\";\n\n\t\treturn tagString;\n\t}", "Map<String, Object> getAttributes();", "Map<String, Object> getAttributes();", "Map<String, Object> getAttributes();", "public native PixelPacket getColormap(int index) throws MagickException;", "public interface FigureOperations \n{\n double x ();\n void x (double newX);\n double y ();\n void y (double newY);\n short colour ();\n void colour (short newColour);\n void change (Board.Parameters params) throws Board.FigureWrongParameters;\n}", "private void changePixelValues(ImageProcessor ip) {\n\t\t\tint[] pixels = (int[])ip.getPixels();\r\n\t\t\t\r\n\t\t\tfor (int y=0; y<height; y++) {\r\n\t\t\t\tfor (int x=0; x<width; x++) {\r\n\t\t\t\t\tint pos = y*width + x;\r\n\t\t\t\t\tint argb = origPixels[pos]; // Lesen der Originalwerte \r\n\t\t\t\t\t\r\n\t\t\t\t\tint r = (argb >> 16) & 0xff;\r\n\t\t\t\t\tint g = (argb >> 8) & 0xff;\r\n\t\t\t\t\tint b = argb & 0xff;\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t// anstelle dieser drei Zeilen später hier die Farbtransformation durchführen,\r\n\t\t\t\t\t// die Y Cb Cr -Werte verändern und dann wieder zurücktransformieren\r\n\t\t\t\t\t\r\n\t\t\t\t\tYUV c = new YUV(r, g, b);\r\n\t\t\t\t\t\r\n\t\t\t\t\tc.changeBrightness(brightness).changeContrast(contrast).changeSaturation(saturation).changeHue(hue);\r\n\t\t\t\t\t\r\n\t\t\t\t\tint[] rgbNew = c.toRGB();\r\n\r\n\t\t\t\t\t// Hier muessen die neuen RGB-Werte wieder auf den Bereich von 0 bis 255 begrenzt werden\r\n\t\t\t\t\t\r\n\t\t\t\t\tpixels[pos] = (0xFF<<24) | (rgbNew[0]<<16) | (rgbNew[1]<<8) | rgbNew[2];\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}", "public abstract int[] getShape();", "IAttributes getAttributes();", "IMG createIMG();", "public void gettingImageInput(){\n Bitmap bm = getYourInputImage();\n int z;\n if(res==2) { z=50; }\n else { z=224; }\n Bitmap bitmap = Bitmap.createScaledBitmap(bm, z, z, true);\n input = ByteBuffer.allocateDirect(z * z * 3 * 4).order(ByteOrder.nativeOrder());\n for (int y = 0; y < z; y++) {\n for (int x = 0; x < z; x++) {\n int px = bitmap.getPixel(x, y);\n\n // Get channel values from the pixel value.\n int r = Color.red(px);\n int g = Color.green(px);\n int b = Color.blue(px);\n\n // Normalize channel values to [-1.0, 1.0]. This requirement depends\n // on the model. For example, some models might require values to be\n // normalized to the range [0.0, 1.0] instead.\n float rf = (r) / 255.0f;\n float gf = (g) / 255.0f;\n float bf = (b) / 255.0f;\n\n input.putFloat(rf);\n input.putFloat(gf);\n input.putFloat(bf);\n }\n }\n }", "public void toBlue(BufferedImage img, int startX, int startY, int endX, int endY) throws IOException{\r\n int pixels[] = new int[3];\r\n double ww[]=new double[3];\r\n WritableRaster raster = img.getRaster();\r\n \r\n for(int i=startX;i<endX;i++) {\r\n \r\n for(int j=startY;j<endY;j++){\r\n \r\n raster.getPixel(i, j, pixels);\r\n \r\n ww[0] = 0*pixels[0];\r\n ww[1] = 0*pixels[1];\r\n ww[2] = pixels[2];\r\n \r\n raster.setPixel(i, j, ww);\r\n \r\n }\r\n \r\n }\r\n\r\n \r\n\r\n }", "OpList createOpList();", "public static Map<String, Float> getResult(BufferedImage image) {\n INDArray output = getOutput(image);\n Map<String, Float> result = new HashMap<>();\n\n for (int i = 0; i < output.length(); i++) {\n result.put(labels[i], output.getFloat(i));\n }\n\n return result;\n }", "public BufferedImage getDati()\n { \n return imgDati;\n }", "protected ImageDescriptor decorateImage(ImageDescriptor input, Object element) {\r\n return input;\r\n }", "public abstract ArrayList<DrawingComponent> getAnnotationList();", "public Attribute[] getTargetAttributes();", "public double[][] convert_img_mat()\n\t{\n\t\tif(orderflag)\n\t\t{\n\t\t\tputpixel_1();\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//rotate the image and get the pixels as usual form\t\n \t\tputpixel_2();\n\t\t}\n\treturn matrix;\n\t}", "public BufferedImage getImage() {\n/* 81 */ return this.bufImg;\n/* */ }", "Imagem getImagem();", "void greyscale();", "void greyscale();", "private HashMap getColorInfo(Bitmap bmp) {\n HashMap<String, String> colorInfo = new HashMap<>();\n\n int smoothFactor = 10;\n int[] pixels = new int[bmp.getHeight() * bmp.getWidth()];\n bmp.getPixels(pixels, 0, bmp.getWidth(),0,0, bmp.getWidth(), bmp.getHeight());\n List<Integer> R = new ArrayList<>();\n List<Integer> G = new ArrayList<>();\n List<Integer> B = new ArrayList<>();\n\n for (int y = 0; y < bmp.getHeight(); y++) {\n for (int x = 0; x < bmp.getWidth(); x++) {\n int index = y * bmp.getWidth() + x;\n R.add((pixels[index] >> 16) & 0xff);\n G.add((pixels[index] >> 8) & 0xff);\n B.add(pixels[index] & 0xff);\n }\n }\n\n int r = mostCommonElement(R); if (r <= smoothFactor) { r = 0;}\n int g = mostCommonElement(G); if (g <= smoothFactor) { g = 0;}\n int b = mostCommonElement(B); if (b <= smoothFactor) { b = 0;}\n float[] hsv = new float[3];\n Color.RGBToHSV(r,g,b,hsv);\n\n colorInfo.put(\"R\", String.valueOf(r));\n colorInfo.put(\"G\", String.valueOf(g));\n colorInfo.put(\"B\", String.valueOf(b));\n colorInfo.put(\"H\", String.valueOf(hsv[0]));\n colorInfo.put(\"S\", String.valueOf(hsv[1]));\n colorInfo.put(\"V\", String.valueOf(hsv[2]));\n colorInfo.put(\"DECIMAL\", String.valueOf((0xff000000 | (r << 16) | (g << 8) | b)));\n colorInfo.put(\"HEX\", String.format(\"#%02x%02x%02x\", r, g, b));\n colorInfo.put(\"AREA\", getBase64(bmp));\n\n return colorInfo;\n }", "String getOp();", "String getOp();", "String getOp();", "Map<String, String> getAttributes();" ]
[ "0.5839948", "0.5436068", "0.53715193", "0.53709", "0.524538", "0.5187793", "0.51358557", "0.5119409", "0.5119409", "0.5119409", "0.50881684", "0.50441486", "0.50114334", "0.5006468", "0.49847522", "0.49816453", "0.4963929", "0.49093994", "0.49072278", "0.48885444", "0.48528147", "0.48500422", "0.48389867", "0.4838688", "0.4824762", "0.48101512", "0.48091865", "0.48081955", "0.48003823", "0.4796985", "0.47887033", "0.47869858", "0.4782919", "0.4773457", "0.47704864", "0.47677723", "0.4765489", "0.47404063", "0.47403198", "0.4731584", "0.47306883", "0.47252017", "0.47208738", "0.47018573", "0.46981382", "0.46937397", "0.4690088", "0.46888614", "0.46887723", "0.4672996", "0.46602997", "0.46502787", "0.46478823", "0.46466288", "0.46410063", "0.46296203", "0.46290132", "0.462898", "0.4628006", "0.4624877", "0.46221212", "0.4612429", "0.46111903", "0.46111903", "0.461097", "0.46081313", "0.46074724", "0.46029043", "0.46019986", "0.45990887", "0.45979756", "0.45979756", "0.45944592", "0.45910507", "0.45910507", "0.45910507", "0.45876816", "0.4586145", "0.4584027", "0.45835954", "0.45777705", "0.45769963", "0.45738235", "0.45687374", "0.45669878", "0.45540398", "0.45475432", "0.45411775", "0.45411062", "0.45409682", "0.4528859", "0.45271072", "0.45265475", "0.45263332", "0.45263332", "0.4520708", "0.45192942", "0.45192942", "0.45192942", "0.4515785" ]
0.5322602
4
Converts the filter's LookupTable into an array of corresponding SVG table strings
private String[] convertLookupTables(LookupOp lookupOp) { LookupTable lookupTable = lookupOp.getTable(); int nComponents = lookupTable.getNumComponents(); if ((nComponents != 1) && (nComponents != 3) && (nComponents != 4)) throw new SVGGraphics2DRuntimeException(ERR_ILLEGAL_BUFFERED_IMAGE_LOOKUP_OP); StringBuilder[] lookupTableBuf = new StringBuilder[nComponents]; for (int i = 0; i < nComponents; i++) lookupTableBuf[i] = new StringBuilder(); if (!(lookupTable instanceof ByteLookupTable)) { int[] src = new int[nComponents]; int[] dest = new int[nComponents]; int offset = lookupTable.getOffset(); // Offsets are used for constrained sources. Therefore, // the lookup values should never be used under offset. // There is no SVG equivalent for this behavior. // These values are mapped to identity. for (int i = 0; i < offset; i++) { // Fill in string buffers for (int j = 0; j < nComponents; j++) { // lookupTableBuf[j].append(Integer.toString(i)); lookupTableBuf[j].append(doubleString(i / 255.0)).append(SPACE); } } for (int i = offset; i <= 255; i++) { // Fill in source array Arrays.fill(src, i); // Get destination values lookupTable.lookupPixel(src, dest); // Fill in string buffers for (int j = 0; j < nComponents; j++) { lookupTableBuf[j].append(doubleString(dest[j] / 255.0)).append(SPACE); } } } else { byte[] src = new byte[nComponents]; byte[] dest = new byte[nComponents]; int offset = lookupTable.getOffset(); // Offsets are used for constrained sources. Therefore, // the lookup values should never be used under offset. // There is no SVG equivalent for this behavior. // These values are mapped to identity. for (int i = 0; i < offset; i++) { // Fill in string buffers for (int j = 0; j < nComponents; j++) { // lookupTableBuf[j].append(Integer.toString(i)); lookupTableBuf[j].append(doubleString(i / 255.0)).append(SPACE); } } for (int i = 0; i <= 255; i++) { // Fill in source array Arrays.fill(src, (byte) (0xff & i)); // Get destination values ((ByteLookupTable) lookupTable).lookupPixel(src, dest); // Fill in string buffers for (int j = 0; j < nComponents; j++) { lookupTableBuf[j].append(doubleString((0xff & dest[j]) / 255.0)).append(SPACE); } } } String[] lookupTables = new String[nComponents]; for (int i = 0; i < nComponents; i++) lookupTables[i] = lookupTableBuf[i].toString().trim(); /* * for(int i=0; i<lookupTables.length; i++){ * System.out.println(lookupTables[i]); } */ return lookupTables; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Hashtable<String, String> convertTagsToTable() {\r\n final Hashtable<String, String> table = new Hashtable<String, String>();\r\n\r\n final String groupPrefix = \"dicom_0x\";\r\n final String elemPrefix = \"el_0x\";\r\n\r\n String group, elem, data;\r\n VR vr;\r\n int index;\r\n\r\n for (int varIndex = 0; varIndex < getVarArray().length; varIndex++) {\r\n index = getVarElem(varIndex).name.indexOf(groupPrefix);\r\n\r\n if (index != -1) {\r\n group = getVarElem(varIndex).name.substring(groupPrefix.length());\r\n\r\n for (int attIndex = 0; attIndex < getVarElem(varIndex).vattArray.length; attIndex++) {\r\n index = getVarElem(varIndex).getVattElem(attIndex).name.indexOf(elemPrefix);\r\n\r\n if (index != -1) {\r\n elem = getVarElem(varIndex).getVattElem(attIndex).name.substring(elemPrefix.length());\r\n vr = DicomDictionary.getVR(new FileDicomKey(group + \",\" + elem));\r\n if (vr != null && vr.equals(VR.SQ)) {\r\n continue;\r\n }\r\n\r\n data = new String(\"\");\r\n\r\n if (getVarElem(varIndex).getVattElem(attIndex).nc_type == FileInfoMinc.NC_CHAR) {\r\n\r\n for (int i = 0; i < getVarElem(varIndex).getVattElem(attIndex).nelems; i++) {\r\n data += getVarElem(varIndex).getVattElem(attIndex).values[i];\r\n }\r\n } else {\r\n\r\n for (int i = 0; i < getVarElem(varIndex).getVattElem(attIndex).nelems; i++) {\r\n data += \"\" + getVarElem(varIndex).getVattElem(attIndex).values[i] + \" \";\r\n }\r\n }\r\n\r\n table.put(\"(\" + group.toUpperCase() + \",\" + elem.toUpperCase() + \")\", data.trim());\r\n }\r\n }\r\n }\r\n }\r\n\r\n return table;\r\n }", "@Override\n\tpublic SVGFilterDescriptor toSVG(BufferedImageOp filter, Rectangle filterRect) {\n\t\tif (filter instanceof LookupOp)\n\t\t\treturn toSVG((LookupOp) filter);\n\t\telse\n\t\t\treturn null;\n\t}", "public String[] getTransforms() {\r\n List<String> al = new ArrayList<String>();\r\n // Iterate through the transforms\r\n Iterator<BundlesDT.DT> it_dt = transforms.keySet().iterator();\r\n while (it_dt.hasNext()) {\r\n BundlesDT.DT datatype = it_dt.next();\r\n Iterator<String> it_trans = transforms.get(datatype).keySet().iterator();\r\n while (it_trans.hasNext()) {\r\n String trans = it_trans.next();\r\n\tal.add(\"\" + datatype + BundlesDT.DELIM + trans);\r\n }\r\n }\r\n // Convert back to strings\r\n String strs[] = new String[al.size()]; for (int i=0;i<strs.length;i++) strs[i] = al.get(i);\r\n return strs;\r\n }", "public static String[] getIcons() {\n String[] res = new String[crossbows.length];\n for (int i = 0; i < crossbows.length; i++) {\n res[i] = (String)crossbows[i][1];\n }\n return res;\n }", "public static String[] getNetworkGeneNameMapTable(RConnection RC) {\n try {\n String rCommand = \"GetNetworkGeneMappingResultTable(NA)\";\n String[] resTable = RC.eval(rCommand).asStrings();\n RCenter.recordRCommand(RC, rCommand);\n return resTable;\n } catch (Exception e) {\n e.printStackTrace();\n }\n return null;\n }", "public ArrayList<String> pathsToPointsStrings() {\n // each item in array list is a path on the pdf\n ArrayList<String> pathStrings = new ArrayList<>();\n // For each path on the pdf\n for (int i = 0; i < path_points.size(); i ++) {\n if (hidden_paths.get(i)) { // only saving visible paths\n String path_string = \"\";\n // Tool used to create path\n if (path_paints.get(i).getColor() == -16777077) { // pencil case\n path_string += \"0 \";\n }\n else { // highlighter case\n path_string += \"1 \";\n }\n // For each point on the path\n for (int j = 0; j < path_points.get(i).size(); j++) {\n path_string += path_points.get(i).get(j).get(0);\n path_string += \" \";\n path_string += path_points.get(i).get(j).get(1);\n if (j != path_points.get(i).size()-1) {\n path_string += \" \";\n }\n }\n pathStrings.add(path_string);\n }\n }\n return pathStrings;\n }", "List<String> getLookupValues();", "protected float[] getRgbLut() {\n if ( lut_ == null ) {\n String loc = LUT_BASE + resourceName_;\n logger_.config( \"Reading lookup table at \" + loc );\n URL url = Shaders.class.getResource( loc );\n try {\n if ( url == null ) {\n throw new FileNotFoundException( \"No resource \" + loc );\n }\n else {\n lut_ = readFloatArray( url );\n }\n }\n catch ( IOException e ) {\n logger_.warning( \"No colour map for \" + this + \": \" + e );\n lut_ = new float[ 3 ];\n }\n }\n return lut_;\n }", "public String[] colorLabelsArray() {\n List<String> list = Utils.jListGetValuesWrapper(entity_color_list);\n String strs[] = new String[list.size()]; for (int i=0;i<strs.length;i++) strs[i] = list.get(i);\n return strs;\n }", "public String[] getCurves() {\n\t\tString[] res = new String[curves.size()];\n\t\tint i = 0;\n\t\tfor (String c : curves) {\n\t\t\tres[i++] = classMap.get(c).fst;\n\t\t}\n\t\treturn res;\n\t}", "public String[][] fill_table()\n {\n int j=0;\n String[][] data = new String[0][];\n for (Map.Entry<String,Descriptor> entry :parms.getDescriptors().entrySet()) {\n\n data[j][0]=entry.getValue().getId();\n data[j][1]= String.valueOf(entry.getValue().getType());\n data[j][2]= String.valueOf(entry.getValue().getCapacity());\n data[j][3]= String.valueOf(entry.getValue().getState());\n data[j][4]= String.valueOf(entry.getValue().getNbRequest());\n data[j][5]= String.valueOf(entry.getValue().getRequest());\n data[j][6]= String.valueOf(entry.getValue().getRange());\n data[j][7]= String.valueOf(entry.getValue().getService());\n Point p=entry.getValue().getPosition();\n data[j][8]= String.valueOf(p.getX());\n data[j][9]= String.valueOf(p.getY());\n j++;\n }\n return data;\n }", "private final void prepareOrginalValiesTable() {\n\t\torig_values_list = new ArrayList<ArrayList<String>>();\n\t\tfor (int col = 0; col < previewTable.getColumnCount(); ++col) {\n\t\t\tfinal ArrayList<String> n = new ArrayList<String>();\n\t\t orig_values_list.add( n);\n\t\t for (int row = 0; row < previewTable.getRowCount(); ++row) {\n\t\t \t//TODO what about list values?\n\t\t\t\tString v = (String) previewTable.getValueAt(row, col);\n\t\t\t\tn.add(v);\n\t\t\t}\n\t\t}\n\t}", "private SymbolData[]\n\t\t\tmakeSymbolMap(Map<StandardSymbolData, JsName> symbolTable) {\n\t\tfinal Set<String> nameUsed = new HashSet<String>();\n\t\tfinal Map<JsName, Integer> nameToFragment = new HashMap<JsName, Integer>();\n\t\tfor (int i = 0; i < jsProgram.getFragmentCount(); i++) {\n\t\t\tfinal Integer fragId = i;\n\t\t\tnew JsVisitor() {\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsForIn x, JsContext ctx) {\n\t\t\t\t\tif (x.getIterVarName() != null) {\n\t\t\t\t\t\tnameUsed.add(x.getIterVarName().getIdent());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsFunction x, JsContext ctx) {\n\t\t\t\t\tif (x.getName() != null) {\n\t\t\t\t\t\tnameToFragment.put(x.getName(), fragId);\n\t\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsLabel x, JsContext ctx) {\n\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsNameOf x, JsContext ctx) {\n\t\t\t\t\tif (x.getName() != null) {\n\t\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsNameRef x, JsContext ctx) {\n\t\t\t\t\t// Obviously this isn't even that accurate. Some of them are\n\t\t\t\t\t// variable names, some of the are property. At least this\n\t\t\t\t\t// this give us a safe approximation. Ideally we need\n\t\t\t\t\t// the code removal passes to remove stuff in the scope\n\t\t\t\t\t// objects.\n\t\t\t\t\tif (x.isResolved()) {\n\t\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsParameter x, JsContext ctx) {\n\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t}\n\n\t\t\t\t@Override\n\t\t\t\tpublic void endVisit(JsVars.JsVar x, JsContext ctx) {\n\t\t\t\t\tnameUsed.add(x.getName().getIdent());\n\t\t\t\t\t// alcina - add classlits to name/fragment\n\t\t\t\t\tif (x.getName().getIdent().startsWith(\n\t\t\t\t\t\t\t\"com_google_gwt_lang_ClassLiteralHolder_\")) {\n\t\t\t\t\t\tnameToFragment.put(x.getName(), fragId);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}.accept(jsProgram.getFragmentBlock(i));\n\t\t}\n\t\t// TODO(acleung): This is a temp fix. Once we know this is safe. We\n\t\t// new to rewrite it to avoid extra ArrayList creations.\n\t\t// Or we should just consider serializing it as an ArrayList if\n\t\t// it is that much trouble to determine the true size.\n\t\tList<SymbolData> result = new ArrayList<SymbolData>();\n\t\tfor (Map.Entry<StandardSymbolData, JsName> entry : symbolTable\n\t\t\t\t.entrySet()) {\n\t\t\tStandardSymbolData symbolData = entry.getKey();\n\t\t\tsymbolData.setSymbolName(entry.getValue().getShortIdent());\n\t\t\tInteger fragNum = nameToFragment.get(entry.getValue());\n\t\t\tif (fragNum != null) {\n\t\t\t\tsymbolData.setFragmentNumber(fragNum);\n\t\t\t}\n\t\t\tif (nameUsed.contains(entry.getValue().getIdent())\n\t\t\t\t\t|| entry.getKey().isClass()) {\n\t\t\t\tresult.add(symbolData);\n\t\t\t}\n\t\t}\n\t\treturn result.toArray(new SymbolData[result.size()]);\n\t}", "public Object[][] getTableData(){\r\n if (ufeRunner == null || renders == null || htmlObjLang == null) {\r\n return null;\r\n }\r\n final ArrayList<Object[]> lista = new ArrayList<>();\r\n Object[] fila = new Object[2];\r\n fila[0] = \"CssHelper\";\r\n if (ufeRunner.cssHelper == null) {\r\n fila[1] = \"null\";\r\n }else{\r\n fila[1] = ufeRunner.cssHelper.getPath();\r\n }\r\n lista.add(fila);\r\n fila = new Object[2];\r\n fila[0] = \"\";\r\n fila[1] = \"\";\r\n lista.add(fila);\r\n for (ImportedInstance ufeImport : ufeRunner.imports) {\r\n fila = new Object[2];\r\n fila[0] = \"UfeImport\";\r\n fila[1] = ufeImport.path;\r\n lista.add(fila);\r\n }\r\n if (ufeRunner.imports.size() < 1) {\r\n fila = new Object[2];\r\n fila[0] = \"Sin ufe imports\";\r\n fila[1] = \"Sin ufe imports\";\r\n lista.add(fila);\r\n }\r\n fila = new Object[2];\r\n fila[0] = \"\";\r\n fila[1] = \"\";\r\n lista.add(fila);\r\n ufeRunner.scope.symbolTable.forEach((key, val)->{\r\n Object[] f = new Object[2];\r\n f[0] = key;\r\n if (val.isPresent()) {\r\n Object obj = val.get();\r\n if (obj instanceof Object[]) {\r\n StringBuilder sb = new StringBuilder();\r\n sb.append(\"{ \");\r\n for (Object o : (Object[])obj) {\r\n sb.append(o.toString()).append(\",\");\r\n }\r\n sb.setLength(sb.length() - 1);\r\n sb.append(\" }\");\r\n f[1] = sb.toString();\r\n }else{\r\n f[1] = obj.toString();\r\n }\r\n }else{\r\n f[1] = \"null\";\r\n }\r\n lista.add(f);\r\n });\r\n Object[][] result = new Object[lista.size()][2];\r\n for (int i = 0; i < lista.size(); i++) {\r\n fila = lista.get(i);\r\n for (int j = 0; j < 2; j++) {\r\n result[i][j] = fila[j];\r\n }\r\n }\r\n return result;\r\n }", "public String toString() {\n\t\tString stringList = Arrays.toString(this.facets.toArray());\n\t\treturn \"solid \" + name + stringList.replace(\"[\", \"\").replace(\"]\", \"\").replace(\",\", \"\") + \"\\nendsolid \" + name;\n\t}", "public String[] tileRefsArray() {\n String[] s = new String[tileRefs.size()];\n\n for (int i = 1; i <= tileRefs.size(); i++) {\n s[i - 1] = tileRefs.get(String.valueOf(i));\n }\n\n return s;\n }", "public static String[] getNameMapTable(RConnection RC) {\n try {\n String rCommand = \"CreateMappingResultTable(NA)\";\n String[] resTable = RC.eval(rCommand).asStrings();\n RCenter.recordRCommand(RC, rCommand);\n return resTable;\n } catch (Exception e) {\n e.printStackTrace();\n }\n return null;\n }", "public void mapToString() {\r\n for (Square[] x : map) {\r\n for (Square y : x) {\r\n System.out.print(y.getVisual() + \" \");\r\n }\r\n System.out.println();\r\n }\r\n }", "public List<Number> getFontMatrix() throws IOException;", "protected abstract float[] getRgbLut();", "public String[] linearFilters() {\r\n return new String[]{\r\n \"Averaging\", \"Weighted Averaging\",\r\n \"4-neighbour Laplacian\", \"8-neighbour Laplacian\",\r\n \"4-neighbour Laplacian Enhancement\", \"8-neighbour Laplacian Enhancement\",\r\n \"Roberts\", \"Roberts1\",\r\n \"Sobel X\", \"Sobel Y\"\r\n };\r\n }", "public String toStringVec(Boolean[][] TT){\n\t\tString renderer = \"TT : \";\n\t\tfor (int j = 0; j < TT.length ; j++ ) {\n\t\t\trenderer+=\"\\n[ \";\n\t\t\tfor (int k = 0;k < TT[j].length ; k++ ) {\n\t\t\t\trenderer += TT[j][k]+\" \";\n\t\t\t}\n\t\t\trenderer += \"]\";\n\t\t}\n\t\trenderer += \"\\n\";\n\t\treturn renderer;\n\t}", "public float[][] getInkList() {\n/* 501 */ COSBase base = getCOSObject().getDictionaryObject(COSName.INKLIST);\n/* 502 */ if (base instanceof COSArray) {\n/* */ \n/* 504 */ COSArray array = (COSArray)base;\n/* 505 */ float[][] inkList = new float[array.size()][];\n/* 506 */ for (int i = 0; i < array.size(); i++) {\n/* */ \n/* 508 */ COSBase base2 = array.getObject(i);\n/* 509 */ if (base2 instanceof COSArray) {\n/* */ \n/* 511 */ inkList[i] = ((COSArray)array.getObject(i)).toFloatArray();\n/* */ }\n/* */ else {\n/* */ \n/* 515 */ inkList[i] = new float[0];\n/* */ } \n/* */ } \n/* 518 */ return inkList;\n/* */ } \n/* 520 */ return new float[0][0];\n/* */ }", "HashMap<Value, HashSet<Value>> getLayerDatasetDescriptions();", "public String toString() {\r\n\t\tString schemeTable=new String();\r\n\t\tint i;\r\n\t\tfor(i=0;i<explanatorySet.size();i++)\r\n\t\t\t schemeTable=schemeTable+((Attribute) explanatorySet.get(i)).getName()+\",\";\r\n\t\tfor(i=0;i<data.size();i++) {\r\n\t\t\tschemeTable=schemeTable+\"\\n\"+(i+1)+\":\";\r\n\t\t\tfor(int j=0;j<explanatorySet.size();j++) {\r\n\t\t\t\tschemeTable=schemeTable+getValue(i,j)+\",\";\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn schemeTable;\r\n\t}", "protected String[] getStringTable() {\n/* 199 */ return myStringTable;\n/* */ }", "public String[] getRecordOnPan() {\r\n String result[] = new String[6];\r\n result[0] = nameTf.getText();\r\n result[1] = locationTf.getText();\r\n result[2] = specialtiesTf.getText();\r\n result[3] = sizeTf.getText();\r\n result[4] = rateTf.getText();\r\n result[5] = ownerTf.getText();\r\n\r\n return result;\r\n }", "double[] getReferenceValues();", "public char[][] regenCharTable();", "org.hl7.fhir.ObservationReferenceRange[] getReferenceRangeArray();", "public synchronized static Map<String, LUT> getStandardList() {\n if (standardList == null) {\n standardList = new TreeMap<String, LUT>();\n addStdLut(\"Gray\", \"ctable_idl_16bit_00_Black-White_Linear\", -16777216, -16711423, -16645630, -16579837, -16514044, -16448251, -16382458, -16316665, -16250872, -16185079, -16119286, -16053493, -15987700, -15921907, -15856114, -15790321, -15724528, -15658735, -15592942, -15527149, -15461356, -15395563, -15329770, -15263977, -15198184, -15132391, -15066598, -15000805, -14935012, -14869219, -14803426, -14737633, -14671840, -14606047, -14540254, -14474461, -14408668, -14342875, -14277082, -14211289, -14145496, -14079703, -14013910, -13948117, -13882324, -13816531, -13750738, -13684945, -13619152, -13553359, -13487566, -13421773, -13355980, -13290187, -13224394, -13158601, -13092808, -13027015, -12961222, -12895429, -12829636, -12763843, -12698050, -12632257, -12566464, -12500671, -12434878, -12369085, -12303292, -12237499, -12171706, -12105913, -12040120, -11974327, -11908534, -11842741, -11776948, -11711155, -11645362, -11579569, -11513776, -11447983, -11382190, -11316397, -11250604, -11184811, -11119018, -11053225, -10987432, -10921639, -10855846, -10790053, -10724260, -10658467, -10592674, -10526881, -10461088, -10395295, -10329502, -10263709, -10197916, -10132123, -10066330, -10000537, -9934744, -9868951, -9803158, -9737365, -9671572, -9605779, -9539986, -9474193, -9408400, -9342607, -9276814, -9211021, -9145228, -9079435, -9013642, -8947849, -8882056, -8816263, -8750470, -8684677, -8618884, -8553091, -8487298, -8421505, -8355712, -8289919, -8224126, -8158333, -8092540, -8026747, -7960954, -7895161, -7829368, -7763575, -7697782, -7631989, -7566196, -7500403, -7434610, -7368817, -7303024, -7237231, -7171438, -7105645, -7039852, -6974059, -6908266, -6842473, -6776680, -6710887, -6645094, -6579301, -6513508, -6447715, -6381922, -6316129, -6250336, -6184543, -6118750, -6052957, -5987164, -5921371, -5855578, -5789785, -5723992, -5658199, -5592406, -5526613, -5460820, -5395027, -5329234, -5263441, -5197648, -5131855, -5066062, -5000269, -4934476, -4868683, -4802890, -4737097, -4671304, -4605511, -4539718, -4473925, -4408132, -4342339, -4276546, -4210753, -4144960, -4079167, -4013374, -3947581, -3881788, -3815995, -3750202, -3684409, -3618616, -3552823, -3487030, -3421237, -3355444, -3289651, -3223858, -3158065, -3092272, -3026479, -2960686, -2894893, -2829100, -2763307, -2697514, -2631721, -2565928, -2500135, -2434342, -2368549, -2302756, -2236963, -2171170, -2105377, -2039584, -1973791, -1907998, -1842205, -1776412, -1710619, -1644826, -1579033, -1513240, -1447447, -1381654, -1315861, -1250068, -1184275, -1118482, -1052689, -986896, -921103, -855310, -789517, -723724, -657931, -592138, -526345, -460552, -394759, -328966, -263173, -197380, -131587, -65794, -1);\n addStdLut(\"STEREO EUVI 171 \" + ANGSTROM, \"ctable_idl_16bit_EUVI_171\", -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777215, -16777212, -16777211, -16777210, -16777208, -16777208, -16777204, -16777202, -16777200, -16777198, -16777196, -16777195, -16777193, -16777191, -16777188, -16777185, -16777183, -16777181, -16777180, -16777179, -16777174, -16777173, -16777172, -16777170, -16777168, -16777166, -16777165, -16777164, -16777158, -16777157, -16777155, -16777155, -16777153, -16777151, -16777150, -16777143, -16777142, -16777141, -16777138, -16777138, -16777136, -16777135, -16777132, -16777128, -16777127, -16777126, -16777123, -16777122, -16777122, -16777119, -16777115, -16777113, -16777112, -16777111, -16777105, -16777104, -16777104, -16777100, -16777098, -16777097, -16777096, -16777092, -16777090, -16777089, -16777088, -16776573, -16776060, -16775802, -16775289, -16774005, -16773747, -16773234, -16771950, -16771693, -16771179, -16770666, -16769638, -16769125, -16768611, -16767583, -16767070, -16766556, -16766556, -16765786, -16765015, -16764502, -16763731, -16762960, -16762447, -16761676, -16761419, -16761419, -16760392, -16760135, -16758337, -16757567, -16757309, -16756796, -16756025, -16756025, -16755512, -16754741, -16753457, -16752944, -16752686, -16752173, -16751402, -16750889, -16750631, -16750118, -16748834, -16748577, -16748063, -16746779, -16746522, -16746009, -16745751, -16744467, -16743954, -16743696, -16743183, -16742412, -16741899, -16740615, -16739844, -16739844, -16739587, -16739073, -16738561, -16737793, -16146689, -15884289, -15096577, -15096577, -14833921, -14571521, -14046465, -13521153, -12996097, -12471041, -12208385, -11945985, -11683329, -11683329, -11158273, -10305025, -10042369, -9517313, -9254913, -8992257, -8729601, -7942145, -7416833, -7154433, -6629377, -6366721, -6104065, -5841665, -4988417, -4725761, -4463361, -4200705, -3675649, -3412993, -3150593, -2625537, -2100225, -1575169, -1575169, -1312769, -787457, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);\n addStdLut(\"STEREO EUVI 284 \" + ANGSTROM, \"ctable_idl_16bit_EUVI_284\", -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16711424, -16579840, -16448512, -16382720, -16316928, -16119808, -16054016, -15856896, -15791104, -15659520, -15528192, -15462400, -15396608, -15199488, -15199488, -15067904, -14870784, -14739200, -14607872, -14542080, -14476288, -14213376, -14147584, -14147584, -14016256, -13950464, -13818880, -13621760, -13555968, -13292800, -13227008, -13095680, -13029888, -13029888, -12898304, -12766976, -12701184, -12504064, -12372480, -12175360, -12109568, -11977984, -11977984, -11846656, -11780864, -11583744, -11452160, -11386368, -11255040, -11189248, -10926336, -10926336, -10794752, -10663424, -10531840, -10466048, -10334720, -10268928, -10071552, -9939968, -9874176, -9874176, -9611264, -9545472, -9414144, -9348352, -9085440, -9019648, -8953856, -8822528, -8690944, -8690944, -8625152, -8428032, -8165120, -8099328, -8033536, -7902208, -7770624, -7704832, -7704832, -7573504, -7507712, -7244800, -7179008, -6981888, -6850304, -6718720, -6652928, -6652928, -6521344, -6324224, -6258432, -6192640, -6061312, -5929728, -5666816, -5601024, -5601024, -5403904, -5338112, -5272320, -5140992, -5009408, -4812288, -4746496, -4680704, -4483584, -4417792, -4352000, -4220672, -3957760, -3891968, -3826176, -3760384, -3563264, -3497472, -3365888, -3365888, -3037184, -2971392, -2905600, -2839808, -2642688, -2576896, -2445568, -2379776, -2379776, -2116864, -2051072, -1985280, -1722368, -1656576, -1525248, -1393664, -1196544, -1196544, -1130752, -1064960, -999168, -802048, -736256, -473344, -276224, -210432, -210432, -144640, -13056, -12793, -12010, -12010, -11746, -11227, -10963, -10444, -10444, -10180, -9397, -9397, -8878, -8614, -8095, -8095, -7831, -7048, -6529, -6529, -6265, -6002, -5482, -5482, -5219, -4436, -3916, -3916, -3916, -3653, -2870, -2870, -2087, -1567, -1304, -1304, -1304, -784, -521, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);\n addStdLut(\"STEREO EUVI 195 \" + ANGSTROM, \"ctable_idl_16bit_EUVI_195\", -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16776960, -16776448, -16776192, -16775936, -16775680, -16775680, -16775168, -16774912, -16774400, -16774144, -16773632, -16773376, -16773120, -16772864, -16772352, -16772352, -16771840, -16771584, -16770816, -16770560, -16770304, -16770048, -16769280, -16769024, -16769024, -16768768, -16768512, -16768000, -16767744, -16767488, -16767232, -16766464, -16766208, -16765952, -16765696, -16765696, -16765184, -16764672, -16764160, -16763648, -16763392, -16763136, -16762880, -16762368, -16762368, -16762112, -16761856, -16761344, -16760832, -16760576, -16760320, -16760064, -16759552, -16759296, -16759296, -16758784, -16758016, -16757760, -16757504, -16757248, -16756736, -16756224, -16755968, -16755968, -16755712, -16755200, -16754944, -16754688, -16754432, -16753664, -16753408, -16753152, -16752896, -16752384, -16752384, -16555264, -16489472, -16161024, -16029696, -15963904, -15832576, -15635456, -15504128, -15504128, -15438336, -15307008, -14978560, -14847232, -14781440, -14650112, -14452992, -14321664, -14255872, -14255872, -13796096, -13730304, -13598976, -13467648, -13270528, -13204736, -12942080, -12876288, -12876288, -12679168, -12547840, -12416512, -12350720, -12088064, -11890944, -11825152, -11693824, -11496704, -11496704, -11299584, -11168256, -10839808, -10774016, -10642688, -10511360, -10314240, -10182912, -10117120, -10117120, -9985792, -9657344, -9591552, -9460224, -9394432, -9131776, -9065984, -8934656, -8803328, -8540416, -8409088, -8277760, -8211968, -8014848, -7883520, -7752189, -7555062, -7357935, -7357935, -7226604, -7160808, -7029477, -6832350, -6701019, -6503892, -6372560, -6175433, -6044102, -5978306, -5846975, -5649848, -5452721, -5321390, -5255594, -4992931, -4927136, -4795805, -4730009, -4730009, -4467346, -4270219, -4138888, -4073092, -3875966, -3744634, -3613303, -3547507, -3219049, -3087717, -3021922, -2890591, -2693464, -2562132, -2496337, -2365005, -2036547, -1970752, -1970752, -1839420, -1708089, -1510962, -1379630, -1313835, -1116708, -854045, -788250, -656918, -591123, -328460, -262664, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);\n addStdLut(\"STEREO EUVI 304 \" + ANGSTROM, \"ctable_idl_16bit_EUVI_304\", -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16515072, -16449536, -16318464, -16252928, -16252928, -16056320, -15925248, -15663104, -15466496, -15400960, -15269888, -15204352, -15007744, -15007744, -14811136, -14614528, -14417920, -14352384, -14221312, -14155776, -13893632, -13762560, -13697024, -13565952, -13369344, -13303808, -13172736, -13107200, -12845056, -12648448, -12517376, -12517376, -12320768, -12255232, -12189696, -11993088, -11796480, -11599872, -11468800, -11272192, -11272192, -11206656, -11141120, -10944512, -10616832, -10551296, -10420224, -10289152, -10158080, -10158080, -9961472, -9699328, -9568256, -9502720, -9371648, -9240576, -9043968, -8912896, -8912896, -8650752, -8519680, -8454144, -8388608, -8060928, -7995392, -7864320, -7602176, -7602176, -7536640, -7405568, -7340032, -7012352, -6946816, -6750208, -6553600, -6488064, -6488064, -6356992, -6291456, -5963776, -5898240, -5701632, -5505024, -5439488, -5308160, -5308160, -5110528, -4912896, -4715264, -4649216, -4451840, -4385792, -4188160, -4056576, -4056576, -3792896, -3726848, -3595520, -3397888, -3200256, -3134208, -3002624, -2870528, -2739200, -2673152, -2541568, -2277888, -2146304, -2080256, -1948672, -1685248, -1619200, -1619200, -1487616, -1223936, -1092352, -1026560, -762880, -631296, -565248, -433664, -433664, -170240, -38656, -38144, -36608, -36096, -35584, -34816, -33792, -33792, -33280, -32256, -31229, -30713, -29937, -29421, -28389, -27873, -27357, -26841, -26065, -25034, -24518, -24002, -22970, -22454, -21678, -21678, -20646, -19614, -19098, -18583, -17551, -16775, -16259, -14711, -14711, -14195, -13679, -13163, -11872, -11356, -10840, -9292, -8776, -8776, -8516, -8000, -6452, -5937, -4905, -4129, -3613, -3097, -3097, -1549, -1033, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1);\n addStdLut(\"SOHO EIT 171 \" + ANGSTROM, \"ctable_idl_16bit_EIT_171\", -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777215, -16777212, -16777211, -16777210, -16777208, -16777208, -16777206, -16777204, -16777202, -16777200, -16777198, -16777196, -16777195, -16777193, -16777191, -16777191, -16777188, -16777187, -16777185, -16777183, -16777181, -16777180, -16777179, -16777174, -16777173, -16777173, -16777172, -16777170, -16777168, -16777166, -16777165, -16777164, -16777160, -16777158, -16777157, -16777155, -16777155, -16777153, -16777151, -16777150, -16777147, -16777145, -16777143, -16777142, -16777141, -16777138, -16777138, -16777136, -16777135, -16777132, -16777130, -16777128, -16777127, -16777126, -16777123, -16777122, -16777122, -16777119, -16777117, -16777115, -16777113, -16777112, -16777111, -16777108, -16777105, -16777104, -16777104, -16777103, -16777100, -16777098, -16777097, -16777096, -16777092, -16777090, -16777089, -16777088, -16776573, -16776573, -16776060, -16775802, -16775289, -16774005, -16773747, -16773234, -16772721, -16771950, -16771693, -16771693, -16771179, -16770666, -16769638, -16769125, -16768611, -16768354, -16767583, -16767070, -16766556, -16766556, -16765786, -16765015, -16764502, -16764244, -16763731, -16762960, -16762447, -16761676, -16761419, -16761419, -16760392, -16760135, -16759621, -16759364, -16758337, -16757567, -16757309, -16756796, -16756025, -16756025, -16755512, -16755254, -16754741, -16753457, -16752944, -16752686, -16752173, -16751402, -16750889, -16750631, -16750631, -16750118, -16748834, -16748577, -16748063, -16747806, -16746779, -16746522, -16746009, -16745751, -16745751, -16744467, -16743954, -16743696, -16743183, -16742412, -16741899, -16741642, -16740615, -16739844, -16739844, -16739587, -16739073, -16738561, -16737793, -16737537, -16146689, -15884289, -15359233, -15096577, -15096577, -14833921, -14571521, -14046465, -13521153, -13258753, -12996097, -12471041, -12208385, -11945985, -11683329, -11683329, -11158273, -10567681, -10305025, -10042369, -9517313, -9254913, -8992257, -8729601, -7942145, -7942145, -7679489, -7416833, -7154433, -6629377, -6366721, -6104065, -5841665, -4988417, -4725761, -4725761, -4463361, -4200705, -3675649, -3412993, -3150593, -2625537, -2100225, -1837825, -1575169, -1575169, -1312769, -787457, -525057, -1);\n addStdLut(\"SOHO EIT 284 \" + ANGSTROM, \"ctable_idl_16bit_EIT_284\", -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16711424, -16579840, -16448512, -16382720, -16316928, -16316928, -16119808, -16054016, -15856896, -15791104, -15659520, -15528192, -15462400, -15396608, -15199488, -15199488, -15067904, -14936576, -14870784, -14739200, -14607872, -14542080, -14476288, -14213376, -14147584, -14147584, -14016256, -13950464, -13818880, -13687552, -13621760, -13555968, -13292800, -13227008, -13095680, -13029888, -13029888, -12898304, -12766976, -12701184, -12504064, -12372480, -12306688, -12175360, -12109568, -11977984, -11977984, -11846656, -11780864, -11583744, -11452160, -11386368, -11255040, -11189248, -11057664, -10926336, -10926336, -10794752, -10663424, -10531840, -10466048, -10334720, -10268928, -10071552, -9939968, -9874176, -9874176, -9742848, -9611264, -9545472, -9414144, -9348352, -9085440, -9019648, -8953856, -8822528, -8690944, -8690944, -8625152, -8493824, -8428032, -8165120, -8099328, -8033536, -7902208, -7770624, -7704832, -7704832, -7573504, -7507712, -7244800, -7179008, -7113216, -6981888, -6850304, -6718720, -6652928, -6652928, -6521344, -6324224, -6258432, -6192640, -6061312, -5929728, -5798400, -5666816, -5601024, -5601024, -5403904, -5338112, -5272320, -5140992, -5009408, -4812288, -4746496, -4680704, -4483584, -4483584, -4417792, -4352000, -4220672, -3957760, -3891968, -3826176, -3760384, -3563264, -3497472, -3365888, -3365888, -3300096, -3037184, -2971392, -2905600, -2839808, -2642688, -2576896, -2445568, -2379776, -2379776, -2116864, -2051072, -1985280, -1919488, -1722368, -1656576, -1525248, -1393664, -1196544, -1196544, -1130752, -1064960, -999168, -802048, -736256, -539136, -473344, -276224, -210432, -210432, -144640, -13056, -12793, -12010, -12010, -11746, -11227, -10963, -10963, -10444, -10444, -10180, -9397, -9397, -8878, -8614, -8095, -8095, -7831, -7048, -7048, -6529, -6529, -6265, -6002, -5482, -5482, -5219, -4436, -3916, -3916, -3916, -3653, -3133, -2870, -2870, -2087, -1567, -1304, -1304, -1304, -784, -521, -1, -1);\n addStdLut(\"SOHO EIT 195 \" + ANGSTROM, \"ctable_idl_16bit_EIT_195\", -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16776960, -16776448, -16776192, -16775936, -16775680, -16775680, -16775168, -16774912, -16774400, -16774144, -16773632, -16773376, -16773120, -16772864, -16772352, -16772352, -16771840, -16771584, -16771328, -16770816, -16770560, -16770304, -16770048, -16769280, -16769024, -16769024, -16768768, -16768512, -16768000, -16767744, -16767488, -16767232, -16766464, -16766208, -16765952, -16765696, -16765696, -16765184, -16764928, -16764672, -16764160, -16763648, -16763392, -16763136, -16762880, -16762368, -16762368, -16762112, -16761856, -16761344, -16760832, -16760576, -16760320, -16760064, -16759552, -16759296, -16759296, -16758784, -16758528, -16758016, -16757760, -16757504, -16757248, -16756736, -16756224, -16755968, -16755968, -16755712, -16755200, -16754944, -16754688, -16754432, -16753664, -16753408, -16753152, -16752896, -16752384, -16752384, -16686592, -16555264, -16489472, -16161024, -16029696, -15963904, -15832576, -15635456, -15504128, -15504128, -15438336, -15307008, -14978560, -14847232, -14781440, -14650112, -14452992, -14321664, -14255872, -14255872, -14058752, -13796096, -13730304, -13598976, -13467648, -13270528, -13204736, -12942080, -12876288, -12876288, -12679168, -12547840, -12416512, -12350720, -12088064, -11890944, -11825152, -11693824, -11496704, -11496704, -11365376, -11299584, -11168256, -10839808, -10774016, -10642688, -10511360, -10314240, -10182912, -10117120, -10117120, -9985792, -9657344, -9591552, -9460224, -9394432, -9131776, -9065984, -8934656, -8803328, -8803328, -8540416, -8409088, -8277760, -8211968, -8014848, -7883520, -7752189, -7555062, -7357935, -7357935, -7226604, -7160808, -7029477, -6832350, -6701019, -6503892, -6372560, -6175433, -6044102, -6044102, -5978306, -5846975, -5649848, -5452721, -5321390, -5255594, -4992931, -4927136, -4795805, -4730009, -4730009, -4467346, -4270219, -4138888, -4073092, -3875966, -3744634, -3613303, -3547507, -3219049, -3219049, -3087717, -3021922, -2890591, -2693464, -2562132, -2496337, -2365005, -2036547, -1970752, -1970752, -1839420, -1708089, -1510962, -1379630, -1313835, -1116708, -854045, -788250, -656918, -656918, -591123, -328460, -262664, -1);\n addStdLut(\"SOHO EIT 304 \" + ANGSTROM, \"ctable_idl_16bit_EIT_304\", -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16777216, -16711680, -16515072, -16449536, -16318464, -16252928, -16252928, -16056320, -15925248, -15794176, -15663104, -15466496, -15400960, -15269888, -15204352, -15007744, -15007744, -14811136, -14745600, -14614528, -14417920, -14352384, -14221312, -14155776, -13893632, -13762560, -13762560, -13697024, -13565952, -13369344, -13303808, -13172736, -13107200, -12845056, -12713984, -12648448, -12517376, -12517376, -12320768, -12255232, -12189696, -11993088, -11796480, -11665408, -11599872, -11468800, -11272192, -11272192, -11206656, -11141120, -10944512, -10747904, -10616832, -10551296, -10420224, -10289152, -10158080, -10158080, -9961472, -9895936, -9699328, -9568256, -9502720, -9371648, -9240576, -9043968, -8912896, -8912896, -8847360, -8650752, -8519680, -8454144, -8388608, -8060928, -7995392, -7864320, -7798784, -7602176, -7602176, -7536640, -7405568, -7340032, -7012352, -6946816, -6815744, -6750208, -6553600, -6488064, -6488064, -6356992, -6291456, -5963776, -5898240, -5767168, -5701632, -5505024, -5439488, -5308160, -5308160, -5110528, -4912896, -4846848, -4715264, -4649216, -4451840, -4385792, -4188160, -4056576, -4056576, -3858944, -3792896, -3726848, -3595520, -3397888, -3200256, -3134208, -3002624, -2870528, -2870528, -2739200, -2673152, -2541568, -2277888, -2146304, -2080256, -1948672, -1816832, -1685248, -1619200, -1619200, -1487616, -1223936, -1092352, -1026560, -960512, -762880, -631296, -565248, -433664, -433664, -170240, -38656, -38144, -37632, -36608, -36096, -35584, -34816, -33792, -33792, -33280, -32768, -32256, -31229, -30713, -29937, -29421, -28389, -27873, -27873, -27357, -26841, -26065, -25034, -24518, -24002, -22970, -22454, -21938, -21678, -21678, -20646, -19614, -19098, -18583, -17551, -17291, -16775, -16259, -14711, -14711, -14195, -13679, -13163, -12388, -11872, -11356, -10840, -9292, -8776, -8776, -8516, -8000, -6968, -6452, -5937, -4905, -4129, -3613, -3097, -3097, -2581, -1549, -1033, -1);\n addStdLut(\"Blue/White Linear\", \"ctable_idl_16bit_01_Blue-White_Linear\", -16777216, -16777215, -16777214, -16777212, -16777211, -16777210, -16777208, -16777207, -16777206, -16777204, -16777203, -16777202, -16777200, -16777199, -16777198, -16777196, -16777195, -16777193, -16777192, -16777191, -16777189, -16777188, -16777187, -16777185, -16777184, -16777183, -16777181, -16777180, -16777179, -16777177, -16777176, -16777174, -16777173, -16777172, -16777170, -16777169, -16777168, -16777166, -16777165, -16777164, -16777162, -16777161, -16777160, -16777158, -16777157, -16777155, -16777154, -16777153, -16777151, -16777150, -16777149, -16777147, -16777146, -16777145, -16777143, -16777142, -16777141, -16777139, -16777138, -16777136, -16777135, -16777134, -16777132, -16777131, -16777130, -16777128, -16777127, -16777126, -16777124, -16777123, -16777122, -16777120, -16777119, -16777117, -16777116, -16777115, -16777113, -16777112, -16777111, -16777109, -16777108, -16777107, -16777105, -16777104, -16777103, -16777101, -16777100, -16777098, -16777097, -16777096, -16777094, -16777093, -16777092, -16777090, -16777089, -16777088, -16777086, -16776573, -16776060, -16775802, -16775289, -16774776, -16774518, -16774005, -16773747, -16773234, -16772721, -16772463, -16771950, -16771693, -16771179, -16770666, -16770409, -16769895, -16769638, -16769125, -16768611, -16768354, -16767840, -16767583, -16767070, -16766556, -16766299, -16765786, -16765528, -16765015, -16764502, -16764244, -16763731, -16763474, -16762960, -16762447, -16762189, -16761676, -16761419, -16760905, -16760392, -16760135, -16759621, -16759364, -16758851, -16758337, -16758080, -16757567, -16757309, -16756796, -16756282, -16756025, -16755512, -16755254, -16754741, -16754228, -16753970, -16753457, -16752944, -16752686, -16752173, -16751916, -16751402, -16750889, -16750631, -16750118, -16749861, -16749347, -16748834, -16748577, -16748063, -16747806, -16747293, -16746779, -16746522, -16746009, -16745751, -16745238, -16744724, -16744467, -16743954, -16743696, -16743183, -16742670, -16742412, -16741899, -16741642, -16741128, -16740615, -16740358, -16739844, -16739587, -16739073, -16738561, -16738305, -16737793, -16737537, -16409345, -16146689, -15884289, -15621633, -15359233, -15096577, -14833921, -14571521, -14308865, -14046465, -13783809, -13521153, -13258753, -12996097, -12733441, -12471041, -12208385, -11945985, -11683329, -11420673, -11158273, -10830081, -10567681, -10305025, -10042369, -9779969, -9517313, -9254913, -8992257, -8729601, -8467201, -8204545, -7942145, -7679489, -7416833, -7154433, -6891777, -6629377, -6366721, -6104065, -5841665, -5579009, -5251073, -4988417, -4725761, -4463361, -4200705, -3938305, -3675649, -3412993, -3150593, -2887937, -2625537, -2362881, -2100225, -1837825, -1575169, -1312769, -1050113, -787457, -525057, -262401, -1);\n addStdLut(\"Red Temperature\", \"ctable_idl_16bit_03_Red_Temperature\", -16777216, -16711680, -16646144, -16515072, -16449536, -16318464, -16252928, -16121856, -16056320, -15925248, -15859712, -15794176, -15663104, -15597568, -15466496, -15400960, -15269888, -15204352, -15073280, -15007744, -14942208, -14811136, -14745600, -14614528, -14548992, -14417920, -14352384, -14221312, -14155776, -14024704, -13959168, -13893632, -13762560, -13697024, -13565952, -13500416, -13369344, -13303808, -13172736, -13107200, -13041664, -12910592, -12845056, -12713984, -12648448, -12517376, -12451840, -12320768, -12255232, -12189696, -12058624, -11993088, -11862016, -11796480, -11665408, -11599872, -11468800, -11403264, -11272192, -11206656, -11141120, -11010048, -10944512, -10813440, -10747904, -10616832, -10551296, -10420224, -10354688, -10289152, -10158080, -10092544, -9961472, -9895936, -9764864, -9699328, -9568256, -9502720, -9371648, -9306112, -9240576, -9109504, -9043968, -8912896, -8847360, -8716288, -8650752, -8519680, -8454144, -8388608, -8257536, -8192000, -8060928, -7995392, -7864320, -7798784, -7667712, -7602176, -7536640, -7405568, -7340032, -7208960, -7143424, -7012352, -6946816, -6815744, -6750208, -6619136, -6553600, -6488064, -6356992, -6291456, -6160384, -6094848, -5963776, -5898240, -5767168, -5701632, -5636096, -5505024, -5439488, -5308160, -5242112, -5110528, -5044480, -4912896, -4846848, -4715264, -4649216, -4583168, -4451840, -4385792, -4254208, -4188160, -4056576, -3990528, -3858944, -3792896, -3726848, -3595520, -3529472, -3397888, -3331840, -3200256, -3134208, -3002624, -2936576, -2870528, -2739200, -2673152, -2541568, -2475520, -2343936, -2277888, -2146304, -2080256, -1948672, -1882880, -1816832, -1685248, -1619200, -1487616, -1421568, -1289984, -1223936, -1092352, -1026560, -960512, -828928, -762880, -631296, -565248, -433664, -367616, -236032, -170240, -38656, -38144, -37632, -37120, -36608, -36096, -35584, -35072, -34816, -34304, -33792, -33280, -32768, -32256, -31744, -31229, -30713, -30453, -29937, -29421, -28905, -28389, -27873, -27357, -26841, -26325, -26065, -25549, -25034, -24518, -24002, -23486, -22970, -22454, -21938, -21678, -21162, -20646, -20130, -19614, -19098, -18583, -18067, -17551, -17291, -16775, -16259, -15743, -15227, -14711, -14195, -13679, -13163, -12903, -12388, -11872, -11356, -10840, -10324, -9808, -9292, -8776, -8516, -8000, -7484, -6968, -6452, -5937, -5421, -4905, -4389, -4129, -3613, -3097, -2581, -2065, -1549, -1033, -517, -1);\n addStdLut(\"Blue/Green/Red/Yellow\", \"ctable_idl_16bit_04_Blue-Green-Red-Yellow\", -16777216, -16777214, -16777212, -16777210, -16777208, -16777206, -16777204, -16777202, -16777200, -16777198, -16777196, -16777194, -16777191, -16777189, -16777187, -16777185, -16777183, -16777181, -16777179, -16777177, -16777175, -16777173, -16777171, -16777169, -16777166, -16777164, -16777162, -16777160, -16777158, -16777156, -16777154, -16777152, -16777150, -16776380, -16775610, -16774840, -16774069, -16773299, -16772529, -16771759, -16770733, -16769963, -16769193, -16768423, -16767653, -16766883, -16766113, -16765343, -16764316, -16763548, -16762780, -16762012, -16761244, -16760476, -16759708, -16758940, -16757916, -16757148, -16756380, -16755612, -16754844, -16754076, -16753308, -16752540, -16751516, -16750748, -16749980, -16749212, -16748444, -16747676, -16746908, -16746140, -16745116, -16744348, -16743580, -16742812, -16742044, -16741276, -16740508, -16739740, -16738716, -16738720, -16738723, -16738726, -16738729, -16738732, -16738735, -16738738, -16738741, -16738745, -16738748, -16738751, -16738754, -16738757, -16738760, -16738763, -16738766, -16739026, -16739285, -16739288, -16739547, -16739806, -16739809, -16740068, -16740071, -16740331, -16740590, -16740593, -16740852, -16741111, -16741114, -16741373, -16741376, -16283392, -15759616, -15301632, -14777856, -14319872, -13796096, -13338112, -12814336, -12356352, -11832576, -11374592, -10850816, -10392832, -9869056, -9411072, -8887296, -8561408, -8235264, -7909120, -7582976, -7257088, -6930944, -6604800, -6278656, -5952768, -5626624, -5300480, -4974336, -4648448, -4322304, -3996160, -3670016, -3669504, -3603456, -3602944, -3536640, -3536128, -3470080, -3469312, -3403264, -3402752, -3336448, -3335936, -3269888, -3269376, -3203072, -3202560, -3136512, -3135744, -3069696, -3069184, -3002880, -3002368, -2936320, -2935552, -2869504, -2868992, -2802944, -2802176, -2736128, -2735616, -2669312, -2668800, -2602752, -2601984, -2535936, -2535424, -2469120, -2468608, -2402560, -2402048, -2335744, -2335232, -2269184, -2268416, -2202368, -2201856, -2135552, -2135040, -2068992, -2068224, -2002176, -2001664, -1935616, -1934848, -1868800, -1868288, -1801984, -1801472, -1735424, -1734656, -1668608, -1668096, -1602048, -1601280, -1535232, -1534720, -1468416, -1467904, -1401856, -1401088, -1335040, -1334528, -1268224, -1267712, -1201664, -1201152, -1134848, -1134336, -1068288, -1067520, -1001472, -1000960, -934656, -934144, -868096, -867328, -801280, -800768, -734720, -733952, -667904, -667392, -601088, -600576, -534528, -533760, -467712, -467200, -400896, -400384, -334336, -333824, -267520, -267008, -200960, -200192, -134144, -133632, -67328, -66816, -768, -256);\n addStdLut(\"Green/White Linear\", \"ctable_idl_16bit_08_Green-White_Linear\", -16777216, -16776960, -16776704, -16776448, -16776192, -16775936, -16775680, -16775424, -16775168, -16774912, -16774656, -16774400, -16774144, -16773888, -16773632, -16773376, -16773120, -16772864, -16772608, -16772352, -16772096, -16771840, -16771584, -16771328, -16771072, -16770816, -16770560, -16770304, -16770048, -16769792, -16769536, -16769280, -16769024, -16768768, -16768512, -16768256, -16768000, -16767744, -16767488, -16767232, -16766976, -16766720, -16766464, -16766208, -16765952, -16765696, -16765440, -16765184, -16764928, -16764672, -16764416, -16764160, -16763904, -16763648, -16763392, -16763136, -16762880, -16762624, -16762368, -16762112, -16761856, -16761600, -16761344, -16761088, -16760832, -16760576, -16760320, -16760064, -16759808, -16759552, -16759296, -16759040, -16758784, -16758528, -16758272, -16758016, -16757760, -16757504, -16757248, -16756992, -16756736, -16756480, -16756224, -16755968, -16755712, -16755456, -16755200, -16754944, -16754688, -16754432, -16754176, -16753920, -16753664, -16753408, -16753152, -16752896, -16752640, -16752384, -16686592, -16555264, -16489472, -16358144, -16226816, -16161024, -16029696, -15963904, -15832576, -15701248, -15635456, -15504128, -15438336, -15307008, -15175680, -15109888, -14978560, -14847232, -14781440, -14650112, -14584320, -14452992, -14321664, -14255872, -14124544, -14058752, -13927424, -13796096, -13730304, -13598976, -13467648, -13401856, -13270528, -13204736, -13073408, -12942080, -12876288, -12744960, -12679168, -12547840, -12416512, -12350720, -12219392, -12088064, -12022272, -11890944, -11825152, -11693824, -11562496, -11496704, -11365376, -11299584, -11168256, -11036928, -10971136, -10839808, -10774016, -10642688, -10511360, -10445568, -10314240, -10182912, -10117120, -9985792, -9920000, -9788672, -9657344, -9591552, -9460224, -9394432, -9263104, -9131776, -9065984, -8934656, -8803328, -8737536, -8606208, -8540416, -8409088, -8277760, -8211968, -8080640, -8014848, -7883520, -7752189, -7686394, -7555062, -7423731, -7357935, -7226604, -7160808, -7029477, -6898145, -6832350, -6701019, -6635223, -6503892, -6372560, -6306765, -6175433, -6044102, -5978306, -5846975, -5781180, -5649848, -5518517, -5452721, -5321390, -5255594, -5124263, -4992931, -4927136, -4795805, -4730009, -4598678, -4467346, -4401551, -4270219, -4138888, -4073092, -3941761, -3875966, -3744634, -3613303, -3547507, -3416176, -3350380, -3219049, -3087717, -3021922, -2890591, -2759259, -2693464, -2562132, -2496337, -2365005, -2233674, -2167878, -2036547, -1970752, -1839420, -1708089, -1642293, -1510962, -1379630, -1313835, -1182503, -1116708, -985377, -854045, -788250, -656918, -591123, -459791, -328460, -262664, -131333, -1);\n addStdLut(\"Green/White Exponential\", \"ctable_idl_16bit_09_Green-White_Exponential\", -16711680, -16711680, -16711424, -16645632, -16645631, -16645375, -16579583, -16579583, -16513790, -16513534, -16513534, -16447742, -16447485, -16447485, -16381693, -16381437, -16315900, -16315644, -16315388, -16249851, -16249595, -16183803, -16183803, -16183546, -16117754, -16117754, -16117498, -16051705, -16051705, -15985913, -15985657, -15985656, -15919864, -15919608, -15919608, -15853815, -15853559, -15788023, -15787766, -15787510, -15721974, -15721718, -15655925, -15655925, -15655669, -15589877, -15589876, -15589620, -15523828, -15523828, -15458035, -15457779, -15457779, -15391987, -15391730, -15391730, -15325938, -15325681, -15260145, -15259889, -15259633, -15194096, -15193840, -15128048, -15128048, -15127791, -15061999, -15061999, -15061743, -14995950, -14995950, -14930158, -14929902, -14929901, -14864109, -14863853, -14863852, -14798060, -14797804, -14732268, -14732011, -14731755, -14666219, -14665963, -14600170, -14600170, -14599914, -14534122, -14534121, -14533865, -14468073, -14468073, -14402280, -14402024, -14402024, -14336231, -14335975, -14335975, -14270183, -14269926, -14204390, -14204134, -14203878, -14138341, -14138085, -14072293, -14072293, -14072036, -14006244, -14006244, -14005988, -13940195, -13940195, -13874403, -13874146, -13874146, -13808354, -13808098, -13808097, -13742305, -13742049, -13676513, -13676256, -13676000, -13610464, -13610208, -13544415, -13544415, -13544159, -13478367, -13478110, -13477854, -13411806, -13411549, -13345757, -13345245, -13344989, -13213660, -13213148, -13147356, -13081564, -13081051, -13015259, -12949467, -12948955, -12883162, -12817370, -12816858, -12751066, -12685273, -12684761, -12618969, -12553176, -12552664, -12421336, -12290008, -12158423, -12092631, -11961303, -11829719, -11698390, -11567062, -11435478, -11304150, -11172821, -11106773, -10975445, -10844117, -10712532, -10581204, -10449876, -10318291, -10252499, -10120915, -9989587, -9858258, -9726674, -9595346, -9464018, -9332433, -9266641, -9135313, -9003729, -8872400, -8741073, -8609487, -8478156, -8412361, -8280774, -8149443, -8018112, -7886525, -7755194, -7623863, -7492276, -7426481, -7295150, -7163563, -7032232, -6900902, -6769315, -6637984, -6506653, -6440602, -6309271, -6177940, -6046353, -5915022, -5783691, -5652104, -5586309, -5454978, -5323391, -5192061, -5060474, -4929143, -4797812, -4666225, -4600430, -4469099, -4337512, -4206181, -4074850, -3943263, -3811932, -3746137, -3614550, -3483220, -3351889, -3220302, -3088971, -2957640, -2826053, -2760258, -2628927, -2497340, -2366009, -2234678, -2103091, -1971760, -1905965, -1774379, -1643048, -1511717, -1380130, -1248799, -1117468, -985881, -920086, -788755, -657168, -525837, -394506, -262919, -131588, -1);\n addStdLut(\"Rainbow 1\", \"ctable_idl_16bit_13_Rainbow_1\", -16777216, -16515069, -16187385, -15925238, -15597554, -15335405, -15007721, -14745572, -14417888, -14155738, -13828053, -13500368, -13238219, -12976069, -12779457, -12582844, -12320696, -12255155, -12058543, -11927466, -11730853, -11599777, -11534236, -11403160, -11337619, -11206543, -11272074, -11140998, -11075457, -11009916, -11140984, -11075443, -11075439, -11075434, -11206502, -11272033, -11272029, -11272024, -11337555, -11599695, -11665226, -11730758, -11796289, -12123965, -12189496, -12320564, -12451631, -12844842, -12975910, -13172513, -13303581, -13762328, -13958932, -14155535, -14417675, -14614278, -15138561, -15400705, -15728385, -15990529, -16514817, -16776961, -16775937, -16774913, -16772865, -16771585, -16770561, -16769537, -16767233, -16766209, -16765185, -16763905, -16762881, -16760833, -16759809, -16758529, -16757505, -16755457, -16754177, -16753153, -16752129, -16749825, -16748801, -16747777, -16746497, -16744449, -16743425, -16742401, -16741121, -16740097, -16738049, -16736769, -16735745, -16734721, -16732417, -16731393, -16730369, -16729089, -16727041, -16726017, -16724993, -16723713, -16721665, -16720641, -16719361, -16718337, -16717313, -16715009, -16713985, -16712961, -16711681, -16711690, -16711694, -16711698, -16711703, -16711711, -16711716, -16711720, -16711724, -16711733, -16711737, -16711741, -16711745, -16711749, -16711758, -16711762, -16711766, -16711771, -16711779, -16711784, -16711788, -16711792, -16711801, -16711805, -16711809, -16711813, -16711822, -16711826, -16711830, -16711834, -16711839, -16711847, -16711852, -16711856, -16711860, -16711869, -16711873, -16711877, -16711881, -16711890, -16711894, -16711898, -16711902, -16711911, -16711915, -16711920, -16711924, -16711928, -16711936, -16449792, -16187648, -15925504, -15335680, -15073536, -14811392, -14549248, -13959424, -13697280, -13369600, -13107456, -12583168, -12321024, -11993344, -11731200, -11469056, -10879232, -10617088, -10354944, -10092800, -9502976, -9240832, -8913152, -8651008, -8126720, -7864576, -7536896, -7274752, -6684928, -6422784, -6160640, -5898496, -5636352, -5046528, -4784384, -4456704, -4194560, -3670272, -3408128, -3080448, -2818304, -2228480, -1966336, -1704192, -1442048, -852224, -590080, -327936, -256, -1536, -3584, -4608, -5888, -6912, -8960, -10240, -11264, -12288, -14592, -15616, -16640, -17664, -19968, -20992, -22016, -23296, -24320, -26368, -27648, -28672, -29696, -32000, -33024, -34048, -35072, -37376, -38400, -39424, -40704, -42752, -43776, -45056, -46080, -47104, -49408, -50432, -51456, -52480, -54784, -55808, -56832, -58112, -60160, -61184, -62464, -63488, -65536);\n addStdLut(\"Blue/Red\", \"ctable_idl_16bit_33_Blue-Red\", -16777085, -16777085, -16777081, -16777077, -16777073, -16777069, -16777065, -16777061, -16777057, -16777053, -16777049, -16777045, -16777041, -16777037, -16777033, -16777029, -16777025, -16777021, -16777017, -16777013, -16777009, -16777005, -16777001, -16776997, -16776993, -16776989, -16776985, -16776981, -16776977, -16776973, -16776969, -16776965, -16776961, -16776961, -16776193, -16775169, -16774145, -16773121, -16772097, -16771073, -16770049, -16769025, -16768001, -16766977, -16765953, -16764929, -16763905, -16762881, -16761857, -16760833, -16759809, -16758785, -16757761, -16756737, -16755713, -16754689, -16753665, -16752641, -16751617, -16750593, -16749569, -16748545, -16747521, -16746497, -16745473, -16744449, -16743425, -16742401, -16741377, -16740353, -16739329, -16738305, -16737281, -16736257, -16735233, -16734209, -16733185, -16732161, -16731137, -16730113, -16729089, -16728065, -16727041, -16726017, -16724993, -16723969, -16722945, -16721921, -16720897, -16719873, -16718849, -16717825, -16716801, -16715777, -16714753, -16713729, -16712705, -16711681, -16711681, -16515077, -16252937, -15990797, -15728657, -15466517, -15204377, -14942237, -14680097, -14417957, -14155817, -13893677, -13631537, -13369397, -13107257, -12845117, -12582977, -12320837, -12058697, -11796557, -11534417, -11272277, -11010137, -10747997, -10485857, -10223717, -9961577, -9699437, -9437297, -9175157, -8913017, -8650877, -8388737, -8126597, -7864457, -7602317, -7340177, -7078037, -6815897, -6553757, -6291617, -6029477, -5767337, -5505197, -5243057, -4980917, -4718777, -4456637, -4194497, -3932357, -3670217, -3408077, -3145937, -2883797, -2621657, -2359517, -2097377, -1835237, -1573097, -1310957, -1048817, -786677, -524537, -262397, -256, -1280, -2304, -3328, -4352, -5376, -6400, -7424, -8448, -9472, -10496, -11520, -12544, -13568, -14592, -15616, -16640, -17664, -18688, -19712, -20736, -21760, -22784, -23808, -24832, -25856, -26880, -27904, -28928, -29952, -30976, -32000, -33024, -34048, -35072, -36096, -37120, -38144, -39168, -40192, -41216, -42240, -43264, -44288, -45312, -46336, -47360, -48384, -49408, -50432, -51456, -52480, -53504, -54528, -55552, -56576, -57600, -58624, -59648, -60672, -61696, -62720, -63744, -64768, -65536, -393216, -655360, -983040, -1245184, -1507328, -1835008, -2097152, -2424832, -2686976, -2949120, -3276800, -3538944, -3866624, -4128768, -4390912, -4718592, -4980736, -5308416, -5570560, -5832704, -6160384, -6422528, -6750208, -7012352, -7274496, -7602176, -7864320, -8192000, -8192000);\n addStdLut(\"Rainbow 2\", \"ctable_idl_16bit_34_Rainbow_2\", -8650497, -8650497, -8912641, -9240321, -9502465, -9830145, -10092289, -10419969, -10682113, -11009793, -11271937, -11599617, -11861761, -12189441, -12451585, -12779265, -13041409, -13369089, -13631233, -13958913, -14221057, -14548737, -14810881, -15138561, -15400705, -15728385, -15990529, -16318209, -16580353, -16776449, -16775425, -16774145, -16773121, -16771841, -16770817, -16769537, -16768513, -16767233, -16766209, -16764929, -16763905, -16762625, -16761601, -16760321, -16759297, -16758017, -16756993, -16755713, -16754689, -16753409, -16752385, -16751105, -16750081, -16748801, -16747777, -16746497, -16745473, -16744193, -16743169, -16741889, -16740865, -16739585, -16738561, -16737281, -16736257, -16734977, -16733953, -16732673, -16731649, -16730369, -16729345, -16728065, -16727041, -16725761, -16724737, -16723457, -16722433, -16721153, -16720129, -16718849, -16717825, -16716545, -16715265, -16714241, -16712961, -16711937, -16711685, -16711689, -16711694, -16711698, -16711703, -16711707, -16711712, -16711716, -16711721, -16711725, -16711730, -16711734, -16711739, -16711743, -16711748, -16711752, -16711757, -16711761, -16711766, -16711770, -16711775, -16711779, -16711784, -16711788, -16711793, -16711797, -16711802, -16711806, -16711811, -16711815, -16711820, -16711824, -16711829, -16711833, -16711838, -16711842, -16711847, -16711851, -16711856, -16711860, -16711865, -16711869, -16711874, -16711878, -16711883, -16711887, -16711892, -16711896, -16711901, -16711905, -16711910, -16711914, -16711919, -16711923, -16711928, -16711932, -16646400, -16384256, -15859968, -15794432, -15466752, -15204608, -14876928, -14614784, -14287104, -14024960, -13697280, -13435136, -13107456, -12845312, -12517632, -12255488, -11927808, -11665664, -11337984, -11075840, -10748160, -10486016, -10158336, -9896192, -9568512, -9306368, -8978688, -8651008, -8388864, -8061184, -7799040, -7471360, -7209216, -6881536, -6619392, -6291712, -6029568, -5701888, -5439744, -5112064, -4849920, -4522240, -4260096, -3932416, -3670272, -3342592, -3080448, -2752768, -2490624, -2162944, -1900800, -1573120, -1310976, -983296, -721152, -393472, -131328, -1024, -2048, -3328, -4352, -5632, -6656, -7936, -8960, -10240, -11264, -12544, -13568, -14848, -15872, -17152, -18176, -19456, -20480, -21760, -22784, -24064, -25088, -26368, -27392, -28672, -29696, -30976, -32000, -33280, -34304, -35584, -36608, -37888, -38912, -40192, -41216, -42496, -43520, -44800, -45824, -47104, -48128, -49408, -50432, -51712, -52736, -54016, -55040, -56320, -57344, -58624, -59648, -60928, -61952, -63232, -64256, -64256);\n // From the resources\n String ggrFiles[] = { \"AIA94\", \"AIA131\", \"AIA171\", \"AIA193\", \"AIA211\", \"AIA304\", \"AIA335\", \"AIA1600\", \"AIA1700\", \"AIA4500\" };\n for (String file : ggrFiles) {\n try(InputStream is = FileUtils.getResourceInputStream(\"/ggr/\" + file + \".ggr\")) {\n LUT l = readGimpGradientStream(is);\n standardList.put(l.getName(), l);\n } catch (FileNotFoundException e) {\n System.out.println(\"Could not restore gimp gradient file \" + file);\n e.printStackTrace();\n } catch (GradientError e) {\n System.out.println(\"Could not restore gimp gradient file \" + file);\n e.printStackTrace();\n } catch (IOException e) {\n System.out.println(\"Could not restore gimp gradient file \" + file);\n e.printStackTrace();\n }\n }\n }\n return new TreeMap<String, LUT>(standardList);\n }", "@NotNull\n @Override\n public Object[] getVariants() {\n final Set<String> alreadySeen = ContainerUtil.newHashSet();\n final List<LookupElement> results = ContainerUtil.newArrayList();\n ResolveUtil.treeWalkUp(myElement, new FrogBaseScopeProcessor() {\n @Override\n public boolean execute(@NotNull PsiElement element, ResolveState state) {\n if (element instanceof FrogNamedElement) {\n FrogNamedElement namedElement = (FrogNamedElement) element;\n String name = namedElement.getName();\n if (!alreadySeen.contains(name)) {\n alreadySeen.add(name);\n results.add(buildLookupElement(namedElement));\n }\n }\n return true;\n }\n });\n return ArrayUtil.toObjectArray(results);\n }", "private String svgColors(String id) {\n StringBuilder toReturn = new StringBuilder();\n for (AAction a : model.getColors(id)) {\n ChangeColor c = (ChangeColor) a;\n toReturn.append(\" \");\n toReturn.append(\"<animate attributeType=\\\"css\\\" begin=\\\"\" + c.getStartTime() * speed\n + \"ms\\\"\" + \" dur=\\\"\" + speed * (c.getEndTime() - c.getStartTime()) +\n \"ms\" + \"\\\" attributeName=\\\"\" + \"fill\" + \"\\\"\" +\n \" from=\\\"\" + \"rgb(\" + c.getFromColor().getRedInt() + \",\" +\n c.getFromColor().getGreenInt() + \",\"\n + c.getFromColor().getBlueInt() + \")\" + \"\\\" to=\\\"\" +\n \"\" + \"rgb(\" + c.getToColor().getRedInt() + \",\"\n + c.getToColor().getGreenInt() + \",\"\n + c.getToColor().getBlueInt() + \")\\\" fill=\\\"freeze\\\" />\\n\");\n }\n return toReturn.toString();\n }", "java.util.List<org.openxmlformats.schemas.drawingml.x2006.main.CTPath2D> getPathList();", "public float[] convertShader() {\r\n\t\tfloat[] w = new float[16];\r\n\t\t\r\n\t\tw[0] = m[0][0]; w[1] = m[0][1]; w[2] = m[0][2]; w[3] = m[0][3];\r\n\t\tw[4] = m[1][0]; w[5] = m[1][1]; w[6] = m[1][2]; w[7] = m[1][3];\r\n\t\tw[8] = m[2][0]; w[9] = m[2][1]; w[10] = m[2][2]; w[11] = m[2][3];\r\n\t\tw[12] = m[3][0]; w[13] = m[3][1]; w[14] = m[3][2]; w[15] = m[3][3];\r\n\t\t\t\t\r\n\t\treturn w;\r\n\r\n\t}", "String getEdges();", "public static List<String> getTacGrpGraphics()\n {\n return Arrays.asList(\n TacGrpSidc.TSK_DSTY,\n TacGrpSidc.TSK_ITDT,\n TacGrpSidc.TSK_NEUT,\n TacGrpSidc.C2GM_GNL_PNT_USW_UH2_DTM,\n TacGrpSidc.C2GM_GNL_PNT_USW_UH2_BCON,\n TacGrpSidc.C2GM_GNL_PNT_USW_UH2_LCON,\n TacGrpSidc.C2GM_GNL_PNT_USW_UH2_SNK,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY_PTNCTR,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY_DIFAR,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY_LOFAR,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY_CASS,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY_DICASS,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY_BT,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY_ANM,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY_VLAD,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY_ATAC,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY_RO,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY_KGP,\n TacGrpSidc.C2GM_GNL_PNT_USW_SNBY_EXP,\n TacGrpSidc.C2GM_GNL_PNT_USW_SRH,\n TacGrpSidc.C2GM_GNL_PNT_USW_SRH_ARA,\n TacGrpSidc.C2GM_GNL_PNT_USW_SRH_DIPPSN,\n TacGrpSidc.C2GM_GNL_PNT_USW_SRH_CTR,\n TacGrpSidc.C2GM_GNL_PNT_REFPNT,\n TacGrpSidc.C2GM_GNL_PNT_REFPNT_NAVREF,\n TacGrpSidc.C2GM_GNL_PNT_REFPNT_SPLPNT,\n TacGrpSidc.C2GM_GNL_PNT_REFPNT_DLRP,\n TacGrpSidc.C2GM_GNL_PNT_REFPNT_PIM,\n TacGrpSidc.C2GM_GNL_PNT_REFPNT_MRSH,\n TacGrpSidc.C2GM_GNL_PNT_REFPNT_WAP,\n TacGrpSidc.C2GM_GNL_PNT_REFPNT_CRDRTB,\n TacGrpSidc.C2GM_GNL_PNT_REFPNT_PNTINR,\n TacGrpSidc.C2GM_GNL_PNT_WPN_AIMPNT,\n TacGrpSidc.C2GM_GNL_PNT_WPN_DRPPNT,\n TacGrpSidc.C2GM_GNL_PNT_WPN_ENTPNT,\n TacGrpSidc.C2GM_GNL_PNT_WPN_GRDZRO,\n TacGrpSidc.C2GM_GNL_PNT_WPN_MSLPNT,\n TacGrpSidc.C2GM_GNL_PNT_WPN_IMTPNT,\n TacGrpSidc.C2GM_GNL_PNT_WPN_PIPNT,\n TacGrpSidc.C2GM_GNL_PNT_FRMN,\n TacGrpSidc.C2GM_GNL_PNT_HBR,\n TacGrpSidc.C2GM_GNL_PNT_HBR_PNTQ,\n TacGrpSidc.C2GM_GNL_PNT_HBR_PNTA,\n TacGrpSidc.C2GM_GNL_PNT_HBR_PNTY,\n TacGrpSidc.C2GM_GNL_PNT_HBR_PNTX,\n TacGrpSidc.C2GM_GNL_PNT_RTE,\n TacGrpSidc.C2GM_GNL_PNT_RTE_RDV,\n TacGrpSidc.C2GM_GNL_PNT_RTE_DVSN,\n TacGrpSidc.C2GM_GNL_PNT_RTE_WAP,\n TacGrpSidc.C2GM_GNL_PNT_RTE_PIM,\n TacGrpSidc.C2GM_GNL_PNT_RTE_PNTR,\n TacGrpSidc.C2GM_GNL_PNT_ACTL,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_CAP,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_ABNEW,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_TAK,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_ASBWF,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_ASBWR,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_SUWF,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_SUWR,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_MIWF,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_MIWR,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_SKEIP,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_TCN,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_TMC,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_RSC,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_RPH,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_UA,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_VTUA,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_ORB,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_ORBF8,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_ORBRT,\n TacGrpSidc.C2GM_GNL_PNT_ACTL_ORBRD,\n TacGrpSidc.C2GM_GNL_PNT_ACTPNT,\n TacGrpSidc.C2GM_GNL_PNT_ACTPNT_CHKPNT,\n TacGrpSidc.C2GM_GNL_PNT_ACTPNT_CONPNT,\n TacGrpSidc.C2GM_GNL_PNT_ACTPNT_CRDPNT,\n TacGrpSidc.C2GM_GNL_PNT_ACTPNT_DCNPNT,\n TacGrpSidc.C2GM_GNL_PNT_ACTPNT_LNKUPT,\n TacGrpSidc.C2GM_GNL_PNT_ACTPNT_PSSPNT,\n TacGrpSidc.C2GM_GNL_PNT_ACTPNT_RAYPNT,\n TacGrpSidc.C2GM_GNL_PNT_ACTPNT_RELPNT,\n TacGrpSidc.C2GM_GNL_PNT_ACTPNT_STRPNT,\n TacGrpSidc.C2GM_GNL_PNT_ACTPNT_AMNPNT,\n TacGrpSidc.C2GM_GNL_PNT_ACTPNT_WAP,\n TacGrpSidc.C2GM_GNL_PNT_SCTL,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_USV,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_USV_RMV,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_USV_ASW,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_USV_SUW,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_USV_MIW,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_ASW,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_SUW,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_MIW,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_PKT,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_RDV,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_RSC,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_REP,\n TacGrpSidc.C2GM_GNL_PNT_SCTL_NCBTT,\n TacGrpSidc.C2GM_GNL_PNT_UCTL,\n TacGrpSidc.C2GM_GNL_PNT_UCTL_UUV,\n TacGrpSidc.C2GM_GNL_PNT_UCTL_UUV_ASW,\n TacGrpSidc.C2GM_GNL_PNT_UCTL_UUV_SUW,\n TacGrpSidc.C2GM_GNL_PNT_UCTL_UUV_MIW,\n TacGrpSidc.C2GM_GNL_PNT_UCTL_SBSTN,\n TacGrpSidc.C2GM_GNL_PNT_UCTL_SBSTN_ASW,\n TacGrpSidc.C2GM_DEF_PNT_TGTREF,\n TacGrpSidc.C2GM_DEF_PNT_OBSPST,\n TacGrpSidc.C2GM_DEF_PNT_OBSPST_CBTPST,\n TacGrpSidc.C2GM_DEF_PNT_OBSPST_RECON,\n TacGrpSidc.C2GM_DEF_PNT_OBSPST_FWDOP,\n TacGrpSidc.C2GM_DEF_PNT_OBSPST_SOP,\n TacGrpSidc.C2GM_DEF_PNT_OBSPST_CBRNOP,\n TacGrpSidc.C2GM_OFF_PNT_PNTD,\n TacGrpSidc.C2GM_AVN_PNT_DAPP,\n TacGrpSidc.MOBSU_OBST_ATO_TDTSM_FIXPFD,\n TacGrpSidc.MOBSU_OBST_ATO_TDTSM_MVB,\n TacGrpSidc.MOBSU_OBST_ATO_TDTSM_MVBPFD,\n TacGrpSidc.MOBSU_OBST_BBY,\n TacGrpSidc.MOBSU_OBST_MNE_USPMNE,\n TacGrpSidc.MOBSU_OBST_MNE_ATMNE,\n TacGrpSidc.MOBSU_OBST_MNE_ATMAHD,\n TacGrpSidc.MOBSU_OBST_MNE_ATMDIR,\n TacGrpSidc.MOBSU_OBST_MNE_APMNE,\n TacGrpSidc.MOBSU_OBST_MNE_WAMNE,\n TacGrpSidc.MOBSU_OBST_AVN_TWR_LOW,\n TacGrpSidc.MOBSU_OBST_AVN_TWR_HIGH,\n TacGrpSidc.MOBSU_OBSTBP_CSGSTE_ERP,\n TacGrpSidc.MOBSU_SU_ESTOF,\n TacGrpSidc.MOBSU_SU_FRT,\n TacGrpSidc.MOBSU_SU_SUFSHL,\n TacGrpSidc.MOBSU_SU_UGDSHL,\n TacGrpSidc.MOBSU_CBRN_NDGZ,\n TacGrpSidc.MOBSU_CBRN_FAOTP,\n TacGrpSidc.MOBSU_CBRN_REEVNT_BIO,\n TacGrpSidc.MOBSU_CBRN_REEVNT_CML,\n TacGrpSidc.MOBSU_CBRN_DECONP_USP,\n TacGrpSidc.MOBSU_CBRN_DECONP_ALTUSP,\n TacGrpSidc.MOBSU_CBRN_DECONP_TRP,\n TacGrpSidc.MOBSU_CBRN_DECONP_EQT,\n TacGrpSidc.MOBSU_CBRN_DECONP_EQTTRP,\n TacGrpSidc.MOBSU_CBRN_DECONP_OPDECN,\n TacGrpSidc.MOBSU_CBRN_DECONP_TRGH,\n TacGrpSidc.FSUPP_PNT_TGT_PTGT,\n TacGrpSidc.FSUPP_PNT_TGT_NUCTGT,\n TacGrpSidc.FSUPP_PNT_C2PNT_FSS,\n TacGrpSidc.FSUPP_PNT_C2PNT_SCP,\n TacGrpSidc.FSUPP_PNT_C2PNT_FP,\n TacGrpSidc.FSUPP_PNT_C2PNT_RP,\n TacGrpSidc.FSUPP_PNT_C2PNT_HP,\n TacGrpSidc.FSUPP_PNT_C2PNT_LP,\n TacGrpSidc.CSS_PNT_AEP,\n TacGrpSidc.CSS_PNT_CBNP,\n TacGrpSidc.CSS_PNT_CCP,\n TacGrpSidc.CSS_PNT_CVP,\n TacGrpSidc.CSS_PNT_DCP,\n TacGrpSidc.CSS_PNT_EPWCP,\n TacGrpSidc.CSS_PNT_LRP,\n TacGrpSidc.CSS_PNT_MCP,\n TacGrpSidc.CSS_PNT_RRRP,\n TacGrpSidc.CSS_PNT_ROM,\n TacGrpSidc.CSS_PNT_TCP,\n TacGrpSidc.CSS_PNT_TTP,\n TacGrpSidc.CSS_PNT_UMC,\n TacGrpSidc.CSS_PNT_SPT_GNL,\n TacGrpSidc.CSS_PNT_SPT_CLS1,\n TacGrpSidc.CSS_PNT_SPT_CLS2,\n TacGrpSidc.CSS_PNT_SPT_CLS3,\n TacGrpSidc.CSS_PNT_SPT_CLS4,\n TacGrpSidc.CSS_PNT_SPT_CLS5,\n TacGrpSidc.CSS_PNT_SPT_CLS6,\n TacGrpSidc.CSS_PNT_SPT_CLS7,\n TacGrpSidc.CSS_PNT_SPT_CLS8,\n TacGrpSidc.CSS_PNT_SPT_CLS9,\n TacGrpSidc.CSS_PNT_SPT_CLS10,\n TacGrpSidc.CSS_PNT_AP_ASP,\n TacGrpSidc.CSS_PNT_AP_ATP,\n TacGrpSidc.OTH_ER_DTHAC,\n TacGrpSidc.OTH_ER_PIW,\n TacGrpSidc.OTH_ER_DSTVES,\n TacGrpSidc.OTH_HAZ_SML,\n TacGrpSidc.OTH_HAZ_IB,\n TacGrpSidc.OTH_HAZ_OLRG,\n TacGrpSidc.OTH_SSUBSR_BTMRTN,\n TacGrpSidc.OTH_SSUBSR_BTMRTN_INS,\n TacGrpSidc.OTH_SSUBSR_BTMRTN_SBRSOO,\n TacGrpSidc.OTH_SSUBSR_BTMRTN_WRKND,\n TacGrpSidc.OTH_SSUBSR_BTMRTN_WRKD,\n TacGrpSidc.OTH_SSUBSR_MARLFE,\n TacGrpSidc.OTH_SSUBSR_SA,\n TacGrpSidc.OTH_FIX_ACU,\n TacGrpSidc.OTH_FIX_EM,\n TacGrpSidc.OTH_FIX_EOP);\n }", "private static String[][] getDataForGrid(CWaypoint[] wayPoints) {\r\n\t\tString data[][] = new String[wayPoints.length][1];\r\n\t\tfor (int i = 0; i < data.length; i++) {\r\n\t\t\tdata[i][0] = wayPoints[i].getTime().toString();\r\n\t\t}\r\n\t\treturn data;\r\n\t}", "public synchronized List<HRegionInfo> getRegionsOfTable(FullyQualifiedTableName tableName) {\n List<HRegionInfo> tableRegions = new ArrayList<HRegionInfo>();\n // boundary needs to have table's name but regionID 0 so that it is sorted\n // before all table's regions.\n HRegionInfo boundary = new HRegionInfo(tableName, null, null, false, 0L);\n for (HRegionInfo hri: regionAssignments.tailMap(boundary).keySet()) {\n if(!hri.getFullyQualifiedTableName().equals(tableName)) break;\n tableRegions.add(hri);\n }\n return tableRegions;\n }", "private void buildSymbolTables() {\n new SymbolsTableBuilder(data).read(this);//.dump();\n }", "String getTransparencyAsString();", "java.util.List<message.Figure.FigureData.FigureLevelTable> \n getLevelTableListList();", "private String[] adaptPDFFormat() {\n String[] searchText = new String[pdfBoxDocuments.size()];\n for (int i = 0; i < pdfBoxDocuments.size(); i++) {\n PDFDocument pdf = pdfBoxDocuments.get(i);\n searchText[i] = \"\";\n for (int j = 0; j < pdf.getText().length; j++) {\n searchText[i] += pdf.getText()[j]+ \" \";\n }\n }\n return searchText;\n\n\n }", "int[][][] generateFlags(int ratio, String country);", "public String getLookupattributearray() {\r\n return lookupattributearray;\r\n }", "private ArrayList<Integer> getCityEdges(HashMap<Integer,Integer> table){\n ArrayList<Integer> edges = new ArrayList<Integer>();\n edges.addAll(table.keySet());\n return edges;\n }", "private int[] readLut(final int size) throws FormatException {\n\t\t\tfinal int nbytes = 3 * size;\n\t\t\tfinal byte[] c = new byte[nbytes];\n\t\t\tint n = 0;\n\t\t\ttry {\n\t\t\t\tn = getSource().read(c);\n\t\t\t}\n\t\t\tcatch (final IOException e) {}\n\n\t\t\tif (n < nbytes) {\n\t\t\t\tthrow new FormatException(\"Color table not found\");\n\t\t\t}\n\n\t\t\tfinal int[] lut = new int[256];\n\t\t\tint j = 0;\n\t\t\tfor (int i = 0; i < size; i++) {\n\t\t\t\tfinal int r = c[j++] & 0xff;\n\t\t\t\tfinal int g = c[j++] & 0xff;\n\t\t\t\tfinal int b = c[j++] & 0xff;\n\t\t\t\tlut[i] = 0xff000000 | (r << 16) | (g << 8) | b;\n\t\t\t}\n\t\t\treturn lut;\n\t\t}", "private SymbolTable<String, SymbolData> transform(SymbolTable<String, SymbolData> symbolTable) throws Exception {\n for (String name : graph.reverseTopologicalSort()) {\n //log.debug(name);\n SymbolData symbolData = symbolTable.get(name);\n String json = symbolData.getJson();\n //log.debug(json);\n while(true) {\n Optional<Position> position = referenceDetector.detectFirstReference(json);\n //log.debug(json + position.isPresent());\n if(!position.isPresent()) break;\n Position pos = position.get();\n String jsonTobeReplaced = symbolTable.get(pos.getReferenceName().substring(1)).getJson();\n //log.debug(jsonTobeReplaced);\n json = json.substring(0, pos.getFrom())+jsonTobeReplaced+json.substring(pos.getTo());\n }\n log.debug(json);\n symbolData.setJson(json);\n }\n\n return symbolTable;\n }", "static String[] cavityMap(String[] grid) {\r\n \tString[] ret = new String[grid.length];\r\n \t\r\n \tfor (int i = 0; i < grid.length; i++) {\r\n \t\tif (i == 0 || i == grid.length-1) { //first or last row\r\n \t\t\tret[i] = grid[i];\r\n \t\t} else {\r\n \t\t\tchar[] beforeRow = grid[i-1].toCharArray();\r\n \t\t\tchar[] actualRow = grid[i].toCharArray();\r\n \t\t\tchar[] nextRow = grid[i+1].toCharArray();\r\n \t\t\tfor (int j = 0; j < actualRow.length; j++) {\r\n \t\t\t\tif (j > 0 && j < actualRow.length -1) {\r\n \t\t\t\t\tint upper = Character.getNumericValue(beforeRow[j]);\r\n \t\t\t\t\tint lower = Character.getNumericValue(nextRow[j]);\r\n \t\t\t\t\tint left = Character.getNumericValue(actualRow[j-1]);\r\n \t\t\t\t\tint right = Character.getNumericValue(actualRow[j+1]);\r\n \t\t\t\t\tint actual = Character.getNumericValue(actualRow[j]);\r\n \t\t\t\t\tif (actual > upper && actual > lower && actual > left && actual > right) {\r\n \t\t\t\t\t\tactualRow[j] = 'X';\r\n \t\t\t\t\t}\r\n \t\t\t\t\t\r\n \t\t\t\t}\r\n \t\t\t\tif (ret[i] == null)\r\n \t\t\t\t\tret[i] = actualRow[j]+\"\";\r\n \t\t\t\telse\r\n \t\t\t\t\tret[i] = ret[i]+actualRow[j];\r\n \t\t\t}\r\n \t\t} \t\t\r\n \t}\r\n \t\r\n \treturn ret;\r\n }", "public String[] getLabels()\n {\n Set<String> set = data.keySet();\n String[] res = new String[set.size()];\n int i=0;\n for( String e : set)\n res[i++] = e;\n return res;\n }", "public String getBackgroundColorsArray() {\n\t\t// FIXME this should be done differently in JSF 2 - style for each row\n\t\tStringBuilder rowClasses = new StringBuilder();\n\t\tList<Mp3File> list = getMp3List();\n\n\t for (int i = 0; i < list.size(); i++) {\n\t \tMp3File m = list.get(i);\n\t \tif (m.getBackgroundColor() != null && m.getBackgroundColor().length() > 0) {\n\t \t\trowClasses.append(\"bgColor-\" + m.getBackgroundColor());\n\t\t\t} else {\n\t\t\t\t\n\t\t\t\tif (i % 2 == 0) {\n\t\t\t\t\trowClasses.append(\"table-even-row\");\n\t\t\t\t} else {\n\t\t\t\t\trowClasses.append(\"table-odd-row\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t if (i < list.size() - 1) rowClasses.append(\",\");\n\t }\n\n\t return rowClasses.toString();\n\t\t\n\t}", "public java.lang.String[] getMappingFieldsArray()\n {\n synchronized (monitor())\n {\n check_orphaned();\n java.util.List targetList = new java.util.ArrayList();\n get_store().find_all_element_users(MAPPINGFIELDS$28, targetList);\n java.lang.String[] result = new java.lang.String[targetList.size()];\n for (int i = 0, len = targetList.size() ; i < len ; i++)\n result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getStringValue();\n return result;\n }\n }", "org.openxmlformats.schemas.drawingml.x2006.main.CTPath2D[] getPathArray();", "public String toString() {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < table.length; i++) {\n sb.append(\"[\" + i + \"] \");\n for (Entry<K,V> entry : table[i]) {\n sb.append(\"-> \" + entry + \" \");\n }\n sb.append(\"\\n\");\n }\n return sb.toString();\n }", "public abstract String getRegexTableMarker();", "java.lang.String getGeoTargetConstants(int index);", "private String getHtmlRepresentation(List<ColumnConstraintSet<R, ?>> filters) {\n\t\tStringBuilder buf = new StringBuilder();\n\t\tbuf.append(\"<table valign=top cellspacing=5 cellpadding=0>\");\n\t\tbuf.append(\"<tr>\");\n\t\t// The first row has an empty first column\n\t\t// so that additional rows can display an \"AND\"\n\t\tbuf.append(\"<td></td><td>\");\n\t\tbuf.append(filters.get(0).getHtmlRepresentation());\n\t\tbuf.append(\"</td></tr>\");\n\t\tGColor gray = Palette.GRAY;\n\t\tString grayHex = gray.toHexString();\n\t\tfor (int i = 1; i < filters.size(); i++) {\n\t\t\tbuf.append(\"<tr><td style=\\\"color:\").append(grayHex).append(\"\\\"> \");\n\t\t\tbuf.append(filters.get(i).getLogicOperation());\n\t\t\tbuf.append(\"&nbsp;</td><td>\");\n\t\t\tbuf.append(filters.get(i).getHtmlRepresentation());\n\t\t\tbuf.append(\"</td></tr>\");\n\t\t}\n\t\tbuf.append(\"</table>\");\n\t\tbuf.append(\"</html>\");\n\n\t\treturn buf.toString();\n\t}", "org.landxml.schema.landXML11.SurfaceNameRefs xgetSurfaceRefs();", "public String[][] getGlobalStatesInfo( ) {\r\n\r\n String[][] globalStatesInfo = null;\r\n\r\n // Create the list for the globalStates\r\n globalStatesInfo = new String[ globalStatesList.size( ) ][ 2 ];\r\n\r\n // Fill the array with the info\r\n for( int i = 0; i < globalStatesList.size( ); i++ ) {\r\n GlobalState globalState = globalStatesList.get( i );\r\n globalStatesInfo[i][0] = globalState.getId( );\r\n globalStatesInfo[i][1] = Integer.toString( Controller.getInstance( ).countIdentifierReferences( globalState.getId( ) ) );\r\n }\r\n\r\n return globalStatesInfo;\r\n }", "public abstract String[] createTablesStatementStrings();", "@Override\n\tpublic String toString() {\n\t\tString tagString = \"\";\n\t\tfor (String tag : tagToImg.keySet())\n\t\t\ttagString += tag + \"\\n\";\n\n\t\treturn tagString;\n\t}", "String[] getTags() {\n if (sections == null) {\n return null;\n }\n\n Vector<String> tagV = new Vector<>(sections.length * 2);\n\n for (Section section : sections) {\n String[] names = section.getOutputNames();\n\n Collections.addAll(tagV, names);\n } // outer for\n\n return tagV.toArray(new String[tagV.size()]);\n }", "public String getTabularResult() {\n StringBuilder builder = new StringBuilder();\n for (int c = 0; c < cols; ++c) {\n for (int r = 0; r < rows; ++r) {\n builder.append(puzzleMap.get(orderedKeys[r][c]).getValue());\n }\n builder.append(System.lineSeparator());\n }\n return builder.toString().trim();\n }", "public String[] infoToArray()//changed\r\n\t {\r\n\t\t if(this.size() == 0)\r\n\t\t {\r\n\t\t\t return new String[0];\r\n\t\t }\r\n\t\t String[] arr = new String[this.size()];\r\n\t\t int[] count = new int[1];\r\n\t\t count[0] = 0;\r\n\t\t return this.root.infoToArray(arr, count); \r\n\t }", "public static final String[] getSourceTypeList() {\n final SourceType[] types = SourceType.values();\n final String[] displayStrings = new String[types.length];\n for(int i = 0; i < types.length; i++) {\n displayStrings[i] = JMeterUtils.getResString(types[i].propertyName);\n }\n return displayStrings;\n }", "public org.apache.xmlbeans.XmlString[] xgetMappingFieldsArray()\n {\n synchronized (monitor())\n {\n check_orphaned();\n java.util.List targetList = new java.util.ArrayList();\n get_store().find_all_element_users(MAPPINGFIELDS$28, targetList);\n org.apache.xmlbeans.XmlString[] result = new org.apache.xmlbeans.XmlString[targetList.size()];\n targetList.toArray(result);\n return result;\n }\n }", "public String[] toStrings();", "public int[] getLut8() {\n return lut8;\n }", "BigDecimal[][] toTriangular();", "public String[] getEntitiesAt(int sx0, int sy0, int sx1, int sy1) {\n RTGraphComponent.RenderContext myrc = (RTGraphComponent.RenderContext) getRTComponent().rc; if (myrc == null) return null;\n Rectangle2D rect = new Rectangle2D.Double((sx0 < sx1) ? sx0 : sx1, (sy0 < sy1) ? sy0 : sy1, Math.abs(sx0-sx1), Math.abs(sy0-sy1));\n List<String> strs_as_al = new ArrayList<String>();\n\n // Go through the entities\n Iterator<String> it = myrc.node_to_geom.keySet().iterator();\n while (it.hasNext()) {\n String node_coord = it.next(); \n\t\n if (Utils.genericIntersects(rect, myrc.node_to_geom.get(node_coord))) { \n\t Set<String> entities = myrc.node_coord_set.get(node_coord);\n\t Iterator<String> it_entities = entities.iterator();\n\t while (it_entities.hasNext()) {\n\t String entity = it_entities.next(); \n\t // Entity may be after the delimiter\n\t if (entity.indexOf(BundlesDT.DELIM) >= 0) entity = entity.substring(entity.lastIndexOf(BundlesDT.DELIM)+1, entity.length());\n\t strs_as_al.add(entity); \n }\n\t}\n }\n \n // Transfer it back to a string array\n String strs[] = new String[strs_as_al.size()];\n for (int i=0;i<strs.length;i++) strs[i] = strs_as_al.get(i);\n\n return strs;\n }", "public abstract String[] getLabels();", "short[][] productionTable();", "public String getSourceTable();", "private void getMapping() {\n double [][] chars = new double[CHAR_SET_SIZE][1];\n for (int i = 0; i < chars.length; i++) {\n chars[i][0] = i;\n }\n Matrix b = new Matrix(key).times(new Matrix(chars));\n map = b.getArray();\n }", "private String[] getChartLabels(String[] outputLabels){\n\t\tString[] chartLabels = new String[2];\n\t\tif (outputLabels[1].equalsIgnoreCase(\"At stop\")){\n\t\t\tchartLabels[0] = \"Stops\";\n\t\t\tchartLabels[1] = \"Routes\";\n\t\t}\n\t\telse {\n\t\t\tchartLabels[0] = \"Routes\";\n\t\t\tchartLabels[1] = \"Stops\";\n\t\t}\n\t\treturn chartLabels;\n\t}", "public float[] asArray() {\n\t\treturn new float[] { this.hue, this.saturation, this.intensity };\n\t}", "public String[] getStringArray() {\r\n\t\tString[] a = value.getStringArray();\r\n\t\tif (a == null)\r\n\t\t\treturn null;\r\n\t\tint n = a.length;\r\n\t\tString[] b = new String[n];\r\n\t\tfor (int i = 0; i < n; i++)\r\n\t\t\tb[i] = substitution(a[i]);\r\n\t\treturn (b);\r\n\t}", "java.util.List getSurfaceRefs();", "public String[][] getDoubleStrings() {\n int numPoints = getNumPoints();\n String[][] ret = new String[numPoints][dimensions];\n\n for (int i = 0; i < numPoints; i++) {\n double[] tempPoint = getPoint(i).getVector();\n\n for (int j = 0; j < tempPoint.length; j++) {\n ret[i][j] = Double.toString(tempPoint[j]);\n }\n }\n\n return ret;\n }", "public V[] values() {\n MyStack<V> result = new MyStack<>();\n\n for (Object entry : this.table) {\n if (entry != null) {\n Entry<K, V> current = (Entry<K, V>) entry;\n\n while (current.hasNext()) {\n result.push(current.getValue());\n current = current.getNext();\n }\n result.push(current.getValue());\n }\n }\n return result.toArray();\n }", "public String[] getSpellImageArray()\r\n\t{\r\n\t\t String[] spellImages = new String[spells.size()];\r\n\t\t for (int i = 0; i < spells.size(); i++) {\r\n\t\t\t spellImages[i] = spells.get(i).getSnapImage();\r\n\t\t }\r\n\t\t return spellImages;\r\n\t}", "String getBaseTable();", "@Transient\r\n\tpublic Map<String, Object> getLookups() {\r\n\t\tMap<String,Object> map = new HashMap<String,Object>();\r\n map.put(ICommercialAlias.TARGET_REGISTRY_ID, getId());\r\n map.put(ICommercialAlias.TARGET_REGISTRY_DOCUMENT, getRegistry().getDocument());\r\n map.put(ICommercialAlias.TARGET_REGISTRY_NAME, getRegistry().getName());\r\n map.put(ICommercialAlias.TARGET_REGISTRY_SURNAME, getRegistry().getSurname());\r\n map.put(ICommercialAlias.TARGET_REGISTRY_ALIAS, getRegistry().getAlias());\r\n return map;\r\n\t}", "public String toString() {\r\n StringBuilder result= new StringBuilder();\r\n for(int x=0;x<8;x++){\r\n for(int y=0;y<8;y++){\r\n result.append(checks[x][y]).append(\",\");\r\n }\r\n result.append(\"\\n\");\r\n }\r\n return result.toString();\r\n }", "@Override\n\tpublic List<String> getLinesToExport()\n\t{\n\n\t\tList<String> returnList = new ArrayList<>();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tsb.append(\"series\");\n\t\tsb.append(\"\\t\");\n\t\tsb.append(\"x\");\n\t\tsb.append(\"\\t\");\n\t\tsb.append(\"y\");\n\t\tsb.append(\"\\t\");\n\t\tsb.append(\"components delimited by ///\");\n\t\treturnList.add(sb.toString());\n\t\tfor (SciomeSeries<Number, Number> seriesData : getSeriesData())\n\t\t{\n\t\t\tfor (SciomeData<Number, Number> xychartData : seriesData.getData())\n\t\t\t{\n\t\t\t\tsb.setLength(0);\n\t\t\t\tDouble X = xychartData.getXValue().doubleValue();\n\t\t\t\tDouble Y = xychartData.getYValue().doubleValue();\n\t\t\t\tList extraValue = (List) xychartData.getExtraValue();\n\n\t\t\t\tStringBuilder components = new StringBuilder();\n\t\t\t\tfor (Object obj : extraValue)\n\t\t\t\t{\n\t\t\t\t\tif (components.length() > 0)\n\t\t\t\t\t\tcomponents.append(\"///\");\n\t\t\t\t\tcomponents.append(obj.toString());\n\t\t\t\t}\n\n\t\t\t\tsb.append(seriesData.getName());\n\t\t\t\tsb.append(\"\\t\");\n\t\t\t\tsb.append(X);\n\t\t\t\tsb.append(\"\\t\");\n\t\t\t\tsb.append(Y);\n\t\t\t\tsb.append(\"\\t\");\n\t\t\t\tsb.append(components.toString());\n\n\t\t\t\treturnList.add(sb.toString());\n\n\t\t\t}\n\t\t}\n\n\t\treturn returnList;\n\n\t}", "public Layer[] reconstruct(){\r\n ArrayList<String[]> rawData = pullFromText(location);\r\n return rawData != null ? reformat(rawData) : null;\r\n }", "public String toString(){\n\t\tString output = \"\";\n\t\tfor (int i = 0; i < this.contains; i++){\n\t\t\tif (this.table[i] != null){\n\t\t\t\toutput = output + this.table[i].getKey() + \" \" + this.table[i].getValue() + \"\\n\";\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t}", "int[] getVisualToLogicalMap() {\n if (v2lMap == null) {\n v2lMap = createVisualToLogicalMap(levels);\n }\n return v2lMap;\n }", "public String[] linkLabelsArray() {\n List<String> list = Utils.jListGetValuesWrapper(bundle_label_list);\n String strs[] = new String[list.size()]; for (int i=0;i<strs.length;i++) strs[i] = list.get(i);\n return strs;\n }", "public String[] asStringArray() {\n\t\tString array[] = new String[4];\n\t\tarray[0] = \"Name: \" + this.name;\n\t\tarray[1] = \"Money: \" + Double.toString(this.money);\n\t\tarray[2] = \"On table: \" + Double.toString(onTable);\n\t\tif (this.getBlind() == Blind.NONE) {\n\t\t\tarray[3] = \"\";\n\t\t} else {\n\t\t\tarray[3] = \"Blind \" + this.blind.name();\n\t\t}\n\t\treturn array;\n\t}", "private static char [] yy_unpack_cmap(String packed) {\n char [] map = new char[0x10000];\n int i = 0; /* index in packed string */\n int j = 0; /* index in unpacked array */\n while (i < 1742) {\n int count = packed.charAt(i++);\n char value = packed.charAt(i++);\n do map[j++] = value; while (--count > 0);\n }\n return map;\n }", "static protected String[] double2String(double[][] d){ // Borrowed from JMatLink\r\nString encodeS[]=new String[d.length]; // String vector\r\n// for all rows\r\nfor (int n=0; n<d.length; n++){\r\nbyte b[] = new byte[d[n].length];\r\n// convert row from double to byte\r\nfor (int i=0; i<d[n].length ;i++) b[i]=(byte)d[n][i];\r\n\r\n// convert byte to String\r\ntry { encodeS[n] = new String(b, \"UTF8\");}\r\ncatch (UnsupportedEncodingException e) { e.printStackTrace(); }\r\n}\r\nreturn encodeS;\r\n}", "@Override\n public String toString() {\n StringBuilder output = new StringBuilder();\n for (Tile[] tiles : this.map) {\n StringBuilder line = new StringBuilder();\n for (Tile tile : tiles) {\n if (tile.isVisible()) {\n if (tile.isInhabited()) {\n tile.sortInhabitants();\n line.append(tile.getInhabitants().get(0).getSymbol());\n } else {\n Terrain terrain = tile.getTerrain();\n if (terrain == Terrain.EMPTY) {\n line.append(\" \");\n } else {\n line.append(\"#\");\n }\n }\n } else {\n line.append(\".\");\n }\n if (Main.BETTER_GRAPHICS) line.append(\" \");\n }\n line.append(\" \");\n line.append(\"\\n\");\n output.append(line);\n }\n return output.toString();\n }", "public String[][] readmap(BufferedImage image) throws IOException{\r\n\t\tint red;\r\n\t\tint green;\r\n\t\tint blue;\r\n\t\tString colour = \"\";\r\n\t\t\r\n\t\t\tcolours = new String[image.getWidth()][image.getHeight()];\r\n\t\t\tfor(int x =0;x < image.getWidth();x++){\r\n\t\t\t for(int y =0;y < image.getHeight();y++){\r\n\t\t\t //gets color from specified pixel\r\n\t\t\t int col = image.getRGB(x,y);\r\n\t\t\t //retrieves RGB values from color string by performing bit shifts right\r\n\t\t\t red = (col & 0x00ff0000) >> 16;\r\n\t\t\t green = (col & 0x0000ff00) >> 8;\r\n\t\t\t blue = col & 0x000000ff;\r\n\t\t\t //converts to recognized notation\r\n\t\t\t colour = \"\"+red+\",\"+blue+\",\"+green+\"\";\r\n\t\t\t //saved in array\r\n\t\t\t colours[x][y] = colour;\r\n\t\t\t }\r\n\t\t }\r\n\t\treturn colours;\r\n\t}", "private Color[] getExternalArcColors()\n {\n return getColorsForState(this.iconPartStates[0]);\n }", "Object getTables();", "@Override\n public String toString() {\n String universeString = \"\" ;\n\n for (Boolean[] line : universe) {\n universeString += \"|\";\n for (Boolean cell : line) {\n if (cell) universeString += \"#|\";\n else universeString += \" |\";\n }\n universeString += \"\\n\";\n }\n return universeString;\n }", "public String toString() {\n\t\tString palabra = \"\";\n\t\tfor (int i = 0; i < obtenerNumeroFilas(); ++i) {\n\t\t\tfor (int j = 0; j < obtenerNumeroColumnas(); ++j) {\n\t\t\t\tif (obtenerCelda(i, j) == null) {\n\t\t\t\t\tpalabra = \"--\\t\";\n\t\t\t\t} else {\n\t\t\t\t\tpalabra = obtenerCelda(i, j).obtenerAtomo().obtenerColor().toChar() + \"\\t\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tpalabra = \"\\n\";\n\t\t}\n\t\treturn palabra;\n\t}", "public static void printTable(HashMap<String, ArrayList<double[]>> table) {\n for(String category: table.keySet()) {\n System.out.println(\"== Category: \" + category + \" ==\");\n\n for(double[] row: table.get(category)) {\n System.out.println(\" \" + category + \"_\" + table.get(category).indexOf(row) + \" \" + Arrays.toString(row));\n }\n }\n }", "int[] getLogicalToVisualMap() {\n if (l2vMap == null) {\n l2vMap = getInverseOrder(getVisualToLogicalMap());\n }\n return l2vMap;\n }" ]
[ "0.5438927", "0.53235847", "0.516143", "0.49989125", "0.48907053", "0.48741174", "0.4858323", "0.48089838", "0.47062376", "0.47000915", "0.4691531", "0.4685662", "0.46788794", "0.46730918", "0.4673021", "0.4584545", "0.45677948", "0.45670936", "0.4565041", "0.456056", "0.45504576", "0.4549292", "0.45492083", "0.45313764", "0.45275268", "0.44958976", "0.44468778", "0.4438399", "0.44305164", "0.4429276", "0.44289565", "0.44120824", "0.440847", "0.43942162", "0.43847364", "0.43723238", "0.4363244", "0.43629223", "0.43628183", "0.4357795", "0.43558583", "0.4349533", "0.43450633", "0.4344504", "0.43396512", "0.43330583", "0.43319607", "0.4325876", "0.43201548", "0.43151405", "0.4300743", "0.42976105", "0.42934948", "0.4291381", "0.42825136", "0.42805794", "0.42801997", "0.4270024", "0.4268468", "0.42637566", "0.42634434", "0.4258892", "0.42558032", "0.42546237", "0.4252763", "0.4249552", "0.42429435", "0.42403162", "0.42242834", "0.42241037", "0.42175075", "0.420739", "0.4205201", "0.41966605", "0.41943508", "0.41925466", "0.4188837", "0.41856146", "0.4185432", "0.41844624", "0.41843405", "0.41814554", "0.41795355", "0.41762322", "0.41738313", "0.41733122", "0.41656175", "0.4161701", "0.41600484", "0.4157099", "0.41546184", "0.4154415", "0.4150646", "0.4146497", "0.41443032", "0.41435125", "0.41421697", "0.41347173", "0.41299024", "0.4129051" ]
0.70219755
0
TODO Autogenerated method stub
@Override public void keyReleased(KeyEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void keyTyped(KeyEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void mouseClicked(MouseEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void mouseEntered(MouseEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void mouseExited(MouseEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void mousePressed(MouseEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void mouseReleased(MouseEvent arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\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 gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
Constructor pentru clasa WorkPool.
public MapWorkPool(int nThreads) { this.nThreads = nThreads; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public WorkerPool(IWorkerPoolConfiguration config) {\n this(config.getName());\n setConfiguration(config);\n }", "public WorkerPool(String name) {\n this.name = name;\n\n log = LogFactory.getLog(WorkerPool.class.getName() + \":\" + name);\n }", "public Pool() {\n\t\t// inicializaDataSource();\n\t}", "public ForkJoinPoolMgr() {\n }", "public ObjectPool() {\n }", "public ThreadPool()\r\n {\r\n // 20 seconds of inactivity and a worker gives up\r\n suicideTime = 20000;\r\n // half a second for the oldest job in the queue before\r\n // spawning a worker to handle it\r\n spawnTime = 500;\r\n jobs = null;\r\n activeThreads = 0;\r\n askedToStop = false;\r\n }", "public Worker(){\n\n }", "public SRWDatabasePool() {\n }", "public SingleWorkerPoolExecutor() {\n this.worker = new Worker(taskQueue);\n\n // Nothing bad as worker is blocked by an emptiness of a task\n // queue. Adding to this task queue will be possible after worker pool\n // finishes construction\n worker.start();\n }", "private CollectTaskPool() {\n\t\tsuper();\n\t}", "public ResourcePoolImpl() {\r\n this((ResourcePool) null);\r\n }", "public DataCaseWorker() {\n super();\n }", "Processor(int id, WorkStealingThreadPool pool) {\n this.id = id;\n this.pool = pool;\n this.tasks = new ArrayDeque<Task>();\n }", "private ConnectionPool() {\n connections = new LinkedBlockingQueue<>(DEFAULT_POOL_SIZE);\n this.init();\n }", "public DBPoolImpl()\n {\n }", "OMMPool getPool();", "public ThreadPool( int totalPoolSize ) {\n\n\tpoolLocked = false;\n\n\ttry {\n\n\t initializePools( null, totalPoolSize );\n\n\t} catch( Exception exc ) {}\n\n }", "public AbstractParallelAlgorithm(\n final ThreadPoolExecutor threadPool)\n {\n super();\n\n this.setThreadPool(threadPool);\n }", "public PoolNYCH() {\n\t\tinicializarDataSource();\n\t}", "protected abstract void createPool();", "public ConstantPool() {\n super(ActionType.CONSTANT_POOL);\n }", "public PoolBoneCpManager() {\n pool = null;\n }", "private BlocksPool() {\n this(DEFAULT_BLOCK_SIZE_BYTES);\n }", "void allocateWorker(Work work);", "public UseCaseThreadPoolScheduler() {\n\t\tthis.threadPoolExecutor = new ThreadPoolExecutor(POOL_SIZE, MAX_POOL_SIZE, TIMEOUT,\n\t\t\t\tTimeUnit.SECONDS, new ArrayBlockingQueue<Runnable>(POOL_SIZE));\n\t}", "public void initialize() {\n\n\t\t// Initialize taskList\n\t\tthis.taskList = new LinkedList<Task>();\n\n\t\t// create a new thread for total size of pool\n\t\tfor (int i = 0; i < this.poolSize; ++i) {\n\t\t\tthreadPool.add(new WorkerThread(this));\n\t\t}\n\n\t\t// Start each thread in thread pool\n\t\tfor (WorkerThread t : threadPool) {\n\t\t\tnew Thread(t).start();\n\t\t}\n\n\t}", "public AbstractJob(){\n \n }", "worker(long workOn) {\n this.workOn = workOn;\n }", "public ExternalThreadPool(NIOWorker nw, int size) {\n super(nw, size);\n\n // Prepare bash piper for bindings\n installDir = nw.getInstallDir();\n String workingDir = nw.getWorkingDir();\n piperScript = installDir + PIPER_SCRIPT_RELATIVE_PATH + PIPE_SCRIPT_NAME;\n\n // Prepare pipes (one per thread)\n writePipeFiles = new String[size];\n readPipeFiles = new String[size];\n for (int i = 0; i < size; ++i) {\n writePipeFiles[i] = workingDir + PIPE_FILE_BASENAME + UUID.randomUUID().hashCode();\n readPipeFiles[i] = workingDir + PIPE_FILE_BASENAME + UUID.randomUUID().hashCode();\n }\n\n // Prepare data pipes\n writeDataPipeFile = workingDir + PIPE_FILE_BASENAME + UUID.randomUUID().hashCode();\n readDataPipeFile = workingDir + PIPE_FILE_BASENAME + UUID.randomUUID().hashCode();\n\n if (LOGGER.isDebugEnabled()) {\n LOGGER.debug(\"PIPE Script: \" + piperScript);\n\n StringBuilder writes = new StringBuilder();\n writes.append(\"WRITE PIPE Files: \");\n for (int i = 0; i < writePipeFiles.length; ++i) {\n writes.append(writePipeFiles[i]).append(\" \");\n }\n writes.append(\"\\n\");\n LOGGER.debug(writes.toString());\n\n StringBuilder reads = new StringBuilder();\n reads.append(\"READ PIPE Files: \");\n for (int i = 0; i < readPipeFiles.length; ++i) {\n reads.append(readPipeFiles[i]).append(\" \");\n }\n reads.append(\"\\n\");\n LOGGER.debug(reads.toString());\n\n // Data pipes\n LOGGER.debug(\"WRITE DATA PIPE: \" + writeDataPipeFile);\n LOGGER.debug(\"READ DATA PIPE: \" + readDataPipeFile);\n }\n\n // Init main ProcessBuilder\n init();\n\n // Init TaskResultReader to retrieve task results (one per thread)\n taskResultReader = new TaskResultReader[size];\n for (int i = 0; i < size; ++i) {\n taskResultReader[i] = new TaskResultReader(readPipeFiles[i]);\n }\n\n // Add Shutdown Hook to ensure all sub-processes are closed\n LOGGER.debug(\"Add ExternalExecutor shutdown hook\");\n Runtime.getRuntime().addShutdownHook(new Ender(this));\n }", "public World(ExecutorService threadPool, PackageService packageService){\n\t\tthis.droneThreads = threadPool;\n\t\tthis.packageService = packageService;\n\t}", "public WorkerMonitor() {\n }", "protected ForkJoinWorkerThread(ForkJoinPool pool) {\n<<<<<<< HEAD\n super(pool.nextWorkerName());\n this.pool = pool;\n int k = pool.registerWorker(this);\n poolIndex = k;\n eventCount = ~k & SMASK; // clear wait count\n locallyFifo = pool.locallyFifo;\n Thread.UncaughtExceptionHandler ueh = pool.ueh;\n if (ueh != null)\n setUncaughtExceptionHandler(ueh);\n setDaemon(true);\n }", "private Pools() {\n super();\n }", "public ParallelReceptacle() {\n }", "protected ThreadPool getPool()\r\n {\r\n return threadPool_;\r\n }", "public InstrumentedWorkerTask(gw.pl.persistence.core.BundleProvider bundleProvider) {\n this((java.lang.Void)null);\n com.guidewire.pl.system.entity.proxy.BeanProxy.initNewBeanInstance(this, bundleProvider.getBundle(), java.util.Arrays.asList());\n }", "protected StealingThread(StealingPool pool) throws IOException {\n if (pool == null) throw new NullPointerException();\n this.pool = pool;\n this.ioManager = new NioManager();\n // Note: poolIndex is set by pool during construction\n // Remaining initialization is deferred to onStart\n }", "public AbstractParallelAlgorithm()\n {\n this(null);\n }", "public BufferPool(int numPages) {\n // some code goes here\n this.pageNum = numPages;\n this.bufferedPages = new ConcurrentHashMap<PageId, Node>();\n currentTransactions = new ConcurrentHashMap<TransactionId, Long>();\n lockManager = new LockManager();\n }", "public Job() {\n }", "public Job() {\n }", "public Worker(int x, int y, int size) {\n super(x, y, size);\n// this.x = x;\n// this.y = y;\n// this.size = size;\n }", "void bind(WorkerPool workerPool);", "public Job() {\n\t\t\t\n\t\t}", "public BufferPool(int numPages) {\n // some code goes here\n this.numPages = numPages;\n this.bufferPool = new PageBufferPool(numPages);\n }", "public Task() {\n\t}", "private void init(int threadCount, Type type) {\r\n //The backend starts to polling threads.\r\n mPoolThread=new Thread(){\r\n @Override\r\n public void run() {\r\n Looper.prepare();\r\n mPoolThreadHandler=new Handler(){\r\n @Override\r\n public void handleMessage(Message msg) {\r\n //take a thread from the thread pool and execute it.\r\n mThreadPool.execute(getTask());\r\n try {\r\n mSemaphoreThreadPool.acquire();\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n };\r\n //if this thread is finished, release a signal to the handler.\r\n mSemaphorePoolThreadHandler.release();\r\n Looper.loop();\r\n }\r\n };\r\n mPoolThread.start();\r\n //Get the maximum available memory for our service.\r\n int maxMemory= (int) Runtime.getRuntime().maxMemory();\r\n int cacheMemory = maxMemory / 8;//8\r\n mLruCache=new LruCache<String, Bitmap>(cacheMemory){\r\n @Override\r\n protected int sizeOf(String key, Bitmap value) {\r\n return value.getRowBytes()*value.getHeight();\r\n }\r\n };\r\n mThreadPool= Executors.newFixedThreadPool(threadCount);\r\n mTaskQueue=new LinkedList<>();\r\n mType=type==null? Type.LIFO:type;\r\n mSemaphoreThreadPool=new Semaphore(threadCount);\r\n\r\n }", "public Task() {\r\n }", "public JobManager(){\n //Initialize the job manager for use of the system\n }", "public ListPool(int capacity) {\n pool = new ArrayBlockingQueue<>(capacity);\n }", "public void setWorkerpool(Executor workerpool) {\n\t pool.setWorkerpool(workerpool);\n\t}", "Executor getWorkerpool() {\n\t return pool.getWorkerpool();\n\t}", "public ObjectPool(PoolObjectFactory factory, String poolName) {\n setObjectFactory(factory);\n setName(poolName);\n }", "public Configuration() {\r\n\t\t\tmaxEffectiveWorker = (Runtime.getRuntime().availableProcessors()*3/2) + 2;\r\n\t\t\tmaxPhysicalWorker = Math.max(32, (maxEffectiveWorker * 2) + 2);\r\n\t\t}", "public ConstantPoolReader() {\n }", "public TaskThread(ThreadPool threadPool) {\n super(threadPool.getThreadGroup(), \"Task: Idle\");\n this.threadPool = threadPool;\n threadId = ThreadPool.getUniqueThreadId();\n System.out.println(\"threadId Created:\" + threadId);\n }", "protected Smp(int maxThreads) {\r\n\tmaxThreads = Math.max(1,maxThreads);\r\n\tthis.maxThreads = maxThreads;\r\n\tif (maxThreads>1) {\r\n\t\tthis.taskGroup = new FJTaskRunnerGroup(maxThreads);\r\n\t}\r\n\telse { // avoid parallel overhead\r\n\t\tthis.taskGroup = null;\r\n\t}\r\n}", "public Task(){\n super();\n }", "public Pooled(T t, Pool<T> pool, LogTarget logTarget) {\n\t\t\tcontent = t;\n\t\t\tthis.pool = pool;\n\t\t\tthis.logTarget = logTarget;\n\t\t}", "protected TaskChain() {\n\t}", "public WorkerController(){\r\n\t}", "private static void threadPoolInit() {\n ExecutorService service = Executors.newCachedThreadPool();\n try {\n for (int i = 1; i <= 10; i++) {\n service.execute(() -> {\n System.out.println(Thread.currentThread().getName() + \" 办理业务...\");\n });\n try {\n TimeUnit.MILLISECONDS.sleep(1L);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n service.shutdown();\n }\n }", "public WorkerThread(int threadID) {\n\t\tthis.threadID = threadID;\n\t\tmanager = ThreadPoolManager.getInstance();\n\t\tsql = SQLDriver.getInstance();\n\t}", "public PlasticClassPool(ClassLoader parentLoader, PlasticManagerDelegate delegate, Set<String> controlledPackages,\n Set<TransformationOption> options)\n {\n loader = new PlasticClassLoader(parentLoader, this);\n this.delegate = delegate;\n this.controlledPackages = controlledPackages;\n this.options = options;\n }", "protected ClassPool getClassPool() {\r\n return pool;\r\n }", "public Task() {\n }", "public Task(){}", "public Task() { }", "@Override\n\tpublic void init(Config config, Locker locker) throws Exception\n\t{\n\t\tsuper.init(config, locker);\n\n\t\t// Instantiates the database connection pool.\n\t\tWorkbench.getInstance();\n\n\t\tLong l;\n\t\tString s;\n\n\t\tl = config.getLongValue(\"dbdatastore.poolSize\");\n\t\tpoolsize = (l == null) ? POOL_SIZE : (int)l.longValue();\n\n\t\ts = config.getStringValue(\"dbdatastore.importFolder\");\n\t\timportFolder = (s == null) ? IMPORT_FOLDER : s;\n\n\t\tlog.debug(\"threadpoolsize=\" + poolsize + \", importFolder=\" + importFolder);\n\n\t\t// This would be a good place to remove uploads older than 2 weeks?\n\n\t\tpool = (ThreadPoolExecutor)Executors.newFixedThreadPool(poolsize);\n\t\tenqueueFinishedUploads();\n\t}", "ObjectPool() {\n deadTime = DEFAULT_DEADTIME;\n lock = new Hashtable<T, Long>();\n unlock = new Hashtable<T, Long>();\n }", "public TaskList(){}", "protected TaskFlow( ) { }", "public Tasks() {\n }", "public BoneCP getPool() {\n return pool;\n }", "public interface ThreadPool<Job extends Runnable> {\n\n void execute(Job job);\n\n void shutDown();\n\n void addWorkers(int num);\n\n void removeWorkers(int num);\n\n int getJobSize();\n\n}", "public ClientExecutionManager(final TypedProperties config, final JPPFProperty<Integer> nbThreadsProperty) {\n super(config, nbThreadsProperty);\n }", "public TaskList() {\n }", "public BankHall(int serverNum, int ticketWindow) {\n serverThreadPool = Executors.newFixedThreadPool(serverNum);\n ticketWindowThreadPool = Executors.newFixedThreadPool(ticketWindow);\n }", "public RESTWorkItemHandler() {\n\t}", "public WorkDataFile()\n\t{\n\t\tsuper();\n\t}", "public ServiceTask() {\n\t}", "public PoolDownloader(int howManyThreads, DefaultTableModel tableModel, String folderPath)\n\t{\n\t\tthis.threadPool = Executors.newFixedThreadPool(howManyThreads);\n\t\tthis.tableModel = tableModel;\n\t\tthis.folderPath = folderPath;\n\t}", "public TaskThread(ThreadPool threadPool, String tName) {\n super(threadPool.getThreadGroup(), \"Task: Idle\");\n this.threadPool = threadPool;\n this.threadName = tName;\n threadId = ThreadPool.getUniqueThreadId();\n\n System.out.println(\"threadId Created:\" + threadId);\n }", "void allocateDeamonWorker(Work work);", "public schedulerJob() {\n }", "public interface ThreadPool {\n /**\n * Returns the number of threads in the thread pool.\n */\n int getPoolSize();\n /**\n * Returns the maximum size of the thread pool.\n */\n int getMaximumPoolSize();\n /**\n * Returns the keep-alive time until the thread suicides after it became\n * idle (milliseconds unit).\n */\n int getKeepAliveTime();\n\n void setMaximumPoolSize(int maximumPoolSize);\n void setKeepAliveTime(int keepAliveTime);\n\n /**\n * Starts thread pool threads and starts forwarding events to them.\n */\n void start();\n /**\n * Stops all thread pool threads.\n */\n void stop();\n \n\n}", "public TestInvoker()\n {\n super(new TestClient(), new ThreadPoolExecutorImpl(3));\n }", "private ConnectionPool() {\r\n\t\tResourceManagerDB resourceManager = ResourceManagerDB.getInstance();\r\n\t\tthis.driver = resourceManager.getValue(ParameterDB.DRIVER_DB);\r\n\t\tthis.url = resourceManager.getValue(ParameterDB.URL_DB);\r\n\t\tthis.user = resourceManager.getValue(ParameterDB.USER_DB);\r\n\t\tthis.password = resourceManager.getValue(ParameterDB.PASSWORD_DB);\r\n\t\tthis.poolsize = Integer.parseInt(resourceManager.getValue(ParameterDB.POOLSIZE_DB));\r\n\t}", "public PaymentSessionPool(String path, String domain,\n boolean waitIfBusy)\n throws Exception {\n\n Properties props = new Properties();\n InputStreamReader in = null;\n try {\n //in =this.getC getResourceAsStream\n in = new InputStreamReader(new FileInputStream(path + \"/\" + domain + \".properties\"), \"UTF-8\");\n props.load(in);\n this.url = props.getProperty(\"cg.url\");\n this.appId = props.getProperty(\"cg.appId\");\n this.user = props.getProperty(\"cg.user\");\n this.password = props.getProperty(\"cg.password\");\n this.rcode = props.getProperty(\"cg.rcode\");\n this.domainId = props.getProperty(\"cg.domainId\");\n\n initialConnections = Integer.parseInt(props.getProperty(\"initconnections\"));\n maxConnections = Integer.parseInt(props.getProperty(\"maxConnections\"));\n\n LOG.debug(domain + \" :pool initiallise start\" + appId + \":\" + user + \":\" + password + \":\" + rcode + \":\" + domainId);\n System.out.println(domain + \" :pool initiallise start\");\n\n } catch (FileNotFoundException e) {\n // e.printStackTrace();\n System.err.println(\n \"Check your Property file, it should be in application home dir, Error:\"\n + e.getCause() + \"Cant load APPLICATION.properties\");\n //System.exit(-1);\n } catch (IOException e) {\n System.err.println(\n \"Check your Property file, it should be in application home dir, Error:\"\n + e.getCause() + \"Cant load APPLICATION.properties\");\n //System.exit(-1);\n } finally {\n if (null != in) {\n try {\n in.close();\n } catch (IOException ex) {\n }\n }\n }\n\n this.maxConnections = maxConnections;\n this.waitIfBusy = waitIfBusy;\n if (initialConnections > maxConnections) {\n initialConnections = maxConnections;\n }\n availableConnections = new Vector(initialConnections);\n busyConnections = new Vector();\n for (int i = 0; i < initialConnections; i++) {\n availableConnections.addElement(makeNewConnection());\n }\n\n LOG.debug(domain + \" :pool initiallise completed\");\n System.out.println(domain + \" :pool initiallise completed\");\n\n }", "public GetJobs() {\r\n\t\tsuper();\r\n\t}", "public CacheThreadPool(final int size)\n {\n synchronized (m_lock)\n {\n m_pool = new PooledThread[size];\n \n // We assume that a list is expanded once it reaches half of its capacity\n // and it doesn't harm if the assumption is wrong.\n m_index = new ArrayList(size + 1 + (size / 2));\n }\n }", "public WaitList(){\n\t}", "public EngineConcurrency() {\n Runtime runtime = Runtime.getRuntime();\n int threads = runtime.availableProcessors();\n if (threads > 1) {\n threads++;\n }\n this.executor = Executors.newFixedThreadPool(threads);\n }", "public Server(){\n this.tasks = new LinkedBlockingQueue<Task>();\n this.waitingPeriod = new AtomicInteger();\n }", "public AutomaticJob() {\r\n \r\n }", "public RedisCache(JedisPool pool, String name) {\n\t\tsuper(name);\n\t\tthis.redisPool = pool;\n\t}", "private DatosDeSesion() throws ExcepcionArchivoDePropiedadesNoEncontrado {\r\n this.poolDeConexiones = new PoolDeConexiones();\r\n }", "public ModemWorker (IConnection connection) {\n\t\tthis.connection = connection;\n\t}", "public ProPoolExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "protected synchronized ExecutorService getService() {\r\n if(service == null) {\r\n //System.out.println(\"creating an executor service with a threadpool of size \" + threadPoolSize);\r\n service = Executors.newFixedThreadPool(threadPoolSize, new ThreadFactory() {\r\n private int count = 0;\r\n \r\n public Thread newThread(Runnable r) {\r\n Thread t = new Thread(r, \"tile-pool-\" + count++);\r\n t.setPriority(Thread.MIN_PRIORITY);\r\n t.setDaemon(true);\r\n return t;\r\n }\r\n });\r\n }\r\n return service;\r\n }" ]
[ "0.7301236", "0.7079853", "0.6951738", "0.6942762", "0.6851145", "0.67698926", "0.67177856", "0.6708732", "0.6657211", "0.6640464", "0.65629524", "0.6528115", "0.6512879", "0.65083253", "0.647967", "0.637742", "0.63694495", "0.6366351", "0.6352596", "0.6348912", "0.6346695", "0.6318554", "0.6299267", "0.6261384", "0.6237558", "0.6235943", "0.6212898", "0.61818904", "0.61799705", "0.61748457", "0.61559093", "0.6151849", "0.61041456", "0.6099185", "0.6097014", "0.60851234", "0.6067436", "0.6026573", "0.60218", "0.59658235", "0.59658235", "0.5955235", "0.5954146", "0.5950897", "0.5946376", "0.5940946", "0.59386027", "0.59304136", "0.5920276", "0.59197176", "0.5913056", "0.59056574", "0.5900365", "0.58931154", "0.5891455", "0.58794814", "0.5870098", "0.58685756", "0.5865279", "0.5860328", "0.5856224", "0.58428574", "0.5830645", "0.5816859", "0.58161", "0.58160645", "0.58094853", "0.580566", "0.58006483", "0.57969254", "0.5793556", "0.57910484", "0.5787981", "0.57871586", "0.57808787", "0.57701623", "0.5754834", "0.5752409", "0.57427686", "0.5739578", "0.5738158", "0.5725889", "0.5712495", "0.57106197", "0.57086617", "0.57063574", "0.5704312", "0.5703509", "0.56891096", "0.568297", "0.5679403", "0.56781954", "0.5676317", "0.5673238", "0.56662774", "0.5664139", "0.5660062", "0.56317234", "0.56271905", "0.56077707" ]
0.6268224
23